CN108989827A - A kind of realization method and system that cloud bridge is broadcast live - Google Patents

A kind of realization method and system that cloud bridge is broadcast live Download PDF

Info

Publication number
CN108989827A
CN108989827A CN201810858256.4A CN201810858256A CN108989827A CN 108989827 A CN108989827 A CN 108989827A CN 201810858256 A CN201810858256 A CN 201810858256A CN 108989827 A CN108989827 A CN 108989827A
Authority
CN
China
Prior art keywords
stream
live
intranet
address
synchronization
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
Application number
CN201810858256.4A
Other languages
Chinese (zh)
Inventor
颜涛
刘让刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Hua Seiun Technology Co Ltd
Original Assignee
Chengdu Hua Seiun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Hua Seiun Technology Co Ltd filed Critical Chengdu Hua Seiun Technology Co Ltd
Priority to CN201810858256.4A priority Critical patent/CN108989827A/en
Publication of CN108989827A publication Critical patent/CN108989827A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of implementation method that cloud bridge is broadcast live, this method includes viewing live streaming, obtains stream address, the IP address of live information, judges whether gateway IP is gateway Intranet user;It is then using the viewing live streaming of Intranet stream address;It is on the contrary then using CDN stream address play out;Live stream automatic synchronization obtains the stream address currently pushed by CDN API, inquires whether the stream address belongs to Intranet gateway tenant and user;It is that the stream address synchronization of Intranet gateway tenant and user to Intranet gateway are then completed into live stream automatic synchronization;Live stream manual synchronization, user adds manually needs synchronous stream address, and system synchronizes the address stream after the completion of addition, completes live stream automatic synchronization;Live streaming viewing triggering synchronizes, and when user watches live streaming, whether detection live stream address is synchronized to Intranet;It is not to add the live stream address manually, system is synchronized to Intranet to the address stream after the completion of addition, completes live stream automatic synchronization.

Description

A kind of realization method and system that cloud bridge is broadcast live
Technical field
The present invention relates to live streaming fields, and in particular to a kind of realization method and system that cloud bridge is broadcast live.
Background technique
Technology and market gradually mature, and network just with internetwork connection mode ubiquitous, at all times, changes people To the conventional wisdom of " network " and " informationization ", currently, due to idea and habit etc., in built campus probably Have 50% or more without really playing the due benefit in internet, even if being also the same in university.Therefore, campus network is improved Utilization rate is one of important performance assessment criteria of Campus Net Building.The main purpose for constructing campus network is exactly to improve the quality of teaching, and is The education and instruction service of school realizes multimedia teaching wherein utilizing network technology, and multimedia messages exchange, net cast, point It broadcasts, long-distance education is exactly several Teaching Services therein.The external service of this several services will directly utilize campus network outer net It imparts knowledge to students, but when campus network is under high loaded process, the bandwidth quality of outer net will directly affect quality of instruction.
Summary of the invention
It is main to solve it is an object of the invention to overcome the deficiencies of the prior art and provide a kind of implementation method that cloud bridge is broadcast live Certainly during viewing live streaming, since outer net outlet bandwidth bottleneck leads to not smooth the problem of watching, by Intranet flow and public network Flow is shunted, to avoid Intranet to the outlet bandwidth bottleneck problem of public network.
The purpose of the present invention is achieved through the following technical solutions:
A kind of implementation method that cloud bridge is broadcast live, this method includes following one or more steps:
Step 1: viewing live streaming obtains stream address, the IP address of live information, judges whether gateway IP is gateway Intranet user;
It is to be watched and being broadcast live using Intranet stream address;
No, formatting CDN stream address is that Intranet stream address plays out;
Step 2: live stream automatic synchronization obtains the stream address currently pushed by CDN API, whether inquires the stream address Belong to Intranet gateway tenant and user;
It is, by the stream address synchronization of Intranet gateway tenant and user to Intranet gateway, to complete live stream automatic synchronization;
It is no, it can not be broadcast live stream automatic synchronization, terminated;
Step 3: live stream manual synchronization, user adds manually needs synchronous stream address, and system is to the address after the completion of addition Stream synchronizes, and completes live stream manual synchronization;
Step 4: live streaming viewing triggering synchronizes, and when user watches live streaming, whether detection live stream address is synchronized to Intranet;
It is to complete triggering to synchronize;
It is no, the live stream address is added manually, and system is synchronized to Intranet to the address stream after the completion of addition, completes triggering and synchronizes.
Further, the live stream stopping, which synchronizes to be divided into, is automatically stopped and stops manually, is wherein to stop in step 3 manually It only, is to be automatically stopped in step 2 and step 4.
Further, the manual stopping is that management backstage user stops flowing address manually, passes through " the synchronous clothes of live streaming Intranet Business ", which is sent, stops synch command to " Intranet live streaming control terminal ", realizes and stops synchronizing.
It is further, described to be automatically stopped step are as follows:
S1: by " Intranet live streaming control terminal " heartbeat feedback synchronization stream mode, record stops the stream address of plug-flow and stops plug-flow Time;
S2: it by timed task, finds out and stops the stream address that plug-flow is more than 1 hour;
S3: judge that the stream address belongs to " automatic synchronization " or " viewing triggering synchronizes ", stop synch command to " Intranet to send Control terminal is broadcast live ", it realizes and stops synchronizing.
Further, the step 2 further includes judging flow whether address is synchronous, and its step are as follows with step 3:
Stream address synchronization state is obtained, is judged whether synchronized;
It is to return to synchronous regime, terminates simultaneously operating;
It is no, it synchronizes, then returns to synchronous regime, terminate simultaneously operating.
Further, after the step 3 is in synchronous regime, it is automatic to update manual synchronization stream address table completion live stream It is synchronous.
Further, further include a secondary judgment step after the step 4 is synchronized to Intranet, its step are as follows:
Stream address synchronization state is obtained, is judged whether synchronized;
It is to return to synchronous regime, updates the synchronous stream address table of triggering, complete triggering and synchronize, terminate;
It is no, it is synchronous, synchronous regime is then returned, the synchronous stream address table of triggering is updated, completes triggering and synchronize, terminate.
A kind of live streaming cloud bridge system, the system include:
Streaming media cluster: being made of load balancing, streaming media server, streaming management system, is responsible for providing stream matchmaker in Intranet Body service;
Media local file system: being located at Intranet, is responsible for storage on-demand media file, with tenant or user on cloud in media library Hold consistent;
Intranet controller: being located at Intranet, be responsible for communication between Intranet stream media system, storage system and cloud direct broadcast service and Coordinate;
Cloud service is broadcast live: being located at public cloud, the largely live streaming based on cloud, live streaming management and live streaming ambient services are provided.
The beneficial effects of the present invention are: compared to the prior art, this programme will be divided Intranet flow and public network flow Stream, live stream address is synchronous with Intranet gateway, the automatic synchronization of live stream is completed, so that live streaming becomes smooth not Caton, from And avoid Intranet to the outlet bandwidth bottleneck problem of public network.
Detailed description of the invention
Fig. 1 is present invention viewing flow diagram;
Fig. 2 is the autosynchronous flow chart of live stream;
Fig. 3 is the flow chart of live stream manual synchronization;
Fig. 4 is the synchronous flow chart of live stream viewing triggering;
Fig. 5 is present system block diagram.
Specific embodiment
Technical solution of the present invention is described in further detail combined with specific embodiments below, but protection scope of the present invention is not It is confined to as described below.
As shown in Figure 1, a kind of implementation method that cloud bridge is broadcast live, present design are suitble to the Intranets stream such as school, government unit More scene is measured, this method includes following one or more steps:
Step 1: viewing live streaming obtains stream address, the IP address of live information, judges whether gateway IP is gateway Intranet user;
It is to be watched and being broadcast live using Intranet stream address;
No, formatting CDN stream address is that Intranet stream address plays out;
As shown in Fig. 2, step 2: live stream automatic synchronization obtains the stream address currently pushed by CDN API, and inquiry should Whether stream address belongs to Intranet gateway tenant and user;
It is, by the stream address synchronization of Intranet gateway tenant and user to Intranet gateway, that is, Intranet control terminal, to be then somebody's turn to do in acquisition The synchronous regime for flowing address, judges whether it is synchronized, and synchronous regime is returned if synchronized, and it is automatic to complete live stream Synchronous, otherwise synchronizing operation and then returning again to synchronous regime terminates simultaneously operating, so far completes the automatic synchronization of live stream;
If the address is not belonging to Intranet gateway tenant and user, automatic synchronization, EP (end of program) can not be carried out.
As shown in figure 3, step 3: live stream manual synchronization, user need synchronous stream by adding manually from service background Then address the stream address is recorded in manual synchronization stream address table, system synchronizes the address stream after the completion of addition, Then i.e. synchronous stream address judges whether to have completed to synchronize, synchronizes if not synchronous, then return to Intranet control terminal Synchronous regime is returned, while updating manual synchronization stream address table, so far, completes live stream manual synchronization.
As shown in figure 4, step 4: live streaming viewing triggering synchronizes, and when Intranet user, which is watched, to be broadcast live, detects live stream address Whether Intranet is synchronized to;
It is to complete triggering to synchronize;
It is no, the live stream address is added manually, while the stream address being recorded in the synchronous stream address table of triggering, after the completion of addition System is synchronized to Intranet to the address stream, i.e., then synchronous stream address obtains stream address synchronization state, detection to Intranet control terminal Whether complete to synchronize, synchronization is not completed then to synchronize, synchronous regime is then returned to, and update the synchronous stream address table of triggering, from And it completes triggering and synchronizes.
Further, the live stream stopping, which synchronizes to be divided into, is automatically stopped and stops manually, is wherein to stop in step 3 manually It only, is to be automatically stopped in step 2 and step 4.
Further, the manual stopping is that management backstage user stops flowing address manually, passes through " the synchronous clothes of live streaming Intranet Business ", which is sent, stops synch command to " Intranet live streaming control terminal ", realizes and stops synchronizing.
It is further, described to be automatically stopped step are as follows:
S1: by " Intranet live streaming control terminal " heartbeat feedback synchronization stream mode, record stops the stream address of plug-flow and stops plug-flow Time;
S2: it by timed task, finds out and stops the stream address that plug-flow is more than 1 hour;
S3: judge that the stream address belongs to " automatic synchronization " or " viewing triggering synchronizes ", stop synch command to " Intranet to send Control terminal is broadcast live ", it realizes and stops synchronizing.
As shown in figure 5, a kind of live streaming cloud bridge system, the system include:
Streaming media cluster: being made of load balancing, streaming media server, streaming management system, is responsible for providing stream matchmaker in Intranet Body service;
Media local file system: being located at Intranet, is responsible for storage on-demand media file, with tenant or user on cloud in media library Hold consistent;
Intranet controller: being located at Intranet, be responsible for communication between Intranet stream media system, storage system and cloud direct broadcast service and Coordinate;
Cloud service is broadcast live: being located at public cloud, the largely live streaming based on cloud, live streaming management and live streaming ambient services are provided.
The above is only a preferred embodiment of the present invention, it should be understood that the present invention is not limited to described herein Form should not be regarded as an exclusion of other examples, and can be used for other combinations, modifications, and environments, and can be at this In the text contemplated scope, modifications can be made through the above teachings or related fields of technology or knowledge.And those skilled in the art institute into Capable modifications and changes do not depart from the spirit and scope of the present invention, then all should be in the protection scope of appended claims of the present invention It is interior.

Claims (8)

1. a kind of implementation method that cloud bridge is broadcast live, which is characterized in that this method includes following one or more steps:
Step 1: viewing live streaming obtains stream address, the IP address of live information, judges whether gateway IP is gateway Intranet user;
It is to be watched and being broadcast live using Intranet stream address;
No, formatting CDN stream address is that Intranet stream address plays out;
Step 2: live stream automatic synchronization obtains the stream address currently pushed by CDN API, whether inquires the stream address Belong to Intranet gateway tenant and user;
It is, by the stream address synchronization of Intranet gateway tenant and user to Intranet gateway, to complete live stream automatic synchronization;
It is no, it can not be broadcast live stream automatic synchronization, terminated;
Step 3: live stream manual synchronization, user adds manually needs synchronous stream address, and system is to the address after the completion of addition Stream synchronizes, and completes live stream manual synchronization;
Step 4: live streaming viewing triggering synchronizes, and when user watches live streaming, whether detection live stream address is synchronized to Intranet;
It is to complete triggering to synchronize;
It is no, the live stream address is added manually, and system is synchronized to Intranet to the address stream after the completion of addition, completes triggering and synchronizes.
2. a kind of implementation method that cloud bridge is broadcast live according to claim 1, which is characterized in that the live stream stops synchronizing It is divided into and is automatically stopped and stops manually, be wherein to stop in step 3 manually, is automatically stopped in step 2 and step 4.
3. a kind of implementation method that cloud bridge is broadcast live according to claim 2, which is characterized in that the manual stopping is management Background user stops flowing address manually, is sent by " live streaming Intranet synchronous service " and stops synch command to " Intranet live streaming control End " is realized and stops synchronizing.
4. a kind of implementation method that cloud bridge is broadcast live according to claim 3, which is characterized in that described to be automatically stopped step Are as follows:
S1: by " Intranet live streaming control terminal " heartbeat feedback synchronization stream mode, record stops the stream address of plug-flow and stops plug-flow Time;
S2: it by timed task, finds out and stops the stream address that plug-flow is more than 1 hour;
S3: judge that the stream address belongs to " automatic synchronization " or " viewing triggering synchronizes ", stop synch command to " Intranet to send Control terminal is broadcast live ", it realizes and stops synchronizing.
5. a kind of implementation method that cloud bridge is broadcast live according to claim 4, which is characterized in that the step 2 and step 3 are also Including judging to flow whether address synchronizes, its step are as follows:
Stream address synchronization state is obtained, is judged whether synchronized;
It is to return to synchronous regime, terminates simultaneously operating;
It is no, it synchronizes, then returns to synchronous regime, terminate simultaneously operating.
6. a kind of implementation method that cloud bridge is broadcast live according to claim 5, which is characterized in that when the step 3 is in same After step state, updates manual synchronization stream address table and complete live stream automatic synchronization.
7. a kind of implementation method that cloud bridge is broadcast live according to claim 6, which is characterized in that in the step 4 is synchronized to Further include a secondary judgment step after net, its step are as follows:
Stream address synchronization state is obtained, is judged whether synchronized;
It is to return to synchronous regime, updates the synchronous stream address table of triggering, complete triggering and synchronize, terminate;
It is no, it is synchronous, synchronous regime is then returned, the synchronous stream address table of triggering is updated, completes triggering and synchronize, terminate.
8. a kind of live streaming cloud bridge system for realizing any one of claim 1-7, which is characterized in that the system includes:
Streaming media cluster: being made of load balancing, streaming media server, streaming management system, is responsible for providing stream matchmaker in Intranet Body service;
Media local file system: being located at Intranet, is responsible for storage on-demand media file, with tenant or user on cloud in media library Hold consistent;
Intranet controller: being located at Intranet, be responsible for communication between Intranet stream media system, storage system and cloud direct broadcast service and Coordinate;
Cloud service is broadcast live: being located at public cloud, the largely live streaming based on cloud, live streaming management and live streaming ambient services are provided.
CN201810858256.4A 2018-07-31 2018-07-31 A kind of realization method and system that cloud bridge is broadcast live Pending CN108989827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810858256.4A CN108989827A (en) 2018-07-31 2018-07-31 A kind of realization method and system that cloud bridge is broadcast live

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810858256.4A CN108989827A (en) 2018-07-31 2018-07-31 A kind of realization method and system that cloud bridge is broadcast live

Publications (1)

Publication Number Publication Date
CN108989827A true CN108989827A (en) 2018-12-11

Family

ID=64551740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810858256.4A Pending CN108989827A (en) 2018-07-31 2018-07-31 A kind of realization method and system that cloud bridge is broadcast live

Country Status (1)

Country Link
CN (1) CN108989827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679599A (en) * 2022-03-24 2022-06-28 上海哔哩哔哩科技有限公司 Live broadcast watching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210797A (en) * 2016-07-29 2016-12-07 北京小米移动软件有限公司 Live network broadcast method and device
CN107027045A (en) * 2017-04-11 2017-08-08 广州华多网络科技有限公司 Pushing video streaming control method, device and video flowing instructor in broadcasting end
CN107911710A (en) * 2017-11-30 2018-04-13 上海佰贝科技发展有限公司 A kind of live resource-sharing management platform and method
CN108012159A (en) * 2017-12-05 2018-05-08 广州华多网络科技有限公司 live video push control method, device and corresponding terminal
CN108243347A (en) * 2018-03-26 2018-07-03 罗建平 A kind of layer-stepping internet video live broadcasting sharing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210797A (en) * 2016-07-29 2016-12-07 北京小米移动软件有限公司 Live network broadcast method and device
CN107027045A (en) * 2017-04-11 2017-08-08 广州华多网络科技有限公司 Pushing video streaming control method, device and video flowing instructor in broadcasting end
CN107911710A (en) * 2017-11-30 2018-04-13 上海佰贝科技发展有限公司 A kind of live resource-sharing management platform and method
CN108012159A (en) * 2017-12-05 2018-05-08 广州华多网络科技有限公司 live video push control method, device and corresponding terminal
CN108243347A (en) * 2018-03-26 2018-07-03 罗建平 A kind of layer-stepping internet video live broadcasting sharing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679599A (en) * 2022-03-24 2022-06-28 上海哔哩哔哩科技有限公司 Live broadcast watching method and device

Similar Documents

Publication Publication Date Title
CN101282281B (en) Medium distributing system and apparatus as well as flow medium play method
CN103237191B (en) The method of synchronized push audio frequency and video in video conference
US7764713B2 (en) Synchronization watermarking in multimedia streams
US8707382B2 (en) Synchronizing presentations of multimedia programs
CN103200461B (en) A kind of multiple stage playback terminal synchronous playing system and player method
US10368258B2 (en) Interactions among mobile devices in a wireless network
CN106803974A (en) The real-time retransmission method of live video stream
CN103533388A (en) Method and system for synchronously playing multimedia files
CN103518351A (en) IP broadcast streaming services distribution using file delivery methods
CN103546662A (en) Audio and video synchronizing method in network monitoring system
CN103839558A (en) Method and server for synchronous playing and player
TW200427271A (en) Method and device for multimedia streaming
WO2014134965A1 (en) Multi-party video sharing method and device
WO2009053899A2 (en) System and method for re-synchronization of a pss session to an mbms session
CN104581366A (en) Internet television broadcasting method and server
CN105141971A (en) Method and system for realizing live broadcast based on session initialization protocol
CN100596157C (en) Method for realizing stream media switching and stream media server
CN105959786A (en) Audio and video playing method and device
CN107920072A (en) A kind of multimedia sharing method and system based on data characteristics
CN114286149A (en) Method and system for synchronously rendering audio and video across equipment and system
CN108989827A (en) A kind of realization method and system that cloud bridge is broadcast live
CN101964716B (en) Method, communication system and associated equipment for realizing stream services
CN103856805A (en) Cross-time-zone program list transition method
CN114900707B (en) Live broadcast method and system
CN105791922B (en) A kind of media play controlling method and its device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211