CN111787372A - Streaming media distribution method based on multiple condition scheduling - Google Patents
Streaming media distribution method based on multiple condition scheduling Download PDFInfo
- Publication number
- CN111787372A CN111787372A CN202010621055.XA CN202010621055A CN111787372A CN 111787372 A CN111787372 A CN 111787372A CN 202010621055 A CN202010621055 A CN 202010621055A CN 111787372 A CN111787372 A CN 111787372A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- address
- mms
- equipment
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
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/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
- H04N21/26208—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 the scheduling operation being performed under constraints
-
- 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/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a streaming media distribution method based on multiple condition scheduling, which comprises the following steps: firstly, a business server determines necessary information required by newly building a streaming media channel according to enterprise and store equipment, the necessary information is sent to an MMS in an internal RPC calling mode, the MMS initiates an equipment information query request to a network management server according to an address of the network management server and an MAC address, and the equipment network management server queries equipment information according to the MAC address and returns the equipment information to the MMS together; and the MMS inquires the geographical position of the equipment according to the public network IP address and the IP address geographical position information database, and performs the first node group election according to a scheduling strategy. The invention has the beneficial effects that: the cluster supports dynamic adjustment and hot plug; the cluster can select the optimal line by combining the geographical position to distribute the streaming media; the cluster supports high availability; the cluster supports real-time alarming and dynamically shields problematic distribution nodes; the cluster supports resource restriction.
Description
Technical Field
The invention relates to the field of streaming media distribution, in particular to a streaming media distribution method based on multiple condition scheduling.
Background
The existing streaming media platform is usually a fixed node and cannot adapt to the flexible and dynamic characteristics of the internet monitoring industry. The fixed streaming media node cannot select an optimal audio and video forwarding line for a client, so that delay is increased, even audio and video cannot be played and is blocked, and user experience is seriously influenced. After a node has a problem, all audio and video channels under the current node cannot be used, and the node can only be used after being recovered.
Disclosure of Invention
The invention aims to solve the technical problem of providing a streaming media distribution method based on multi-condition scheduling, and selecting an optimal line to distribute audio and video streams.
In order to solve the above technical problem, the present invention provides a streaming media distribution method based on multiple conditional schedules, which includes:
firstly, a business server determines necessary information required by newly building a streaming media channel according to enterprise and store equipment, the necessary information is sent to an MMS in an internal RPC calling mode, the MMS initiates an equipment information query request to a network management server according to an address of the network management server and an MAC address, and the equipment network management server queries equipment information according to the MAC address and returns the equipment information to the MMS together; the MMS inquires the geographical position of the equipment according to the public network IP address and the IP address geographical position information database, and carries out the first node group election according to the scheduling strategy;
reporting the node information to MMS once in a preset period, wherein the MMS carries out second election according to the real-time state and rated bandwidth information of all nodes in the group elected for the first time, and electing a final streaming media node according to the current utilization rate of the bandwidth;
MMS initiates RPC calling to the elected streaming media node, and creates a streaming media channel; the streaming media node initiates a stream pushing request to the node to the equipment network management server according to the address of the network management server where the equipment is located and the MAC address;
and finally, the service acquires the stream pushing result and the distribution address, and transmits the information to the front end to distribute the audio and video stream.
In one embodiment, the necessary information includes a MAC address, a network management server address, a channel ID, and a primary and secondary flow.
In one embodiment, the device information includes a device public network IP address.
In one embodiment, the real-time status of the node includes uplink and downlink bandwidth and channel number.
In one embodiment, the nominal bandwidth information is provided by the Aliskive cloud.
In one embodiment, the predetermined period is 1 minute.
In one embodiment, the distribution nodes are interconnected with each other by using a high-speed intranet.
Based on the same inventive concept, the present application also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods when executing the program.
Based on the same inventive concept, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of any of the methods.
Based on the same inventive concept, the present application further provides a processor for executing a program, wherein the program executes to perform any one of the methods.
The invention has the beneficial effects that:
the cluster supports dynamic adjustment and hot plug; the cluster can select the optimal line by combining the geographical position to distribute the streaming media; the cluster supports high availability; the cluster supports real-time alarming and dynamically shields problematic distribution nodes; the cluster supports resource restriction.
Drawings
Fig. 1 is a schematic structural diagram of a streaming media distribution method based on multiple conditional schedules according to the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention uses FLV, RTMP, RTSP, HLS and other mainstream streaming media packaging formats, realizes the cloud distribution function of the monitoring camera video, and comprises real-time live broadcast, video playback, video downloading, M3U8 large-scale distribution and the like.
The system adopts a multi-master multi-slave architecture, a service is firstly positioned to a nearest scheduling master node according to a domain name, the master node uses a plurality of scheduling nodes for load balancing to provide scheduling service, and then a selected DataSwitch (data exchange server) node is responsible for forwarding audio and video streams. A single cluster system can serve streaming media traffic throughout a continent area.
Firstly, a business server determines necessary parameters required by newly-built streaming media channels according to enterprises and store equipment: the MAC address, the network management server address, the channel ID and the main and auxiliary streams send necessary information to an MMS (streaming media scheduling server) in an internal RPC calling mode, the MMS initiates an equipment information query request to the network management server according to the network management server address and the MAC address, and the equipment network management server queries equipment information according to the MAC address, wherein the equipment information comprises the most important equipment public network IP address and is returned to the MMS together. And the MMS inquires the geographical position of the equipment according to the public network IP address and the IP address geographical position information database, and performs the first node group election according to a scheduling strategy.
And reporting the node information to an MMS once every minute, wherein the MMS carries out second election according to the real-time states (including uplink and downlink bandwidths and channel numbers) of all nodes in the group elected for the first time and rated bandwidth information provided by the Ali cloud, and the final streaming media node is elected according to the current utilization rate of the bandwidth.
And the MMS initiates RPC calling to the elected streaming media node, and creates a streaming media channel. The streaming media node initiates a stream pushing request to the node to the equipment network management server according to the address of the network management server where the equipment is located and the MAC address.
And finally, the service acquires the stream pushing result and the distribution address, and transmits the information to the front end to distribute the audio and video stream. The streaming media distribution channel established by the method is generally an optimal scheme, and can provide high-quality user experience.
The IP address geographic position information database provides accurate equipment geographic positions, the distribution nodes are interconnected with the distribution nodes through a high-speed intranet, the scheduling nodes are interconnected with the distribution nodes through high-speed private lines, and the distribution nodes support CDN acceleration.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.
Claims (10)
1. A streaming media distribution method based on multiple condition scheduling is characterized by comprising the following steps:
firstly, a business server determines necessary information required by newly building a streaming media channel according to enterprise and store equipment, the necessary information is sent to an MMS in an internal RPC calling mode, the MMS initiates an equipment information query request to a network management server according to an address of the network management server and an MAC address, and the equipment network management server queries equipment information according to the MAC address and returns the equipment information to the MMS together; the MMS inquires the geographical position of the equipment according to the public network IP address and the IP address geographical position information database, and carries out the first node group election according to the scheduling strategy;
reporting the node information to MMS once in a preset period, wherein the MMS carries out second election according to the real-time state and rated bandwidth information of all nodes in the group elected for the first time, and electing a final streaming media node according to the current utilization rate of the bandwidth;
MMS initiates RPC calling to the elected streaming media node, and creates a streaming media channel; the streaming media node initiates a stream pushing request to the node to the equipment network management server according to the address of the network management server where the equipment is located and the MAC address;
and finally, the service acquires the stream pushing result and the distribution address, and transmits the information to the front end to distribute the audio and video stream.
2. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the necessary information comprises a MAC address, a network management server address, a channel ID and a primary and secondary stream.
3. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the device information comprises a device public network IP address.
4. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the real-time status of the node includes uplink and downlink bandwidth and channel number.
5. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the rated bandwidth information is provided by Aliskiu.
6. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the preset period is 1 minute.
7. The streaming media distribution method based on multi-condition scheduling of claim 1, wherein the distribution nodes are interconnected with each other by a high-speed intranet.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the program is executed by the processor.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010621055.XA CN111787372B (en) | 2020-07-01 | 2020-07-01 | Streaming media distribution method based on multiple condition scheduling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010621055.XA CN111787372B (en) | 2020-07-01 | 2020-07-01 | Streaming media distribution method based on multiple condition scheduling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111787372A true CN111787372A (en) | 2020-10-16 |
CN111787372B CN111787372B (en) | 2023-06-23 |
Family
ID=72760974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010621055.XA Active CN111787372B (en) | 2020-07-01 | 2020-07-01 | Streaming media distribution method based on multiple condition scheduling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111787372B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114124959A (en) * | 2021-12-06 | 2022-03-01 | 天地伟业技术有限公司 | Data processing device of cloud streaming media service and cloud streaming media cluster |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523298A (en) * | 2011-12-22 | 2012-06-27 | 上海因特奈信息有限公司 | Video acquiring and sharing system based on mobile terminal and process method thereof |
CN103501444A (en) * | 2013-09-29 | 2014-01-08 | 深圳市龙视传媒有限公司 | Video resource management method and video resource manager |
CN103685263A (en) * | 2013-12-06 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method, server and system for broadcasting media resources in turn |
CN105187848A (en) * | 2015-08-18 | 2015-12-23 | 浪潮软件集团有限公司 | Content distribution network system and method |
CN105916030A (en) * | 2016-06-12 | 2016-08-31 | 浪潮软件集团有限公司 | Method, device and system for recording breakpoint information of video on demand |
CN106453328A (en) * | 2016-10-18 | 2017-02-22 | 乐视控股(北京)有限公司 | Publishing method for live broadcast video file, publishing client and edge streaming media server |
US20170111665A1 (en) * | 2009-12-30 | 2017-04-20 | Akamai Technologies, Inc. | Multiple bitrate format-agnostic streaming architecture |
US20170134337A1 (en) * | 2015-11-11 | 2017-05-11 | Fastly, Inc. | Enhanced content route selection in content delivery networks |
US20170142450A1 (en) * | 2015-11-18 | 2017-05-18 | International Business Machines Corporation | Media Distribution Network for Live Streaming |
CN107027045A (en) * | 2017-04-11 | 2017-08-08 | 广州华多网络科技有限公司 | Pushing video streaming control method, device and video flowing instructor in broadcasting end |
CN107438098A (en) * | 2017-07-17 | 2017-12-05 | 网宿科技股份有限公司 | A kind of dynamic content dispensing method and its system |
CN108055264A (en) * | 2017-12-13 | 2018-05-18 | 平安科技(深圳)有限公司 | Dispatching device, method and the computer readable storage medium of stream pushing server |
CN108668178A (en) * | 2017-03-31 | 2018-10-16 | 华为技术有限公司 | A kind of method of realizing group broadcasting and related network device |
CN109040800A (en) * | 2018-08-20 | 2018-12-18 | 南京星邺汇捷网络科技有限公司 | EPG dispatching method, device and electronic equipment |
CN109361893A (en) * | 2018-11-21 | 2019-02-19 | 华平信息技术股份有限公司 | Video conference is gone the same way multi-source live broadcasting method and system |
CN110139126A (en) * | 2019-06-18 | 2019-08-16 | 洛阳师范学院 | Mobile video system resource share method based on user mutual behavior perception |
CN110336843A (en) * | 2015-02-24 | 2019-10-15 | 深圳梨享计算有限公司 | A kind of content distribution method, central node and fringe node for crowdsourcing |
CN110392071A (en) * | 2018-04-18 | 2019-10-29 | 网宿科技股份有限公司 | Upload, method for down loading, dissemination system and the streaming media server of streaming media resource |
-
2020
- 2020-07-01 CN CN202010621055.XA patent/CN111787372B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170111665A1 (en) * | 2009-12-30 | 2017-04-20 | Akamai Technologies, Inc. | Multiple bitrate format-agnostic streaming architecture |
CN102523298A (en) * | 2011-12-22 | 2012-06-27 | 上海因特奈信息有限公司 | Video acquiring and sharing system based on mobile terminal and process method thereof |
CN103501444A (en) * | 2013-09-29 | 2014-01-08 | 深圳市龙视传媒有限公司 | Video resource management method and video resource manager |
CN103685263A (en) * | 2013-12-06 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method, server and system for broadcasting media resources in turn |
CN110336843A (en) * | 2015-02-24 | 2019-10-15 | 深圳梨享计算有限公司 | A kind of content distribution method, central node and fringe node for crowdsourcing |
CN105187848A (en) * | 2015-08-18 | 2015-12-23 | 浪潮软件集团有限公司 | Content distribution network system and method |
US20170134337A1 (en) * | 2015-11-11 | 2017-05-11 | Fastly, Inc. | Enhanced content route selection in content delivery networks |
US20170142450A1 (en) * | 2015-11-18 | 2017-05-18 | International Business Machines Corporation | Media Distribution Network for Live Streaming |
CN105916030A (en) * | 2016-06-12 | 2016-08-31 | 浪潮软件集团有限公司 | Method, device and system for recording breakpoint information of video on demand |
CN106453328A (en) * | 2016-10-18 | 2017-02-22 | 乐视控股(北京)有限公司 | Publishing method for live broadcast video file, publishing client and edge streaming media server |
CN108668178A (en) * | 2017-03-31 | 2018-10-16 | 华为技术有限公司 | A kind of method of realizing group broadcasting and related network device |
CN107027045A (en) * | 2017-04-11 | 2017-08-08 | 广州华多网络科技有限公司 | Pushing video streaming control method, device and video flowing instructor in broadcasting end |
CN107438098A (en) * | 2017-07-17 | 2017-12-05 | 网宿科技股份有限公司 | A kind of dynamic content dispensing method and its system |
CN108055264A (en) * | 2017-12-13 | 2018-05-18 | 平安科技(深圳)有限公司 | Dispatching device, method and the computer readable storage medium of stream pushing server |
CN110392071A (en) * | 2018-04-18 | 2019-10-29 | 网宿科技股份有限公司 | Upload, method for down loading, dissemination system and the streaming media server of streaming media resource |
CN109040800A (en) * | 2018-08-20 | 2018-12-18 | 南京星邺汇捷网络科技有限公司 | EPG dispatching method, device and electronic equipment |
CN109361893A (en) * | 2018-11-21 | 2019-02-19 | 华平信息技术股份有限公司 | Video conference is gone the same way multi-source live broadcasting method and system |
CN110139126A (en) * | 2019-06-18 | 2019-08-16 | 洛阳师范学院 | Mobile video system resource share method based on user mutual behavior perception |
Non-Patent Citations (3)
Title |
---|
NARJES TAHGHIGH JAHROMI ET AL: "An NFV and Microservice Based Architecture for On-the-Fly Component Provisioning in Content Delivery Networks", 《2018 15TH IEEE ANNUAL CONSUMER COMMUNICATIONS & NETWORKING CONFERENCE (CCNC)》, pages 1 - 7 * |
翁韬: "分布式流媒体监控系统绿色节能优化策略研究与设计", 《中国优秀硕士学位论文全文数据库信息科技辑》, pages 136 - 364 * |
魏小东: "P2P流媒体系统数据调度机制研究", 《万方平台》, pages 1 - 89 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114124959A (en) * | 2021-12-06 | 2022-03-01 | 天地伟业技术有限公司 | Data processing device of cloud streaming media service and cloud streaming media cluster |
Also Published As
Publication number | Publication date |
---|---|
CN111787372B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11785311B2 (en) | Optimized delivery techniques | |
CN105392068B (en) | The parallel distribution method of the more transmission channel network direct broadcasting videos of distribution and system | |
CN101540775B (en) | Method and device for distributing contents and network system for distributing contents | |
WO2017088381A1 (en) | Method, apparatus and system for playing live video | |
US20090172157A1 (en) | Method and Device for Content Transmission on P2P Network | |
CN103581245A (en) | Content delivery method and system of content delivery network | |
CN109412977B (en) | Domain name bandwidth adjusting method and related equipment | |
CN110300306B (en) | Live stream load balancing method based on RTMP protocol | |
CN102026276A (en) | Method for guaranteeing mobile peer-to-peer network stream media service experience quality | |
CN110445723A (en) | A kind of network data dispatching method and fringe node | |
CN111787372B (en) | Streaming media distribution method based on multiple condition scheduling | |
EP2351300B1 (en) | Method and system for establishing digital media streams | |
CN110138730B (en) | Subscription method and device of protocol conversion equipment and storage medium | |
Wang et al. | PLVER: Joint stable allocation and content replication for edge-assisted live video delivery | |
CN101662508A (en) | Method for data transmission based on point-to-point protocol, device and system thereof | |
CN102291458B (en) | Method for peer-to-peer (p2p) server framework | |
CN108377245A (en) | A kind of optimizing demonstration method and system of network insertion request | |
Da Silva et al. | MUSLIN: Achieving high, fairly shared QoE through multi-source live streaming | |
KR101830760B1 (en) | Overlay multicast system and its method to provide multiple content distribution in distributed content nodes | |
CN112584193B (en) | Method for constructing real-time streaming media cluster scheduling by utilizing UDP (user datagram protocol) characteristics | |
CN109787870A (en) | Access management method, device, system, initial and target access device | |
Wang et al. | Design and Implementation of Distributed Video Live-Streaming System Based on SRS | |
CN110417902A (en) | Streaming network service load method, relevant device and readable storage medium storing program for executing | |
Kulatunga et al. | HySAC: a hybrid delivery system with adaptive content management for IPTV networks | |
WO2017071524A1 (en) | Multimedia resource publishing method and apparatus |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |