CN107820101A - A kind of streaming media service provides method, apparatus and system - Google Patents
A kind of streaming media service provides method, apparatus and system Download PDFInfo
- Publication number
- CN107820101A CN107820101A CN201610818601.2A CN201610818601A CN107820101A CN 107820101 A CN107820101 A CN 107820101A CN 201610818601 A CN201610818601 A CN 201610818601A CN 107820101 A CN107820101 A CN 107820101A
- Authority
- CN
- China
- Prior art keywords
- client
- streaming media
- media
- target
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25841—Management of client data involving the geographical location of the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
Abstract
The embodiment of the invention discloses a kind of streaming media service to provide method, apparatus and system, and server record can provide the client of streaming media service;When receive the first client transmission for target Streaming Media the first media request when, server can provide the client of streaming media service record, suitable second client is distributed for the media request, the second client is provided the media services of its needs for the first client.As can be seen here, using this programme, if multiple users' (i.e. multiple first clients) at the same to server send media request, these media requests are distributed to other suitable clients (i.e. the second client) by server, streaming media service is provided by the second client, so, server need not forward the Streaming Media that it needs to this multiple user, reduce the bandwidth cost of server.
Description
Technical field
The present invention relates to stream media technology field, more particularly to a kind of streaming media service provides method, apparatus and system.
Background technology
Streaming Media (Streaming Media) refers to the media formats played by the way of stream transmission in internet.
Streaming Media is the media broadcast when passing, and is broadcast when passing while refer to service provider's transmission media, user can receive and see
See or listen to the media being transmitted.
Stream media technology in safety-security area is all centralized mostly, that is to say, that streaming media service is all to be deployed in clothes
IDC (Internet Data Center, the Internet data center, it is to be understood that to be mounted with that service carries of business provider
The computer room of the service provided for business) it is inner.The IDC of service provider communicates to connect with video capture device, when user needs to watch
During the video that some video capture device collects, the terminal that user uses sends watching request to IDC, and IDC adopts from the video
Collection equipment obtains the video, and the video is forwarded into the client that user uses.
Using this scheme, if multiple users send watching request to IDC simultaneously, there is provided business needs simultaneously multiple to this
User forwards the video of user's request, and huge bandwidth cost pressure can be so brought to service provider.
The content of the invention
The purpose of the embodiment of the present invention is that providing a kind of streaming media service provides method, apparatus and system, reduces service
The bandwidth cost of provider.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of streaming media service to provide method, applied to server,
Including:
Receive the first media request for target Streaming Media of the first client transmission;
In it can provide the client of streaming media service, it is determined that the second client for responding first media request
End;
The identification information of second client is sent to first client, so that first client passes through
Second client obtains the target Streaming Media from target device, wherein, the target device is for gathering the mesh
The equipment for marking Streaming Media.
Optionally, methods described can also include:
Receive for representing that the 3rd client can provide the streaming media service information of streaming media service, and by the described 3rd
Client is defined as providing the client of streaming media service.
Optionally, second client determined for responding first media request, can include:
Determine stream media information corresponding to the target Streaming Media;
The target streaming media service information matched with the stream media information is searched, is believed according to the target streaming media service
Client corresponding to breath, it is determined that the second client for responding first media request.
Optionally, it is described to search the target streaming media service information matched with the stream media information, it can include:
According to the operator's informaiton and/or regional information included in the stream media information, search and believe with the Streaming Media
Cease the target streaming media service information of matching.
Optionally, working condition can also be included in the streaming media service information;
It is described according to the operator's informaiton and/or regional information that are included in the stream media information, search and the stream matchmaker
The target streaming media service information of body information matches, can include:
According to the operator's informaiton and/or regional information included in the stream media information, search and believe with the Streaming Media
Cease the first-class media service information of matching;
According to the first-class media service information that working condition is idle condition, target streaming media service information is determined.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of streaming media service to provide method, applied to second
Client, including:
Receive the second media request for target Streaming Media of the first client transmission;
According to second media request, the target Streaming Media is obtained from target device, wherein, the target device is
Equipment for gathering the target Streaming Media;
Acquired target Streaming Media is sent to first client.
Optionally, methods described can also include:
Detect whether itself can provide streaming media service;
If it is, streaming media service information is sent to server, make it that the server is true by second client
The client of streaming media service can be provided by being set to, wherein, the streaming media service information is for representing second client
End can provide the information of streaming media service.
Optionally, it is described according to second media request, the target Streaming Media is obtained from target device, can be wrapped
Include:
The 3rd media request and self identification information for the target Streaming Media are sent to cloud platform, so that the cloud
Platform determines target device corresponding to the 3rd media request, and the identification information is sent into the target device;
Receive the target Streaming Media that the target device is sent according to the identification information.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of streaming media service to provide device, applied to service
Device, including:
First receiving module, the first media request for target Streaming Media sent for receiving the first client;
Determining module, in it can provide the client of streaming media service, it is determined that for responding first media
Second client of request;
First sending module, for the identification information of second client to be sent into first client, so that
First client obtains the target Streaming Media by second client from target device, wherein, the target is set
The standby equipment for for gathering the target Streaming Media.
Optionally, described device can also include:
Determining module is received, for receiving the streaming media service for being used for representing that the 3rd client can provide streaming media service
Device information, and the 3rd client is defined as providing to the client of streaming media service.
Optionally, the determining module, can include:
First determination sub-module, for determining stream media information corresponding to the target Streaming Media;
Submodule is searched, for searching the target streaming media service information matched with the stream media information;
Second determination sub-module, for the client according to corresponding to the target streaming media service information, it is determined that for ringing
Answer the second client of first media request.
Optionally, the lookup submodule, specifically can be used for:
According to the operator's informaiton and/or regional information included in the stream media information, search and believe with the Streaming Media
Cease the target streaming media service information of matching.
Optionally, working condition is also included in the streaming media service information;
The lookup submodule, can include:
Searching unit, for according to the operator's informaiton and/or regional information included in the stream media information, search with
The first-class media service information of the stream media information matching;
Determining unit, for according to the first-class media service information that working condition is idle condition, determining target stream matchmaker
Body information on services.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of streaming media service to provide device, applied to second
Client, including:
Second receiving module, the second media request for target Streaming Media sent for receiving the first client;
Acquisition module, for according to second media request, the target Streaming Media to be obtained from target device, wherein,
The target device is the equipment for gathering the target Streaming Media;
Second sending module, for acquired target Streaming Media to be sent into first client.
Optionally, described device can also include:
Detection module, for detecting whether itself can provide streaming media service;
3rd sending module, for sending streaming media service information to server, to cause the server by described the
Two clients are defined as providing the client of streaming media service, wherein, the streaming media service information is for representing
The information of streaming media service can be provided by stating the second client.
Optionally, the acquisition module, can include:
Sending submodule, for sending the 3rd media request and self identification for the target Streaming Media to cloud platform
Information, so that the cloud platform determines target device corresponding to the 3rd media request, and the identification information is sent to
The target device;
Receiving submodule, the target Streaming Media sent for receiving the target device according to the identification information.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of streaming media service to provide system, including:First visitor
Family end, server and the second client, wherein,
First client, for sending the first media request for target Streaming Media to the server;Receive
The identification information for the second client that the server is sent;Sent to second client for the target Streaming Media
Second media request;Receive the target Streaming Media that second client is sent;
The server, please for receiving the first media for the target Streaming Media that first client is sent
Ask;In it can provide the client of streaming media service, it is determined that the second client for responding first media request;Will
The identification information of second client is sent to first client;
Second client, the second matchmaker for the target Streaming Media sent for receiving first client
Body is asked;According to second media request, the target Streaming Media is obtained from target device, wherein, the target device is
Equipment for gathering the target Streaming Media;Acquired target Streaming Media is sent to first client.
Using the embodiment of the present invention, server record can provide the client of streaming media service;It is objective when receiving first
Family end send for target Streaming Media the first media request when, visitor that streaming media service can be provided of the server in record
In the end of family, suitable second client is distributed for the media request, the second client is provided it for the first client needs
The media services wanted.As can be seen here, using this programme, if multiple users (i.e. multiple first clients) while sent out to server
Media request is sent, these media requests are distributed to other suitable clients (i.e. the second client) by server, by the second visitor
Family end provides streaming media service, and so, server need not forward its Streaming Media needed to this multiple user, reduce service
The bandwidth cost of device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 provides the signalling diagram of method for streaming media service provided in an embodiment of the present invention;
Fig. 2 provides the flow signal of method for a kind of streaming media service applied to server provided in an embodiment of the present invention
Figure;
Fig. 3 provides the flow signal of method for a kind of streaming media service applied to client provided in an embodiment of the present invention
Figure;
Fig. 4 provides the structural representation of device for a kind of streaming media service applied to server provided in an embodiment of the present invention
Figure;
Fig. 5 provides the structural representation of device for a kind of streaming media service applied to client provided in an embodiment of the present invention
Figure;
Fig. 6 provides the structural representation of system for a kind of streaming media service provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of streaming media service provide method, apparatus and
System, the system can with as shown in fig. 6, including:Server and multiple client (client 1, client 2, client 3 ...
Client N).Streaming media service provided in an embodiment of the present invention provides method and device and is applied to the system.First below to this
The streaming media service that inventive embodiments provide provides method and is described in detail.
Streaming media service function can be configured in client in advance within the system, specifically, can be by client
The form that software (such as ProxyServer softwares etc.) is installed in end configures streaming media service function in the client.Can be pre-
First Configuration Agent distribution function in server within the system, specifically, can by install in the server software (such as
PDS softwares etc.) form Configuration Agent distribution function in the server.
Being configured with the client of streaming media service function can detect currently itself whether streaming media service can be provided:Lift
For example, whether the client where ProxyServer softwares can detect it is able to access that public network, if it is, determining the visitor
Family end can provide streaming media service.In this case, streaming media service information is sent to server by the client, stream matchmaker
Body information on services can be understood as representing that the client can provide the information of streaming media service.One kind as the present invention
Embodiment, operator's informaiton and/or regional information can be included in the streaming media service information, work shape can also be included
State.
That is, the streaming media service information of multiple client is have recorded in server.When some client needs to obtain
When obtaining some Streaming Media, the user end to server sends the media request for target Streaming Media.As shown in figure 1, the first visitor
Family end sends the first media request for target Streaming Media to server;Server is according to the multiple client of self record
Streaming media service information, in it can provide the client of streaming media service, it is determined that for responding first media request
Second client.
In order to facilitate description, the client for sending the first media request is referred to as the first client here, server is true
The fixed client for being used to respond the first media request is referred to as the second client.Certain first client and the second client can be with
It is without limitation for same client.
The identification information of second client of determination is sent to the first client by server.The identification information of client can
Think that title, ID, address etc. are used for the information of unique identification client.
In illustrated embodiment of the present invention, server can determine the second client by the distribution function of acting on behalf of of itself configuration
End, and the identification information of the second client is sent to the first client.It is also understood that server can be pacified by itself
The PDS softwares of dress determine the second client, and the identification information of the second client is sent into the first client.
First client sends the second matchmaker for target Streaming Media according to the identification information received to the second client
Body is asked.In order to distinguish description, the media request that the first client is sent to server here is referred to as the first media request, will
The media request that first client is sent to the second client is referred to as the second media request.First media request and the second media please
Asking can be with identical, can also be different, all for request target Streaming Media.
Second client obtains the target Streaming Media according to the second media request received from target device.The mesh
Marking device is the Streaming Media collecting device for gathering the target Streaming Media.
In the present embodiment, streaming media service, which provides system, can also include cloud platform, and cloud platform is to the stream matchmaker in system
Body collecting device is managed.Specifically, the process that the acquisition of the second client obtains the target Streaming Media from target device can
With including:
ProxyServer in second client sends to cloud platform after the second media request is received and is directed to target
The 3rd media request and self identification information of Streaming Media.In order to distinguish description, the second client is sent to cloud platform here
Media request be referred to as the 3rd media request, the 3rd media request and the second media request, the first media request can with identical,
Can be different, all for request target Streaming Media.
Cloud platform determines target device corresponding to the 3rd media request, and the identification information of the second client is sent into target
Equipment.Target device sends the target Streaming Media to the second client according to the identification information.So, the second client is just
Target Streaming Media is got.
The target Streaming Media got is forwarded to the first client by the second client, and the first client has just obtained itself
The Streaming Media needed.
As can be seen here, using such scheme, matchmaker is sent as multiple users (i.e. multiple first clients) while to server
When body is asked, these media requests are distributed to other suitable clients (i.e. the second client) by server, by the second client
End provides streaming media service, and so, server need not forward its Streaming Media needed to this multiple user, reduce server
Bandwidth cost.
Fig. 2 provides the flow signal of method for a kind of streaming media service applied to server provided in an embodiment of the present invention
Figure, including:
S101:Receive the first media request for target Streaming Media of the first client transmission.
As described above, in illustrated embodiment of the present invention, the client for sending the first media request is referred to as the first client.
When the first client needs to obtain the Streaming Media of some Streaming Media collecting device collection, the Streaming Media is target Streaming Media,
The Streaming Media collecting device is target device, and the media request that the first client is sent is the media for target Streaming Media
Request.It is understood that the identification information of target Streaming Media can be carried in the media request, target device can also be carried
Identification information, such as, device A-Streaming Media A1 can be included in media request, represent the media request be request Streaming Media adopt
Collect the Streaming Media A1 of device A collection.
S102:In it can provide the client of streaming media service, it is determined that for responding the of first media request
Two clients.
As one embodiment of the present invention, streaming media service function can be configured in the client in advance, specifically,
Streaming Media clothes can be configured in the client by installing the form of software (such as ProxyServer softwares etc.) in the client
Business function.
Being configured with the client of streaming media service function can detect currently itself whether streaming media service can be provided:Lift
For example, whether the client where ProxyServer softwares can detect it is able to access that public network, if it is, determining the visitor
Family end can provide streaming media service.In this case, streaming media service information is sent to server by the client, stream matchmaker
Body information on services can be understood as representing that the client can provide the information of streaming media service.One kind as the present invention
Embodiment, operator's informaiton and/or regional information can be included in the streaming media service information, work shape can also be included
State.That is, the streaming media service information of multiple client is have recorded in server.
Can Configuration Agent distribution function in server in advance within the system, specifically, can be by server
The form Configuration Agent distribution function in the server of middle installation software (such as PDS softwares etc.).
In embodiments of the present invention, be configured with act on behalf of distribution function server receive for represent the 3rd client can
The streaming media service information of streaming media service is provided, and the 3rd client is defined as providing to the visitor of streaming media service
Family end.
Server determines stream media information corresponding to above-mentioned target Streaming Media.Stream media information mentioned here is appreciated that
For the description information of target Streaming Media, such as the operator's informaiton of target Streaming Media, regional information etc..
Server searches the target Streaming Media clothes of stream media information matching in the streaming media service information of self record
Business information.As an example it is assumed that client X, client Y and client Z streaming media service letter are have recorded in server respectively
Breath, as shown in table 1:
Table 1
Client | Streaming media service information |
Client X | Operator:It is mobile;Region:Beijing;Working condition:It is idle |
Client Y | Operator:It is mobile;Region:Beijing;Working condition:It is busy |
Client Z | Operator:UNICOM;Region:Shanghai;Working condition:It is idle |
Assuming that stream media information corresponding to the target Streaming Media determined includes:" operator:It is mobile;Region:Beijing ".In table
The target streaming media service information matched with the stream media information is determined in 1, specifically, can be wrapped according in the stream media information
" the operator contained:It is mobile;Region:Beijing ", search the target streaming media service information of matching.Find client X and client
Hold Y operator's informaiton, the operator's informaiton of regional information and the stream media information, regional information all identical.
As one embodiment of the present invention, client X and client Y streaming media service information can be defined as
The target streaming media service information matched with the stream media information.
As another embodiment of the invention, client X and client Y streaming media service information can be determined
For the first-class media service information matched with the stream media information;Then, further according to working condition, in the first streaming media service
Target streaming media service information is determined in information.Specifically, client X working condition is the free time, client Y working condition
To be busy, then client X streaming media service information is defined as target streaming media service information, that is to say, that by client X
It is defined as the second client for responding above-mentioned first media request.
If it is understood that ask the operator of the first client of Streaming Media and the second client of respond request
Identical or region is identical, then the second client can be responded more quickly to the request, and equally, the first client can be rapider
Required Streaming Media is arrived in ground request.In addition, it is determined that may also take into the work of client during the second client
State, preferential selection work state are idle client end response media request, can play a part of balanced resource.
S103:The identification information of second client is sent to first client, so that first client
End obtains the target Streaming Media by second client from target device, wherein, the target device is for gathering
The equipment of the target Streaming Media.
The identification information of second client is sent to the first client by server;First client is according to the identification information
The second media request is sent to the second client;For second client according to second media request, being obtained from target device should
Target Streaming Media.The target device is the Streaming Media collecting device for gathering the target Streaming Media.Second client will be got
Target Streaming Media be forwarded to the first client, the first client has just obtained the Streaming Media of itself needs.
Using embodiment illustrated in fig. 2 of the present invention, sent as multiple users (i.e. multiple first clients) while to server
During media request, these media requests are distributed to other suitable clients (i.e. the second client) by server, by the second visitor
Family end provides streaming media service, and so, server need not forward its Streaming Media needed to this multiple user, reduce service
The bandwidth cost of device.
Fig. 3 provides the flow signal of method for a kind of streaming media service applied to client provided in an embodiment of the present invention
Figure, including:
S201:Receive the second media request for target Streaming Media of the first client transmission.
From above description, the identification information of the second client of determination is sent to the first client by server,
First client sends the second media request for target Streaming Media according to the identification information to the second client.This second
The identification information of target Streaming Media can be carried in media request, the identification information of target device can also be carried, such as, second
Device A-Streaming Media A1 can be included in media request, it is the A collections of request Streaming Media collecting device to represent second media request
Streaming Media A1.
S202:According to second media request, the target Streaming Media is obtained from target device, wherein, the target
Equipment is the equipment for gathering the target Streaming Media.
In the present embodiment, streaming media service, which provides system, can also include cloud platform, and cloud platform is to the stream matchmaker in system
Body collecting device is managed.
The process that the acquisition of second client obtains the target Streaming Media from target device can include:
The 3rd media request and self identification information for the target Streaming Media are sent to cloud platform, so that the cloud
Platform determines target device corresponding to the 3rd media request, and the identification information is sent into the target device;
Receive the target Streaming Media that the target device is sent according to the identification information.
Specifically, the ProxyServer in the second client sends pin after the second media request is received, to cloud platform
To the 3rd media request and self identification information of target Streaming Media.The mark of target Streaming Media can be carried in 3rd media request
Know information, the identification information of target device can also be carried, such as, device A-Streaming Media can be included in the 3rd media request
A1, it is the Streaming Media A1 for asking Streaming Media collecting device A collections to represent the 3rd media request.
Cloud platform determines target device (Streaming Media collecting device A) corresponding to the 3rd media request, by the second client
Identification information is sent to Streaming Media collecting device A.Streaming Media collecting device A sends Streaming Media A1 according to the identification information
To the second client.So, the second client has just got target Streaming Media.
S203:Acquired target Streaming Media is sent to first client.
The target Streaming Media got is forwarded to the first client by the second client, and the first client has just obtained itself
The Streaming Media needed.
In illustrated embodiment of the present invention, streaming media service function has been pre-configured with each client, can also have been managed
Solve to be mounted with ProxyServer in advance in each client.Whether the client where ProxyServer detects itself can
Streaming media service is enough provided.In general, being able to access that the client of public network just can provide streaming media service.Therefore,
ProxyServer can be by detecting whether client is able to access that public network to judge whether the client can provide Streaming Media
Service.
When the client where ProxyServer detects itself can provide streaming media service, send and flow to server
Media service information, as described above, streaming media service information can be understood as being used to represent that the client can provide Streaming Media
The information of service.Can include as one embodiment of the present invention, in the streaming media service information operator's informaiton and/or
Regional information, working condition can also be included.
Using embodiment illustrated in fig. 3 of the present invention, what the second client the first client of reception was sent is directed to target Streaming Media
The second media request, according to the second media request, target Streaming Media is obtained from target device, by acquired target Streaming Media
It is sent to the first client.When multiple users (i.e. multiple first clients) and meanwhile to server send media request when, service
These media requests are distributed to other suitable clients (i.e. the second client) by device, and Streaming Media clothes are provided by the second client
Business, so, server need not forward its Streaming Media needed to this multiple user, reduce the bandwidth cost of server.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention also provides a kind of streaming media service and provides device.
Fig. 4 provides the structural representation of device for a kind of streaming media service applied to server provided in an embodiment of the present invention
Figure, including:
First receiving module 301, the first media request for target Streaming Media sent for receiving the first client;
Determining module 302, in it can provide the client of streaming media service, it is determined that for responding first matchmaker
Second client of body request;
First sending module 303, for the identification information of second client to be sent into first client, with
First client is set to obtain the target Streaming Media from target device by second client, wherein, the target
Equipment is the equipment for gathering the target Streaming Media.
In illustrated embodiment of the present invention, it can also include:Determining module (not shown) is received, is used for for receiving
Represent that the 3rd client can provide the streaming media server information of streaming media service, and the 3rd client is defined as energy
The client of streaming media service is enough provided.
In illustrated embodiment of the present invention, determining module 302, it can include:First determination sub-module, search submodule and
Second determination sub-module (not shown), wherein,
First determination sub-module, for determining stream media information corresponding to the target Streaming Media;
Submodule is searched, for searching the target streaming media service information matched with the stream media information;
Second determination sub-module, for the client according to corresponding to the target streaming media service information, it is determined that for ringing
Answer the second client of first media request.
In illustrated embodiment of the present invention, the lookup submodule, specifically it can be used for:
According to the operator's informaiton and/or regional information included in the stream media information, search and believe with the Streaming Media
Cease the target streaming media service information of matching.
In illustrated embodiment of the present invention, working condition can also be included in the streaming media service information;
The lookup submodule, can include:
Searching unit, for according to the operator's informaiton and/or regional information included in the stream media information, search with
The first-class media service information of the stream media information matching;
Determining unit, for according to the first-class media service information that working condition is idle condition, determining target stream matchmaker
Body information on services.
Using embodiment illustrated in fig. 4 of the present invention, sent as multiple users (i.e. multiple first clients) while to server
During media request, these media requests are distributed to other suitable clients (i.e. the second client) by server, by the second visitor
Family end provides streaming media service, and so, server need not forward its Streaming Media needed to this multiple user, reduce service
The bandwidth cost of device.
Fig. 5 provides the structural representation of device for a kind of streaming media service applied to client provided in an embodiment of the present invention
Figure, including:
Second receiving module 401, the second media request for target Streaming Media sent for receiving the first client;
Acquisition module 402, for according to second media request, the target Streaming Media to be obtained from target device, its
In, the target device is the equipment for gathering the target Streaming Media;
Second sending module 403, for acquired target Streaming Media to be sent into first client.
In illustrated embodiment of the present invention, described device can also include:Detection module and the second sending module are (in figure not
Show), wherein,
Detection module, for detecting whether itself can provide streaming media service;
3rd sending module, for sending streaming media service information to server, to cause the server by described the
Two clients are defined as providing the client of streaming media service, wherein, the streaming media service information is for representing
The information of streaming media service can be provided by stating the second client.
In the present embodiment, acquisition module 402, can include:Sending submodule and receiving submodule (not shown),
Wherein,
Sending submodule, for sending the 3rd media request and self identification for the target Streaming Media to cloud platform
Information, so that the cloud platform determines target device corresponding to the 3rd media request, and the identification information is sent to
The target device;
Receiving submodule, the target Streaming Media sent for receiving the target device according to the identification information.
Using embodiment illustrated in fig. 5 of the present invention, what the second client the first client of reception was sent is directed to target Streaming Media
The second media request, according to the second media request, target Streaming Media is obtained from target device, by acquired target Streaming Media
It is sent to the first client.When multiple users (i.e. multiple first clients) and meanwhile to server send media request when, service
These media requests are distributed to other suitable clients (i.e. the second client) by device, and Streaming Media clothes are provided by the second client
Business, so, server need not forward its Streaming Media needed to this multiple user, reduce the bandwidth cost of server.
Fig. 6 provides the structural representation of system for a kind of streaming media service provided in an embodiment of the present invention, including:Server
With multiple client (client 1, client 2, client 3 ... client N).
In the present embodiment, the client for sending the first media request is referred to as the first client, server is determined
Client for responding the first media request is referred to as the second client.Certain first client and the second client can be same
One client, it is without limitation.
First client, for sending the first media request for target Streaming Media to the server;Receive
The identification information for the second client that the server is sent;Sent to second client for the target Streaming Media
Second media request;Receive the target Streaming Media that second client is sent;
The server, please for receiving the first media for the target Streaming Media that first client is sent
Ask;In it can provide the client of streaming media service, it is determined that the second client for responding first media request;Will
The identification information of second client is sent to first client;
Second client, the second matchmaker for the target Streaming Media sent for receiving first client
Body is asked;According to second media request, the target Streaming Media is obtained from target device, wherein, the target device is
Equipment for gathering the target Streaming Media;Acquired target Streaming Media is sent to first client.
Certainly, streaming media service provided in an embodiment of the present invention, which provides system, can also include other equipment, for example gather
The equipment of Streaming Media, can also include cloud platform, and cloud platform is managed to the Streaming Media collecting device in system.
In the present embodiment, server can be also used for:Receive for representing that the 3rd client can provide Streaming Media clothes
The streaming media service information of business, and the 3rd client is defined as providing to the client of streaming media service.
In the present embodiment, server can be also used for:Determine stream media information corresponding to the target Streaming Media;Search
The target streaming media service information matched with the stream media information, according to client corresponding to the target streaming media service information
End, it is determined that the second client for responding first media request.
In the present embodiment, server can be also used for:According to the operator's informaiton that is included in the stream media information and/
Or regional information, search the target streaming media service information matched with the stream media information.
In the present embodiment, working condition is also included in the streaming media service information;Server can be also used for:According to
The operator's informaiton and/or regional information included in the stream media information, search first matched with the stream media information
Streaming media service information;According to the first-class media service information that working condition is idle condition, target streaming media service is determined
Information.
In the present embodiment, the second client can be also used for:Detect whether itself can provide streaming media service;If
It is streaming media service information to be sent to server, to cause the server to be defined as providing by second client
The client of streaming media service, wherein, the streaming media service information is for representing that second client can provide stream
The information of media services.
In the present embodiment, the second client can be also used for:The for the target Streaming Media is sent to cloud platform
Three media requests and self identification information, so that the cloud platform determines target device corresponding to the 3rd media request, and
The identification information is sent to the target device;Receive the mesh that the target device is sent according to the identification information
Mark Streaming Media.
Using embodiment illustrated in fig. 6 of the present invention, server record can provide the client of streaming media service;When receiving
First client send be directed to target Streaming Media the first media request when, server record can provide Streaming Media take
In the client of business, suitable second client is distributed for the media request, the second client is carried for the first client
For the media services of its needs.As can be seen here, using this programme, if multiple users (i.e. multiple first clients) while to clothes
Business device sends media request, and these media requests are distributed to other suitable clients (i.e. the second client) by server, by
Second client provides streaming media service, and so, server need not forward its Streaming Media needed to this multiple user, reduce
The bandwidth cost of server.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is
To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (17)
1. a kind of streaming media service provides method, it is characterised in that applied to server, including:
Receive the first media request for target Streaming Media of the first client transmission;
In it can provide the client of streaming media service, it is determined that the second client for responding first media request;
The identification information of second client is sent to first client so that first client pass through it is described
Second client obtains the target Streaming Media from target device, wherein, the target device is for gathering the target stream
The equipment of media.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Receive for representing that the 3rd client can provide the streaming media service information of streaming media service, and by the 3rd client
End is defined as providing the client of streaming media service.
3. according to the method for claim 2, it is characterised in that it is described determine for respond first media request the
Two clients, including:
Determine stream media information corresponding to the target Streaming Media;
The target streaming media service information matched with the stream media information is searched, according to the target streaming media service information pair
The client answered, it is determined that the second client for responding first media request.
4. according to the method for claim 3, it is characterised in that described to search the target stream matched with the stream media information
Media service information, including:
According to the operator's informaiton and/or regional information included in the stream media information, search and the stream media information
The target streaming media service information matched somebody with somebody.
5. according to the method for claim 4, it is characterised in that also include working condition in the streaming media service information;
It is described to be believed according to the operator's informaiton and/or regional information that are included in the stream media information, lookup with the Streaming Media
The target streaming media service information of matching is ceased, including:
According to the operator's informaiton and/or regional information included in the stream media information, search and the stream media information
The first-class media service information matched somebody with somebody;
According to the first-class media service information that working condition is idle condition, target streaming media service information is determined.
6. a kind of streaming media service provides method, it is characterised in that applied to the second client, including:
Receive the second media request for target Streaming Media of the first client transmission;
According to second media request, the target Streaming Media is obtained from target device, wherein, the target device be for
The equipment for gathering the target Streaming Media;
Acquired target Streaming Media is sent to first client.
7. according to the method for claim 6, it is characterised in that methods described also includes:
Detect whether itself can provide streaming media service;
If it is, streaming media service information is sent to server, to cause the server to be defined as second client
The client of streaming media service can be provided, wherein, the streaming media service information is for representing the second client energy
The information of streaming media service is enough provided.
8. according to the method for claim 6, it is characterised in that it is described according to second media request, from target device
The target Streaming Media is obtained, including:
The 3rd media request and self identification information for the target Streaming Media are sent to cloud platform, so that the cloud platform
Target device corresponding to the 3rd media request is determined, and the identification information is sent to the target device;
Receive the target Streaming Media that the target device is sent according to the identification information.
9. a kind of streaming media service provides device, it is characterised in that applied to server, including:
First receiving module, the first media request for target Streaming Media sent for receiving the first client;
Determining module, in it can provide the client of streaming media service, it is determined that for responding first media request
The second client;
First sending module, for the identification information of second client to be sent into first client, so that described
First client obtains the target Streaming Media by second client from target device, wherein, the target device is
Equipment for gathering the target Streaming Media.
10. device according to claim 9, it is characterised in that described device also includes:
Determining module is received, for receiving the streaming media server letter for being used for representing that the 3rd client can provide streaming media service
Cease, and the 3rd client is defined as providing to the client of streaming media service.
11. device according to claim 10, it is characterised in that the determining module, including:
First determination sub-module, for determining stream media information corresponding to the target Streaming Media;
Submodule is searched, for searching the target streaming media service information matched with the stream media information;
Second determination sub-module, for the client according to corresponding to the target streaming media service information, it is determined that for responding institute
State the second client of the first media request.
12. device according to claim 11, it is characterised in that the lookup submodule, be specifically used for:
According to the operator's informaiton and/or regional information included in the stream media information, search and the stream media information
The target streaming media service information matched somebody with somebody.
13. device according to claim 12, it is characterised in that also include work shape in the streaming media service information
State;
The lookup submodule, including:
Searching unit, for according to the operator's informaiton and/or regional information included in the stream media information, search with it is described
The first-class media service information of stream media information matching;
Determining unit, for according to the first-class media service information that working condition is idle condition, determining that target Streaming Media takes
Business information.
14. a kind of streaming media service provides device, it is characterised in that applied to the second client, including:
Second receiving module, the second media request for target Streaming Media sent for receiving the first client;
Acquisition module, for according to second media request, the target Streaming Media to be obtained from target device, wherein, it is described
Target device is the equipment for gathering the target Streaming Media;
Second sending module, for acquired target Streaming Media to be sent into first client.
15. device according to claim 14, it is characterised in that described device also includes:
Detection module, for detecting whether itself can provide streaming media service;
3rd sending module, for sending streaming media service information to server, to cause the server by the described second visitor
Family end is defined as providing the client of streaming media service, wherein, the streaming media service information is for representing described the
Two clients can provide the information of streaming media service.
16. device according to claim 14, it is characterised in that the acquisition module, including:
Sending submodule, for sending the 3rd media request and the self identification letter for the target Streaming Media to cloud platform
Breath, so that the cloud platform determines target device corresponding to the 3rd media request, and is sent to institute by the identification information
State target device;
Receiving submodule, the target Streaming Media sent for receiving the target device according to the identification information.
17. a kind of streaming media service provides system, it is characterised in that including:First client, server and the second client,
Wherein,
First client, for sending the first media request for target Streaming Media to the server;Described in reception
The identification information for the second client that server is sent;Second for the target Streaming Media is sent to second client
Media request;Receive the target Streaming Media that second client is sent;
The server, the first media request for the target Streaming Media sent for receiving first client;
In it can provide the client of streaming media service, it is determined that the second client for responding first media request;By institute
The identification information for stating the second client is sent to first client;
Second client, please for receiving the second media for the target Streaming Media that first client is sent
Ask;According to second media request, the target Streaming Media is obtained from target device, wherein, the target device be for
The equipment for gathering the target Streaming Media;Acquired target Streaming Media is sent to first client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610818601.2A CN107820101A (en) | 2016-09-13 | 2016-09-13 | A kind of streaming media service provides method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610818601.2A CN107820101A (en) | 2016-09-13 | 2016-09-13 | A kind of streaming media service provides method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107820101A true CN107820101A (en) | 2018-03-20 |
Family
ID=61601204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610818601.2A Pending CN107820101A (en) | 2016-09-13 | 2016-09-13 | A kind of streaming media service provides method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107820101A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009046599A1 (en) * | 2007-10-08 | 2009-04-16 | Honk Kong Applied Science And Technology Research Institute Co. Ltd | Systems and methods providing lists of available streaming content |
CN101141459B (en) * | 2007-10-25 | 2010-04-14 | 南京远古科技有限公司 | Method of implementing data transmission or stream media transmission using combination of HTTP and P2P |
CN101741893A (en) * | 2008-11-24 | 2010-06-16 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Equivalent network flow media service processing system and method |
CN102790803A (en) * | 2012-07-19 | 2012-11-21 | 南京邮电大学 | Streaming media service multi-stream concurrent transmission method based on multi-terminal fusion |
CN104980448A (en) * | 2015-08-06 | 2015-10-14 | Tcl集团股份有限公司 | Remote monitoring method, remote monitoring device and remote monitoring system |
-
2016
- 2016-09-13 CN CN201610818601.2A patent/CN107820101A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009046599A1 (en) * | 2007-10-08 | 2009-04-16 | Honk Kong Applied Science And Technology Research Institute Co. Ltd | Systems and methods providing lists of available streaming content |
CN101141459B (en) * | 2007-10-25 | 2010-04-14 | 南京远古科技有限公司 | Method of implementing data transmission or stream media transmission using combination of HTTP and P2P |
CN101741893A (en) * | 2008-11-24 | 2010-06-16 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Equivalent network flow media service processing system and method |
CN102790803A (en) * | 2012-07-19 | 2012-11-21 | 南京邮电大学 | Streaming media service multi-stream concurrent transmission method based on multi-terminal fusion |
CN104980448A (en) * | 2015-08-06 | 2015-10-14 | Tcl集团股份有限公司 | Remote monitoring method, remote monitoring device and remote monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103501486B (en) | A kind of information push method and push server | |
US9942870B2 (en) | Determining wireless coverage information using wireless access points | |
CN102821109B (en) | Method, associated equipment and system for realizing data sharing in instant communication application | |
CN103905474B (en) | A kind of information sharing method, terminal, server and system | |
CN105580385B (en) | Channel cut-in method and system | |
CN103593419B (en) | Data query method, apparatus, server and system | |
CN103188574B (en) | method and system for transmitting network video | |
CN105635180A (en) | Message pushing method and device | |
CN102148752A (en) | Routing implementing method based on content distribution network and related equipment and system | |
CN105868040A (en) | Log collection method and collection terminal | |
JP2019536070A (en) | User positioning method, information push method, and related apparatus | |
US20070165615A1 (en) | Apparatus and method for notifying communication network event in application server capable of supporting open API based on Web services | |
CN101242306A (en) | Method, system, device and server for automatic discovery of network device | |
CN105827694B (en) | Method and device for acquiring network resources | |
CN105263104A (en) | Method and apparatus for positioning equipment | |
CN104219671A (en) | Base station detection method and device and server | |
CN103312593B (en) | A kind of message distributing system and method | |
CN102143150A (en) | Method, device and system for obtaining media contents | |
CN106789583B (en) | Intelligent social contact method and system based on WiFi-Aware | |
CN102016847A (en) | Methods and apparatus for delivering auxiliary data to device | |
US20080261617A1 (en) | Mobile wireless apparatus and connection method thereof | |
CN106878286B (en) | Voice data synchronous method and device | |
CN105243078B (en) | A kind of distribution method of file resource, system and device | |
CN111600929B (en) | Transmission line detection method, routing strategy generation method and proxy server | |
CN107820101A (en) | A kind of streaming media service provides method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |
|
RJ01 | Rejection of invention patent application after publication |