CN116847113B - Video live broadcast transfer method, device, equipment and medium based on cloud architecture module - Google Patents

Video live broadcast transfer method, device, equipment and medium based on cloud architecture module Download PDF

Info

Publication number
CN116847113B
CN116847113B CN202310730230.2A CN202310730230A CN116847113B CN 116847113 B CN116847113 B CN 116847113B CN 202310730230 A CN202310730230 A CN 202310730230A CN 116847113 B CN116847113 B CN 116847113B
Authority
CN
China
Prior art keywords
live broadcast
live
creation
level
user
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.)
Active
Application number
CN202310730230.2A
Other languages
Chinese (zh)
Other versions
CN116847113A (en
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.)
Liancheng Technology Hebei Co ltd
Original Assignee
Liancheng Technology Hebei 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 Liancheng Technology Hebei Co ltd filed Critical Liancheng Technology Hebei Co ltd
Priority to CN202310730230.2A priority Critical patent/CN116847113B/en
Publication of CN116847113A publication Critical patent/CN116847113A/en
Application granted granted Critical
Publication of CN116847113B publication Critical patent/CN116847113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a live video transfer system and method based on a cloud architecture module, which are applied to the technical field of video processing, wherein the method comprises the following steps: responding to a live broadcast creation request of a user, and acquiring live broadcast request information, wherein the live broadcast request information comprises live broadcast creation requirement content; determining a live broadcast grade of the live broadcast to be created based on the live broadcast creation demand content; judging whether the user has live broadcast creation permission or not based on the live broadcast grade and the user information; if the user has the live broadcast creation permission, generating live broadcast creation information based on the user information and the live broadcast creation demand content, and calling a live broadcast creation function to a live broadcast application server based on the live broadcast creation information; if the user does not have the live broadcast creation permission, generating prompt information, wherein the prompt information is used for indicating that the user does not have the live broadcast creation permission. The method has the effects of reducing investment of development and maintenance cost and realizing use of the live broadcast function.

Description

Video live broadcast transfer method, device, equipment and medium based on cloud architecture module
Technical Field
The application relates to the technical field of video processing, in particular to a video live broadcast transfer system and method based on a cloud architecture module.
Background
With the development of internet technology, live video broadcast is increasingly known, and live video broadcast is also applied in more places, so that many enterprises and institutions want to develop projects with live video broadcast functions.
However, the development of the live video function requires a lot of time, and related technical personnel are introduced, which has problems of high development cost and high maintenance cost for enterprises or institutions.
Disclosure of Invention
In order to reduce investment of development and maintenance costs and realize use of live broadcast functions, the application provides a video live broadcast transfer system and method based on a cloud architecture module.
In a first aspect, the present application provides a live video transfer system based on a cloud architecture module, which adopts the following technical scheme:
a live video transfer system based on a cloud architecture module, comprising:
the live broadcast request terminal is used for responding to a live broadcast creation request of a user, acquiring live broadcast request information and sending the live broadcast request information to a cloud architecture live broadcast transfer server;
and the cloud architecture live broadcast transfer server is used for calling a live broadcast creation function to a live broadcast application server according to the live broadcast request information, creating a live broadcast room according to the live broadcast creation function, and returning the live broadcast room to the live broadcast request terminal.
By adopting the technical scheme, the system comprises three parts, namely the live broadcast request terminal, the cloud architecture live broadcast transfer server and the live broadcast application server, wherein the live broadcast application server has a live broadcast creation function, the cloud architecture live broadcast transfer server is used for calling the live broadcast creation function of the live broadcast application server to create a live broadcast room according to a live broadcast creation request issued by a user at the live broadcast request terminal, and sending the created live broadcast room to the live broadcast request terminal, and the user can realize the video live broadcast creation requirement of the user through the cloud architecture live broadcast transfer server, so that the investment of development and maintenance cost is reduced, and the use of the live broadcast function is realized.
In a second aspect, the present application provides a live video transfer method based on a cloud architecture module, which adopts the following technical scheme:
a live video transfer method based on a cloud architecture module, which is applied to the live video transfer server with a cloud architecture according to the first aspect, and is characterized by comprising the following steps:
responding to a live broadcast creation request of a user, and acquiring live broadcast request information, wherein the live broadcast request information comprises live broadcast creation requirement content;
determining a live broadcast grade of the live broadcast to be created based on the live broadcast creation demand content;
judging whether the user has live broadcast creation permission or not based on the live broadcast grade and the user information;
if the user has the live broadcast creation permission, generating live broadcast creation information based on the user information and the live broadcast creation demand content, and calling a live broadcast creation function to a live broadcast application server based on the live broadcast creation information;
if the user does not have the live broadcast creation permission, generating prompt information, wherein the prompt information is used for indicating that the user does not have the live broadcast creation permission.
By adopting the technical scheme, the system comprises three parts, namely the live broadcast request terminal, the cloud architecture live broadcast transfer server and the live broadcast application server, wherein the live broadcast application server has a live broadcast creation function, the cloud architecture live broadcast transfer server is used for calling the live broadcast creation function of the live broadcast application server to create a live broadcast room according to a live broadcast creation request issued by a user at the live broadcast request terminal, and sending the created live broadcast room to the live broadcast request terminal, and the user can realize the video live broadcast creation requirement of the user through the cloud architecture live broadcast transfer server, so that the investment of development and maintenance cost is reduced, and the use of the live broadcast function is realized.
Optionally, the live creation demand content includes a live time, a number of live persons, and a live type, and determining, based on the live creation demand content, a live rating of a live to be created includes:
determining a first level based on the live type;
judging whether the first level needs to be adjusted or not based on the live broadcast type and the live broadcast number;
if the first level needs to be adjusted, adjusting the first level based on the number of live persons to generate a second level;
generating a live rating based on the second rating and the live time;
and if the first level does not need to be adjusted, generating a live level based on the first level and the live time.
Optionally, the determining whether the first level needs to be adjusted based on the live type and the number of live persons includes:
acquiring the resource requirement value of the live broadcast type and the single resource requirement value of a single person participating in live broadcast;
calculating a projected head count demand based on the single person resource demand and the live head count;
judging whether the resource demand value is greater than the predicted population demand value;
if the resource demand value is greater than the predicted population demand value, determining that the first level does not need to be adjusted;
and if the resource requirement value is not greater than the predicted population requirement value, determining that the first level needs to be adjusted.
Optionally, the adjusting the first level based on the number of live persons to generate a second level includes:
calculating the predicted resource to be created for live broadcast based on the resource demand value and the predicted population demand value;
determining a rank increment value based on the projected resource;
and adjusting the first grade based on the grade increment value to generate a second grade.
Optionally, the determining whether the user has the live creation authority based on the live rating and the user information includes:
determining a live creation level of the user based on the user information;
when the live broadcast creation level is greater than or equal to the live broadcast level, judging that the user has live broadcast creation permission;
when the live broadcast creation grade is smaller than the live broadcast grade, acquiring historical live broadcast information of the user;
generating a historical live broadcast additional grade based on the historical live broadcast information;
when the sum of the historical live broadcast additional level and the live broadcast creation level is greater than or equal to the live broadcast level, judging that the user has live broadcast creation permission;
and when the sum of the historical live broadcast additional level and the live broadcast creation level is smaller than the live broadcast level, judging that the user does not have live broadcast creation permission.
Optionally, the historical live information includes a predicted number of live persons, an actual number of persons involved, a predicted time length and an actual time length, and the generating the additional level of the historical live based on the historical live information includes:
judging whether the actual time length is equal to the predicted time length or not;
if the actual duration is equal to the estimated duration, the historical live broadcast additional level is calculated based on the estimated number of people and the actual calculation;
and if the actual time length is smaller than the expected time length, setting the historical live broadcast additional level to be empty.
In a third aspect, the present application provides a live video transfer device based on a cloud architecture module, which adopts the following technical scheme:
a live video transfer device based on a cloud architecture module, comprising:
the creation request response module is used for responding to a live broadcast creation request of a user and acquiring the live broadcast request information, wherein the live broadcast request information comprises live broadcast creation requirement content;
the live broadcast grade determining module is used for determining the live broadcast grade to be created based on the live broadcast creation demand content;
the live broadcast creation judging module is used for judging whether the user has live broadcast creation permission or not based on the live broadcast grade and the user information;
the creation information generation module is used for generating live creation information based on the user information and the live creation demand content, and calling a live creation function to a live application server based on the live creation information;
the prompt information generation module is used for generating prompt information, and the prompt information is used for indicating that the user does not have live broadcast creation permission.
By adopting the technical scheme, the system comprises three parts, namely the live broadcast request terminal, the cloud architecture live broadcast transfer server and the live broadcast application server, wherein the live broadcast application server has a live broadcast creation function, the cloud architecture live broadcast transfer server is used for calling the live broadcast creation function of the live broadcast application server to create a live broadcast room according to a live broadcast creation request issued by a user at the live broadcast request terminal, and sending the created live broadcast room to the live broadcast request terminal, and the user can realize the video live broadcast creation requirement of the user through the cloud architecture live broadcast transfer server, so that the investment of development and maintenance cost is reduced, and the use of the live broadcast function is realized.
In a fourth aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device comprising a processor coupled with a memory;
the processor is configured to execute the computer program stored in the memory, so that the electronic device executes the computer program of the live video transfer method based on the cloud architecture module according to any one of the second aspect.
In a fifth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium storing a computer program capable of being loaded by a processor and executing the live video relay method based on the cloud architecture module of any one of the second aspect.
Drawings
Fig. 1 is a structural block diagram of a live video transfer system based on a cloud architecture module according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a live video transfer method based on a cloud architecture module according to an embodiment of the present application.
Fig. 3 is a structural block diagram of a live video transfer device based on a cloud architecture module according to an embodiment of the present application.
Fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a live video transfer method based on a cloud architecture module, which can be executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, and the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
Fig. 1 is a structural block diagram of a live video transfer system based on a cloud architecture module according to an embodiment of the present application.
As shown in fig. 1, the live video relay system 100 based on the cloud architecture module mainly includes:
the live broadcast request terminal 200 is configured to respond to a live broadcast creation request of a user, obtain live broadcast request information, and send the live broadcast request information to a cloud architecture live broadcast transit server;
the cloud architecture live broadcast transfer server 300 is configured to call a live broadcast creation function to the live broadcast application server 500 according to the live broadcast request information, create a live broadcast room according to the live broadcast creation function, and return the live broadcast room to the live broadcast request terminal.
Fig. 2 is a flow chart of a live video transfer method based on a cloud architecture module according to an embodiment of the present application.
As shown in fig. 2, the main flow of the method is described as follows (steps S501 to S505):
in step S501, live broadcast request information and user information are obtained in response to a live broadcast creation request of a user, where the live broadcast request information includes live broadcast creation requirement content.
In this embodiment, when a user needs to use a live broadcast function, a live broadcast creation application is sent to a cloud architecture live broadcast transfer server through a live broadcast request terminal, that is, a live broadcast creation request is sent to the cloud architecture live broadcast transfer server, when the live broadcast creation request is sent, a live broadcast creation requirement of a video live broadcast which the user wants to create needs to be input, and when the cloud architecture live broadcast transfer server receives the live broadcast creation request of the user, user information is needed in addition to the live broadcast creation requirement content, so that whether the video live broadcast can be created for the current user is judged. The user information comprises enterprise names corresponding to the users, live purchase information of the users and the like.
Step S502, determining a live broadcast grade to be created for live broadcast based on live broadcast creation demand content.
Aiming at step S502, live creation demand content comprises live time, live number and live type; determining a first level based on the live type; judging whether the first level needs to be adjusted or not based on the live broadcast type and the number of live broadcast people; if the first level needs to be adjusted, adjusting the first level based on the number of live persons to generate a second level; generating a live rating based on the second rating and the live time; and if the first level does not need to be adjusted, generating the live broadcast level based on the first level and the live broadcast time.
In this embodiment, in addition to the user information, judgment needs to be performed from the live video itself that the user needs to create, and viewing that the live video that the user needs to create can match with the qualification of the user, so it is necessary to determine the live video level of the live video to be created. The factors affecting the live broadcast level include live broadcast type and live persons, the live broadcast type includes live conference and live video broadcast, the live video broadcast can be further subdivided into live broadcast, live education broadcast, live entertainment broadcast and the like, the live conference can be further divided into an advanced conference, a medium conference, a general conference and the like, the levels corresponding to different live broadcast types are different, the levels corresponding to the live broadcast types are set by staff according to the resource amount required during live broadcast, for example, the advanced conference in live conference needs higher security and smoother network compared with the medium conference, so that the more resources are needed during creation of the advanced conference, the live conference creation level of the advanced conference is higher than that of the medium conference, the conference creation level of the medium conference is higher than that of the general conference, the advanced conference is one-level, the medium conference is three-level, the general conference is three-level, the same, and the live video broadcast also adopts the same level setting mode, and is not further illustrated herein.
After meeting creation levels corresponding to the live broadcast types are obtained, the corresponding meeting creation levels are used as first levels, whether further adjustment is needed is judged according to the number of live broadcast people, and when judgment is carried out according to the number of live broadcast people, a resource requirement value of the live broadcast types and a single resource requirement value of a single person participating in live broadcast are obtained; calculating a predicted population demand based on the individual resource demand and the live population; judging whether the resource demand value is greater than the predicted number demand value; if the resource demand value is greater than the predicted population demand value, determining that the first level does not need to be adjusted; if the resource demand value is not greater than the predicted head count demand value, it is determined that the first level needs to be adjusted.
In this embodiment, the resource requirement value of the live type is the minimum resource amount required for creating the live type, under the resource requirement value, the live type of the current type can be ensured to be successfully performed, and a certain number of people can be accommodated, in this case, further judgment is performed according to the number of people with target participation, when participating in live, each person needs to allocate a corresponding resource for the purpose, so that the person can participate in live normally, according to the single resource requirement value and the expected number requirement value calculated by the number of live persons until all the live persons enter live, if the expected number requirement value is smaller than the resource requirement value, the live can be performed normally, but if the expected number requirement value is larger than or equal to the resource requirement value, the first level is not required to be adjusted, but if the expected number requirement value is larger than the resource requirement value, more resources need to be allocated to the live, and therefore the first level needs to be adjusted.
When the first level is adjusted, calculating the predicted resource to be created into the live broadcast based on the resource demand value and the predicted number of people demand value; determining a rank increment value based on the predicted resources; the first level is adjusted based on the level increment value to generate a second level.
In this embodiment, after the predicted number of people needs is calculated according to the number of live broadcast people and the single person resource needs, a difference between the predicted number of people needs and the resource needs is calculated, in order to ensure normal operation of live broadcast, more resources are generally required to be provided for the live broadcast, a resource adding percentage is set according to the live broadcast type, an adding value is obtained through the resource adding percentage and the difference, the adding value and the difference are added, the sum obtained is taken as a resource adding value, and the sum of the resource adding value and the resource needs is the predicted resource to be created.
The level increment value is determined according to the predicted resources and the preset resource increment rules, the preset resource increment rules comprise preset resource intervals and level increment values, each preset resource interval corresponds to one level increment value, the larger the boundary value of the preset resource interval is, the larger the corresponding level increment value is, and the interval values of the preset resource intervals are all the same or in a decreasing mode. For example, the preset resource interval is 1 to 10 and the preset resource interval is 11 to 20 may be 2, and the preset resource interval is 1 to 10 and the preset resource interval is 11 to 15 may be 2, which are not limited specifically herein.
After the level increasing value is obtained, calculating the product of the level increasing value and the preset duty ratio, and adding the product to the first level to obtain the second level, wherein the preset duty ratio needs to be set according to actual requirements, if not, the preset duty ratio defaults to 50%, and the specific preset duty ratio is not particularly limited.
Step S503, judging whether the user has the live creation authority based on the live rating and the user information.
For step S503, determining a live creation level of the user based on the user information; when the live broadcast creation level is greater than or equal to the live broadcast level, determining that the user has live broadcast creation permission; when the live broadcast creation grade is smaller than the live broadcast grade, acquiring historical live broadcast information of a user; generating a history live broadcast additional grade based on the history live broadcast information; when the sum of the historical live broadcast additional level and the live broadcast creation level is greater than or equal to the live broadcast level, determining that the user has live broadcast creation permission; and when the sum of the historical live broadcast additional level and the live broadcast creation level is smaller than the live broadcast level, judging that the user does not have the live broadcast creation permission.
Further, judging whether the actual duration is equal to the predicted duration; if the actual duration is equal to the estimated duration, the historical live broadcast additional level is calculated based on the estimated number of people and the actual calculation; and if the actual duration is smaller than the predicted duration, setting the historical live broadcast additional level to be empty.
In this embodiment, the user needs to purchase the video live broadcast function when using, and allocates a corresponding live broadcast creation level to the user according to the live broadcast purchased by the user, where the live broadcast creation level is the calculated second level, and the user needs to purchase a corresponding number of people besides the type when buying. When the live broadcast creation level is greater than or equal to the live broadcast level, the live broadcast creation can be directly carried out, but when the live broadcast creation level is smaller than the live broadcast level, further judgment is needed according to the historical live broadcast information of the user.
The historical live broadcast information comprises the number of predicted live broadcast persons, the number of actual participants, the predicted duration and the actual duration, first round judgment is carried out according to the market, when the actual duration is smaller than the predicted duration, the additional level of the historical live broadcast is set to be empty, wherein the difference value between the predicted duration and the actual duration needs to be calculated, when the difference value is within a preset range, the actual duration is determined to be smaller than the preset duration, at the moment, the live broadcast is over-fast, the situation that the predicted live broadcast situation does not accord with the actual situation can be determined, the creation of the live broadcast with a higher level is not suggested, and therefore the additional level of the historical live broadcast cannot be added. When the actual duration is equal to the estimated duration, further calculation is performed according to the actual number of people involved and the estimated number of people involved, when the historical additional level is calculated, the difference between the estimated number of people involved and the actual number of people involved is calculated, when the difference is zero, the live additional level is directly set to the highest value, when the difference is not zero, the preset additional interval described by the difference is checked, the greater the difference is, the smaller the corresponding historical live additional level is, the specific division of the preset additional interval and the corresponding historical live additional level are required to be set according to the actual requirement, and the specific limitation is omitted.
And step S504, if the user has the live broadcast creation permission, generating live broadcast creation information based on the user information and the live broadcast creation demand content, and calling a live broadcast creation function to a live broadcast application server based on the live broadcast creation information.
In this embodiment, live broadcast creation information is generated according to an enterprise name, a live broadcast type, live broadcast time and the number of live broadcast people in user information, after the live broadcast creation information is generated, a live broadcast creation function in a live broadcast application server is called by a cloud architecture live broadcast transfer server to create a live broadcast room, and the cloud architecture live broadcast transfer server marks the created video live broadcast according to the enterprise name and sends the video live broadcast to a live broadcast request terminal of a user.
In step S505, if the user does not have the live broadcast creation permission, a prompt message is generated, where the prompt message is used to indicate that the user does not have the live broadcast creation permission.
In this embodiment, prompt information is generated according to the live broadcast creation level and the live broadcast level of the user, so that the user is prompted that the current level is insufficient, the video creation permission is not provided, and the live broadcast creation cannot be performed.
Fig. 2 is a block diagram of a live video transfer device 600 based on a cloud architecture module according to an embodiment of the application.
As shown in fig. 2, the live video relay device 600 based on the cloud architecture module mainly includes:
the creation request response module 601 is configured to obtain live broadcast request information in response to a live broadcast creation request of a user, where the live broadcast request information includes live broadcast creation requirement content;
a live broadcast grade determining module 602, configured to determine a live broadcast grade to be created for a live broadcast based on live broadcast creation demand content;
a live creation judging module 603, configured to judge whether the user has live creation permission based on the live rating and the user information;
the creation information generating module 604 is configured to generate live creation information based on the user information and the live creation requirement content, and call a live creation function to the live application server based on the live creation information;
the prompt information generation module 605 is configured to generate prompt information, where the prompt information is used to indicate that the user does not have live broadcast creation permission.
As an alternative implementation of this embodiment, the live rating determining module 602 includes:
the live broadcast type acquisition module is used for determining a first grade based on the live broadcast type;
the level adjustment judging module is used for judging whether the first level needs to be adjusted or not based on the live broadcast type and the number of live broadcast people;
the second level generation module is used for adjusting the first level based on the number of live persons to generate a second level;
the first direct broadcast generation module is used for generating a direct broadcast grade based on the second grade and the direct broadcast time;
and the second live broadcast generating module is used for generating the live broadcast grade based on the first grade and the live broadcast time.
In this optional embodiment, the level adjustment judging module is specifically configured to obtain a resource requirement value of a live broadcast type and a single resource requirement value of a single person participating in live broadcast; calculating a predicted population demand based on the individual resource demand and the live population; judging whether the resource demand value is greater than the predicted number demand value; if the resource demand value is greater than the predicted population demand value, determining that the first level does not need to be adjusted; if the resource demand value is not greater than the predicted head count demand value, it is determined that the first level needs to be adjusted.
In this optional embodiment, the second level generating module is specifically configured to calculate, based on the resource requirement value and the predicted population requirement value, a predicted resource to be created for live broadcast; determining a rank increment value based on the predicted resources; the first level is adjusted based on the level increment value to generate a second level.
As an optional implementation manner of this embodiment, the live creation judgment module 603 includes:
the creation grade determining module is used for determining the live broadcast creation grade of the user based on the user information;
the first creation judging module is used for judging that the user has the live creation permission when the live creation grade is greater than or equal to the live grade;
the history information acquisition module is used for acquiring the history live broadcast information of the user when the live broadcast creation grade is smaller than the live broadcast grade;
the additional level generating module is used for generating a historical live broadcast additional level based on the historical live broadcast information;
the second creation judging module is used for judging that the user has the live creation permission when the sum of the historical live creation grade and the live creation grade is more than or equal to the live grade;
and the third creation judging module is used for judging that the user does not have the live creation permission when the sum of the historical live creation grade and the live creation grade is smaller than the live grade.
In this optional embodiment, the additional level generating module is specifically configured to determine whether the actual duration is equal to the predicted duration; if the actual duration is equal to the estimated duration, the historical live broadcast additional level is calculated based on the estimated number of people and the actual calculation; and if the actual duration is smaller than the predicted duration, setting the historical live broadcast additional level to be empty.
In one example, a module in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (application specific integratedcircuit, ASIC), or one or more digital signal processors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or a combination of at least two of these integrated circuit forms.
For another example, when a module in an apparatus may be implemented in the form of a scheduler of processing elements, the processing elements may be general-purpose processors, such as a central processing unit (central processing unit, CPU) or other processor that may invoke a program. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
Fig. 3 is a block diagram of an electronic device 700 according to an embodiment of the present application.
As shown in FIG. 3, the electronic device 700 includes a processor 701 and memory 702, and may further include an information input/information output (I/O) interface 703, one or more of a communication component 704, and a communication bus 705.
The processor 701 is configured to control overall operations of the electronic device 700 to complete all or part of the steps of the live video forwarding method based on the cloud architecture module; the memory 702 is used to store various types of data to support operation on the electronic device 700, which may include, for example, instructions for any application or method operating on the electronic device 700, as well as application-related data. The Memory 702 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as one or more of static random access Memory (Static Random Access Memory, SRAM), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
The I/O interface 703 provides an interface between the processor 701 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 704 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the corresponding communication component 104 may thus comprise: wi-Fi part, bluetooth part, NFC part.
The electronic device 700 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processor (Digital Signal Processor, abbreviated as DSP), digital signal processing device (Digital Signal Processing Device, abbreviated as DSPD), programmable logic device (Programmable Logic Device, abbreviated as PLD), field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), controller, microcontroller, microprocessor or other electronic components for performing the live video relay method based on the cloud architecture module as given in the above embodiments.
Communication bus 705 may include a path to transfer information between the above components. The communication bus 705 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus 705 may be divided into an address bus, a data bus, a control bus, and the like.
The electronic device 700 may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like, and may also be a server, and the like.
The application also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program realizes the steps of the live video transfer method based on the cloud architecture module when being executed by a processor.
The computer readable storage medium may include: a U-disk, a removable hard disk, a read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the application referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or their equivalents is possible without departing from the spirit of the application. Such as the above-mentioned features and the technical features having similar functions (but not limited to) applied for in this application are replaced with each other.

Claims (6)

1. The live video transfer method based on the cloud architecture module is characterized by being applied to a live video transfer system based on the cloud architecture module, and the live video transfer system based on the cloud architecture module comprises the following steps: the live broadcast request terminal is used for responding to a live broadcast creation request of a user, acquiring live broadcast request information and sending the live broadcast request information to a cloud architecture live broadcast transfer server;
the cloud architecture live broadcast transfer server is used for calling a live broadcast creation function to a live broadcast application server according to the live broadcast request information, creating a live broadcast room according to the live broadcast creation function, and returning the live broadcast room to the live broadcast request terminal;
the method comprises the following steps:
responding to a live broadcast creation request of a user, and acquiring live broadcast request information, wherein the live broadcast request information comprises live broadcast creation requirement content;
determining a live broadcast grade of the live broadcast to be created based on the live broadcast creation demand content;
judging whether the user has live broadcast creation permission or not based on the live broadcast grade and the user information;
if the user has the live broadcast creation permission, generating live broadcast creation information based on the user information and the live broadcast creation demand content, and calling a live broadcast creation function to a live broadcast application server based on the live broadcast creation information;
if the user does not have the live broadcast creation permission, generating prompt information, wherein the prompt information is used for indicating that the user does not have the live broadcast creation permission;
the determining the live broadcast grade of the live broadcast to be created based on the live broadcast creation requirement content comprises the following steps:
determining a first level based on the live type;
judging whether the first level needs to be adjusted or not based on the live broadcast type and the live broadcast number;
if the first level needs to be adjusted, adjusting the first level based on the number of live persons to generate a second level;
generating a live rating based on the second rating and the live time;
if the first level does not need to be adjusted, generating a live level based on the first level and the live time;
the determining whether the first level needs to be adjusted based on the live type and the number of live persons includes:
acquiring the resource requirement value of the live broadcast type and the single resource requirement value of a single person participating in live broadcast;
calculating a projected head count demand based on the single person resource demand and the live head count;
judging whether the resource demand value is greater than the predicted population demand value;
if the resource demand value is greater than the predicted population demand value, determining that the first level does not need to be adjusted;
if the resource demand value is not greater than the predicted population demand value, determining that the first level needs to be adjusted;
calculating the difference between the predicted number of people and the resource demand, setting a resource increasing percentage according to the live broadcast type, obtaining an increasing value through the resource increasing percentage and the difference, adding the increasing value and the difference, taking the added sum as a resource added value, and taking the sum of the resource added value and the resource demand as the predicted resource to be created for live broadcast; determining a rank increment value based on the projected resource; and adjusting the first grade based on the grade increment value to generate a second grade.
2. The method of claim 1, wherein the determining whether the user has live creation rights based on the live rating and the user information comprises:
determining a live creation level of the user based on the user information;
when the live broadcast creation level is greater than or equal to the live broadcast level, judging that the user has live broadcast creation permission;
when the live broadcast creation grade is smaller than the live broadcast grade, acquiring historical live broadcast information of the user;
generating a historical live broadcast additional grade based on the historical live broadcast information;
when the sum of the historical live broadcast additional level and the live broadcast creation level is greater than or equal to the live broadcast level, judging that the user has live broadcast creation permission;
and when the sum of the historical live broadcast additional level and the live broadcast creation level is smaller than the live broadcast level, judging that the user does not have live broadcast creation permission.
3. The method of claim 2, wherein the historical live information includes a predicted number of live persons, an actual number of participants, a predicted time period, and an actual time period, wherein generating the historical live additional level based on the historical live information comprises:
judging whether the actual time length is equal to the predicted time length or not;
if the actual time length is equal to the estimated time length, calculating a historical live broadcast additional grade based on the estimated number of people and the actual number of people involved;
and if the actual time length is smaller than the expected time length, setting the historical live broadcast additional level to be empty.
4. The live video transfer device based on the cloud architecture module is characterized by being applied to a live video transfer system based on the cloud architecture module, and the live video transfer system based on the cloud architecture module comprises: the live broadcast request terminal is used for responding to a live broadcast creation request of a user, acquiring live broadcast request information and sending the live broadcast request information to a cloud architecture live broadcast transfer server;
the cloud architecture live broadcast transfer server is used for calling a live broadcast creation function to a live broadcast application server according to the live broadcast request information, creating a live broadcast room according to the live broadcast creation function, and returning the live broadcast room to the live broadcast request terminal;
the device comprises:
the creation request response module is used for responding to a live broadcast creation request of a user and acquiring the live broadcast request information, wherein the live broadcast request information comprises live broadcast creation requirement content;
the live broadcast grade determining module is used for determining the live broadcast grade to be created based on the live broadcast creation demand content;
the live broadcast creation judging module is used for judging whether the user has live broadcast creation permission or not based on the live broadcast grade and the user information;
the creation information generation module is used for generating live creation information based on the user information and the live creation demand content, and calling a live creation function to a live application server based on the live creation information;
the prompt information generation module is used for generating prompt information, and the prompt information is used for indicating that the user does not have live broadcast creation permission;
the live broadcast level determining module includes:
the live broadcast type acquisition module is used for determining a first grade based on the live broadcast type;
the level adjustment judging module is used for judging whether the first level needs to be adjusted or not based on the live broadcast type and the number of live broadcast people;
the second level generation module is used for adjusting the first level based on the number of live persons to generate a second level;
the first direct broadcast generation module is used for generating a direct broadcast grade based on the second grade and the direct broadcast time;
the second live broadcast generation module is used for generating a live broadcast grade based on the first grade and the live broadcast time;
the level adjustment judging module is specifically used for acquiring a resource requirement value of a live broadcast type and a single resource requirement value of a single person participating in live broadcast; calculating a predicted population demand based on the individual resource demand and the live population; judging whether the resource demand value is greater than the predicted number demand value; if the resource demand value is greater than the predicted population demand value, determining that the first level does not need to be adjusted; if the resource demand value is not greater than the predicted number demand value, determining that the first level needs to be adjusted;
calculating the difference between the predicted number of people and the resource demand, setting a resource increasing percentage according to the live broadcast type, obtaining an increasing value through the resource increasing percentage and the difference, adding the increasing value and the difference, taking the added sum as a resource added value, and taking the sum of the resource added value and the resource demand as the predicted resource to be created for live broadcast; determining a rank increment value based on the projected resource; and adjusting the first grade based on the grade increment value to generate a second grade.
5. An electronic device comprising a processor coupled to a memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method of any one of claims 1 to 3.
6. A computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 3.
CN202310730230.2A 2023-06-20 2023-06-20 Video live broadcast transfer method, device, equipment and medium based on cloud architecture module Active CN116847113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310730230.2A CN116847113B (en) 2023-06-20 2023-06-20 Video live broadcast transfer method, device, equipment and medium based on cloud architecture module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310730230.2A CN116847113B (en) 2023-06-20 2023-06-20 Video live broadcast transfer method, device, equipment and medium based on cloud architecture module

Publications (2)

Publication Number Publication Date
CN116847113A CN116847113A (en) 2023-10-03
CN116847113B true CN116847113B (en) 2024-03-12

Family

ID=88162673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310730230.2A Active CN116847113B (en) 2023-06-20 2023-06-20 Video live broadcast transfer method, device, equipment and medium based on cloud architecture module

Country Status (1)

Country Link
CN (1) CN116847113B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
WO2017084467A1 (en) * 2015-11-18 2017-05-26 腾讯科技(深圳)有限公司 Method for processing video stream, device, and system
CN109218775A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 Recommend main broadcaster upper popular method, storage medium, electronic equipment and system
CN109982102A (en) * 2019-04-10 2019-07-05 广州华多网络科技有限公司 The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end
CN111478874A (en) * 2019-01-23 2020-07-31 鲁南制药集团股份有限公司 Picture live broadcast system based on cloud platform
CN111614968A (en) * 2020-05-11 2020-09-01 厦门潭宏信息科技有限公司 Live broadcast method, equipment and storage medium
CN113134231A (en) * 2021-05-11 2021-07-20 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and storage medium
CN113301357A (en) * 2020-07-27 2021-08-24 阿里巴巴集团控股有限公司 Live broadcast method and device and electronic equipment
WO2022095738A1 (en) * 2020-11-05 2022-05-12 北京字节跳动网络技术有限公司 Livestreaming data processing method and apparatus, electronic device, and storage medium
WO2023098030A1 (en) * 2021-12-01 2023-06-08 上海哔哩哔哩科技有限公司 Method and apparatus for determining click-farming of live streaming room

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
WO2017084467A1 (en) * 2015-11-18 2017-05-26 腾讯科技(深圳)有限公司 Method for processing video stream, device, and system
CN109218775A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 Recommend main broadcaster upper popular method, storage medium, electronic equipment and system
CN111478874A (en) * 2019-01-23 2020-07-31 鲁南制药集团股份有限公司 Picture live broadcast system based on cloud platform
CN109982102A (en) * 2019-04-10 2019-07-05 广州华多网络科技有限公司 The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end
CN111614968A (en) * 2020-05-11 2020-09-01 厦门潭宏信息科技有限公司 Live broadcast method, equipment and storage medium
CN113301357A (en) * 2020-07-27 2021-08-24 阿里巴巴集团控股有限公司 Live broadcast method and device and electronic equipment
WO2022095738A1 (en) * 2020-11-05 2022-05-12 北京字节跳动网络技术有限公司 Livestreaming data processing method and apparatus, electronic device, and storage medium
CN113134231A (en) * 2021-05-11 2021-07-20 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and storage medium
WO2023098030A1 (en) * 2021-12-01 2023-06-08 上海哔哩哔哩科技有限公司 Method and apparatus for determining click-farming of live streaming room

Also Published As

Publication number Publication date
CN116847113A (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN110222533B (en) Distributed data security application method and system and electronic equipment
EP3574965A1 (en) Method for realizing user matching and related device
CN108848037A (en) Service request processing method, device, computer equipment and storage medium
CN109492982B (en) Collaborative creation method and device based on blockchain and electronic equipment
CN111163130B (en) Network service system and data transmission method thereof
CN106649638B (en) Big data acquisition method
CN104579768A (en) Client upgrading method and device
CN111355723B (en) Single sign-on method, device, equipment and readable storage medium
CN109218341B (en) Load balancing method and device for monitoring server and server
US20170155653A1 (en) User-based data processing method and device
US20200257749A1 (en) Method and a device for friend recommendation
CN110007936B (en) Data processing method and device
CN105321129A (en) Order processing method and order processing system for food ordering system
CN110633900A (en) Virtual resource allocation method and device and electronic equipment
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
CN111901490A (en) Resource sharing method, device, computer device and storage medium
CN107634854B (en) Service data processing method and device
CN113852834A (en) Content display method, device, equipment and storage medium
CN116847113B (en) Video live broadcast transfer method, device, equipment and medium based on cloud architecture module
US8380593B1 (en) System, method, and computer program for dynamically altering a rating based on network conditions
CN114520830A (en) Message pushing method, device and system
US11755379B2 (en) Liaison system and method for cloud computing environment
CN107784548B (en) Order processing method and device
CN112801584A (en) Grouping-based order distribution method, server-side equipment and computer readable medium
CN111311102A (en) Resource ratio adjusting method, device, equipment and computer readable storage medium

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