CN105306967B - A kind of resource allocation method in cloud video platform - Google Patents
A kind of resource allocation method in cloud video platform Download PDFInfo
- Publication number
- CN105306967B CN105306967B CN201510713663.2A CN201510713663A CN105306967B CN 105306967 B CN105306967 B CN 105306967B CN 201510713663 A CN201510713663 A CN 201510713663A CN 105306967 B CN105306967 B CN 105306967B
- Authority
- CN
- China
- Prior art keywords
- service logic
- logic control
- control system
- rtsp
- hls
- 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.)
- Expired - Fee Related
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/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/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/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- 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/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- 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/643—Communication protocols
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Abstract
The invention discloses the resource allocation methods in a kind of cloud video platform comprising following steps:Service logic control system receives the request instruction that client is sent, and obtains the camera parameters of web camera corresponding with request instruction, and camera parameters include stream media format information.Service logic control system judges the stream media protocol of the video flowing of web camera according to stream media format information, and stream media protocol includes HLS protocol and RTSP agreements.If stream media protocol is HLS protocol, processing system incoming video stream is accessed, and video flowing is forwarded to HLS processing systems and is handled.If stream media protocol is RTSP agreements, processing system incoming video stream is accessed, and video flowing is forwarded to RTSP processing systems and is handled.The present invention is effectively allocated by service logic control system according to the stream media protocol type of the video flowing of acquisition, so that promoting the processing capacity of concurrent video stream.
Description
Technical field
The present invention relates to the resource allocation sides in cloud video data communication technical field more particularly to a kind of cloud video platform
Method.
Background technology
The video flowing of cloud video platform needs lasting, sequence the client of being transmitted to, and therefore, video flowing starts to transmit
It afterwards, then must be with stable speed rates to client, to ensure video flowing smooth live streaming or playback.For this purpose, cloud video is flat
Platform includes the server resource of multiple processing video flowings, to realize the parallel processing of video flowing.But server resource may only
Processing service is provided for various types of video flowings, any control cannot be but carried out to video flowing, so that server resource
Using more chaotic, or even can not manage.Therefore, the server resource of cloud video platform how is effectively allocated, cloud is improved and regards
The ability of frequency platform concurrent processing video flowing is current technical problem urgently to be resolved hurrily.
Invention content
In view of this, it is really necessary to provide a kind of server resource of effective allotment cloud video platform, it is flat to improve cloud video
The resource allocation method of the ability of platform concurrent processing video flowing.
A kind of resource allocation method in cloud video platform, cloud video platform include service logic control system, at access
Reason system, HLS processing systems and RTSP processing systems, resource allocation method include the following steps:
Service logic control system receives the request instruction that client is sent, and obtains network corresponding with request instruction and take the photograph
The camera parameters of camera, camera parameters include stream media format information.
Service logic control system judges the stream media protocol of the video flowing of web camera according to stream media format information,
Stream media protocol includes HLS protocol and RTSP agreements.
If stream media protocol is HLS protocol, processing system incoming video stream is accessed, and video flowing is forwarded to HLS processing
System is handled.
If stream media protocol is RTSP agreements, processing system incoming video stream is accessed, and video flowing is forwarded at RTSP
Reason system is handled.
Preferably, cloud video platform further includes database, and service logic control system receives the request that client is sent and refers to
Before the step of enabling, including:
It accesses processing system, HLS processing systems, RTSP processing systems and sends registration letter to service logic control system respectively
For breath to complete to register, log-on message includes IP address information, port information and UUID information.
Log-on message is updated in database by service logic control system.
Preferably, cloud video platform further includes Direction Center.Service logic control system receives the request that client is sent
Instruction, and the step of obtaining the camera parameters of web camera corresponding with request instruction, including:
With after web camera communication connection, the camera parameters of web camera are updated in database Direction Center,
Camera parameters include video camera IP address information and video camera port information.
Client sends live streaming request instruction to service logic control system.
Service logic control system obtains camera parameters corresponding with live streaming request instruction from database.
Preferably, if stream media protocol is HLS protocol, processing system incoming video stream is accessed, and video flowing is forwarded to
The step of HLS processing systems are handled, including:
Service logic control system determines that the access processing system of connection minimum number is to determine at access according to database
Reason system, and obtain the access system IP address information and access system port information for determining access processing system.
Service logic control system is determined to the first-class Resource Control request of access processing system transmission is determined so that obtaining
Access the HTTP service port information of processing system.
HTTP service port information is updated in database by service logic control system.
Service logic control system determines that the HLS processing systems of connection minimum number are to determine HLS processing according to database
System, and obtain the HLS system ip address information and HLS system port information of determining HLS processing systems.
Service logic control system is to HLS processing systems transmission second Resource Control request is determined, so that determining at HLS
Reason system sends stream resource access request to determining access processing system.
Determine access processing system obtain web camera video flowing, and by video stream to determine HLS processing systems
System.
Determine that HLS processing systems handle video flowing to obtain HLS system feedback informations, and according to HLS system feedbacks
Information, HLS system ip address information and HLS system port information assemble to form HLS systems URL.
Determine that HLS processing systems feed back HLS systems URL to service logic control system.
Preferably, if stream media protocol is RTSP agreements, processing system incoming video stream is accessed, and video flowing is forwarded to
The step of RTSP processing systems are handled, including:
Service logic control system determines that the RTSP processing systems of connection minimum number are to determine at RTSP according to database
Reason system, and obtain the RTSP system ip address information and RTSP system port information of determining RTSP processing systems.
Service logic control system is determined to RTSP processing systems transmission third stream Resource Control request is determined so that obtaining
The open server port information of RTSP processing systems.
Open server port information is updated in database by service logic control system.
Service logic control system determines that the access processing system of connection minimum number is to determine at access according to database
Reason system, and obtain the access system IP address information and access system port information for determining access processing system.
Service logic control system is to the first-class Resource Control request of access processing system transmission is determined, so that determining RTSP
Processing system sends stream resource access request to determining access processing system.
Determine access processing system obtain web camera video flowing, and by video stream to determine RTSP processing systems
System.
Determine that RTSP processing systems handle video flowing to obtain RTSP system feedback informations, and anti-according to RTSP systems
Feedforward information, RTSP system ip address information, open server port information assemble to form RTSP systems URL.
Determine that RTSP processing systems feed back RTSP systems URL to service logic control system.
Preferably, it determines that HLS processing systems feed back HLS systems URL to service logic control system, or determines RTSP processing
System feedback RTSP systems URL to after the step of service logic control system, including:
Service logic control system sends HLS systems URL to client or service logic control system transmission RTSP systems
URL is to client.
Preferably, service logic control system sends HLS systems URL to client or the transmission of service logic control system
RTSP systems URL further includes to after the step of client:
The disconnection request instruction that service logic control system is sent according to client determines that HLS processing systems are stopped with control
It only sends video and flow to client, and HTTP service port information is deleted or service logic control system root from database
According to the disconnection request instruction that client is sent, determine that RTSP processing systems stop transmission video and flow to client with control, and will
Open server port information is deleted from database.
Preferably, service logic control system receives the request instruction that client is sent, and obtains corresponding with request instruction
Web camera camera parameters the step of, including:
With after web camera communication connection, the camera parameters of web camera are updated in database Direction Center,
Camera parameters include video camera IP address information and video camera port information.
Client sends playback requirement command to service logic control system.
Service logic control system obtains the video camera of web camera corresponding with playback requirement command from database
Parameter, camera parameters further include video camera IP address information and video camera port information.
Preferably, cloud video platform further includes storage system, and HLS systems URL is to service logic control system for feedback, or anti-
RTSP systems URL is presented to before the step of service logic control system, further includes:
It determines HLS processing systems or determines that video flowing is stored into storage system RTSP processing systems by treated.
Preferably, service logic control system sends HLS systems URL to client or the transmission of service logic control system
RTSP systems URL further includes to before the step of client:
Client sends playback request instruction to service logic control system, so that service logic control system is sent and is returned
The corresponding HLS systems URL or RTSP systems URL of request instruction is put to client.
Resource allocation method in the cloud video platform of the present invention, by service logic control system according to the video of acquisition
The stream media protocol type of stream is effectively allocated, so that promoting the processing capacity of concurrent video stream.
Description of the drawings
Fig. 1 is that the video flowing of HLS protocol in the resource allocation method in a kind of embodiment cloud video platform realizes video
The flow diagram of live streaming.
Fig. 2 is that the video flowing of RTSP agreements in the resource allocation method in a kind of embodiment cloud video platform realizes video
The flow diagram of live streaming.
Fig. 3 is that the video flowing of HLS protocol in the resource allocation method in a kind of embodiment cloud video platform realizes video
The flow diagram of playback.
Fig. 4 is that the video flowing of RTSP agreements in the resource allocation method in a kind of embodiment cloud video platform realizes video
The flow diagram of playback.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used to limit the present invention.
As shown in Figure 1, its video flowing for HLS protocol in the resource allocation method in a kind of embodiment cloud video platform
Realize the flow diagram of net cast.Fig. 1 does not include the initialization deployment operation of cloud video platform, initializes deployment operation
For:It is complete to service logic control system transmission log-on message respectively to access processing system, HLS processing systems, RTSP processing systems
At registration, log-on message includes IP address information, port information and UUID information.Service logic control system by log-on message more
Newly in database.Under conditions of cloud video initialization deployment success, the resource allocation method in the cloud video platform further includes
Following steps:
Step S1, for Direction Center with after web camera communication connection, camera parameters are updated to number by web camera
According in library.
Step S2, client send live streaming request instruction to service logic control system.
Step S3, service logic control system is obtained from database and network shooting corresponding with the live streaming request instruction
The camera parameters of machine, the camera parameters include video camera IP address information, video camera port information and stream media format letter
Breath.
Step S4, service logic control system judge the video flowing of the web camera according to the stream media format information
When stream media protocol is HLS protocol, service logic control system inquires in database the access processing system for connecting minimum number,
The access processing system of the connection minimum number is to determine access processing system.
Step S5, Database Feedback connect access system IP address information and the access of the access processing system of minimum number
System port information is to service logic control system.
Step S6, service logic control system send access processing of the first-class Resource Control request to connection minimum number
System.Wherein, service logic control system sends first according to the access system IP address information and access system port information
Resource Control request is flowed to the access processing system for connecting minimum number.
Step S7, the access processing system for connecting minimum number feed back HTTP service port information to service logic control system
System.
HTTP service port information is updated in database by step S8, service logic control system.
Step S9, service logic control system inquire the HLS processing systems that database determines connection minimum number, the connection
The HLS processing systems of minimum number are to determine HLS processing systems.
Step S10, Database Feedback connect HLS system ip address information and the HLS systems of the HLS processing systems of minimum number
Port information unite to service logic control system.
Step S11, service logic control system send second Resource Control request to determining HLS processing systems.
Step S12 determines that HLS processing systems send stream resource access request to determining access processing system.
Step S13 determines that access processing system obtains the video flowing of web camera, and by video stream to determination
HLS processing systems.Wherein it is determined that access processing system obtains network according to video camera IP address information and video camera port information
Video flowing on video camera.
Step S14 determines that HLS processing systems handle video flowing to obtain HLS system feedback informations, and according to HLS
System feedback information, HLS system ip address information and HLS system port information assemble to form HLS systems URL.Wherein it is determined that
HLS processing systems are according to access system IP address information and HTTP service port information from the access processing system of connection minimum number
System obtains video flowing.HLS processing systems are determined to the merging that the processing of video flowing includes TS stream files, while by TS file formats
Be converted to MP4 file formats.
Step S15 determines that HLS processing systems feed back HLS systems URL to service logic control system.
Step S16, service logic control system send HLS systems URL to client.
Step S17, client obtain video flowing according to HLS systems URL from determining HLS processing systems.
Step S18, client send to service logic control system and disconnect request instruction.
Step S19 determines that HLS processing systems stop transmission video and flow to client.
Step S20, service logic control system delete the HTTP service port letter that access processing system is determined in database
Breath.
As shown in Fig. 2, its video for RTSP agreements in the resource allocation method in a kind of embodiment cloud video platform
Stream realizes the flow diagram of net cast.Fig. 2 does not include the initialization deployment operation of cloud video platform, initialization deployment behaviour
As:It accesses processing system, HLS processing systems, RTSP processing systems and sends log-on message to service logic control system respectively
Registration is completed, log-on message includes IP address information, port information and UUID information.Service logic control system is by log-on message
It is updated in database.Under conditions of cloud video initialization deployment success, the resource allocation method in the cloud video platform also wraps
Include following steps:
Step S30, for Direction Center with after web camera communication connection, camera parameters are updated to number by web camera
According in library.
Step S31, client send live streaming request instruction to service logic control system.
Step S32, service logic control system is obtained from database and network corresponding with the live streaming request instruction is taken the photograph
The camera parameters of camera, the camera parameters include video camera IP address information, video camera port information and stream media format
Information.
Step S33, service logic control system judge the video flowing of the web camera according to the stream media format information
Stream media protocol be RTSP agreements when, service logic control system inquire database in connect minimum number RTSP processing systems
System, the RTSP processing systems of the connection minimum number are to determine RTSP processing systems.
Step S34, Database Feedback connect minimum number RTSP processing systems RTSP system ip address information and
RTSP system ports information is to service logic control system.
Step S35, service logic control system are sent at third stream Resource Control request to the RTSP of connection minimum number
Reason system.Wherein, service logic control system sends third according to RTSP system ip address information and RTSP system port information
Resource Control request is flowed to the RTSP processing systems for connecting minimum number.
Step S36 determines that RTSP processing systems feed back open server port information to service logic control system.
Open server port information is updated in database by step S37, service logic control system.
Step S38, service logic control system inquire the access processing system that database determines connection minimum number, the company
The access processing system for connecing minimum number is to determine access processing system.
Step S39, Database Feedback connect the access system IP address information of the access processing system of minimum number and connect
Enter system port information to service logic control system.
Step S40, service logic control system are sent at first-class Resource Control request to the access of connection minimum number
Reason system.
Step S41 determines that RTSP processing systems send stream resource access request to determining access processing system.
Step S42 determines that access processing system obtains the video flowing of web camera, and by video stream to determination
RTSP processing systems.Wherein it is determined that access processing system obtains net according to video camera IP address information and video camera port information
Video flowing on network video camera.
Step S43 determines that RTSP processing systems are handled to obtain RTSP system feedback informations to video flowing, and according to
RTSP system feedback informations, RTSP system ip address information, open server port information assemble to form RTSP systems URL.Its
In, the RTSP processing systems of minimum number are connected according to access system IP address information and access system port information from connection number
It measures minimum access processing system and obtains video flowing.
Step S44 determines that RTSP processing systems feed back RTSP systems URL to service logic control system.
Step S45, service logic control system send RTSP systems URL to client.
Step S46, client obtain video flowing according to RTSP systems URL from the RTSP processing systems of connection minimum number.
Step S47, client send to service logic control system and disconnect request instruction.
Step S48, the RTSP processing systems stopping transmission video for connecting minimum number flow to client.
Step S49, service logic control system delete the opening of the RTSP processing systems of connection minimum number in database
Server port information.
As shown in figure 3, its video flowing for HLS protocol in the resource allocation method in a kind of embodiment cloud video platform
Realize the flow diagram of video playback.Fig. 3 does not include the initialization deployment operation of cloud video platform, initializes deployment operation
For:It is complete to service logic control system transmission log-on message respectively to access processing system, HLS processing systems, RTSP processing systems
At registration, log-on message includes IP address information, port information and UUID information.Service logic control system by log-on message more
Newly in database.Under conditions of cloud video initialization deployment success, the resource allocation method in the cloud video platform further includes
Following steps:
Step S60, for Direction Center with after web camera communication connection, camera parameters are updated to number by web camera
According in library.
Step S61, client send playback requirement command to service logic control system.
Step S62, service logic control system is obtained from database and network corresponding with the playback requirement command is taken the photograph
The camera parameters of camera, the camera parameters include video camera IP address information, video camera port information and stream media format
Information.
Step S63, service logic control system judge the video flowing of the web camera according to the stream media format information
Stream media protocol be HLS protocol when, service logic control system inquire database in connect minimum number access processing system
System, the access processing system of the connection minimum number are to determine access processing system.
Step S64, Database Feedback connect the access system IP address information of the access processing system of minimum number and connect
Enter system port information to service logic control system.
Step S65, service logic control system are sent at first-class Resource Control request to the access of connection minimum number
Reason system.Service logic control system sends first-class money according to the access system IP address information and access system port information
Source control data extremely connects the access processing system of minimum number.
Step S66, the access processing system for connecting minimum number feed back HTTP service port information to service logic control
System.
HTTP service port information is updated in database by step S67, service logic control system.
Step S68, service logic control system inquire the HLS processing systems that database determines connection minimum number, the company
The HLS processing systems for connecing minimum number are to determine HLS processing systems.
Step S69, Database Feedback connect HLS system ip address information and the HLS systems of the HLS processing systems of minimum number
Port information unite to service logic control system.
Step S70, service logic control system send second Resource Control request to determining HLS processing systems.
Step S71 determines that HLS processing systems send stream resource access request to determining access processing system.
Step S72 determines that access processing system obtains the video flowing of web camera, and by video stream to determination
HLS processing systems.The access processing system of connection minimum number is obtained according to video camera IP address information and video camera port information
Take the video flowing on web camera.
Step S73 determines that HLS processing systems handle video flowing to obtain HLS system feedback informations, and according to HLS
System feedback information, HLS system ip address information and HLS system port information assemble to form HLS system URL, and will be after processing
Video flowing store into storage system.Wherein, the HLS processing systems of minimum number are connected according to access system IP address information
With HTTP service port information video flowing is obtained from the access processing system of connection minimum number.HLS processing systems are to video flowing
Processing include the merging of TS stream files, while TS file formats are converted into MP4 file formats.
Step S74 determines that HLS processing systems feed back HLS systems URL to service logic control system.
Step S75, client send playback request instruction to service logic control system.
Step S76, service logic control system send HLS system URL corresponding with playback request instruction to client.
Step S77, client are obtained according to HLS systems URL from the storage system of the HLS processing systems of connection minimum number
Take video flowing.
Step S78, client send to service logic control system and disconnect request instruction.
Step S79, the HLS processing systems stopping transmission video for connecting minimum number flow to client.
Step S80, service logic control system delete the HTTP of the access processing system of connection minimum number in database
Serve port information.
As shown in figure 4, its video for RTSP agreements in the resource allocation method in a kind of embodiment cloud video platform
Stream realizes the flow diagram of video playback.Fig. 4 does not include the initialization deployment operation of cloud video platform, initialization deployment behaviour
As:It accesses processing system, HLS processing systems, RTSP processing systems and sends log-on message to service logic control system respectively
Registration is completed, log-on message includes IP address information, port information and UUID information.Service logic control system is by log-on message
It is updated in database.Under conditions of cloud video initialization deployment success, the resource allocation method in the cloud video platform also wraps
Include following steps:
Step S90, for Direction Center with after web camera communication connection, camera parameters are updated to number by web camera
According in library.
Step S91, client send playback requirement command to service logic control system.
Step S92, service logic control system is obtained from database and network corresponding with the playback requirement command is taken the photograph
The camera parameters of camera, the camera parameters include video camera IP address information, video camera port information and stream media format
Information.
Step S93, service logic control system judge the video flowing of the web camera according to the stream media format information
Stream media protocol be RTSP agreements when, service logic control system inquire database in connect minimum number RTSP processing systems
System, the RTSP processing systems of the connection minimum number are to determine RTSP processing systems.
Step S94, Database Feedback connect minimum number RTSP processing systems RTSP system ip address information and
RTSP system ports information is to service logic control system.
Step S95, service logic control system are sent at third stream Resource Control request to the RTSP of connection minimum number
Reason system.Service logic control system sends third stream resource according to RTSP system ip address information and RTSP system port information
Control data extremely connects the RTSP processing systems of minimum number.
Step S96, the RTSP processing systems for connecting minimum number feed back open server port information to service logic control
System processed.
Open server port information is updated in database by step S97, service logic control system.
Step S98, service logic control system inquire the access processing system that database determines connection minimum number, the company
The access processing system for connecing minimum number is to determine access processing system.
Step S99, Database Feedback connect the access system IP address information of the access processing system of minimum number and connect
Enter system port information to service logic control system.
Step S100, service logic control system are sent at first-class Resource Control request to the access of connection minimum number
Reason system.
Step S101 determines that RTSP processing systems send stream resource access request to determining access processing system.
Step S102 determines that access processing system obtains the video flowing of web camera, and by video stream to determination
RTSP processing systems.The access processing system of connection minimum number is obtained according to video camera IP address information and video camera port information
Take the video flowing on web camera.
Step S103 determines that RTSP processing systems are handled to obtain RTSP system feedback informations to video flowing, and according to
RTSP system feedback informations, RTSP system ip address information, open server port information assemble to form RTSP system URL, and
By treated, video flowing is stored into storage system.The RTSP processing systems of minimum number are connected according to access system IP address
Information and access system port information obtain video flowing from the access processing system of connection minimum number.
Step S104 determines that RTSP processing systems feed back RTSP systems URL to service logic control system.
Step S105, client send playback request instruction to service logic control system.
Step S106, service logic control system send RTSP systems URL to client.
Step S107, client obtain video flowing according to RTSP systems URL from the RTSP processing systems of connection minimum number.
Step S108, client send to service logic control system and disconnect request instruction.
Step S109, the RTSP processing systems stopping transmission video for connecting minimum number flow to client.
Step S110, service logic control system delete the opening of the RTSP processing systems of connection minimum number in database
Server port information.
Resource allocation method in cloud video platform of the present invention, according to the Streaming Media in the camera parameters of web camera
Format information determines stream media protocol.It is obtained according to the access processing system of determining stream media protocol selection connection minimum number
The video flowing of web camera is taken, and selects connection minimum number, and processing system corresponding with stream media protocol processing should
Video flowing is promoted so that having reached reasonable using access processing system, the advantageous effect of HLS processing systems, RTSP processing systems
The ability of the processing concurrent video stream of cloud video platform.
The specific implementation mode of invention is described in detail above, but it is only used as example, the present invention is not intended to limit
With specific embodiments described above.For a person skilled in the art, any equivalent modifications that the invention is carried out
Or substitute also all among scope of the invention, therefore, in the case where not departing from the spirit and principles in the present invention range made by it is impartial
Transformation and modification, improvement etc., all should be contained within the scope of the invention.
Claims (10)
1. the resource allocation method in a kind of cloud video platform, which is characterized in that the cloud video platform includes service logic control
System processed, access processing system, HLS processing systems and RTSP processing systems, the resource allocation method include the following steps:
The service logic control system receives the request instruction that client is sent, and obtains net corresponding with the request instruction
The camera parameters of network video camera, the camera parameters include stream media format information;
The service logic control system judges the stream of the video flowing of the web camera according to the stream media format information
Media protocol, the stream media protocol include HLS protocol and RTSP agreements;
If the stream media protocol is the HLS protocol, the access processing system access video flowing, and by the video
Circulation is sent to the HLS processing systems and is handled;
If the stream media protocol is the RTSP agreements, the access processing system accesses the video flowing, and is regarded by described in
Frequency circulation is sent to the RTSP processing systems and is handled.
2. the resource allocation method in cloud video platform according to claim 1, which is characterized in that the cloud video platform
Further include database, before the step of service logic control system receives the request instruction that client is sent, including:
The access processing system, the HLS processing systems, the RTSP processing systems are controlled to the service logic respectively
System sends log-on message to complete to register, and the log-on message includes IP address information, port information and UUID information;
The log-on message is updated in the database by the service logic control system.
3. the resource allocation method in cloud video platform according to claim 2, which is characterized in that the cloud video platform
It further include Direction Center;The service logic control system receives the request instruction that client is sent, and obtains and the request
The step of instructing the camera parameters of corresponding web camera, including:
With after web camera communication connection, the camera parameters of the web camera are updated to institute at described instruction center
It states in database, the camera parameters include video camera IP address information and video camera port information;
The client sends live streaming request instruction to the service logic control system;
The service logic control system obtains the camera parameters corresponding with the live streaming request instruction from database.
4. the resource allocation method in cloud video platform according to claim 2, which is characterized in that if the Streaming Media is assisted
View is the HLS protocol, and the access processing system accesses the video flowing, and the video flowing is forwarded at the HLS
The step of reason system is handled, including:
The service logic control system determines that the access processing system of connection minimum number is true according to the database
Surely processing system is accessed, and obtains the access system IP address information and access system port letter of the determining access processing system
Breath;
The service logic control system sends first-class Resource Control request to the determining access processing system, so that obtaining
The HTTP service port information of the determining access processing system;
The HTTP service port information is updated in the database by the service logic control system;
The service logic control system determines that the HLS processing systems of connection minimum number are to determine according to the database
HLS processing systems, and obtain the HLS system ip address information and HLS system port information of the determining HLS processing systems;
The service logic control system sends second Resource Control request to the determining HLS processing systems, so that described
Determine that HLS processing systems send stream resource access request to the determining access processing system;
The determining access processing system obtains the video flowing of the web camera, and by the video stream to it is described really
Determine HLS processing systems;
The determining HLS processing systems handle the video flowing to obtain HLS system feedback informations, and according to HLS systems
Feedback information, HLS system ip address information and HLS system port information assemble to form HLS systems URL;
The determining HLS processing systems feed back the HLS systems URL to the service logic control system.
5. the resource allocation method in cloud video platform according to claim 2, which is characterized in that if the Streaming Media is assisted
View is the RTSP agreements, and the access processing system accesses the video flowing, and the video flowing is forwarded to the RTSP
The step of processing system is handled, including:
The service logic control system determines that the RTSP processing systems of connection minimum number are true according to the database
Determine RTSP processing systems, and obtains the RTSP system ip address information and RTSP system end messages of the determining RTSP processing systems
Breath;
The service logic control system sends third stream Resource Control request to the determining RTSP processing systems, so that obtaining
The open server port information of the determining RTSP processing systems;
The open server port information is updated in the database by the service logic control system;
The service logic control system determines that the access processing system of connection minimum number is true according to the database
Surely processing system is accessed, and obtains the access system IP address information and access system port letter of the determining access processing system
Breath;
The service logic control system sends first-class Resource Control request to the determining access processing system, so that described
Determine that RTSP processing systems send stream resource access request to the determining access processing system;
The determining access processing system obtains the video flowing of the web camera, and by the video stream to it is described really
Determine RTSP processing systems;
The determining RTSP processing systems handle the video flowing to obtain RTSP system feedback informations, and according to described
RTSP system feedback informations, RTSP system ip address information, open server port information assemble to form RTSP systems URL;
The determining RTSP processing systems feed back the RTSP systems URL to the service logic control system.
6. the resource allocation method in cloud video platform according to claim 4 or 5, which is characterized in that the determining HLS
Processing system feeds back the HLS systems URL to the service logic control system or the determining RTSP processing systems feedback institute
RTSP systems URL is stated to after the step of the service logic control system, including:
The service logic control system sends the HLS systems URL to client or service logic control system transmission
The RTSP systems URL is to client.
7. the resource allocation method in cloud video platform according to claim 6, which is characterized in that the service logic control
System processed sends the HLS systems URL and sends the RTSP systems URL extremely to client or the service logic control system
After the step of client, further include:
The disconnection request instruction that the service logic control system is sent according to the client, to control at the determining HLS
Reason system stops transmission video and flow to the client, and the HTTP service port information is deleted from the database,
Or the disconnection request instruction that the service logic control system is sent according to the client, to control the determining RTSP processing
System stops the transmission video and flow to the client, and open server port information is deleted from database.
8. the resource allocation method in cloud video platform according to claim 2, which is characterized in that the cloud video platform
It further include Direction Center;The service logic control system receives the request instruction that client is sent, and obtains and the request
The step of instructing the camera parameters of corresponding web camera, including:
With after web camera communication connection, the camera parameters of the web camera are updated to institute at described instruction center
It states in database, the camera parameters include video camera IP address information and video camera port information;
The client sends playback requirement command to the service logic control system;
The service logic control system obtains the web camera corresponding with the playback requirement command from database
Camera parameters, the camera parameters further include video camera IP address information and video camera port information.
9. the resource allocation method in cloud video platform according to claim 4 or 5, which is characterized in that the cloud video
Platform further includes storage system, feeds back the HLS systems URL to the service logic control system, or the feedback RTSP systems
URL unite to before the step of the service logic control system, further includes:
Video flowing is stored to storage system by treated for the determining HLS processing systems or the determining RTSP processing systems
In system.
10. the resource allocation method in cloud video platform according to claim 6, which is characterized in that the service logic
Control system sends the HLS systems URL to client or the service logic control system transmission RTSP systems URL
To before the step of client, further include:
Client sends playback request instruction to the service logic control system, so that the service logic control system is sent
The HLS system URL or described RTSP system URL corresponding with playback request instruction is to client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713663.2A CN105306967B (en) | 2015-10-28 | 2015-10-28 | A kind of resource allocation method in cloud video platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713663.2A CN105306967B (en) | 2015-10-28 | 2015-10-28 | A kind of resource allocation method in cloud video platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306967A CN105306967A (en) | 2016-02-03 |
CN105306967B true CN105306967B (en) | 2018-08-21 |
Family
ID=55203642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510713663.2A Expired - Fee Related CN105306967B (en) | 2015-10-28 | 2015-10-28 | A kind of resource allocation method in cloud video platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306967B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107404504B (en) * | 2016-05-19 | 2020-08-04 | 中国移动通信集团河南有限公司 | Communication method, device and system |
CN106685942B (en) * | 2016-12-20 | 2020-07-24 | 徐亮 | Video live broadcast playback system and video live broadcast playback method |
WO2019100364A1 (en) * | 2017-11-27 | 2019-05-31 | 天彩电子(深圳)有限公司 | Dynamic resource allocation method in cloud video platform |
CN108924088A (en) * | 2018-05-28 | 2018-11-30 | 深圳亿维锐创科技股份有限公司 | A kind of 4K web camera transmission realizing method |
CN111800606B (en) * | 2020-06-19 | 2022-03-25 | 烽火通信科技股份有限公司 | Cloud video processing method and system |
CN113179261B (en) * | 2021-04-25 | 2022-07-29 | 深圳市商汤科技有限公司 | Video stream processing method and device, storage medium and platform server |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938483A (en) * | 2010-09-03 | 2011-01-05 | 中兴通讯股份有限公司 | Method and system for distributing live broadcast contents |
CN103457907A (en) * | 2012-05-28 | 2013-12-18 | 中国移动通信集团公司 | Method, equipment and system for multimedia content distribution |
CN103826139A (en) * | 2014-02-27 | 2014-05-28 | 北京六间房科技有限公司 | CDN system, watching server and streaming media data transmission method |
CN103986942A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | Data distribution system and method based on CDN (content distribution network) |
CN104539596A (en) * | 2014-12-18 | 2015-04-22 | 华为技术有限公司 | Method, device and system for streaming media transmission |
CN104581219A (en) * | 2014-12-22 | 2015-04-29 | 浙江工业大学 | Control method of stream media forwarding server |
CN104702654A (en) * | 2014-02-25 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Video cloud storage system based storage and extraction performance balancing method and device |
CN104796741A (en) * | 2015-04-15 | 2015-07-22 | 姚世明 | Network layering and resource fragmenting media-sharing method and device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702666A (en) * | 2009-11-12 | 2010-05-05 | 中兴通讯股份有限公司 | Method and system for realizing load balance of media transcoding network and media transcoding units |
CN102438172A (en) * | 2011-03-28 | 2012-05-02 | 苏州汉辰数字科技有限公司 | System for realizing video-on-demand (VOD) and push VOD by cloud computing technology and method thereof |
US20130042013A1 (en) * | 2011-08-10 | 2013-02-14 | Nokia Corporation | Methods, apparatuses and computer program products for enabling live sharing of data |
CN102710966A (en) * | 2012-06-13 | 2012-10-03 | 百视通网络电视技术发展有限责任公司 | Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol) |
CN102802041B (en) * | 2012-08-06 | 2015-01-14 | 何建亿 | Implement method for intelligent streaming media server supporting a plurality of real-time dynamic data sources |
CN104618690B (en) * | 2015-01-29 | 2018-01-05 | 广东迅通科技股份有限公司 | A kind of method and system of HD video real-time VOD and history playback |
CN204377061U (en) * | 2015-02-02 | 2015-06-03 | 杭州华昊信息科技有限公司 | Cloud Streaming Media issues hardware platform |
-
2015
- 2015-10-28 CN CN201510713663.2A patent/CN105306967B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938483A (en) * | 2010-09-03 | 2011-01-05 | 中兴通讯股份有限公司 | Method and system for distributing live broadcast contents |
CN103457907A (en) * | 2012-05-28 | 2013-12-18 | 中国移动通信集团公司 | Method, equipment and system for multimedia content distribution |
CN104702654A (en) * | 2014-02-25 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Video cloud storage system based storage and extraction performance balancing method and device |
CN103826139A (en) * | 2014-02-27 | 2014-05-28 | 北京六间房科技有限公司 | CDN system, watching server and streaming media data transmission method |
CN103986942A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | Data distribution system and method based on CDN (content distribution network) |
CN104539596A (en) * | 2014-12-18 | 2015-04-22 | 华为技术有限公司 | Method, device and system for streaming media transmission |
CN104581219A (en) * | 2014-12-22 | 2015-04-29 | 浙江工业大学 | Control method of stream media forwarding server |
CN104796741A (en) * | 2015-04-15 | 2015-07-22 | 姚世明 | Network layering and resource fragmenting media-sharing method and device |
Non-Patent Citations (2)
Title |
---|
MediaPaaS: a Cloud-based Media Processing;Bin Cheng;《Cloud Computing (CLOUD)》, 2014 IEEE 7th International Conference on》;20141204;全文 * |
内容分发网络研究;李乔; 何慧; 张宏莉;《电子学报》;20130815;第41卷(第8期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105306967A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105306967B (en) | A kind of resource allocation method in cloud video platform | |
CN102138313B (en) | In-band DPI media reservation modifications to RFC 3313 | |
EP1878171B1 (en) | Method for managing service bindings over an access domain and nodes therefor | |
RU2530016C2 (en) | Content localisation method and content delivery network node | |
CN101217431B (en) | A method and system of photos in synchronous mobile terminal network TV and network album | |
US20150317583A1 (en) | Business Scheduling Method and Apparatus and Convergence Device | |
EP2466852A1 (en) | Digital content management | |
CN101299825B (en) | Method, system and apparatus for implementing multicast load-bearing resource control | |
KR101859235B1 (en) | System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices | |
US8761056B2 (en) | System for providing EMBMS chatting service and service provider server of the same, and method for controlling eBM-SC and user equipment | |
CN104954281A (en) | Communication method, system thereof, resource pool management system, switches, and control device | |
JP2014528211A (en) | Mobile communication network, board device and method | |
CN109474684A (en) | A kind of method, apparatus, terminal device and storage medium obtaining live video stream | |
US20130188599A1 (en) | Wireless communication terminal to receive content data from an edge node | |
CN108683683A (en) | The method and apparatus of transmission characteristic information for transferring multimedia data | |
CN104270604A (en) | Method, system and device for obtaining real-time video data of IPC | |
CN107959672A (en) | A kind of transfer method of multicasting based on Darwin's streaming media server | |
KR20070009549A (en) | Access control for multicast channel request | |
CN109391520A (en) | Deep message detection method, device and system based on pattern of fusion home gateway | |
EP3869763A1 (en) | Method for delivering an audio and/or video content in a mobile network infrastructure | |
CN101262413B (en) | Method, system and device for media buffer | |
CN101426124B (en) | Time shifting method for interactive network television system in next generation communication network | |
CN101741816A (en) | Internet protocol TV-based information push method, device and system | |
CN107395555A (en) | A kind of method, apparatus and system of session management | |
CN104780591B (en) | Business interoperability implementation method, device, system and relevant device between terminal 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180821 Termination date: 20201028 |
|
CF01 | Termination of patent right due to non-payment of annual fee |