CN111954021A - Live broadcast resource configuration system and method - Google Patents

Live broadcast resource configuration system and method Download PDF

Info

Publication number
CN111954021A
CN111954021A CN202010830865.6A CN202010830865A CN111954021A CN 111954021 A CN111954021 A CN 111954021A CN 202010830865 A CN202010830865 A CN 202010830865A CN 111954021 A CN111954021 A CN 111954021A
Authority
CN
China
Prior art keywords
information
live broadcast
cloud platform
configuration
live
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
CN202010830865.6A
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.)
Shanghai Qiniu Information Technology Co ltd
Original Assignee
Shanghai Qiniu Information 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 Shanghai Qiniu Information Technology Co ltd filed Critical Shanghai Qiniu Information Technology Co ltd
Priority to CN202010830865.6A priority Critical patent/CN111954021A/en
Publication of CN111954021A publication Critical patent/CN111954021A/en
Pending legal-status Critical Current

Links

Images

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/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors

Abstract

The embodiment of the invention provides a live broadcast resource configuration system and a method thereof, wherein the live broadcast resource configuration system comprises: the universal configuration module is used for presetting a universal configuration template matched with at least one live broadcast cloud platform; the adapter module is used for acquiring the initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information; the log acquisition module is used for acquiring log information of the at least one live broadcast cloud platform; the analysis scheduling module is used for determining a resource configuration strategy according to the log information; and the configuration management module is used for calling corresponding live broadcast cloud platform resources according to the resource configuration strategy and the general configuration information. The embodiment of the invention can integrate and use the resources of a plurality of live broadcast cloud platforms, improve the experience of live broadcast services, reduce the operation and maintenance cost and improve the operation and maintenance efficiency.

Description

Live broadcast resource configuration system and method
Technical Field
The invention relates to the technical field of cloud computing, in particular to a live broadcast resource configuration system and a live broadcast resource configuration method.
Background
At the present stage, with the continuous development of cloud computing technology, more and more network-related services are developed through a cloud platform. In the current live broadcast service, a plurality of live broadcast cloud manufacturers or platforms exist, the live broadcast cloud manufacturers are independent of one another, and resources are not shared. When a user of live broadcast service selects a live broadcast cloud manufacturer, multiple platforms are often required to be connected in a butt joint mode, operation and maintenance cost is increased, and management efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a live broadcast resource configuration system and a live broadcast resource configuration method, which are used for solving the problem of low operation and maintenance management efficiency of a plurality of butt-joint live broadcast platforms.
A first aspect of an embodiment of the present invention provides a live broadcast resource allocation system, including:
the universal configuration module is used for presetting a universal configuration template matched with at least one live broadcast cloud platform;
the adapter module is used for acquiring the initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information;
the log acquisition module is used for acquiring log information of the at least one live broadcast cloud platform;
the analysis scheduling module is used for determining a resource configuration strategy according to the log information;
and the configuration management module is used for calling corresponding live broadcast cloud platform resources according to the resource configuration strategy and the general configuration information.
Optionally, the general configuration module is further configured to:
determining a corresponding live broadcast domain name list according to the user attribute;
configuring switch flag value information and general configuration details;
and generating a corresponding universal configuration template.
Optionally, the adapter module is further configured to:
calling an application programming interface corresponding to the at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, wherein the initial configuration information comprises attribute information and function information;
analyzing the configuration template to obtain a corresponding conversion type, wherein the conversion type comprises: a platform type, a resource type, and a data type;
and converting the initial configuration information according to the conversion type to obtain the general configuration information matched with the general configuration template.
Optionally, the log collection module is further configured to:
receiving a monitoring log sent by the at least one live broadcast cloud platform;
determining the log information according to the monitoring log, wherein the log information comprises: live quality information, bandwidth information, cost information, function information, and address information.
Optionally, when the log information is live broadcast quality information, the analysis scheduling module is further configured to determine whether to update a code stream configuration of a corresponding live broadcast cloud platform according to the live broadcast quality information.
Optionally, when the log information is address information, the analysis scheduling module is further configured to determine target machine room information according to the address information, and determine a corresponding live broadcast cloud platform according to the target machine room information.
Optionally, when the log information is bandwidth information, the analysis scheduling module is further configured to determine resource redundancy of the live broadcast cloud platform according to the bandwidth information, and determine whether to adjust live broadcast traffic according to the resource redundancy.
Optionally, when the log information is function information, the analysis scheduling module is further configured to obtain a specific function corresponding to the live broadcast cloud platform according to the function information, where the specific function includes: a content identification function and a transcoding function, and matching the specific function according to service requirements.
Optionally, the live resource configuration system further includes:
and the client module is used for providing a corresponding application programming interface according to the live broadcast resource configuration function.
A second aspect of the embodiments of the present invention provides a live broadcast resource allocation method, including the following steps:
presetting a general configuration template matched with at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information;
collecting log information of the at least one live broadcast cloud platform;
determining a resource configuration strategy according to the log information;
and calling corresponding live broadcast cloud platform resources according to the resource configuration strategy and the general configuration information.
Optionally, the presetting of a general configuration template matched with at least one live broadcast cloud platform includes:
determining a corresponding live broadcast domain name list according to the user attribute;
configuring switch flag value information and general configuration details;
and generating a corresponding universal configuration template.
Optionally, the obtaining of the initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information include:
calling an application programming interface corresponding to the at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, wherein the initial configuration information comprises attribute information and function information;
analyzing the configuration template to obtain a corresponding conversion type, wherein the conversion type comprises: a platform type, a resource type, and a data type;
and converting the initial configuration information according to the conversion type to obtain the general configuration information matched with the general configuration template.
Optionally, the collecting log information of the at least one live broadcast cloud platform includes:
receiving a monitoring log sent by the at least one live broadcast cloud platform;
determining the log information according to the monitoring log, wherein the log information comprises: live quality information, bandwidth information, cost information, function information, and address information.
Optionally, when the log information is live broadcast quality information, the determining a resource configuration policy according to the log information includes:
and determining whether to update the code stream configuration of the corresponding live broadcast cloud platform according to the live broadcast quality information.
Optionally, when the log information is address information, the determining a resource configuration policy according to the log information includes:
and determining target machine room information according to the address information, and determining a corresponding live broadcast cloud platform according to the target machine room information.
Optionally, when the log information is bandwidth information, the determining a resource configuration policy according to the log information includes:
and determining the resource redundancy of the live broadcast cloud platform according to the bandwidth information, and determining whether to adjust the live broadcast flow according to the resource redundancy.
Optionally, when the log information is function information, the determining a resource configuration policy according to the log information includes:
acquiring a specific function corresponding to the live broadcast cloud platform according to the function information, wherein the specific function comprises: a content identification function and a transcoding function, and matching the specific function according to service requirements.
Optionally, the method further includes:
and providing a corresponding application programming interface according to the live resource configuration function.
The embodiment of the invention has the following beneficial effects:
according to the live broadcast resource configuration system and method provided by the embodiment of the invention, through configuration aiming at least one live broadcast cloud platform and determination of the calling strategy according to the log information, the resources of a plurality of live broadcast cloud platforms can be managed simultaneously, the resources of the plurality of live broadcast cloud platforms are used in a fusion manner, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an implementation environment diagram of a live resource allocation system according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a live broadcast resource allocation system according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method of an implementation manner of a live broadcast resource allocation method according to an embodiment of the present invention.
Fig. 4 is a flowchart of a method of a second embodiment of a live broadcast resource allocation method according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method of a third embodiment of a live broadcast resource allocation method according to an embodiment of the present invention.
Fig. 6 is a flowchart of a method of a fourth embodiment of a live broadcast resource allocation method according to an embodiment of the present invention.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the steps are depicted in the flowchart as a sequential process, many of the steps can be performed in parallel, concurrently, or simultaneously. Further, the order of the steps may be rearranged, the process may be terminated when its operations are completed, and other steps not included in the drawings may be included. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Fig. 1 is an implementation environment diagram of a live resource allocation system according to an embodiment of the present invention. As shown in fig. 1, the live broadcast resource configuration system 10 is connected to a plurality of live broadcast cloud platforms 30, and a user 40 can simultaneously configure resources of the plurality of live broadcast cloud platforms 30 through the live broadcast resource configuration system 10. The plurality of live broadcast cloud platforms 30 may be provided by different manufacturers, and it is understood that machine room resources of different manufacturers may be different. The live broadcast resource configuration system provided by the embodiment of the invention can realize simultaneous fusion and butt joint of a plurality of live broadcast cloud platforms, is convenient to manage, reduces the operation and maintenance cost and improves the operation and maintenance efficiency.
In this embodiment, the live resource configuration system 10 includes a general configuration module 101, an adapter module 102, a log collection module 103, an analysis scheduling module 104, a configuration management module 105, and a client module 106. The general configuration module 101 is used for presetting a general configuration template; the number of the adapter modules 102 may be multiple, and the multiple adapter modules 102 are used for integrating APIs (application programming interfaces) or SDKs (software development kits) of multiple live cloud platforms. It is to be understood that each adapter module 102 may correspond to a live cloud platform. The adapter module 102 is further configured to convert the initial configuration information of the at least one live broadcast cloud platform 30 according to a preset general configuration template to obtain corresponding general configuration information. The log collection module 103 is further configured to receive a monitoring log sent by the live broadcast cloud platform 30; after receiving the monitoring log, the analysis scheduling module 104 is configured to determine a resource configuration policy according to the monitoring log and the general configuration information. For example, if a client of the live broadcast service wants to perform live broadcast in place a, and finds that the machine room resources of the live broadcast cloud platform B are more in place a by checking the monitoring log, the live broadcast cloud platform B can be selected to perform resource configuration. The configuration management module 105 is configured to call the corresponding live broadcast cloud platform resource according to the resource configuration policy and the general configuration information. Correspondingly, the client module 106 further provides a corresponding operation and maintenance interface and a management interface, so that a user can conveniently perform corresponding adjustment and configuration according to operation and maintenance requirements.
The functionality of the various modules is described in further detail below in conjunction with fig. 2.
As shown in fig. 2, the live resource configuration system 10 includes a general configuration module 101, an adapter module 102, a log collection module 103, an analysis scheduling module 104, and a configuration management module 105. It is understood that the live resource allocation system includes a computer, a server, and the like, and other architectures may also be adopted, and the embodiment of the present invention is not limited thereto.
The general configuration module 101 is configured to preset a general configuration template matched with at least one live broadcast cloud platform.
Specifically, in order to facilitate subsequent docking of different live broadcast cloud platforms, a general configuration template is set first, a corresponding live broadcast domain name list is set in the general configuration template, corresponding switch information is configured, and meanwhile, corresponding setting is performed on specific functions or specific configuration contents of each live broadcast cloud platform.
In other embodiments, the general configuration module 101 may be further configured to: determining a corresponding live broadcast domain name list according to the user attribute; configuring switch flag value information and general configuration details; and generating a corresponding universal configuration template.
In one embodiment, the configuration template may take a similar format as follows:
{
"id": xxx ",// specific client
"extraAtttrMap" {// Standby configuration Attribute map
"attr 1": [] Specific Attribute 1, such as the list of Domain names to ignore
"attr 2": { },// specific Attribute 2
},
"switchMap" {// configure switch map
"key 1": true,// switch flag value
“key2”:false,
},
Common detail {// general configuration details
“key1”:“”
“key2”:{}
“key3”:[]
},
"company A _ Spec" { },// vendor A specific configuration content
"company B _ Spec" { },// vendor A specific configuration content
"company N _ Spec" { },// vendor N specific configuration content
},
It is understood that other forms of configuration templates may be adopted, and the embodiment is not limited thereto.
The adapter module 102 is configured to obtain initial configuration information of the at least one live broadcast cloud platform, and convert the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information.
Specifically, in order to facilitate management of the plurality of live broadcast cloud platforms and improve resource allocation efficiency, initial configuration information of the plurality of live broadcast cloud platforms needs to be acquired. It is understood that this may be achieved by calling an API (application programming interface) or SDK (software development kit) of the corresponding live cloud platform. Because the protocols adopted by different live broadcast cloud platforms are different, the plurality of live broadcast cloud platforms are conveniently and uniformly subjected to fusion management. In this embodiment, the adaptation is realized by an adapter module, it may be understood that adaptation to each live broadcast cloud platform may also be realized by other manners, which is not limited in the embodiment of the present invention.
In other embodiments, the adapter module 102 may be further configured to:
calling an application programming interface corresponding to the at least one live broadcast cloud platform;
specifically, in this embodiment, in order to match a plurality of live broadcast cloud platforms, the number of the adapter modules 102 may also be multiple, one adapter module 102 may correspond to one live broadcast cloud platform, and the adapter module 102 integrates an API or an SDK of a corresponding live broadcast cloud platform manufacturer, so that control of service resources of the live broadcast cloud platform may be implemented.
Acquiring initial configuration information of the at least one live broadcast cloud platform, wherein the initial configuration information comprises attribute information and function information;
specifically, the adapter module 102 calls an API, and may obtain initial configuration information of the live broadcast cloud platform corresponding to the API, where the initial configuration information includes attribute information and function information. It can be understood that, when there are multiple live broadcast cloud platforms, the API of the corresponding cloud platform may be called by the multiple adapter modules 102, so as to obtain initial configuration information of the multiple live broadcast cloud platforms.
Analyzing the configuration template to obtain a corresponding conversion type, wherein the conversion type comprises: a platform type, a resource type, and a data type;
specifically, the adapter module 102 parses a general configuration template, which is preset and includes a plurality of configuration modules, and may also be modified correspondingly according to the needs of the user. According to the configuration module, a corresponding conversion type can be obtained, and the conversion type comprises: platform type, resource type, and data type. The platform types comprise types of different cloud platforms, the resource types comprise network resources, bandwidth resources and the like, and the data types comprise code stream types in the transmission process and the like. By obtaining the conversion type, it can be determined how to convert the general configuration information in the following process.
And converting the initial configuration information according to the conversion type to obtain the general configuration information matched with the general configuration template.
Specifically, conversion is performed according to the initial configuration information of different live broadcast cloud platforms and the corresponding conversion types to obtain corresponding general configuration information, so that the live broadcast cloud platforms can be called through the general configuration information, subsequent operation and maintenance cost is saved, and operation and maintenance efficiency is improved.
The log collection module 103 is configured to collect log information of the at least one live broadcast cloud platform.
Specifically, in order to know resource information of each live broadcast cloud platform, each live broadcast cloud platform needs to be monitored, and log information of each live broadcast cloud platform is collected. The log information includes: live quality information, bandwidth information, cost information, function information, and address information.
In other embodiments, the log collection module 103 may be further configured to:
receiving a monitoring log sent by the at least one live broadcast cloud platform;
specifically, the log collection module 103 may be configured to receive monitoring logs sent by each cloud platform. The monitoring logs are sent to each live broadcast cloud platform and comprise real-time operation and maintenance information and the like of the live broadcast cloud platform
Determining the log information according to the monitoring log, wherein the log information comprises: live quality information, bandwidth information, cost information, function information, and address information.
The analysis scheduling module 104 is configured to determine a resource configuration policy according to the log information.
Specifically, a corresponding configuration strategy is formulated according to the collected log information, for example, which live broadcast cloud platform is used can be determined according to an address proximity principle or a service cost principle; whether the flow is increased or decreased can be judged according to the information of idle resources and the like of different platforms; whether the code stream setting is adjusted or not can be determined according to the quality of the live broadcast code stream of the platform, and it can be understood that the corresponding configuration through the log information can also include other modes, and the embodiment of the present invention is not limited to this.
In an embodiment, when the log information is live broadcast quality information, in order to better improve quality in a live broadcast process, the analysis scheduling module 104 is further configured to determine whether to update a code stream configuration of a corresponding live broadcast cloud platform according to the live broadcast quality information.
In an embodiment, when the log information is address information, at this time, according to a requirement of an actual live broadcast service, the analysis scheduling module 104 is further configured to determine target machine room information according to the address information, and determine a corresponding live broadcast cloud platform according to the target machine room information.
In an embodiment, when the log information is bandwidth information, the analysis scheduling module 104 is further configured to determine resource redundancy of the live broadcast cloud platform according to the bandwidth information, and determine whether to adjust live broadcast traffic according to the resource redundancy.
In an embodiment, when the log information is function information, the analysis scheduling module 104 is further configured to obtain a specific function corresponding to the live broadcast cloud platform according to the function information, where the specific function includes: a content identification function and a transcoding function, and matching the specific function according to service requirements. For example, if a yellow-key identification function is required in the live broadcast process, a live broadcast cloud platform with the specific function can be selected.
The configuration management module 105 is configured to invoke the corresponding live broadcast cloud platform resource according to the resource configuration policy and the general configuration information.
Specifically, after determining the configuration policy, according to the previous general configuration information, the configuration management module 105 invokes the live broadcast cloud platform corresponding to the configuration policy to use the corresponding resource. According to the selected resources of the live broadcast cloud platform, live broadcast code stream service is performed for the client, so that a plurality of live broadcast cloud platforms are managed simultaneously through an independent live broadcast resource configuration system, and configuration efficiency is improved.
In other embodiments, the live resource allocation system 10 may further include a client module, configured to provide a corresponding application programming interface according to the live resource allocation function. In order to facilitate user operation, a development interface and a tool including a corresponding API can be provided, so that a user can conveniently set and adjust according to operation and maintenance requirements.
According to the live broadcast resource configuration system in the embodiment of the invention, through configuration aiming at least one live broadcast cloud platform and determination of the calling strategy according to the log information, the resources of a plurality of live broadcast cloud platforms can be managed simultaneously, the resources of the plurality of live broadcast cloud platforms are used in a fusion manner, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
Fig. 3 is a flowchart of a method of a first embodiment of a live broadcast resource allocation method according to an embodiment of the present invention. In this embodiment, the live resource allocation method is applied to a live resource allocation system as shown in fig. 1, it can be understood that the live resource allocation system includes a computer, a server, and the like, and may also adopt other architectures, which is not limited to this embodiment of the present invention. The live resource allocation method comprises the following steps S301-S306.
In step S301, a general configuration template matched with at least one live broadcast cloud platform is preset.
In step S302, the initial configuration information of the at least one live broadcast cloud platform is obtained, and the initial configuration information of the at least one live broadcast cloud platform is converted according to the general configuration template to obtain corresponding general configuration information.
In step S303, log information of the at least one live cloud platform is collected.
In step S304, a resource allocation policy is determined according to the log information.
In step S305, a corresponding live cloud platform resource is called according to the resource configuration policy and the general configuration information.
According to the live broadcast resource configuration method, the resources of the plurality of live broadcast cloud platforms can be managed simultaneously by configuring at least one live broadcast cloud platform and determining the calling strategy according to the log information, so that the resources of the plurality of live broadcast cloud platforms are used in a fusion manner, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
Fig. 4 is a flowchart of a method of a second embodiment of a live broadcast resource allocation method according to an embodiment of the present invention. In this embodiment, the live resource allocation method includes the following steps S401 to S407. In contrast to the first embodiment shown in fig. 3, this embodiment provides other embodiments of how to preset a generic configuration template.
In step S401, a corresponding live domain name list is determined according to the user attribute.
In step S402, switch flag value information and general configuration details are configured.
In step S403, a corresponding generic configuration template is generated.
In step S404, initial configuration information of the at least one live broadcast cloud platform is obtained, and the initial configuration information of the at least one live broadcast cloud platform is converted according to the general configuration template to obtain corresponding general configuration information.
In step S405, log information of the at least one live cloud platform is collected.
In step S406, a resource allocation policy is determined according to the log information.
In step S407, a corresponding live broadcast cloud platform resource is called according to the resource configuration policy and the general configuration information.
According to the live broadcast resource configuration method, the resources of the plurality of live broadcast cloud platforms can be managed simultaneously by configuring at least one live broadcast cloud platform and determining the calling strategy according to the log information, so that the resources of the plurality of live broadcast cloud platforms are used in a fusion manner, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
Fig. 5 is a flowchart of a method of a third embodiment of a live broadcast resource allocation method according to an embodiment of the present invention. In this embodiment, the live resource allocation method includes the following steps S501 to S508. Comparing the first embodiment shown in fig. 3, the present embodiment provides a step of how to obtain the general configuration information, and it is understood that the steps in the present embodiment may also be applied to the second embodiment shown in fig. 4.
In step S501, a general configuration template matched with at least one live broadcast cloud platform is preset.
In step S502, an application programming interface corresponding to the at least one live broadcast cloud platform is called.
Specifically, in this embodiment, an adapter module may be used to call an application programming interface of the live broadcast cloud platform, the number of the adapter modules may also be multiple, one adapter module may correspond to one live broadcast cloud platform, and an API or an SDK of a corresponding live broadcast cloud platform manufacturer is integrated in the adapter module, so that control of service resources of the live broadcast cloud platform may be implemented.
In step S503, initial configuration information of the at least one live broadcast cloud platform is acquired.
Specifically, by calling the API, initial configuration information of the live broadcast cloud platform corresponding to the API can be obtained, where the initial configuration information includes attribute information and function information. It can be understood that when a plurality of live broadcast cloud platforms exist, the initial configuration information of the live broadcast cloud platforms can be acquired by respectively calling the APIs of the corresponding cloud platforms.
In step S504, the configuration template is parsed to obtain the corresponding conversion type.
Specifically, by analyzing the general configuration template, the general configuration template is preset and includes a plurality of configuration modules, and corresponding modification can be performed according to the requirements of the user. According to the configuration module, a corresponding conversion type can be obtained, and the conversion type comprises: platform type, resource type, and data type. The platform types comprise types of different cloud platforms, the resource types comprise network resources, bandwidth resources and the like, and the data types comprise code stream types in the transmission process and the like. By obtaining the conversion type, it can be determined how to convert the general configuration information in the following process.
In step S505, the initial configuration information is converted according to the conversion type, so as to obtain the general configuration information matched with the general configuration template.
Specifically, conversion is performed according to the initial configuration information of different live broadcast cloud platforms and the corresponding conversion types to obtain corresponding general configuration information, so that the live broadcast cloud platforms can be called through the general configuration information, subsequent operation and maintenance cost is saved, and operation and maintenance efficiency is improved.
In step S506, log information of the at least one live cloud platform is collected.
In step S507, a resource allocation policy is determined according to the log information.
In step S508, according to the resource configuration policy and the general configuration information, a corresponding live broadcast cloud platform resource is called.
According to the live broadcast resource configuration method, the resources of the plurality of live broadcast cloud platforms can be managed simultaneously by configuring at least one live broadcast cloud platform and determining the calling strategy according to the log information, so that the resources of the plurality of live broadcast cloud platforms are used in a fusion manner, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
Fig. 6 is a flowchart of a method of a fourth embodiment of a live broadcast resource allocation method according to an embodiment of the present invention. In this embodiment, the live resource allocation method includes the following steps S601 to S605. Compared with the first embodiment shown in fig. 3, the present embodiment provides steps for determining a resource configuration policy, and it is understood that the steps in the present embodiment may also be applied to the second or third embodiment shown in fig. 4 or fig. 5.
In step S601, a general configuration template matched with at least one live broadcast cloud platform is preset.
In step S602, the initial configuration information of the at least one live broadcast cloud platform is obtained, and the initial configuration information of the at least one live broadcast cloud platform is converted according to the general configuration template to obtain corresponding general configuration information.
In step S603, a monitoring log sent by the at least one live broadcast cloud platform is received.
Specifically, the monitoring logs sent by each cloud platform can be received by setting corresponding modules. The monitoring logs are sent by each live broadcast cloud platform and comprise real-time operation and maintenance information of the live broadcast cloud platform and the like.
In step S604, the log information is determined according to the monitoring log, and a resource allocation policy is determined according to the log information.
Specifically, the log information is obtained by analyzing the collected monitoring logs of each live broadcast cloud platform. Wherein the log information includes: live quality information, bandwidth information, cost information, function information, and address information. After the log information is obtained, a corresponding resource configuration strategy can be determined according to the actual live broadcast requirement of the user.
In an embodiment, the log information is live broadcast quality information, and at this time, in order to better improve quality in a live broadcast process, the corresponding resource configuration policy may be to determine whether to update a code stream configuration of a corresponding live broadcast cloud platform according to the live broadcast quality information.
In one implementation mode, the log information is address information, and target machine room information is determined according to the address information; at this time, according to the requirement of the actual live broadcast service, the corresponding live broadcast cloud platform can be determined according to the target machine room information, for example, according to the principle of proximity.
In one embodiment, the log information is bandwidth information, and the resource redundancy of the live broadcast cloud platform is determined according to the bandwidth information; the corresponding resource configuration policy may be to determine whether to adjust the live broadcast traffic according to the resource redundancy.
In one embodiment, the log information is function information, and a specific function corresponding to the live broadcast cloud platform is obtained according to the function information, where the specific function includes: a content identification function and a transcoding function. At this time, the specific function may be matched according to service requirements. For example, if a yellow-key identification function is required in the live broadcast process, a live broadcast cloud platform with the specific function can be selected.
In step S605, according to the resource configuration policy and the general configuration information, a corresponding live broadcast cloud platform resource is called.
The broadcast cloud platform is configured, a calling strategy is determined according to the log information, resources of a plurality of live broadcast cloud platforms can be managed simultaneously, the resources of the plurality of live broadcast cloud platforms are used in a fusion mode, the experience of live broadcast services is improved, the operation and maintenance cost is reduced, and the operation and maintenance efficiency is improved.
The above embodiments provide that each module can be in communication connection with each other, and each module can be in communication connection with the central control device of the platform, and the rapid recording device through fingerprint identification provided in the above embodiments can execute the rapid recording method through fingerprint identification provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
It will be appreciated that the disclosure also extends to computer programs, particularly computer programs on or in a carrier, adapted for putting the disclosure into practice. The program may be in the form of source code, object code, a code intermediate source and object code such as partially compiled form, or in any other form suitable for use in the implementation of the method according to the disclosure. It will also be noted that such programs may have many different architectural designs. For example, program code implementing the functionality of a method or system according to the present disclosure may be subdivided into one or more subroutines.
Many different ways to distribute the functionality among these subroutines will be apparent to the skilled person. The subroutines may be stored together in one executable file, forming a self-contained program. Such an executable file may include computer-executable instructions, such as processor instructions and/or interpreter instructions (e.g., Java interpreter instructions). Alternatively, one or more or all of the subroutines may be stored in at least one external library file and linked with the main program either statically or dynamically (e.g., at run time). The main program contains at least one call to at least one of the subroutines. Subroutines may also include function calls to each other. Embodiments directed to a computer program product comprising computer executable instructions for performing each of the process steps of at least one of the set forth methods. These instructions may be subdivided into subroutines and/or stored in one or more files, which may be statically or dynamically linked.
Another embodiment related to a computer program product comprises computer executable instructions for each of the means corresponding to at least one of the systems and/or products set forth. These instructions may be subdivided into subroutines and/or stored in one or more files, which may be statically or dynamically linked.
The carrier of the computer program may be any entity or device capable of carrying the program. For example, the carrier may comprise a storage medium such as a (ROM, e.g. a cd ROM or a semiconductor ROM) or a magnetic recording medium, e.g. a floppy disk or hard disk. Further, the carrier may be a transmissible carrier such as an electrical or optical signal, which may be conveyed via electrical or optical cable or by radio or other means. When the program is embodied in such a signal, the carrier may be constituted by such cable or device. Alternatively, the carrier may be an integrated circuit in which the program is embedded, the integrated circuit being adapted for performing, or for use in the performance of, the relevant method.
It should be noted that the above-mentioned embodiments illustrate rather than limit the disclosure, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. Use of the verb "comprise" and its conjugations does not exclude the presence of elements or steps other than those stated in a claim. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
If desired, the different functions discussed herein may be performed in a different order and/or concurrently with each other. Further, if desired, one or more of the functions described above may be optional or may be combined.
The steps discussed above are not limited to the order of execution in the embodiments, and different steps may be executed in different orders and/or concurrently with each other, if desired. Further, in other embodiments, one or more of the steps described above may be optional or may be combined.
Although various aspects of the disclosure are set out in the independent claims, other aspects of the disclosure comprise combinations of features from the described embodiments and/or the dependent claims with the features of the independent claims, and not solely the combinations explicitly set out in the claims.
It is noted herein that while the above describes example embodiments of the disclosure, these descriptions should not be viewed in a limiting sense. Rather, several variations and modifications may be made without departing from the scope of the present disclosure as defined in the appended claims.
It should be understood by those skilled in the art that the modules in the apparatus of the embodiment of the present disclosure may be implemented by a general-purpose computing apparatus, and the modules may be integrated into a single computing apparatus or a network group of computing apparatuses, and the apparatus in the embodiment of the present disclosure corresponds to the method in the foregoing embodiment, and may be implemented by executable program code, or by a combination of integrated circuits, so that the present disclosure is not limited to specific hardware or software, and combinations thereof.
It should be understood by those skilled in the art that the modules in the apparatus of the embodiment of the present disclosure may be implemented by a general-purpose mobile terminal, and the modules may be integrated in a single mobile terminal or a combination of devices composed of mobile terminals, and the apparatus in the embodiment of the present disclosure corresponds to the method in the foregoing embodiment, and may be implemented by editing executable program code or by a combination of integrated circuits, so that the present disclosure is not limited to specific hardware or software or a combination thereof.

Claims (18)

1. A live resource allocation system, comprising:
the universal configuration module is used for presetting a universal configuration template matched with at least one live broadcast cloud platform;
the adapter module is used for acquiring the initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information;
the log acquisition module is used for acquiring log information of the at least one live broadcast cloud platform;
the analysis scheduling module is used for determining a resource configuration strategy according to the log information;
and the configuration management module is used for calling corresponding live broadcast cloud platform resources according to the resource configuration strategy and the general configuration information.
2. A live resource configuration system as defined in claim 1, wherein the general configuration module is further to:
determining a corresponding live broadcast domain name list according to the user attribute;
configuring switch flag value information and general configuration details;
and generating a corresponding universal configuration template.
3. The live resource configuration system of claim 2, wherein the adapter module is further to:
calling an application programming interface corresponding to the at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, wherein the initial configuration information comprises attribute information and function information;
analyzing the configuration template to obtain a corresponding conversion type, wherein the conversion type comprises: a platform type, a resource type, and a data type;
and converting the initial configuration information according to the conversion type to obtain the general configuration information matched with the general configuration template.
4. The live resource configuration system of claim 3, wherein the log collection module is further to:
receiving a monitoring log sent by the at least one live broadcast cloud platform;
determining the log information according to the monitoring log, wherein the log information comprises: live quality information, bandwidth information, cost information, function information, and address information.
5. The live broadcast resource configuration system of claim 4, wherein when the log information is live broadcast quality information, the analysis scheduling module is further configured to determine whether to update a code stream configuration of a corresponding live broadcast cloud platform according to the live broadcast quality information.
6. The live broadcast resource configuration system of claim 4, wherein when the log information is address information, the analysis scheduling module is further configured to determine target machine room information according to the address information, and determine a corresponding live broadcast cloud platform according to the target machine room information.
7. The live broadcast resource configuration system of claim 4, wherein when the log information is bandwidth information, the analysis scheduling module is further configured to determine resource redundancy of the live broadcast cloud platform according to the bandwidth information, and determine whether to adjust live broadcast traffic according to the resource redundancy.
8. The live resource configuration system of claim 4, wherein when the log information is function information, the analysis scheduling module is further configured to obtain a specific function corresponding to the live broadcast cloud platform according to the function information, where the specific function includes: a content identification function and a transcoding function, and matching the specific function according to service requirements.
9. A live resource allocation system as claimed in any one of claims 1 to 8 further comprising:
and the client module is used for providing a corresponding application programming interface according to the live broadcast resource configuration function.
10. A live broadcast resource allocation method is characterized by comprising the following steps:
presetting a general configuration template matched with at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, and converting the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information;
collecting log information of the at least one live broadcast cloud platform;
determining a resource configuration strategy according to the log information;
and calling corresponding live broadcast cloud platform resources according to the resource configuration strategy and the general configuration information.
11. A live resource configuration method according to claim 10, wherein the presetting of a common configuration template matching with at least one live cloud platform comprises:
determining a corresponding live broadcast domain name list according to the user attribute;
configuring switch flag value information and general configuration details;
and generating a corresponding universal configuration template.
12. The method for configuring live broadcast resources according to claim 11, wherein the obtaining of the initial configuration information of the at least one live broadcast cloud platform and the converting of the initial configuration information of the at least one live broadcast cloud platform according to the general configuration template to obtain corresponding general configuration information includes:
calling an application programming interface corresponding to the at least one live broadcast cloud platform;
acquiring initial configuration information of the at least one live broadcast cloud platform, wherein the initial configuration information comprises attribute information and function information;
analyzing the configuration template to obtain a corresponding conversion type, wherein the conversion type comprises: a platform type, a resource type, and a data type;
and converting the initial configuration information according to the conversion type to obtain the general configuration information matched with the general configuration template.
13. A live resource configuration method as claimed in claim 12 wherein said collecting log information of the at least one live cloud platform comprises:
receiving a monitoring log sent by the at least one live broadcast cloud platform;
determining the log information according to the monitoring log, wherein the log information comprises: live quality information, bandwidth information, cost information, function information, and address information.
14. The live resource allocation method of claim 13, wherein when the log information is live quality information, the determining a resource allocation policy according to the log information comprises:
and determining whether to update the code stream configuration of the corresponding live broadcast cloud platform according to the live broadcast quality information.
15. The live resource allocation method of claim 13, wherein when the log information is address information, the determining a resource allocation policy according to the log information comprises:
and determining target machine room information according to the address information, and determining a corresponding live broadcast cloud platform according to the target machine room information.
16. The live resource allocation method of claim 13, wherein when the log information is bandwidth information, the determining a resource allocation policy according to the log information comprises:
and determining the resource redundancy of the live broadcast cloud platform according to the bandwidth information, and determining whether to adjust the live broadcast flow according to the resource redundancy.
17. The live resource allocation method of claim 13, wherein when the log information is function information, the determining a resource allocation policy according to the log information comprises:
acquiring a specific function corresponding to the live broadcast cloud platform according to the function information, wherein the specific function comprises: a content identification function and a transcoding function, and matching the specific function according to service requirements.
18. A live resource configuration method as claimed in any one of claims 10-17 wherein the method further comprises:
and providing a corresponding application programming interface according to the live resource configuration function.
CN202010830865.6A 2020-08-18 2020-08-18 Live broadcast resource configuration system and method Pending CN111954021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010830865.6A CN111954021A (en) 2020-08-18 2020-08-18 Live broadcast resource configuration system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010830865.6A CN111954021A (en) 2020-08-18 2020-08-18 Live broadcast resource configuration system and method

Publications (1)

Publication Number Publication Date
CN111954021A true CN111954021A (en) 2020-11-17

Family

ID=73342523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010830865.6A Pending CN111954021A (en) 2020-08-18 2020-08-18 Live broadcast resource configuration system and method

Country Status (1)

Country Link
CN (1) CN111954021A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003023613A (en) * 2001-07-06 2003-01-24 Enchante:Kk Contents distribution system
CN105245427A (en) * 2015-11-24 2016-01-13 深圳酷宅科技有限公司 Multi-Internet of Things cloud platform terminal access and control system based on bus adaption
CN106803974A (en) * 2017-03-01 2017-06-06 北京牡丹电子集团有限责任公司数字电视技术中心 The real-time retransmission method of live video stream
US20180014082A1 (en) * 2016-07-05 2018-01-11 BoxCast, LLC System, method, and protocol for transmission of video and audio data
CN107682285A (en) * 2017-09-27 2018-02-09 国云科技股份有限公司 A kind of isomery cloud platform unified resource authorization method
CN108418708A (en) * 2018-02-01 2018-08-17 天津麒麟信息技术有限公司 A kind of cloudy management scheduling system for supporting FT and X86 mixed architectures
CN108574850A (en) * 2017-09-01 2018-09-25 北京金山云网络技术有限公司 A kind of live streaming resource allocation methods, device, electronic equipment and storage medium
CN110825452A (en) * 2019-10-10 2020-02-21 国云科技股份有限公司 Cloud service adaptation module management method for multi-cloud management

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003023613A (en) * 2001-07-06 2003-01-24 Enchante:Kk Contents distribution system
CN105245427A (en) * 2015-11-24 2016-01-13 深圳酷宅科技有限公司 Multi-Internet of Things cloud platform terminal access and control system based on bus adaption
US20180014082A1 (en) * 2016-07-05 2018-01-11 BoxCast, LLC System, method, and protocol for transmission of video and audio data
CN106803974A (en) * 2017-03-01 2017-06-06 北京牡丹电子集团有限责任公司数字电视技术中心 The real-time retransmission method of live video stream
CN108574850A (en) * 2017-09-01 2018-09-25 北京金山云网络技术有限公司 A kind of live streaming resource allocation methods, device, electronic equipment and storage medium
CN107682285A (en) * 2017-09-27 2018-02-09 国云科技股份有限公司 A kind of isomery cloud platform unified resource authorization method
CN108418708A (en) * 2018-02-01 2018-08-17 天津麒麟信息技术有限公司 A kind of cloudy management scheduling system for supporting FT and X86 mixed architectures
CN110825452A (en) * 2019-10-10 2020-02-21 国云科技股份有限公司 Cloud service adaptation module management method for multi-cloud management

Similar Documents

Publication Publication Date Title
CN110830463B (en) Third party authorized login method and device
CN109542865B (en) Method, device, system and medium for synchronizing configuration files of distributed cluster system
CN114375069B (en) Communication method and network equipment
US20160205152A1 (en) Remote calling method and apparatus
CN111800443B (en) Data processing system and method, device and electronic equipment
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN103077024A (en) Device and method for supporting customization and running of software-as-a-service (SaaS) application processes
JP2012510120A (en) Device management server, device management client, and method of locating a target operation object
CN110708694A (en) Method, system, storage medium and electronic device for realizing simultaneous online public and private networks
CN113518407A (en) WiFi network distribution method and system for intelligent equipment, electronic equipment and medium
CN111221793A (en) Data mining method, platform, computer equipment and storage medium
CN115114044A (en) Message pushing method, device, equipment and medium
CN110543428A (en) Application system testing method and device
CN114302429A (en) NWDAF network element determination method, device, equipment and storage medium
US20150074794A1 (en) System for accessing data of cloud database using transparent technology
CN107231275B (en) Method for connection configuration of user equipment and household equipment
CN106936937B (en) Method and device for realizing universal interface for internet service interaction
CN111954021A (en) Live broadcast resource configuration system and method
US8464218B2 (en) Method port arrangement and configuration method thereof for robot software component
CN113242313B (en) Data synchronization method, system, device, server and storage medium
CN115412993A (en) Relay discovery method, system, device and storage medium
CN109274715A (en) The platform resource management system of vehicle-mounted multi-channel communication systems
CN114980064A (en) Information association method and device, electronic equipment and storage medium
CN114513552A (en) Data processing method, device, equipment and storage medium
CN108156109B (en) Service response method and 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

Application publication date: 20201117

RJ01 Rejection of invention patent application after publication