CN113905246A - Method and device for realizing live broadcast room - Google Patents

Method and device for realizing live broadcast room Download PDF

Info

Publication number
CN113905246A
CN113905246A CN202111059844.XA CN202111059844A CN113905246A CN 113905246 A CN113905246 A CN 113905246A CN 202111059844 A CN202111059844 A CN 202111059844A CN 113905246 A CN113905246 A CN 113905246A
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
function
service
room
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111059844.XA
Other languages
Chinese (zh)
Other versions
CN113905246B (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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN202111059844.XA priority Critical patent/CN113905246B/en
Publication of CN113905246A publication Critical patent/CN113905246A/en
Application granted granted Critical
Publication of CN113905246B publication Critical patent/CN113905246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • 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
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/47815Electronic shopping
    • 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/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client

Abstract

The embodiment of the invention provides a live broadcast room realization method and a device, which can realize the aggregation of functions of a live broadcast room and realize a configured live broadcast room template by combining various live broadcast room functions with specified live broadcast demands from bottom to top into a live broadcast room template, wherein the live broadcast room is like a universal container, different live broadcast room templates can be used by the live broadcast room through the binding of the live broadcast room and the live broadcast room template, and the live broadcast room has stronger expansibility and usability under the background of frequent current micro-service prosperity and demand alternation and large service innovation degree.

Description

Method and device for realizing live broadcast room
Technical Field
The invention relates to the field of Internet live broadcast, in particular to a live broadcast room implementation method and device.
Background
The video live broadcast is a very popular business and technical scene at present, such as media live broadcast, e-commerce live broadcast, Taobao live broadcast, show live broadcast and game live broadcast, the number of people participating in a main broadcast end is rapidly increased, the daily life of audience ends and the number of people online at the same time and even the trade amount are frequently innovative, and more challenges to be solved are provided for the expansibility and usability of the technology. The common solution in the industry is to independently design and develop a live broadcast metadata structure for each live broadcast room, such as "media live broadcast room", "e-commerce live broadcast room", and so on. Aiming at each service type, such as media live broadcast, E-commerce live broadcast, show live broadcast and the like, an independent set of data and service is provided, so that service personnel can focus on a solution with a 'live broadcast room type' as a unit. Therefore, in the service and the technology, a media live broadcast team, an E-commerce live broadcast team, a Taobao live broadcast team, a show live broadcast team, a game live broadcast team and the like are independently generated, and the team design of the live broadcast room type division is followed. The method is divided according to the type of the live broadcast room, and is a solution of common design and service; in the current rapid innovation and development of services, scenes that functions of live broadcast rooms are crossed and new functions are difficult to define often appear, so that the ideal effect is difficult to obtain by taking the 'live broadcast room' as a dividing unit in the current design. For example, the media live broadcast room mainly adopts a main broadcast type which has strong media attributes such as a starry sight, a satellite sight of each place and a newspaper and magazine and political attributes, has high requirements on the reliability, the safety and the timeliness of the live broadcast, needs to support extremely high burst flow support (the highest million-level support), has high requirements on the positive energy of comments, and does not need functions such as appreciation, gift giving, beauty, filter, wheat connection and the like; the live television broadcasting room usually uses a live television broadcasting room as a blue book, and can support functions of red pack, gift delivery, beauty, filter, microphone connection and the like, but the requirements on the reliability, safety and timeliness of live broadcasting and the cost are uniformly considered, so the live television broadcasting room is inferior to the live television broadcasting in the aspects of media under the common conditions, and meanwhile, the sudden capacity and the upper limit are designed and the requirements of the live television broadcasting are not as good as the requirements of the live television broadcasting.
Realistic business requirements present significant challenges to such designs. Under the influence of new crown epidemic situation in 2021, huge difficulties are brought to offline operation, and the occupation ratio of live broadcast types of electric commerce to the whole live broadcast types is expanded when a plurality of merchants transfer to the online. At the moment, each large media is also pushed to live online in own live media room, so that the functional and usability problems caused by combination or intersection of multiple live media types such as live media and live E-commerce need to be solved simply.
In the process of implementing the invention, the applicant finds that at least the following problems exist in the prior art:
the combination or interleaving of multiple live room types leads to problems with poor live room functionality and usability.
Disclosure of Invention
The embodiment of the invention provides a method and a device for realizing a live broadcast room, which solve the problem of poor functionality and usability of the live broadcast room caused by combination or intersection of various live broadcast room types.
To achieve the above object, in one aspect, an embodiment of the present invention provides a live broadcast room implementing method, including:
according to the complete function requirement of a specific live broadcast room, selecting at least one subdivision function requirement matched with the complete function requirement from a preset live broadcast room function requirement library, wherein the preset live broadcast room function requirement library comprises all subdivision function requirements of various types of live broadcast rooms;
establishing a live broadcast room template corresponding to the specific live broadcast room according to at least one subdivision function requirement corresponding to the specific live broadcast room, wherein the live broadcast room template is used for recording configuration information of function services corresponding to the at least one subdivision function requirement;
running the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template;
sending live broadcast room data of the specific live broadcast room to a user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
On the other hand, an embodiment of the present invention provides a live broadcast room implementation apparatus, including: the requirement selection unit is used for selecting at least one subdivision function requirement matched with the complete function requirement from a preset live broadcast room function requirement library according to the complete function requirement of a specific live broadcast room, and the preset live broadcast room function requirement library comprises all subdivision function requirements of various types of live broadcast rooms;
the template creating unit is used for creating a live broadcast room template corresponding to the specific live broadcast room according to at least one subdivision function requirement corresponding to the specific live broadcast room, and the live broadcast room template is used for recording configuration information of function services corresponding to the at least one subdivision function requirement;
the operation unit is used for operating the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template;
a sending unit, configured to send live broadcast room data of the specific live broadcast room to a user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
The technical scheme has the following beneficial effects: the live broadcast room template is formed by combining various live broadcast room functions with specified live broadcast requirements from bottom to top, the aggregation of the functions of the live broadcast room is achieved, the configured live broadcast room template is realized, the live broadcast room is like a universal container, different live broadcast room templates can be used in the live broadcast room through the binding of the live broadcast room template and the live broadcast room template, and the live broadcast room template has stronger expansibility and usability under the background that the current micro-service is abundant and the requirements are frequently changed, and the service innovation degree is high. Furthermore, the whole function of the live broadcast room can be flexibly modified or the state of the function service of each live broadcast room in the live broadcast room can be flexibly modified by binding the live broadcast room template and modifying the configuration information of the function service of each live broadcast room in the live broadcast room template before and during operation; particularly, a more convenient setting method is provided for selectively releasing the functions of the specified part and releasing the functions of the specified part to the users of the specified part in the development process by modifying the gray strategy bound with the live broadcast room template. Furthermore, all live broadcast room data of the live broadcast room are returned uniformly through the aggregated live broadcast room data interface, so that the complexity of exchanging the live broadcast room data when the live broadcast room enters or is updated is reduced, the data exchange efficiency is improved, and the consumption of interface bandwidth is reduced. Furthermore, by detecting the function service of each live broadcast room, abnormal live broadcast room function service is found in time, the abnormal live broadcast room function service is degraded or the function service is found to be recovered to normal live broadcast room function service from an abnormal state in time, the function of the live broadcast room function service is recovered, and the effect of controlling the performance of the live broadcast room in real time is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an architecture of a live room in the prior art;
FIG. 2 is a functional block diagram of a prior art live telecast room;
FIG. 3 is a diagram of a functional component of a prior art media live room;
FIG. 4 is a diagram illustrating a relationship between live rooms and live room templates and functional services according to an embodiment of the present invention;
fig. 5 is a flow chart of a method for implementing a live broadcast room according to one embodiment of the present invention;
FIG. 6 is a diagram illustrating another relationship between live rooms and live room templates and function services according to one embodiment of the present invention;
FIG. 7 is a diagram of one embodiment of the present invention for returning live-air data via a live-air data interface;
FIG. 8 is another illustration of one embodiment of the invention returning live-air data through a live-air data interface;
FIG. 9 is a diagram illustrating a client traversing various functional services without using a live-air data interface in accordance with an embodiment of the present invention;
FIG. 10 is a diagram of a live room template with a binding of a gray policy according to one embodiment of the present invention;
FIG. 11 is a functional diagram of a live broadcast room downgrading or restoring according to a quality of service detection result according to an embodiment of the present invention;
FIG. 12 is a diagram of a live room template including a functional service status setting according to an embodiment of the invention;
fig. 13 is an architecture diagram of a live room implementation apparatus according to one embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a common solution in the industry is to design and develop a live-air metadata structure for each live-air room independently, such as "media live-air room", "e-commerce live-air room", and so on. For each service type, such as live media, live e-commerce, live show, etc., there is an independent set of data and services. As shown in fig. 2, live e-commerce is based on live show, plus a shopping cart function; as shown in fig. 3, the media live broadcast is an independent live broadcast function. Under the structure, the following business requirements need to be realized, and the individual media live broadcast has the live broadcast delivery function. In short, the individual media live broadcast needs to be provided with a shopping cart for live E-commerce for completing commodity selection, ordering and payment;
under the current architecture, the alternative scheme is as follows: the first scheme is as follows: based on a 'media live broadcast room', the shopping cart function is added; scheme II: on the basis of 'E-commerce live broadcast room', a media live broadcast function is added;
for such service requirements, neither the first solution nor the second solution can satisfy the service requirements elegantly without violating the "switching principle" (i.e. software design principle, open for expansion, closed for modification). The essential reason is that the granularity of model abstraction is too large to satisfy the combination, addition, deletion and modification of internal functions. As shown in fig. 4, the technical solution of the present invention is mainly the granularity of the live broadcast room model, and the live broadcast room is configured by combining the function services as the minimum unit into a live broadcast room template and combining the functions from bottom to top. When the service is adjusted or the requirement is suddenly needed, the required live broadcast room can be generated in time through the plugging and the adaptation of the function, and the service requirement is met.
On one hand, as shown in fig. 5, an embodiment of the present invention provides a live broadcast room implementation method, which is applied to a live broadcast room implementation apparatus, where the live broadcast room implementation apparatus may be any terminal or server with a computing function, and includes, but is not limited to, the following steps:
step S500, according to the complete function requirement of a specific live broadcast room, selecting at least one subdivision function requirement matched with the complete function requirement from a preset live broadcast room function requirement library, wherein the preset live broadcast room function requirement library comprises all subdivision function requirements of various types of live broadcast rooms;
step S501, a live broadcast room template corresponding to the specific live broadcast room is established according to at least one subdivision function requirement corresponding to the specific live broadcast room, and the live broadcast room template is used for recording configuration information of function services corresponding to the at least one subdivision function requirement;
step S502, operating the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template;
step S503, sending the live broadcast room data of the specific live broadcast room to the user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
In some embodiments, a preset live broadcast room requirement library is defined in advance according to various requirement scenes, the preset live broadcast room requirement library comprises all subdivision function requirements of various types of live broadcast rooms, and respective corresponding function services are respectively established aiming at the various subdivision function requirements in the preset live broadcast room requirement library; for example, the types of the live broadcast rooms include but are not limited to a media live broadcast room and an e-commerce live broadcast room, the subdivision functions required by the media live broadcast room include but are not limited to a comment function, a first class cabin function and the like, the subdivision functions required by the e-commerce live broadcast room include but are not limited to a shopping cart function, a red envelope function and the like, various subdivision function requirements are obtained through analysis of various required scenes and various types of the live broadcast room, a live broadcast room requirement library is constructed according to actual requirements, and corresponding function services are established for the subdivision function requirements in a preset live broadcast room requirement library; after the live broadcast room is created, corresponding function service can be executed to provide corresponding live broadcast room functions for the created live broadcast room. For any specific live broadcast room, according to the complete function requirement of the specific live broadcast room, selecting at least one subdivision function requirement corresponding to the complete function requirement from a preset function requirement library, and establishing a live broadcast room template corresponding to the specific live broadcast room according to the obtained at least one subdivision function requirement; in some embodiments, the live broadcast room template may record configuration information of functional services corresponding to all segment functional requirements in a preset live broadcast room requirement library, and identify the functional services used by a specific live broadcast room in the configuration information of each functional service according to at least one segment functional requirement corresponding to the specific live broadcast room; in some embodiments, the live room template records configuration information of the functional service corresponding to at least one segment functional requirement corresponding to the particular live room. The configuration information records other related information including but not limited to a functional service identifier capable of uniquely identifying a corresponding functional service and a functional service state corresponding to the corresponding functional service, and the functional service identifier may be information including but not limited to a functional service ID, a storage path of the functional service, a name of the functional service, and the like; the functional service status may include, but is not limited to, on, off, etc. status of the corresponding functional service. And running the corresponding functional service of the specific live broadcast room according to the configuration information recorded by the live broadcast room template and sending the data generated by each functional service to the user of the specific live broadcast room. The user may include, but is not limited to, a user terminal or client. The specific live broadcast room and the general live broadcast room in fig. 6 refer to any specific live broadcast room, any specific live broadcast room can be bound with one live broadcast room template according to specific conditions, and when the specific conditions change, the live broadcast room can be bound with another live broadcast room template again according to actual needs. Configuration information in the live broadcast room template can be modified according to specific conditions, and the functional service state of the functional service corresponding to each subdivision functional requirement is adjusted according to the specific conditions, for example, some functional services are temporarily closed. As an embodiment, through the above steps, a binding relationship between the functional service and the live broadcast room template is established, and a corresponding relationship between a specific live broadcast room and the live broadcast room template is also established, in a specific implementation, the content of the live broadcast room template may be stored in a specified file, or the content of the live broadcast room template may be stored in a configuration of the live broadcast room, and the binding relationship between the live broadcast room template and the live broadcast room may also be stored through a key value pair in a file or a database. As shown in fig. 6, the live room template includes 1 or even a plurality of live room functions (i.e., function services), and the live room template and the live room functions (i.e., function services) are in a one-to-many relationship; a live room (i.e., a universal live room) corresponds to one and only one live room template at a time, and the live room template describes a set of live room functions that the live room can support. Live room data may include, but is not limited to, various configuration data associated with the live room and operational data generated during operation of the live room; for example, in some embodiments, various configuration data associated with a live room may include, but is not limited to, configuration information for various functional services recorded in a live room template corresponding to a particular live room; the operation data generated in the operation process of the live broadcast room can include, but is not limited to, the live broadcast data of the corresponding subdivision function generated after the execution of each function service. And operating the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template, for example, the configuration information of each functional service in the live broadcast room template can record whether the corresponding functional service is started or not and whether the corresponding functional service is open to a specified user or not, so that the operation of each functional service is limited. The live broadcast data of the specific live broadcast room is sent to the user of the specific live broadcast room, for example, the live broadcast data of the specific live broadcast room can be sent to the user of the specific live broadcast room according to a request from the user, and when the live broadcast data of the specific live broadcast room changes, the live broadcast data of the specific live broadcast room can be actively pushed to the user and can be selected according to specific needs.
The embodiment of the invention has the following technical effects: the function services are used as minimum units to form a live broadcast room template through combination, the live broadcast room is configured through function combination from bottom to top, and when business adjustment or sudden demand occurs, the required live broadcast room can be timely generated through plugging and adaptation of the function services, and business demands are quickly met.
Further, the configuration information includes a functional service status; the live room data includes: the live broadcast room template records the function service state of each function service;
the sending of live broadcast room data of the specific live broadcast room to the user of the specific live broadcast room comprises
Sending the functional service state of each functional service recorded by the live broadcast room template to the user through a live broadcast room data interface;
and the live broadcast room data interface is established in advance according to the configuration information of each functional service recorded by the live broadcast room template.
In some embodiments, the data interface of the live broadcast room template (i.e. the live broadcast room data interface) mainly undertakes data of the user accessing the live broadcast room template, such as configuration information of each functional service, including but not limited to information such as a functional service status of each functional service, and the live broadcast room data interface may also send other data, such as configuration information of each functional service and subdivided functional live broadcast data, by using the remaining bandwidth according to specific needs. The live broadcast room data interface may be created in advance according to the configuration information of each functional service recorded by the live broadcast room template, and may include, but is not limited to, one or a set of APIs (application programming interfaces), and may define a protocol for transmitting data in the live broadcast room data interface in advance according to the configuration information of each functional service recorded by the live broadcast room template. The user can obtain the function service state of each function service through the live broadcast room data interface, and judge the starting mark of the corresponding function service in each function service state, if the corresponding starting mark represents starting, the user requests the specific configuration information of the corresponding function service and the fine-divided function live broadcast data of the function service, if the corresponding starting mark represents stopping, the user does not need to request the specific configuration information of the corresponding function service and the fine-divided function live broadcast data of the function service. In some embodiments, as shown in fig. 7, a user obtains configuration information of each functional service recorded in a live broadcast room template, and the user obtains a functional service state of each functional service from the configuration information; in fig. 7, function 1 and function 2 are enabled, function 3 is not enabled, and the user only obtains the live broadcast data of the subdivision functions of function 1 and function 2 through the template aggregation data interface.
The embodiment of the invention has the following technical effects: the method has the advantages that the functional service state in the configuration information of each functional service in the live broadcast room template is sent to a client through the live broadcast room data interface, so that a user can clearly know the functional service required to be requested, and the situation that the user requests all functional services indiscriminately for the purpose of being compatible with the change of the functional service is avoided.
Further, the live room data further includes: the live broadcast room template records the subdivision function live broadcast data and other configuration information of each function service;
the sending of the live broadcast room data of the specific live broadcast room to the user of the specific live broadcast room further comprises:
acquiring subdivided function live broadcast data generated by each function service after running;
and sending the fine-divided function live broadcast data and other configuration information of each function service meeting the specified limiting conditions to the user through the live broadcast data interface.
In some embodiments, the sub-divided function live broadcast data and other configuration information of each function service meeting the specified restriction condition comprise sub-divided function live broadcast data and other configuration information of each function service less than or equal to the specified byte number; recording configuration information corresponding to each functional service in a live broadcast room template, wherein the configuration information at least comprises a functional service state, and the functional service state at least comprises an identifier for recording whether the functional service is started or not; the other configuration information of each functional service may include, but is not limited to, all or part of the configuration information of the corresponding functional service. In order to control the request number of requesting data to the live broadcast room in a centralized way when a user logs in the live broadcast room, the configuration information of each function service and the live broadcast data with subdivided functions are sent in one time as much as possible; however, since the live broadcast room may use a large number of functional services, and the configuration information of some functional services or the number of bytes of the subdivided functional live broadcast data is relatively large, and cannot be sent in one time, it is necessary to limit the data amount sent uniformly through the live broadcast room data interface, and send the subdivided functional live broadcast data smaller than or equal to the specified number of bytes and the configuration information of each functional service smaller than or equal to the specified number of bytes in the live broadcast room data interface uniformly. According to specific conditions, the functional service state of each functional service is sent through a data interface of a live broadcast room, and then subdivided functional live broadcast data with the number of bytes smaller than or equal to the specified number of bytes and configuration information of each functional service with the number of bytes smaller than or equal to the specified number of bytes are sent through the data interface of the live broadcast room; and the functional service state of each functional service, the subdivided functional live broadcast data with the number of bytes less than or equal to the specified number of bytes and the configuration information of each functional service with the number of bytes less than or equal to the specified number of bytes can be sent to the user through the live broadcast data interface through one-time sending according to specific conditions. By utilizing the template interface of the live broadcast room, the transmitted data can be aggregated to the maximum extent and transmitted through one interface, so that the amplification ratio of the interface is greatly reduced, the request times are obviously reduced, and the bandwidth utilization efficiency is improved.
In some embodiments, the segment function live broadcast data and other configuration information of each function service meeting the specified restriction condition include segment function live broadcast data and other configuration information of a live broadcast room core function service, where the live broadcast room core function service is a function service corresponding to an indispensable segment function requirement specified in the complete requirement of the specific live broadcast room. In some embodiments, when the data volume sent each time is limited, the function service state of each function service, the configuration information of the core function service and the subdivided function live broadcast data corresponding to the core function service can be sent in the live broadcast data interface; the functional service states of the functional services can be sent independently, and can also be sent together with the configuration information of the core functional service and the sub-divided functional live broadcast data corresponding to the core functional service in the same sending process. In this embodiment, the sub-divided function live broadcast data of each core function service smaller than or equal to the specified byte number and the configuration information of each core function service smaller than or equal to the specified byte number are sent to the user through the live broadcast data interface, and the sub-divided function live broadcast data of each core function service larger than the specified byte number and the configuration information are sent to the user through the private interface of the corresponding core function service. By utilizing the template interface of the live broadcast room, the transmitted data can be aggregated to the maximum extent and transmitted through one interface, so that the amplification ratio of the interface is greatly reduced, the request times are obviously reduced, and the bandwidth utilization efficiency is improved.
Further, according to the functional service state in the configuration information of each functional service recorded by the live broadcast room template, judging whether each functional service is started, if the functional service is judged to be started and the configuration information of the functional service and the subdivided functional live broadcast data of the functional service are less than or equal to the specified byte number, sending the configuration information of the functional service and the subdivided functional live broadcast data of the functional service to a user, and if the functional service is judged not to be started, not sending the configuration information of the functional service and the subdivided functional live broadcast data to the user; or if the functional service is judged to be enabled and the functional service is the core functional service, taking the configuration information and the segmentation function live broadcast data of the core functional service as the live broadcast data, and if the functional service is judged not to be enabled, not sending the configuration information and the segmentation function live broadcast data of the functional service to the user. In some embodiments, a communication protocol of the live broadcast room data interface may be defined according to specific situations, for example, the functional service status in the configuration information of each functional service recorded by the live broadcast room template may be sent to the user through the live broadcast room data interface in a single user request, or may be sent to the user in a single sending together with the configuration information of each functional service less than or equal to the specified number of bytes and the subdivided functional live broadcast data of each functional service, or with the configuration information of the core functional service and the subdivided functional live broadcast data. And sending the configuration information of each functional service with the byte number larger than the specified byte number and the subdivided functional live broadcast data of each functional service to a user through a private interface provided by each functional service.
In some embodiments, according to the configuration information of each functional service recorded by the live broadcast room template, information such as the functional service related to the specific live broadcast room and the service state of each functional service can be obtained, and a live broadcast data interface (i.e., a live broadcast room template interface, i.e., a data interface of a live broadcast room template) can be created in advance according to the configuration information, and the live broadcast data interface aggregates all pieces of subdivided functional live broadcast data, including but not limited to each functional service corresponding to the specific live broadcast room, that need to be sent to the user terminal or the client. For example, the aggregated data protocol may be defined according to configuration information of the functional service involved in the specific live broadcast room and the subdivided functional live broadcast data; for another example, when the service status of a certain functional service is known to be off from the configuration information, the sub-divided functional live broadcast data corresponding to the functional service in the off status may not be transmitted in the live broadcast data interface, thereby reducing the data transmission amount. The live broadcast room template interface, which will be used as an ingress data interface for a client to request when entering the live broadcast room, needs to be able to withstand a large instantaneous flow, which is a necessary condition for the capacity design of the technology. The live broadcast room template interface is an aggregated data interface, and live broadcast data of the live broadcast room functional service configuration and the subdivision function of the functional service required by the live broadcast room template are aggregated at the interface to return the data under a proper limiting condition (namely, a specified limiting condition). The 'proper' limiting condition mainly considers the following aspects, namely the data size, a template data interface of a live broadcast room, the data size of the live broadcast room needs to be controlled, and the network pressure of downlink data under high concurrent flow needs to be considered; secondly, considering that if all the live broadcast room functions cannot be covered, the switch configuration of the functions needs to be supported preferentially (a configuration item indicating whether the live broadcast room functions exist or not), then considering the live broadcast room function configuration of the recall core, aiming at the long-tailed live broadcast room function service or the configuration item is relatively long, the data configuration of the live broadcast room functions can be requested secondarily, namely, the configuration information of the function service which does not meet the specified limit condition and the subdivided function live broadcast data of the function service can be requested through the private interface of the corresponding function service. According to actual needs, the configuration information of the functional service meeting the specified limiting condition requirements and the fine-divided functional live broadcast data of the functional service are packaged together and sent to a user in one request, the configuration information of the functional service meeting the specified limiting condition requirements can be sent to the user through a live broadcast data interface, and the user can obtain fine-divided functional live broadcast data of the interested functional service in the next request through a live broadcast data interface in a targeted mode according to the received configuration information.
In some embodiments, as shown in fig. 8, only live room functions whose states are on are collected according to the states of the live room functions recorded in the live room template through a live room template interface (i.e., a template data aggregation interface, i.e., a live room data interface), so as to reduce the data volume and avoid traversing each live room function individually, thereby significantly reducing the bandwidth and data traffic required in communication.
As shown in fig. 9, if there is no live-room template interface, the client is limited by the publishing cost, and the client is designed to ensure that each live-room function is likely to be used, and it is a common practice to traverse the live-room function service interface. Although the method can ensure the flexibility of function publishing, the method is simpler and bolder, and the interface access coefficient to the server is increased. For example, when the live broadcast room comprises 10 used live broadcast room services and 5 unused live broadcast room functions, in the above mode, when entering the live broadcast room to access the data interface of the live broadcast room, the requests are respectively requested to the above 15 interfaces, and the request amplification is 15 times; due to the application of the micro-service architecture design concept, the service granularity is finer, and the number of services which can be called by one live broadcast service is usually 30 functional services; the interfaces are required to bear high peak value concurrent large flow when entering a live broadcast room, service availability risks are improved, and service cost is increased.
The embodiment of the invention has the following technical effects: by utilizing a template interface of a live broadcast room, returned data can be aggregated to the maximum extent and returned through one interface; the amplification ratio of the interface is greatly reduced, the number of requests is obviously reduced, and the bandwidth utilization efficiency is improved.
Further, still include: binding a gray strategy created according to the gray requirement of the specific live broadcast room with the live broadcast room template;
and selecting part or all of the functional services in the live broadcast room template according to the gray level strategy to be only opened to the white list users specified in the gray level strategy, or selecting part or all of the functional services in the live broadcast room template not to be opened to the black list users specified in the gray level strategy.
In the prior art, when there is no templated configuration, live room function grays are typically coupled in function logic, which can present two problems. On one hand, the gray level logic is coupled with the logic of the live broadcast room, so that the modification cost is increased, and the online problem is easily caused; on the other hand, when the gray scale relates to a plurality of live room services, the cost of the linkage modification is high.
In some embodiments, as shown in fig. 10, by binding different combinations of function grayscale policies for different live broadcast room templates, the relationship between the function recovery degree policy (i.e., grayscale policy) and the live broadcast room template at the same time is one-to-one, so that when the live broadcast room template is replaced, the grayscale policy bound to the template is also changed; the cost of manual participation is reduced, and the method is simple and efficient. The live broadcast room template can be bound with different function gray level strategies at different time, and the function gray level strategies bound with the live broadcast room template can be changed according to specific situation requirements.
Through the gray scale strategy, a specific live broadcast room can be opened to a user appointed by a white list through the white list, the specific live broadcast room can be set to be forbidden to be opened to the user appointed by the black list through the black list, some appointed function services in the specific live broadcast room can be appointed to be forbidden through the gray scale strategy, and other appointed function services can be started. The blacklist and the white list can be combined with the specifically designated functional service to realize that a designated part of the functional service is opened for the user in the white list, and/or the same part or another designated part of the functional service is forbidden to be opened for the user in the black list.
The embodiment of the invention has the following technical effects: the gray strategy is bound with the live broadcast room template, when the live broadcast room template is replaced in the live broadcast room, the gray strategy is correspondingly changed, the labor participation cost caused by controlling the function gray of the live broadcast room is reduced, the code modification is avoided, the operation is safe, simple and efficient, the management of the function gray is simply and efficiently carried out by taking the live broadcast room template as a unit, and when the live broadcast room template needs to be immediately rolled back, only the original live broadcast room template needs to be replaced.
Further, the configuration information includes a functional service status; the method further comprises the following steps: when the function service corresponding to at least one subdivision function requirement corresponding to the specific live broadcast room is abnormal, setting the function service state in the configuration information of the corresponding function service in the live broadcast room template to be in degradation;
and when the functional service corresponding to at least one subdivision functional requirement corresponding to the specific live broadcast room is recovering from the abnormality, setting the functional service state in the configuration information of the corresponding functional service in the live broadcast room template to be recovering.
In some embodiments, when there is no configuration information of the live broadcast room template, if the function service that the live broadcast room depends on is abnormal, because the client is in direct communication with the function services of the live broadcast rooms, the function service of the live broadcast room can only depend on the overload protection of the client, and continues to bear the impact of the first flood peak flow; as shown in fig. 11, when there exists a live broadcast room template, since it is located upstream of a plurality of live broadcast room functional services, the capability of the downstream live broadcast room functional services (i.e. functional services) can be sensed in time through service quality detection, and if the abnormality of the functional services exceeds a threshold, the functional services can be triggered to be fused by configuring the functional service state in the configuration information of the corresponding functional services in the live broadcast room template, and degraded data of the client is returned to protect the downstream live broadcast room services; if the functional service which is abnormally fused is recovered, the live broadcast room service can be recovered by configuring the configuration information of the corresponding live broadcast room service (namely the functional service) in the live broadcast room template, and the client is informed to request for recovering the call of the live broadcast room service in time.
The embodiment of the invention has the following technical effects: through the detection of the functions (namely, functional services) of each live broadcast room, abnormal live broadcast room functions are found in time, degraded or the functions are found in time to restore the normal previous abnormal live broadcast room functions, the fine-grained control of the live broadcast room performance is realized for restoring the functions, the real-time control of the live broadcast room performance is achieved, the live broadcast room is made to operate more stably, and the problem that the whole live broadcast room is broken down due to the abnormal individual functional services is solved.
Further, still include: and in the process of operating the corresponding functional service of the specific live broadcast room, if the configuration information recorded in the live broadcast room template is modified, notifying a user of the specific live broadcast room to re-pull the data of the live broadcast room through a message mechanism.
In some embodiments, as shown in fig. 12, a live room template contains configurations of live room services (i.e., functional services), and also supports dynamic modification of the live room service configuration (i.e., configuration information of the functional services) of one or more items while the live room is running. The mode of operation of the function 2 can be set, for example, by adjusting parameters in the service state of the function in the function configuration 2. And through a message mechanism, the client is informed to pull the live broadcast room service data again, dynamic data loading is realized, and the service adaptability is improved.
The embodiment of the invention has the following technical effects: by narrowing the composition granularity of the live broadcast rooms to each live broadcast room function, the live broadcast room functions and parameters thereof (such as layout, style, gray scale and state (such as on, off, in degradation and in recovery) required by the live broadcast rooms are recorded in the configuration information of the live broadcast room template corresponding to the live broadcast rooms, so that the functions required by the live broadcast rooms can be obtained by using smaller granularity integration, and the combination and cross functions of various live broadcast rooms can be configured more flexibly. Furthermore, the live broadcast room function of the specified live broadcast room can be modified during operation by configuring the live broadcast room template of the specified live broadcast room through the background configuration page during operation, so that the live broadcast room can be flexibly and efficiently customized.
On the other hand, as shown in fig. 13, an embodiment of the present invention provides a live broadcast room implementing apparatus, including: a requirement selecting unit 130, configured to select, according to a complete function requirement of a specific live broadcast room, at least one segment function requirement matching the complete function requirement from a preset live broadcast room function requirement library, where the preset live broadcast room function requirement library includes all segment function requirements of various types of live broadcast rooms;
a template creating unit 131, configured to create a live broadcast room template corresponding to the specific live broadcast room according to at least one segment function requirement corresponding to the specific live broadcast room, where the live broadcast room template is used to record configuration information of a function service corresponding to each of the at least one segment function requirement;
an operation unit 132, configured to operate a functional service corresponding to the specific live broadcast room according to configuration information of each functional service recorded by the live broadcast room template;
a sending unit 133, configured to send live broadcast room data of the specific live broadcast room to a user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
Further, the configuration information includes a functional service status; the live room data includes: the live broadcast room template records the function service state of each function service;
the sending unit 133 is specifically configured to send, to the user through a live broadcast data interface, the function service state of each function service recorded by the live broadcast template;
and the live broadcast room data interface is established in advance according to the configuration information of each functional service recorded by the live broadcast room template.
Further, the live room data further includes: the live broadcast room template records the subdivision function live broadcast data and other configuration information of each function service;
the sending unit 133 is further configured to obtain subdivided function live broadcast data generated after each function service is operated; and sending the fine-divided function live broadcast data and other configuration information of each function service meeting the specified limiting conditions to the user through the live broadcast data interface.
Further, the apparatus further comprises: the gray level binding unit is used for binding a gray level strategy created according to the gray level requirement of the specific live broadcast room with the live broadcast room template;
and the gray scale execution unit is used for selecting part or all of the functional services in the live broadcast room template according to the gray scale strategy to be only opened to the white list users specified in the gray scale strategy, or selecting part or all of the functional services in the live broadcast room template not to be opened to the black list users specified in the gray scale strategy.
Further, the apparatus further comprises: a degradation unit, configured to set a functional service state in configuration information of a corresponding functional service in the live broadcast room template to be in degradation when a functional service corresponding to each of at least one segment functional requirement corresponding to the specific live broadcast room is abnormal;
and the recovery unit is used for setting the functional service state in the configuration information of the corresponding functional service in the live broadcast room template to be recovered when the functional service corresponding to at least one subdivision functional requirement corresponding to the specific live broadcast room is recovered from the abnormality.
Further, still include: and the configuration updating unit is used for notifying a user of the specific live broadcast room to pull the data of the live broadcast room again through a message mechanism if the configuration information recorded in the live broadcast room template is modified in the process of operating the corresponding functional service of the specific live broadcast room.
A direct broadcasting room templating apparatus provided in an embodiment of the present invention is a device corresponding to the direct broadcasting room templating method, and a person skilled in the art can understand the direct broadcasting room templating apparatus provided in the embodiment of the present invention according to an embodiment of the direct broadcasting room templating method without any objection, and will not be described herein again.
The above technical solutions of the embodiments of the present invention are described in detail below with reference to specific application examples, and reference may be made to the foregoing related descriptions for technical details that are not described in the implementation process.
Introduction of the prior art: the video live broadcast is a very popular business and technical scene at present, such as media live broadcast, e-commerce live broadcast, Taobao live broadcast, show live broadcast and game live broadcast, the number of people participating in a main broadcast end is rapidly increased, the daily life of audience ends and the number of people online at the same time and even the trade amount are frequently innovative, and more challenges to be solved are provided for the expansibility and usability of the technology. The common solution in the industry is to design and develop a live broadcast metadata structure for each live broadcast, for example, as "media live broadcast", "e-commerce live broadcast" in fig. 1. Aiming at each service type, such as media live broadcast, E-commerce live broadcast, show live broadcast and the like, an independent set of data and service is provided, so that service personnel can focus on a solution with a 'live broadcast room type' as a unit. Therefore, in the service and the technology, a media live broadcast team, an E-commerce live broadcast team, a Taobao live broadcast team, a show live broadcast team, a game live broadcast team and the like are independently generated, and the team design of the live broadcast room type division is followed.
After analyzing the prior art, the inventor finds the disadvantages of the prior art as follows: the method is divided according to the type of the live broadcast room, and is a solution of common design and service; in the current rapid innovation and development of services, scenes that functions of live broadcast rooms are crossed and new functions are difficult to define often appear, so that the ideal effect is difficult to obtain by taking the 'live broadcast room' as a dividing unit in the current design. For example, the media live broadcast room mainly adopts a main broadcast type which has strong media attributes such as a starry sight, a satellite sight of each place and a newspaper and magazine and political attributes, has high requirements on the reliability, the safety and the timeliness of the live broadcast, needs to support extremely high burst flow support, can support a million levels at most, has high requirements on the positive energy of comments, and does not need functions such as appreciation, gift giving, beauty, filter, wheat connection and the like; the live television broadcasting room usually uses a live television broadcasting room as a blue book, and can support functions of red pack, gift delivery, beauty, filter, microphone connection and the like, but the requirements on the reliability, safety and timeliness of live broadcasting and the cost are uniformly considered, so the live television broadcasting room is inferior to the live television broadcasting in the aspects of media under the common conditions, and meanwhile, the sudden capacity and the upper limit are designed and the requirements of the live television broadcasting are not as good as the requirements of the live television broadcasting. Realistic business requirements present significant challenges to such designs. When the online operation environment is deteriorated due to factors such as cost, environment, policy, society and the like, the live broadcast type of the E-commerce is expanded in the whole live broadcast type on the line switching of many merchants. At the moment, each large media is also pushed to live online in own live media room, so that the functional and usability problems caused by combination or intersection of multiple live media types such as live media and live E-commerce need to be solved simply. As shown in fig. 2, live e-commerce is based on live show, plus a shopping cart function; as shown in fig. 3, the media live broadcast is an independent live broadcast function. Under the structure, the following business requirements need to be realized, and the individual media live broadcast has the live broadcast delivery function. In short, the individual media live broadcast needs to have functions of selecting commodities, ordering, paying and the like which are supported by shopping carts of live E-commerce.
Under the current architecture, the alternative scheme is as follows: the first scheme is as follows: based on a 'media live broadcast room', the shopping cart function is added; scheme II: based on 'E-commerce live broadcast room', the media live broadcast function is added. For such service requirements, neither the first solution nor the second solution can satisfy the service requirements elegantly without violating the "switching principle" (i.e. software design principle, open for expansion, closed for modification). The essential reason is that the granularity of model abstraction is too large to satisfy the combination, addition, deletion and modification of internal functions.
Through the analysis, the inventor proposes the following technical scheme:
as shown in fig. 4, in the embodiment of the present invention, the live broadcast room is configured by combining the live broadcast room templates and the bottom-up function combinations by using the function services as the minimum unit through the granularity of the live broadcast room model. When the service is adjusted or the requirement is suddenly needed, the required live broadcast room can be generated in time through the plugging and the adaptation of the function, and the service requirement is met.
Detailed description of embodiments of the invention:
establishing a binding relation of 'live broadcast room function-live broadcast room template-live broadcast room': 1) live room function is a function service: a summary of the visual functions for the anchor and viewer sides within the live room includes, for example and without limitation, a comment function, a present function, an first class (i.e., viewer side ranking) function, a live room popularity function, a live room corner marking function, a shopping cart function, a live room display definition function, a sidebar function, a bottom bar function, and the like. 2) Template of the live broadcast room: and (3) the mode configuration of the functional service, namely configuring the required functional service and corresponding configuration information in a live broadcast room template according to the requirements of operators and product personnel. 3) Live room structure: the live broadcast data structure is a live broadcast data structure when a server program runs, and live broadcast data is notified to a client through a downlink interface. 4) Live room type: the mark live broadcast room is specifically applied to which scene, such as live e-commerce and live Taobao for shopping consumption types.
The live broadcast room template comprises 1 or even a plurality of live broadcast room functions, and the live broadcast room template and the live broadcast room functions are in one-to-many relation; the live broadcast room structure comprises one and only one live broadcast room template at the same time and describes a live broadcast room function set which can be supported by the live broadcast room structure, and the live broadcast room structure and the live broadcast room template are in one-to-one relation; the type of the live broadcast room is to display and mark the application scene of the live broadcast room.
The data interface of the live broadcast room template is the live broadcast room data interface: the client side is mainly responsible for accessing the live broadcast room template; the live broadcast room data interface is a high concurrent large flow interface, and the live broadcast room template interface, i.e., the live broadcast room data interface, can be used as an entrance data interface requested by a viewer end, i.e., a client end, i.e., a user when entering the live broadcast room, and needs to have the capability of withstanding the instantaneous large flow, which is a necessary condition for the technical capacity design. Live broadcast room functional configuration commonly used for aggregating data: firstly, the live broadcast room template interface is an aggregated data interface, the live broadcast room functions required by the template are configured, and data return is performed on the interface through aggregation under a proper limiting condition. The 'proper' limiting condition mainly considers the following aspects, namely the data size, a template data interface of a live broadcast room, the data size of the live broadcast room needs to be controlled, and the network pressure of downlink data under high concurrent flow needs to be considered; secondly, considering that if all live broadcast room functions cannot be covered, the switch configuration of the functions needs to be supported preferentially (the configuration item indicating whether the live broadcast room functions exist or not), and then considering the live broadcast room function configuration of the recall core, and aiming at the fact that the live broadcast room functions or the configuration items of the long tail are relatively long, the data configuration of the live broadcast room functions can be required to be requested secondarily. Without a templated configuration, limited by publishing cost constraints, the client design typically traverses the live-room function service interface to ensure that each live-room function is likely to be used, as shown in fig. 9. Although the method can ensure the flexibility of function publishing, the method is simpler and bolder, and the interface access coefficient to the server is increased. For example, when the live broadcast room comprises 10 used live broadcast room services and 5 unused live broadcast room functions, in the above mode, when entering the live broadcast room to access the data interface of the live broadcast room, the requests are respectively requested to the above 15 interfaces, and the request amplification is 15 times; due to the application of the micro-service architecture design concept, the service granularity is finer, and the number of services which can be called by one live broadcast service is usually 30 functional services; the interfaces are required to bear high peak value concurrent large flow when entering a live broadcast room, service availability risks are improved, and service cost is increased. As shown in fig. 8, by using the live broadcast room template interface, the returned data can be aggregated to the maximum extent and returned through one interface; the amplification ratio of the interface is greatly reduced.
And service expansibility support in the aspect of function gray level: in the prior art, when there is no templated configuration, live room function grays are typically coupled in function logic, which can present two problems. On one hand, the gray level logic is coupled with the logic of the live broadcast room, so that the modification cost is increased, and the online problem is easily caused; on the other hand, when the gray scale relates to a plurality of live room services, the cost of the linkage modification is high. In this embodiment, as shown in fig. 10, the live broadcast room template interface is an interface for data aggregation, and different combinations of function grayscale strategies can be bound to different templates, and the relationship between the function grayscale strategies and the live broadcast room template is one-to-one; the binding method includes, but is not limited to, directly storing the functional gray-scale strategy in the live broadcast room template, or establishing the binding relationship between the functional gray-scale strategy and the live broadcast room template by storing the corresponding relationship between the gray-scale strategy and the live broadcast room template in a file or a database. Therefore, when the template of the live broadcast room is replaced, the gray strategy bound with the template is changed; the cost of manual participation is reduced, and the method is simple and efficient.
Service availability support in terms of service degradation and service restoration: when no template configuration exists, if the services depending on the live broadcast rooms are abnormal, the live broadcast room services can only depend on the overload protection of the clients because the clients are in direct communication with the live broadcast rooms, and the clients continue to bear the impact of the first flood peak flow; when the templated service exists, the service capability of a downstream live broadcast room can be sensed in time through service quality detection at the upstream of the services of a plurality of live broadcast rooms, if the service abnormality exceeds a threshold value, the live broadcast room service fusing can be triggered, the client degraded data can be returned, and the services of the downstream live broadcast room can be protected; if the service is recovered, the client can be informed of the request in time to recover the call of the live broadcast service. As shown in fig. 11, when it is detected that the function 3 (i.e., the third functional service) is abnormal, the functional service status of the functional configuration 3 of the function 3 is set to be in degradation. When it is detected that the function 4 (i.e., the fourth functional service) is restored to normal from the abnormality, the functional service state of the functional configuration capable 4 of the function 4 is set to be in restoration.
The dynamic configuration adjustment during the operation is supported, and the service expansibility capability is improved: a live room template contains configuration information for live room services, and also supports dynamic modification of the live room service configuration or configurations while the live room is running. And through a message mechanism, the client is informed to pull the live broadcast room service data again, dynamic data loading is realized, and the service adaptability is improved.
The embodiment of the invention has the following technical effects: in the prior art, a top-down thought is mainly adopted, a service scene is defined firstly, the service scene is embodied in a customized manner through a live broadcast room type, and then functional service is received; the embodiment of the invention adopts a bottom-up thought, and realizes the configured live broadcast room template through the aggregation of the functions of the live broadcast room, and the live broadcast room is like a universal container and can use different live broadcast room templates. Under the background that the prior micro-service is prosperous and has more frequent requirements and great service innovation degree, the method has stronger expansibility and usability.
It should be understood that the specific order or hierarchy of steps in the processes disclosed is an example of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged without departing from the scope of the present disclosure. The accompanying method claims present elements of the various steps in a sample order, and are not intended to be limited to the specific order or hierarchy presented.
In the foregoing detailed description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments of the subject matter require more features than are expressly recited in each claim. Rather, as the following claims reflect, invention lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. To those skilled in the art; various modifications to these embodiments will be readily apparent, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
What has been described above includes examples of one or more embodiments. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the aforementioned embodiments, but one of ordinary skill in the art may recognize that many further combinations and permutations of various embodiments are possible. Accordingly, the embodiments described herein are intended to embrace all such alterations, modifications and variations that fall within the scope of the appended claims. Furthermore, to the extent that the term "includes" is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term "comprising" as "comprising" is interpreted when employed as a transitional word in a claim. Furthermore, any use of the term "or" in the specification of the claims is intended to mean a "non-exclusive or".
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The various illustrative logical blocks, or elements, described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A live broadcast room implementation method is characterized by comprising the following steps:
according to the complete function requirement of a specific live broadcast room, selecting at least one subdivision function requirement matched with the complete function requirement from a preset live broadcast room function requirement library, wherein the preset live broadcast room function requirement library comprises all subdivision function requirements of various types of live broadcast rooms;
establishing a live broadcast room template corresponding to the specific live broadcast room according to at least one subdivision function requirement corresponding to the specific live broadcast room, wherein the live broadcast room template is used for recording configuration information of function services corresponding to the at least one subdivision function requirement;
running the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template;
sending live broadcast room data of the specific live broadcast room to a user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
2. A live room implementation method as claimed in claim 1 wherein the configuration information comprises a functional service status; the live room data includes: the live broadcast room template records the function service state of each function service;
the sending live broadcast room data of the specific live broadcast room to the user of the specific live broadcast room comprises:
sending the functional service state of each functional service recorded by the live broadcast room template to the user through a live broadcast room data interface;
and the live broadcast room data interface is established in advance according to the configuration information of each functional service recorded by the live broadcast room template.
3. A live room implementation method as claimed in claim 2 wherein the live room data further comprises: the live broadcast room template records the subdivision function live broadcast data and other configuration information of each function service;
the sending live broadcast room data of the specific live broadcast room to the user of the specific live broadcast room comprises:
acquiring subdivided function live broadcast data generated by each function service after running;
and sending the fine-divided function live broadcast data and other configuration information of each function service meeting the specified limiting conditions to the user through the live broadcast data interface.
4. The live room implementation method of claim 1, further comprising:
binding a gray strategy created according to the gray requirement of the specific live broadcast room with the live broadcast room template;
and selecting part or all of the functional services in the live broadcast room template according to the gray level strategy to be only opened to the white list users specified in the gray level strategy, or selecting part or all of the functional services in the live broadcast room template not to be opened to the black list users specified in the gray level strategy.
5. A live room implementation method as claimed in claim 1 wherein the configuration information comprises a functional service status; the method further comprises the following steps:
when the function service corresponding to at least one subdivision function requirement corresponding to the specific live broadcast room is abnormal, setting the function service state in the configuration information of the corresponding function service in the live broadcast room template to be in degradation;
and when the functional service corresponding to at least one subdivision functional requirement corresponding to the specific live broadcast room is recovering from the abnormality, setting the functional service state in the configuration information of the corresponding functional service in the live broadcast room template to be recovering.
6. The live room implementation method of claim 1, further comprising:
and in the process of operating the corresponding functional service of the specific live broadcast room, if the configuration information recorded in the live broadcast room template is modified, notifying a user of the specific live broadcast room to re-pull the data of the live broadcast room through a message mechanism.
7. A live broadcast room implementation apparatus, comprising:
the requirement selection unit is used for selecting at least one subdivision function requirement matched with the complete function requirement from a preset live broadcast room function requirement library according to the complete function requirement of a specific live broadcast room, and the preset live broadcast room function requirement library comprises all subdivision function requirements of various types of live broadcast rooms;
the template creating unit is used for creating a live broadcast room template corresponding to the specific live broadcast room according to at least one subdivision function requirement corresponding to the specific live broadcast room, and the live broadcast room template is used for recording configuration information of function services corresponding to the at least one subdivision function requirement;
the operation unit is used for operating the corresponding functional service of the specific live broadcast room according to the configuration information of each functional service recorded by the live broadcast room template;
a sending unit, configured to send live broadcast room data of the specific live broadcast room to a user of the specific live broadcast room;
and establishing a function service corresponding to each subdivision function requirement in the preset live broadcast room function requirement library in advance.
8. A live room implementation apparatus as claimed in claim 7 wherein the configuration information comprises a functional service status; the live room data includes: the live broadcast room template records the function service state of each function service;
the sending unit is specifically configured to send, to the user through a live broadcast room data interface, the function service state of each function service recorded by the live broadcast room template;
and the live broadcast room data interface is established in advance according to the configuration information of each functional service recorded by the live broadcast room template.
9. The live-air implementation apparatus of claim 8, wherein the live-air data further comprises: the live broadcast room template records the subdivision function live broadcast data and other configuration information of each function service;
the sending unit is specifically used for acquiring subdivided function live broadcast data generated after each function service is operated; and sending the fine-divided function live broadcast data and other configuration information of each function service meeting the specified limiting conditions to the user through the live broadcast data interface.
10. The live room implementation apparatus of claim 7, further comprising:
the gray level binding unit is used for binding a gray level strategy created according to the gray level requirement of the specific live broadcast room with the live broadcast room template;
and the gray scale execution unit is used for selecting part or all of the functional services in the live broadcast room template according to the gray scale strategy to be only opened to the white list users specified in the gray scale strategy, or selecting part or all of the functional services in the live broadcast room template not to be opened to the black list users specified in the gray scale strategy.
11. A live room implementation apparatus as claimed in claim 7 wherein the configuration information comprises a functional service status; the device further comprises:
a degradation unit, configured to set a functional service state in configuration information of a corresponding functional service in the live broadcast room template to be in degradation when a functional service corresponding to each of at least one segment functional requirement corresponding to the specific live broadcast room is abnormal;
and the recovery unit is used for setting the functional service state in the configuration information of the corresponding functional service in the live broadcast room template to be recovered when the functional service corresponding to at least one subdivision functional requirement corresponding to the specific live broadcast room is recovered from the abnormality.
12. The live room implementation apparatus of claim 7, further comprising:
and the configuration updating unit is used for notifying a user of the specific live broadcast room to pull the data of the live broadcast room again through a message mechanism if the configuration information recorded in the live broadcast room template is modified in the process of operating the corresponding functional service of the specific live broadcast room.
CN202111059844.XA 2021-09-10 2021-09-10 Live broadcasting room implementation method and device Active CN113905246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111059844.XA CN113905246B (en) 2021-09-10 2021-09-10 Live broadcasting room implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111059844.XA CN113905246B (en) 2021-09-10 2021-09-10 Live broadcasting room implementation method and device

Publications (2)

Publication Number Publication Date
CN113905246A true CN113905246A (en) 2022-01-07
CN113905246B CN113905246B (en) 2023-12-15

Family

ID=79027571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111059844.XA Active CN113905246B (en) 2021-09-10 2021-09-10 Live broadcasting room implementation method and device

Country Status (1)

Country Link
CN (1) CN113905246B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115123A1 (en) * 2008-10-09 2010-05-06 Mmi Broadcasting Ltd. Apparatus and methods for broadcasting
CN105898438A (en) * 2016-04-07 2016-08-24 广州华多网络科技有限公司 Live broadcasting room dynamic configuration method, device, system and server
CN106604046A (en) * 2016-12-06 2017-04-26 广州华多网络科技有限公司 Video live steaming method and device
CN107018450A (en) * 2017-03-17 2017-08-04 北京潘达互娱科技有限公司 A kind of page display method and device
CN107247740A (en) * 2017-05-10 2017-10-13 北京潘达互娱科技有限公司 Direct broadcasting room customizing functions method and device
CN108011891A (en) * 2017-12-22 2018-05-08 深圳乐信软件技术有限公司 A kind of application access method, apparatus, server and computer-readable storage medium
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium
CN109787830A (en) * 2019-01-21 2019-05-21 北京京东尚科信息技术有限公司 Gray scale distribution control method, device, system, electronic equipment and storage medium
CN110347425A (en) * 2019-07-11 2019-10-18 广州虎牙科技有限公司 A kind of configuration and method, apparatus, equipment and storage medium using template page
CN110413261A (en) * 2019-06-26 2019-11-05 上海哔哩哔哩科技有限公司 A kind of configuration method and equipment of direct broadcast function module
CN111782101A (en) * 2020-07-08 2020-10-16 网易(杭州)网络有限公司 Display control method of live broadcast room, electronic device and storage medium
CN111818354A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Animation configuration method, animation playback method, animation configuration device, animation playback device, animation system and animation media

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115123A1 (en) * 2008-10-09 2010-05-06 Mmi Broadcasting Ltd. Apparatus and methods for broadcasting
CN105898438A (en) * 2016-04-07 2016-08-24 广州华多网络科技有限公司 Live broadcasting room dynamic configuration method, device, system and server
CN106604046A (en) * 2016-12-06 2017-04-26 广州华多网络科技有限公司 Video live steaming method and device
CN107018450A (en) * 2017-03-17 2017-08-04 北京潘达互娱科技有限公司 A kind of page display method and device
CN107247740A (en) * 2017-05-10 2017-10-13 北京潘达互娱科技有限公司 Direct broadcasting room customizing functions method and device
CN108011891A (en) * 2017-12-22 2018-05-08 深圳乐信软件技术有限公司 A kind of application access method, apparatus, server and computer-readable storage medium
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium
CN109787830A (en) * 2019-01-21 2019-05-21 北京京东尚科信息技术有限公司 Gray scale distribution control method, device, system, electronic equipment and storage medium
CN110413261A (en) * 2019-06-26 2019-11-05 上海哔哩哔哩科技有限公司 A kind of configuration method and equipment of direct broadcast function module
CN110347425A (en) * 2019-07-11 2019-10-18 广州虎牙科技有限公司 A kind of configuration and method, apparatus, equipment and storage medium using template page
CN111818354A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Animation configuration method, animation playback method, animation configuration device, animation playback device, animation system and animation media
CN111782101A (en) * 2020-07-08 2020-10-16 网易(杭州)网络有限公司 Display control method of live broadcast room, electronic device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周丹: "多媒体互动直播系统的设计与实现", 《优秀硕士论文》 *

Also Published As

Publication number Publication date
CN113905246B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN101473629B (en) Method and apparatus for managing multimedia content
US8286069B2 (en) System and method for editing web-based video
CN108230028A (en) More main broadcaster's direct broadcasting rooms give the method, apparatus and electronic equipment of virtual present
KR102212407B1 (en) E-commerce and e-auction system using live streaming service for live-commerce
CN101080001B (en) Device for realizing balance of media content in network TV system and its method
CN101809614A (en) Be subjected to the distribute media content of server controls
CN104811473B (en) A kind of method, system and management system for creating virtual non-volatile storage medium
US20100023984A1 (en) Identifying Events in Addressable Video Stream for Generation of Summary Video Stream
CN102143380A (en) Content provision control method, content provision control device and content provision control system for content transmission network
CN102780721A (en) Picture sharing method and picture sharing device for network albums
US20080104539A1 (en) Reproducing apparatus, reproducing method, and reproducing system
US20190379619A1 (en) Method for exchange of multimedia data among mobile devices via instant messaging
CN113905246A (en) Method and device for realizing live broadcast room
KR100619308B1 (en) Multimedia Messaging Service system and method thereof
US8370880B2 (en) Telephone control service
KR102084962B1 (en) Method and program for providing a contents streaming service and managing user data statistics using qr code
CN101616283A (en) Realize the method and system of picture-in-picture in the IPTV business
KR100519016B1 (en) Server system and method for transmitting an error message to a client system
KR20220132393A (en) Method, Apparatus and System of managing contents in Multi-channel Network
CN113518254A (en) Live broadcast method, device and storage medium suitable for multi-service scene
US8667598B2 (en) Reproduction rule evaluation device, reproduction rule evaluation method, recording medium and program
JP7464651B2 (en) Terminal operation method and terminal
JP2019191877A (en) Method and program for providing contents streaming service using qr code (r), and for managing data statistic on user
TWI758809B (en) Smart conference management system and method
KR101263179B1 (en) Method of setting up background image of mobile terminal using moving picture, the mobile with the Apparatus setting up background image of mobile terminal using moving picture, the system thereof and recording medium thereof

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