CN113891162B - Live broadcast room loading method and device, computer equipment and storage medium - Google Patents

Live broadcast room loading method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113891162B
CN113891162B CN202111393528.6A CN202111393528A CN113891162B CN 113891162 B CN113891162 B CN 113891162B CN 202111393528 A CN202111393528 A CN 202111393528A CN 113891162 B CN113891162 B CN 113891162B
Authority
CN
China
Prior art keywords
live
live broadcasting
broadcasting room
room
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111393528.6A
Other languages
Chinese (zh)
Other versions
CN113891162A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111393528.6A priority Critical patent/CN113891162B/en
Publication of CN113891162A publication Critical patent/CN113891162A/en
Application granted granted Critical
Publication of CN113891162B publication Critical patent/CN113891162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • 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/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of network live broadcasting, and provides a live broadcasting room loading method, a live broadcasting room loading device, computer equipment and a storage medium, wherein the method comprises the following steps: responding to a live broadcasting room loading request, and acquiring a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier; if the live broadcast platform is a first direct broadcast platform, a first live broadcast room loading instruction is sent; responding to a first live broadcasting room loading instruction, executing a live broadcasting room creation process of a first live broadcasting platform based on a plug-in unit, and acquiring first live broadcasting room data corresponding to a live broadcasting room identifier; loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification; and executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling audio and video stream data corresponding to the direct broadcasting room identification from the first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identification to the direct broadcasting room. Compared with the prior art, the method enriches the live broadcast experience of the user, and improves the viewing rate and the retention time of the live broadcast room.

Description

Live broadcast room loading method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of network live broadcasting, in particular to a live broadcasting room loading method, a live broadcasting room loading device, computer equipment and a storage medium.
Background
With the progress of network communication technology, network live broadcast becomes an emerging network interaction mode, and the network live broadcast is favored by more and more audiences due to the characteristics of real-time property, interactivity and the like.
At present, a user can trigger a client to load any live broadcast room under a live broadcast platform by accessing a live broadcast program provided by the live broadcast platform, so that live broadcast content watching and online interaction participation are realized.
However, in the combined operation scene of the live broadcasting platform, the live broadcasting room loading mode cannot integrate live broadcasting room resources of different live broadcasting platforms, so that live broadcasting experience of users cannot be enriched, more users are guided to enter the live broadcasting room, and the watching rate and the retention time of the live broadcasting room are improved.
Disclosure of Invention
The embodiment of the application provides a live broadcast room loading method, a live broadcast room loading device, computer equipment and a storage medium, which can solve the technical problem of integrating live broadcast room resources of different live broadcast platforms and enriching live broadcast experience of users, and the technical scheme is as follows:
In a first aspect, an embodiment of the present application provides a live room loading method, where the method is executed by a client, where the client has an entry for a second live program provided by a second live platform, and the second live program is loaded with a plug-in for calling a first live program of the first live platform, and the method includes the steps of:
responding to a live broadcasting room loading request, and acquiring a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier;
if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent;
responding to a first live broadcasting room loading instruction, executing a live broadcasting room creation process of a first live broadcasting platform based on a plug-in unit, and acquiring first live broadcasting room data corresponding to a live broadcasting room identifier;
loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification;
executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling audio and video stream data corresponding to the direct broadcasting room identification from the first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identification to the direct broadcasting room; the first server is a server of the first direct broadcast platform.
In a second aspect, an embodiment of the present application provides a live broadcast room loading method, where a client has an entry of a second live broadcast program provided by a second live broadcast platform, and a plug-in for calling a first live broadcast program of the first live broadcast platform is loaded in the second live broadcast program, and the method includes the steps of:
The client responds to the live broadcasting room loading request and acquires a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier; if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent;
the client responds to a first live broadcasting room loading instruction, and executes a live broadcasting room creation process of a first live broadcasting platform based on the plug-in unit to acquire first live broadcasting room data corresponding to a live broadcasting room identifier; loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification; executing an audio and video stream data retrieval process of the first direct broadcasting platform based on the plug-in, and triggering the client to send an audio and video stream data retrieval instruction to the first server; the first server is a server of a first direct broadcasting platform;
the method comprises the steps that a first server responds to an audio and video stream data calling instruction, acquires an identification of a live broadcasting room and audio and video stream data corresponding to the identification of the live broadcasting room, and sends the audio and video stream data corresponding to the identification of the live broadcasting room to a client;
and the client receives the audio and video stream data corresponding to the live broadcasting room identification and outputs the audio and video stream data corresponding to the live broadcasting room identification to the live broadcasting room.
In a third aspect, an embodiment of the present application provides a live room loading device, where the device has an entry for a second live program provided by a second live platform, where the second live program is loaded with a plug-in for calling a first live program of a first live platform, and the device includes:
The first acquisition unit is used for responding to the live broadcasting room loading request and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification;
the first judging unit is used for sending a first live broadcasting room loading instruction if the live broadcasting platform corresponding to the live broadcasting room identification is a first direct broadcasting platform;
the first response unit is used for responding to the first live broadcasting room loading instruction, executing a live broadcasting room creation process of the first direct broadcasting platform based on the plug-in unit, and acquiring first live broadcasting room data corresponding to the live broadcasting room identification;
the first loading unit is used for loading the live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification;
the first output unit is used for executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling audio and video stream data corresponding to the direct broadcasting room identification from the first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identification to the direct broadcasting room; the first server is a server of the first direct broadcast platform.
In a fourth aspect, embodiments of the present application provide a computer device, a processor, a memory and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as in the first or second aspect when the computer program is executed.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to the first or second aspect.
In the embodiment of the application, through loading a plug-in for calling a first direct-broadcasting program of a first direct-broadcasting platform in a second direct-broadcasting program, and acquiring a direct-broadcasting platform corresponding to the direct-broadcasting platform when responding to a direct-broadcasting loading request, not only is the direct-broadcasting platform identification acquired, but also the direct-broadcasting platform corresponding to the direct-broadcasting platform is acquired, so that when the direct-broadcasting platform is confirmed to be the first direct-broadcasting platform, a first direct-broadcasting loading instruction is sent out, after that, a client responds to the first direct-broadcasting loading instruction, a direct-broadcasting creation process of the first direct-broadcasting platform is executed based on the plug-in, first direct-broadcasting data corresponding to the direct-broadcasting platform are acquired, the direct-broadcasting room corresponding to the direct-broadcasting room identification is loaded according to the first direct-broadcasting room data corresponding to the direct-broadcasting room identification, and the client executes an audio-video stream data calling process of the first direct-broadcasting platform from a first server of the first direct-broadcasting platform, the audio-video stream data corresponding to the direct-broadcasting room identification is output to the direct-broadcasting room, the direct-broadcasting platform is loaded in the second direct-broadcasting program provided by the second direct-broadcasting program, and the direct-broadcasting system can realize the live broadcasting platform with a live broadcasting resource viewing effect of being more synchronous, and a live broadcasting resource can be more effectively watched, and a live broadcasting resource can be more effectively and a user can be watched, and a live broadcasting platform can be synchronously, and a live broadcasting platform can be watched.
For a better understanding and implementation, the technical solutions of the present application are described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is an application scenario schematic diagram of a live room loading method provided in an embodiment of the present application;
fig. 2 is a flow chart of a live room loading method according to a first embodiment of the present application;
fig. 3 is a schematic interaction diagram between a client and a first server and a second server according to an embodiment of the present application;
fig. 4 is a schematic flowchart of S104 in the live room loading method according to the first embodiment of the present application;
fig. 5 is an interface schematic diagram of a live room of the first direct-broadcasting platform according to an embodiment of the present application;
fig. 6 is another flow chart of the live room loading method according to the first embodiment of the present application;
fig. 7 is an interface schematic diagram of a live room of a second live platform according to an embodiment of the present application;
fig. 8 is a schematic flow chart of a live room loading method according to the first embodiment of the present application;
fig. 9 is a flow chart of a live room loading method according to a second embodiment of the present application;
fig. 10 is a schematic structural diagram of a live room loading device according to a third embodiment of the present application;
fig. 11 is a schematic structural diagram of a computer device according to a fourth embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
As will be appreciated by those skilled in the art, the terms "client," "terminal device," and "terminal device" as used herein include both devices that include only wireless signal receiver devices without transmitting capabilities and devices that include receiving and transmitting hardware that include devices capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device such as a personal computer, tablet, or the like, having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; a PCS (PersonalCommunications Service, personal communication system) that may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant ) that can include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global PositioningSystem ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "client," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, at any other location(s) on earth and/or in space. As used herein, a "client," "terminal device," or "terminal device" may also be a communication terminal, an internet terminal, or a music/video playing terminal, for example, a PDA, a MID (Mobile Internet Device ), and/or a mobile phone with music/video playing function, or may also be a device such as a smart tv, a set top box, or the like.
The hardware referred to by the names "server", "client", "service node", etc. in this application is essentially a computer device having the performance of a personal computer, and is a hardware device having necessary components disclosed by von neumann's principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device, and a computer program is stored in the memory, and the central processing unit calls a program stored in the external memory to run in the memory, executes instructions in the program, and interacts with the input/output device, thereby completing a specific function.
It should be noted that the concept of "server" as referred to in this application is equally applicable to the case of a server farm. The servers should be logically partitioned, physically separate from each other but interface-callable, or integrated into a physical computer or group of computers, according to network deployment principles understood by those skilled in the art. Those skilled in the art will appreciate this variation and should not be construed as limiting the implementation of the network deployment approach of the present application.
Referring to fig. 1, fig. 1 is an application scenario schematic diagram of a live broadcast room loading method provided in an embodiment of the present application, where the application scenario includes a client 101, a first server 102, and a second server 103 provided in an embodiment of the present application, where the first server 102 is a server of a first live broadcast platform, and the second server 103 is a server of a second live broadcast platform.
The first direct broadcast platform and the second direct broadcast platform are both platforms for providing network direct broadcast service, and are essentially platforms for producing and consuming direct broadcast content. There are numerous live platforms known today, not listed here.
It should be noted that there are various understandings of the concept "client" in the prior art, such as: it may be understood as an application installed in a computer device or as a hardware device corresponding to a server.
In the embodiments of the present application, the term "client" refers to a hardware device corresponding to a server, more specifically, refers to a computer device, for example: smart phones, smart interactive tablets, personal computers, etc.
When the client is a mobile device such as a smart phone and an intelligent interaction tablet, a user can install a matched mobile terminal application program on the client, and can access a Web terminal application program on the client.
When the client is a non-mobile device such as a Personal Computer (PC), the user can install a matched PC application program on the client, and can access a Web application program on the client.
The mobile terminal application program refers to an application program which can be installed in mobile equipment, the PC terminal application program refers to an application program which can be installed in non-mobile equipment, and the Web terminal application program refers to an application program which needs to be accessed through a browser.
Specifically, the Web application may be further divided into a mobile version and a PC version according to the difference of client types, and there may be a difference between the page layout manner and the available server support of the two.
In the embodiment of the present application, the types of live broadcast applications provided to the user are classified into a mobile-side live broadcast application, a PC-side live broadcast application, and a Web-side live broadcast application. The user can autonomously select the mode of participating in the network live broadcast according to different types of the client.
The hardware to which the client 101 is directed is essentially a computer device, which may be, in particular, as shown in fig. 1, a type of computer device such as a smart phone, a smart interactive tablet, and a personal computer. The client 101 can access the internet through a well-known network access manner, and establishes a data communication link with the first server 102 and the second server 103.
The first server 102 and the second server 103 may be understood as a service cluster, and include a service server, an av stream server, a server providing other relevant support, and the like, to provide services for relevant terminal devices, such as the client 101 in fig. 1.
Generally, clients can be classified into anchor clients and audience clients depending on the identity of the user employed. The anchor client refers to an end that transmits a live video, and is generally a client adopted by an anchor (i.e., a live anchor user) in a live video. A viewer client refers to an end that receives and views a live video, and is typically a client employed by a viewer viewing the video in a live video (i.e., a live viewer user).
In the present embodiment, the mentioned client 101 refers specifically to one end that receives and views a web live video.
A user of the client 101 may enter a certain living room to watch a living broadcast. The live broadcasting room is a chat room realized by means of the Internet technology and generally has an audio and video broadcasting control function. In a live broadcasting room, a host can interact with audiences in a well-known online interaction mode such as voice, video, characters and the like, generally, the host plays programs for audience users in an audio-video stream mode, and economic transaction behaviors can be generated in the interaction process. Of course, the application form of the live broadcasting room is not limited to online entertainment, and can be popularized to other related scenes, such as video conference scenes, product recommendation sales scenes and any other scenes needing similar interaction.
Specifically, the process of viewing live broadcast by the user is as follows: the user can click to access the live program installed on the client 101, and select to enter any live broadcast room, trigger the audience client 101 to load the live broadcast room for the user, and several interaction components are displayed in the live broadcast room, for example: video window, virtual gift bar and public screen, etc., through these interactive components, the user can watch live broadcast in the live broadcast room, and carry on many kinds of online interactions.
At present, in order to achieve a business mode of win-win cooperation of both parties, joint operation is performed between live broadcast platforms so as to achieve the purpose of enriching live broadcast contents and promoting flow introduction mutually. The existing live broadcasting room loading mode is that a user can only access a live broadcasting program of a certain live broadcasting platform on a client side to enter a live broadcasting room of the live broadcasting platform to watch live broadcasting and participate in online interaction, so that live broadcasting resources of different live broadcasting platforms cannot be integrated, the deployment of joint operation is not facilitated, live broadcasting experience of the user cannot be enriched, and introduction of flow of each other is promoted.
Based on the foregoing, the embodiment of the application provides a live room loading method. Referring to fig. 2, fig. 2 is a flowchart of a live room loading method according to a first embodiment of the present application, where the method includes the following steps:
S101: and responding to the live broadcasting room loading request, and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification.
S102: and if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent out.
S103: and responding to the first live broadcasting room loading instruction, executing a live broadcasting room creation process of the first live broadcasting platform based on the plug-in, and acquiring first live broadcasting room data corresponding to the live broadcasting room identification.
S104: and loading the live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification.
S105: executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling audio and video stream data corresponding to the direct broadcasting room identification from the first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identification to the direct broadcasting room; the first server is a server of the first direct broadcast platform.
In this embodiment, the live room loading method is described for the main execution body from the client. Meanwhile, in order to more clearly illustrate each step in the live room loading method, a description of a server angle is also assisted to help understand the overall scheme.
The client has an entry for a second live program provided by the second live platform, and the second live platform can be referred to the definition above, and the user can enter the second live program by accessing the entry, watch live broadcast and perform online interaction.
In an alternative embodiment, the second live platform directly provides an installation package of the second live program, the second live program is an independent application program, and the user can install the second live program into the client based on the installation package of the second live program by downloading the installation package of the second live program.
In this embodiment, the user may browse to enter the live broadcast room by accessing the portal of the second live broadcast program displayed on the operation interface of the client.
In another alternative embodiment, the second live program is part of an application program, the user needs to download an installation package of the application program, install the application program in the client based on the installation package of the application program, and because the second live program is part of the application program, the portal of the second live program is displayed in the interface of the application program.
In this embodiment, the user accesses the portal of the application displayed on the operation interface of the client, so as to enter the application, accesses the portal of the second live program in the application interface, and can browse into the live broadcasting room.
The type of application is not limited herein and may be a social application, a search application, or the like.
In the embodiment of the application, the second live program supports plug-in, and the first live program of the first live platform is put into the plug-in, and the plug-in is loaded in the second live program, so that the client can call the first live program of the first live platform based on the plug-in.
It will be appreciated that the first live program in the plug-in is a program written to conform to a specification of an application program interface provided for the second live platform.
Specifically, when the user accesses the entry of the second live program for the first time and enters the second live program, the client is triggered to load the plug-in for calling the first live program of the first live platform.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating interaction between a client and a first server and a second server according to an embodiment of the present application. It can be seen that the client 31 has stored therein a second live program 32 (in the form of code in the bottom layer of the client), which is loaded with a plug-in 34 for invoking a first live program 33 of a first live platform, on the basis of which the second live program 32 of the second live platform can access a second server 35 of the second live platform, on the basis of which plug-in 34 the first live program 33 of the first live platform can be invoked, which in turn accesses a first server 36 of the first live platform.
When the user accesses the second live program, the client presents the user with a list of live rooms. In this embodiment of the present application, the live room list may only recommend a live room of the second live platform, may only recommend a live room of the first live platform, or may be a mixed recommendation of a live room of the second live platform and a live room of the first live platform.
Before describing step S101, how to load the live room list in the client is described as follows:
the client side responds to the live broadcasting room list loading request, acquires live broadcasting room list data from the second server, and displays a live broadcasting room list containing a plurality of live broadcasting room entry components corresponding to the live broadcasting room identifications in the client side according to the live broadcasting room list data.
The second server is a server of the second live broadcast platform.
The live broadcasting room list data comprise a plurality of live broadcasting room identifications and live broadcasting room entry component data corresponding to the live broadcasting room identifications.
The live room portal component data includes display data of the live room portal component and functional data of the live room portal component.
The display data of the live room portal component is used to determine the display position, display style, display size, etc. of the live room portal component in the live room list.
The function data of the live broadcasting room entrance component is used for realizing the function that the live broadcasting room entrance component responds to user operation and triggers the client to send out a live broadcasting room loading request.
And the identification of the live broadcasting room corresponding to the live broadcasting room displayed in the live broadcasting room list and the display position corresponding to the live broadcasting room are determined by the second server.
Specifically, the first server may send, to the second server, a live broadcast room identifier corresponding to an opened live broadcast room of the first direct broadcast platform at intervals of a preset time, and the second server may store the live broadcast room identifier corresponding to the opened live broadcast room of the first direct broadcast platform and the live broadcast room identifier corresponding to the opened live broadcast room of the second direct broadcast platform.
And the second server determines the list data of the live broadcasting room according to the live broadcasting room identifications corresponding to all the live broadcasting rooms which have been started and a preset live broadcasting room recommendation algorithm, so that the live broadcasting room identifications in the list data of the live broadcasting room can be the live broadcasting room identifications corresponding to the live broadcasting rooms of the first direct broadcasting platform or the live broadcasting room identifications corresponding to the live broadcasting rooms of the second direct broadcasting platform.
Regarding step S101, the client side responds to the live broadcast room loading request to obtain the live broadcast room identifier and the live broadcast platform corresponding to the live broadcast room identifier.
The live broadcasting room loading request is generated by triggering a client after a user interacts with a live broadcasting room entrance component. For example: the user clicks on a live room entry component in the live room list.
The live broadcast room identifier is a unique identifier of the live broadcast room and is used for determining which live broadcast room to load.
The live broadcasting platform corresponding to the live broadcasting room identifier may be a first live broadcasting platform or a second live broadcasting platform.
Regarding steps S102 to S104, if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, a first live broadcast room loading instruction is sent, and in response to the first live broadcast room loading instruction, a live broadcast room creation process of the first live broadcast platform is executed based on the plug-in unit, first live broadcast room data corresponding to the live broadcast room identifier is obtained, and a live broadcast room corresponding to the live broadcast room identifier is loaded according to the first live broadcast room data corresponding to the live broadcast room identifier.
Specifically, when the user first enters the live broadcast room, the client creates a container of the second live broadcast platform based on the second live broadcast program, and the container can be understood as an internal control, and has a distribution control function.
The container can judge which direct broadcasting platform is the direct broadcasting platform corresponding to the direct broadcasting room identification, and when the direct broadcasting platform corresponding to the direct broadcasting room identification is the first direct broadcasting platform, a first direct broadcasting room loading instruction is sent out, and the client responds to the first direct broadcasting room loading instruction based on the plug-in unit and executes a direct broadcasting room creation process of the first direct broadcasting platform based on the plug-in unit.
Wherein, the live room creation process of the first live platform is executed based on the plug-in can be understood as invoking the code about the live room creation process in the plug-in.
Specifically, when executing a live broadcasting room creation process of the first direct broadcasting platform based on the plug-in, the client initiates an object of the first direct broadcasting platform, and then invokes business logic of the first direct broadcasting platform about live broadcasting room creation through the object to acquire first live broadcasting room data corresponding to the live broadcasting room identification, so that the live broadcasting room corresponding to the live broadcasting room identification is loaded according to the first live broadcasting room data corresponding to the live broadcasting room identification.
In an alternative embodiment, referring to fig. 4, fig. 4 is a schematic flow chart of S104 in the live room loading method provided in the first embodiment of the present application, and S104 includes the steps of:
s1041: loading a first live broadcasting room template according to the first live broadcasting room template data; the first live broadcasting room template is used for determining a first live broadcasting component and a layout of the first live broadcasting component in the live broadcasting room under the first live broadcasting platform.
S1042: and rendering and displaying each first direct-broadcasting component in the direct-broadcasting room according to the display data of the first direct-broadcasting room.
S1043: and loading the service logic of each first direct-broadcasting component in the direct-broadcasting room according to the service logic data of the first direct-broadcasting room.
In this embodiment, the first live room data includes first live room template data, first live room display data, and first live room business logic data.
The first live broadcasting room template data are used for determining a first live broadcasting component and a layout of the first live broadcasting component in a live broadcasting room under the first live broadcasting platform. Live broadcasting rooms under different live broadcasting platforms have different template data of the live broadcasting rooms adopted.
The first live room display data is used for rendering and displaying each first direct-broadcasting component in the live room, and determining a display style, a display color and the like of the first direct-broadcasting component.
The first direct broadcasting inter-service logic data is used for realizing the function of the first direct broadcasting component in the direct broadcasting inter-service, and can be understood as the sequence and the association of the bottom layer code for realizing the execution of the direct broadcasting service or the rule mapping of the bottom layer code for realizing the execution of the direct broadcasting service.
Referring to fig. 5, fig. 5 is an interface schematic diagram of a live room of a first direct-broadcasting platform according to an embodiment of the present application. The live broadcasting room comprises a video component 51, a public screen component 52, a message component 53, a gift component 54 and the like, and the layout of the components and the components in the live broadcasting room can be changed due to different live broadcasting room template data adopted by the live broadcasting room under different live broadcasting platforms.
Regarding step S105, the client executes an audio/video stream data retrieving process of the first direct broadcast platform based on the plug-in, retrieves audio/video stream data corresponding to the direct broadcast room identifier from the first server, and outputs the audio/video stream data corresponding to the direct broadcast room identifier to the direct broadcast room.
The first server is a server of the first direct broadcast platform.
Specifically, the client executes an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, triggers the client to send an audio and video stream data calling instruction to the first server, and the first server responds to the audio and video stream data calling instruction to acquire the audio and video stream data corresponding to the live broadcasting room identification and the live broadcasting room identification, sends the audio and video stream data corresponding to the live broadcasting room identification to the client, receives the audio and video stream data corresponding to the live broadcasting room identification, and outputs the audio and video stream data corresponding to the live broadcasting room identification to the live broadcasting room.
Executing the audio and video stream data retrieving process of the first direct broadcast platform based on the plug-in may be understood as invoking a code for executing the audio and video stream data retrieving process in the plug-in.
In an alternative embodiment, referring to fig. 6, fig. 6 is another flow chart of the live room loading method provided in the first embodiment of the present application, and the method further includes the steps of:
S106: and responding to the live broadcasting room exit request, and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification.
S107: and if the live broadcast platform corresponding to the live broadcast platform identifier is the first live broadcast platform, sending out a first live broadcast room exit instruction.
S108: and responding to the first live room exit instruction, executing a live room exit process of the second live platform, and executing the live room exit process of the first live platform based on the plug-in.
Wherein the live room exit request is generated for the user trigger client, for example: the user can trigger the client to generate a live room exit request by clicking the exit component.
When exiting the live broadcasting room, the container also acquires the live broadcasting room identification, judges which live broadcasting platform corresponding to the live broadcasting room identification is the direct broadcasting platform, and sends a first live broadcasting room exit instruction when the live broadcasting platform corresponding to the live broadcasting platform identification is the first direct broadcasting platform, the client responds to the first live broadcasting room exit instruction, executes a live broadcasting room exit process of the second live broadcasting platform, and executes the live broadcasting room exit process of the first direct broadcasting platform based on the plug-in unit.
The live room exit process of the second live platform can be understood as a code for calling and executing the live room exit process in the second live program.
The live room creation process that executes the first live platform based on the plug-in may be understood as invoking code in the plug-in that is executed with respect to the live room exit process.
Specifically, executing the live broadcasting room exit process of the second live broadcasting platform, namely destroying the object of the second live broadcasting platform to realize the business logic of the second live broadcasting platform exiting the live broadcasting room.
And executing a live broadcasting room exit process of the first direct broadcasting platform based on the plug-in, namely destroying the object of the first direct broadcasting platform to realize the business logic of the first direct broadcasting platform exiting the live broadcasting room.
It should be noted that, since the container is a container of the second live broadcast platform, the container defaults to initialize an object of the second live broadcast platform, so when exiting from the live broadcast room of the first live broadcast platform, it executes the exit process of the live broadcast room of the second live broadcast platform, and also executes the creation process of the live broadcast room of the first live broadcast platform based on the plug-in.
In the embodiment of the application, through loading a plug-in for calling a first direct-broadcasting program of a first direct-broadcasting platform in a second direct-broadcasting program, and acquiring a direct-broadcasting platform corresponding to the direct-broadcasting platform when responding to a direct-broadcasting loading request, not only is the direct-broadcasting platform identification acquired, but also the direct-broadcasting platform corresponding to the direct-broadcasting platform is acquired, so that when the direct-broadcasting platform is confirmed to be the first direct-broadcasting platform, a first direct-broadcasting loading instruction is sent out, after that, a client responds to the first direct-broadcasting loading instruction, a direct-broadcasting creation process of the first direct-broadcasting platform is executed based on the plug-in, first direct-broadcasting data corresponding to the direct-broadcasting platform are acquired, the direct-broadcasting room corresponding to the direct-broadcasting room identification is loaded according to the first direct-broadcasting room data corresponding to the direct-broadcasting room identification, and the client executes an audio-video stream data calling process of the first direct-broadcasting platform from a first server of the first direct-broadcasting platform, the audio-video stream data corresponding to the direct-broadcasting room identification is output to the direct-broadcasting room, the direct-broadcasting platform is loaded in the second direct-broadcasting program provided by the second direct-broadcasting program, and the direct-broadcasting system can realize the live broadcasting platform with a live broadcasting resource viewing effect of being more synchronous, and a live broadcasting resource can be more effectively watched, and a live broadcasting resource can be more effectively and a user can be watched, and a live broadcasting platform can be synchronously, and a live broadcasting platform can be watched.
The following will describe how to load the live broadcasting room if the live broadcasting platform corresponding to the live broadcasting platform identifier is the second live broadcasting platform. In an alternative embodiment, the method further comprises the steps of:
s109: and if the live broadcast platform corresponding to the live broadcast platform identifier is the second live broadcast platform, a second live broadcast room loading instruction is sent out.
S110: and responding to the second live broadcasting room loading instruction, executing a live broadcasting room creating process of the second live broadcasting platform, and acquiring second live broadcasting room data corresponding to the live broadcasting room identification.
S111: and loading the live broadcasting room corresponding to the live broadcasting room identification according to the second live broadcasting room data corresponding to the live broadcasting room identification.
S112: executing an audio and video stream data calling process of the second live broadcasting platform, calling audio and video stream data corresponding to the live broadcasting room identification from the second server, and outputting the audio and video stream data corresponding to the live broadcasting room identification to the live broadcasting room; the second server is a server of the second live broadcast platform.
Regarding steps S109 to S112, when the user first enters the live broadcast room, the client creates a container of the second live broadcast platform based on the second live broadcast program, where the container may be understood as an internal control, and has a function of distributing control.
The container can judge which direct broadcasting platform the direct broadcasting platform corresponding to the direct broadcasting room identification is, and when the direct broadcasting platform corresponding to the direct broadcasting room identification is the second direct broadcasting platform, a second direct broadcasting room loading instruction is sent, and the client responds to the second direct broadcasting room loading instruction and executes a direct broadcasting room creation process of the second direct broadcasting platform.
It may be appreciated that in this embodiment, the user accesses the second live program on the client, and thus, the client may execute the live room creation process of the second live platform based on the second live program in response to the second live room loading instruction.
Specifically, when the client creates a container, since the container is a container of the second live broadcast platform, an object of the second live broadcast platform is initialized by default, and when a live broadcast room creation process of the second live broadcast platform is executed, service logic created by a live broadcast room of the second live broadcast platform is called by the object, and second live broadcast room data corresponding to the live broadcast room identification is obtained, so that the live broadcast room corresponding to the live broadcast room identification is loaded according to the second live broadcast room data corresponding to the live broadcast room identification.
In an alternative embodiment, the second live room data includes second live room template data, second live room display data, and second live room service logic data, S111 includes the steps of:
s1111: loading a second live broadcasting room template according to the second live broadcasting room template data; the second live broadcasting room template is used for determining a second live broadcasting component and a layout of the second live broadcasting component in the live broadcasting room under the second live broadcasting platform.
S1112: and rendering and displaying each second live broadcast component in the live broadcast room according to the second live broadcast room display data.
S1113: and loading the service logic of each second live broadcast component in the live broadcast room according to the service logic data of the second live broadcast room.
The second live broadcasting room template data are used for determining a second live broadcasting component and a layout of the second live broadcasting component in the live broadcasting room under the second live broadcasting platform. Live broadcasting rooms under different live broadcasting platforms have different template data of the live broadcasting rooms adopted.
The second live broadcast room display data is used for rendering and displaying each second live broadcast component in the live broadcast room, and determining display modes, display colors and the like of the second live broadcast components.
The second live broadcasting room service logic data is used for realizing the function of the second live broadcasting component in the live broadcasting room, and can be understood as that the bottom layer code is used for realizing the sequence and the association of the live broadcasting service when in execution, or the bottom layer code is used for realizing the rule mapping of the live broadcasting service when in execution.
Referring to fig. 7, fig. 7 is an interface schematic diagram of a live room of a second live platform according to an embodiment of the present application. The live broadcasting room comprises a video component 71, a public screen component 72, a message component 73, a gift component 74 and the like, and the layout of the components and the components in the live broadcasting room can be changed due to different live broadcasting room template data adopted by the live broadcasting room under different live broadcasting platforms. Referring also to fig. 5, it can be seen that the display style and display position of the message component 73 and the message component 53 are changed, and the differences with respect to the live room templates are not listed here.
Regarding step S112, the client executes an audio/video stream data retrieving process of the second live broadcast platform, retrieves audio/video stream data corresponding to the live broadcast room identifier from the second server, and outputs the audio/video stream data corresponding to the live broadcast room identifier to the live broadcast room.
The second server is a server of the second live broadcast platform.
Specifically, the client executes an audio and video stream data calling process of the second live broadcast platform, triggers the client to send an audio and video stream data calling instruction to the second server, and the second server responds to the audio and video stream data calling instruction to acquire the live broadcast room identification and the audio and video stream data corresponding to the live broadcast room identification, sends the audio and video stream data corresponding to the live broadcast room identification to the client, receives the audio and video stream data corresponding to the live broadcast room identification, and outputs the audio and video stream data corresponding to the live broadcast room identification to the live broadcast room.
The audio and video stream data retrieving process of executing the second live broadcast platform may be understood as invoking a code related to the audio and video stream data retrieving process in executing the second live broadcast program.
In the following, it will be described how to exit the live room of the second live platform, in an alternative embodiment the method further comprises the steps of:
S113: and responding to the live broadcasting room exit request, and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification.
S114: and if the live broadcast platform corresponding to the live broadcast platform identifier is the second live broadcast platform, a second live broadcast room exit instruction is sent.
S115: and responding to the second live broadcasting room exit command, and executing a live broadcasting room exit process of the second live broadcasting platform.
Wherein the live room exit request is generated for the user trigger client, for example: the user can trigger the client to generate a live room exit request by clicking the exit component.
When exiting the live broadcasting room, the container also acquires the live broadcasting room identification, judges which live broadcasting platform corresponding to the live broadcasting room identification is the direct broadcasting platform, and sends out a second live broadcasting room exit instruction when the live broadcasting platform corresponding to the live broadcasting platform identification is the second live broadcasting platform, and the client responds to the second live broadcasting room exit instruction to execute a live broadcasting room exit process of the second live broadcasting platform.
The live room exit process of the second live platform can be understood as a code for calling and executing the live room exit process in the second live program.
Specifically, executing the live broadcasting room exit process of the second live broadcasting platform, namely destroying the object of the second live broadcasting platform to realize the business logic of the second live broadcasting platform exiting the live broadcasting room.
The live broadcasting room of the first live broadcasting platform is not loaded, so that when the live broadcasting room of the second live broadcasting platform is exited, only the exit process of the live broadcasting room of the second live broadcasting platform is executed.
The following will describe in detail how to implement the switching between live rooms of different live broadcast platforms, specifically, switching from the live room of the first live broadcast platform to the live room of the second live broadcast platform and switching from the live room of the second live broadcast platform to the live room of the first live broadcast platform.
Referring to fig. 8, fig. 8 is a schematic flow chart of a live room loading method according to the first embodiment of the present application, and the method further includes steps S116 to S119, which specifically include the following steps:
s116: and responding to the live broadcasting room switching request, and acquiring the current live broadcasting room identification, a live broadcasting platform corresponding to the current live broadcasting room identification, a target live broadcasting room identification and a live broadcasting platform corresponding to the target live broadcasting room identification.
S117: if the live broadcasting platform corresponding to the current live broadcasting room identification is the first direct broadcasting platform, the live broadcasting platform corresponding to the target live broadcasting room identification is the second live broadcasting platform, and a second entering instruction and a first temporary withdrawing instruction are sent.
S118: and responding to the first temporary back instruction, executing a live broadcasting room temporary back process of the first direct broadcasting platform based on the plug-in, and hiding the loaded first live broadcasting room template.
S119: and responding to the second entering instruction, executing a live broadcasting room entering process of the second live broadcasting platform, and displaying the loaded second live broadcasting room template.
Because the live broadcasting room data used in the live broadcasting room loading in the first direct broadcasting platform and the second direct broadcasting platform are different, the display effect of the live broadcasting room template and the live broadcasting room component and the service logic of the live broadcasting room are different, and corresponding live broadcasting room switching operation is needed.
With respect to step S116, the live room switch request is generated by triggering the client when the user performs the live room switch operation on the live room interface, for example: an up-slide operation, a down-slide operation, etc.
The client responds to the live broadcasting room switching request and needs to acquire the current live broadcasting room identification, the live broadcasting platform corresponding to the current live broadcasting room identification, the target live broadcasting room identification and the live broadcasting platform corresponding to the target live broadcasting room identification.
The target live broadcasting room identification is the live broadcasting room identification corresponding to the live broadcasting room to which the user is switched.
Regarding step S117, if the live broadcast platform corresponding to the current live broadcast room identifier is the first live broadcast platform, the live broadcast platform corresponding to the target live broadcast room identifier is the second live broadcast platform, and a second entering instruction and a first temporary quit instruction are sent.
The second entering instruction is used for notifying the client to execute a live broadcasting room entering program of the second live broadcasting platform and displaying the loaded second live broadcasting room template.
The first temporary back instruction is used for notifying the client to execute a live broadcasting room temporary back process of the first direct broadcasting platform based on the plug-in unit and hiding the loaded first live broadcasting room template.
With respect to step S118, the client executes a live room suspension process of the first direct broadcast platform based on the plug-in response to the first suspension instruction, hiding the loaded first live room template.
And the client responds to the first temporary back instruction and executes the temporary back process of the live broadcasting room of the first direct broadcasting platform based on the plug-in. The live broadcasting room temporary quit process is different from the live broadcasting room exit process of the first direct broadcasting platform, only the business logic of the first direct broadcasting platform temporary quit live broadcasting room is realized, the loaded first live broadcasting room template is temporarily hidden, and the object of the first direct broadcasting platform is not destroyed.
With respect to step S119, the client executes a live room entry process of the second live platform in response to the second entry instruction, and displays the loaded second live room template.
And the client responds to the second entering instruction and executes a live broadcasting room entering process of the second live broadcasting platform. The live broadcasting room entering process of the second live broadcasting platform is different from the creation process of the second live broadcasting platform, the object of the second live broadcasting platform is not required to be initialized, the live broadcasting room entering process of the second live broadcasting platform is directly called by using the object, business logic of live broadcasting room entering of the second live broadcasting platform is realized, and the loaded second live broadcasting room template is displayed.
The output of the audio/video stream data is not described in detail here, and may be directly fetched from the server of the corresponding live platform.
The above-mentioned procedure of switching from the live broadcast room of the first direct broadcast platform to the live broadcast room of the second direct broadcast platform is described below, and the method further includes steps S120 to S123, specifically as follows:
s120: and responding to the live broadcasting room switching request, and acquiring the current live broadcasting room identification, a live broadcasting platform corresponding to the current live broadcasting room identification, a target live broadcasting room identification and a live broadcasting platform corresponding to the target live broadcasting room identification.
S121: if the live broadcasting platform corresponding to the current live broadcasting room identification is the second live broadcasting platform, the live broadcasting platform corresponding to the target live broadcasting room identification is the first direct broadcasting platform, and a second temporary quit instruction and a first entering instruction are sent out.
S122: and responding to the second temporary back instruction, executing a temporary back process of the live broadcasting room of the second live broadcasting platform, and hiding the loaded second live broadcasting room template.
S123: and responding to the first entering instruction, executing a live broadcasting room entering process of the first direct broadcasting platform based on the plug-in, and displaying the loaded first live broadcasting room template.
The step S120 is the same as the step S116, and a detailed description thereof is omitted.
Regarding step S121, if the live broadcast platform corresponding to the current live broadcast room identifier is the second live broadcast platform, the live broadcast platform corresponding to the target live broadcast room identifier is the first direct broadcast platform, and a second temporary return instruction and a first entry instruction are sent.
The first entering instruction is used for notifying the client to execute a live broadcasting room entering program of the first direct broadcasting platform based on the plug-in, and displaying the loaded first live broadcasting room template.
The second temporary back instruction is used for notifying the client to execute a live broadcasting room temporary back process of the second live broadcasting platform and hiding the loaded second live broadcasting room template.
With regard to step S122, the client executes a live room suspension process of the second live platform in response to the second suspension instruction, hiding the loaded second live room template.
And the client responds to the second temporary back instruction and executes a temporary back process of the live broadcasting room of the second live broadcasting platform. The live broadcasting room temporary quit process is different from the live broadcasting room exit process of the second live broadcasting platform, and only the business logic of the second live broadcasting platform temporary quit the live broadcasting room is realized, the loaded second live broadcasting room template is temporarily hidden, and the objects of the second live broadcasting platform are not destroyed.
With respect to step S123, the client executes a live room entry process of the first direct broadcast platform based on the plug-in response to the first entry instruction, displaying the loaded first live room template.
And the client responds to the first entering instruction and executes a live room entering process of the first direct broadcasting platform based on the plug-in. The live broadcasting room entering process of the first direct broadcasting platform is different from the creation process of the first direct broadcasting platform, the object of the first direct broadcasting platform is not required to be initialized, the live broadcasting room entering process of the first direct broadcasting platform is directly called by using the object, business logic of the live broadcasting room entering of the first direct broadcasting platform is realized, and the loaded first live broadcasting room template is displayed.
In the embodiment, the switching of the live broadcasting rooms of different live broadcasting platforms is realized, so that the technical effects of integrating the live broadcasting room resources of different live broadcasting platforms to enrich the live broadcasting experience of users and guide more users to enter the live broadcasting room are achieved.
Referring to fig. 9, fig. 9 is a flowchart of a live room loading method according to a second embodiment of the present application, including the following steps:
s201: the client responds to the live broadcasting room loading request and acquires a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier; and if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent out.
S202: the client responds to a first live broadcasting room loading instruction, and executes a live broadcasting room creation process of a first live broadcasting platform based on the plug-in unit to acquire first live broadcasting room data corresponding to a live broadcasting room identifier; loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification; executing an audio and video stream data retrieval process of the first direct broadcasting platform based on the plug-in, and triggering the client to send an audio and video stream data retrieval instruction to the first server; the first server is a server of the first direct broadcast platform.
S203: the first server responds to the audio and video stream data calling instruction, acquires the audio and video stream data corresponding to the live broadcasting room identification and the live broadcasting room identification, and sends the audio and video stream data corresponding to the live broadcasting room identification to the client.
S204: and the client receives the audio and video stream data corresponding to the live broadcasting room identification and outputs the audio and video stream data corresponding to the live broadcasting room identification to the live broadcasting room.
The live broadcasting room loading method provided in the above embodiment is written from both sides of the client and the server, and the implementation process is detailed in the first embodiment, which is not repeated here.
Fig. 10 is a schematic structural diagram of a live room loading device according to a third embodiment of the present application. The apparatus may be implemented as all or part of a computer device by software, hardware, or a combination of both. The apparatus 10 comprises:
a first obtaining unit 1001, configured to obtain a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier in response to a live broadcast room loading request;
a first judging unit 1002, configured to issue a first live broadcast room loading instruction if the live broadcast platform corresponding to the live broadcast room identifier is a first live broadcast platform;
a first response unit 1003, configured to execute, in response to a first live-room loading instruction, a live-room creation process of the first direct-broadcasting platform based on the plug-in, and obtain first live-room data corresponding to a live-room identifier;
A first loading unit 1004, configured to load a live broadcast room corresponding to the live broadcast room identifier according to first live broadcast room data corresponding to the live broadcast room identifier;
the first output unit 1005 is configured to execute an audio/video stream data retrieving process of the first direct broadcast platform based on the plug-in, retrieve audio/video stream data corresponding to the identifier of the direct broadcast room from the first server, and output the audio/video stream data corresponding to the identifier of the direct broadcast room to the direct broadcast room; the first server is a server of the first direct broadcast platform.
In the embodiment of the application, the live room loading device is applied to the client. It should be noted that, when the live broadcast room loading device provided in the foregoing embodiment performs the live broadcast room loading method, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the live broadcasting room loading device and the live broadcasting room loading method provided in the foregoing embodiments belong to the same concept, which embody detailed implementation procedures in method embodiments, and are not described herein again.
Fig. 11 is a schematic structural diagram of a computer device according to a fourth embodiment of the present application. As shown in fig. 11, the computer device 11 may include: a processor 110, a memory 111 and a computer program 112 stored in the memory 111 and executable on the processor 110, for example: loading programs in a live broadcasting room; the processor 110, when executing the computer program 112, implements the steps of the first or second embodiments described above.
Wherein the processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and wiring to connect various portions of the computer device 11, performs various functions of the computer device 11 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 111, and invoking data in the memory 111, and alternatively, the processor 110 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programble Logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented by a single chip.
The Memory 111 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 111 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 111 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 111 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 111 may also optionally be at least one storage device located remotely from the aforementioned processor 110.
The embodiment of the present application further provides a computer storage medium, where a plurality of instructions may be stored, where the instructions are adapted to be loaded and executed by a processor, and the specific implementation procedure may refer to the specific description of the foregoing embodiment, and details are not repeated herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. 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 invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of each method embodiment described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc.
The present invention is not limited to the above-described embodiments, but, if various modifications or variations of the present invention are not departing from the spirit and scope of the present invention, the present invention is intended to include such modifications and variations as fall within the scope of the claims and the equivalents thereof.

Claims (13)

1. A live room loading method, wherein the method is performed by a client having an entry for a second live program provided by a second live platform, the second live program loaded with a plug-in for invoking a first live program of a first live platform, the method comprising the steps of:
responding to a live broadcasting room loading request, and acquiring a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier;
if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent;
responding to the first live broadcasting room loading instruction, executing a live broadcasting room creation process of the first direct broadcasting platform based on the plug-in, and acquiring first live broadcasting room data corresponding to the live broadcasting room identification;
loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification;
Executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling audio and video stream data corresponding to the direct broadcasting room identification from a first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identification to the direct broadcasting room; the first server is a server of the first direct broadcast platform.
2. The live room loading method of claim 1, wherein the method further comprises the steps of:
if the live broadcast platform corresponding to the live broadcast platform identifier is the second live broadcast platform, a second live broadcast room loading instruction is sent out;
responding to the second live broadcasting room loading instruction, executing a live broadcasting room creation process of the second live broadcasting platform, and acquiring second live broadcasting room data corresponding to the live broadcasting room identification;
loading a live broadcasting room corresponding to the live broadcasting room identification according to second live broadcasting room data corresponding to the live broadcasting room identification;
executing an audio and video stream data calling process of the second live broadcast platform, calling audio and video stream data corresponding to the live broadcast room identification from a second server, and outputting the audio and video stream data corresponding to the live broadcast room identification to the live broadcast room; the second server is a server of the second live broadcast platform.
3. The live broadcasting room loading method according to claim 1, wherein the first live broadcasting room data includes first live broadcasting room template data, first live broadcasting room display data and first live broadcasting room service logic data, and the loading the live broadcasting room corresponding to the live broadcasting room identifier according to the first live broadcasting room data corresponding to the live broadcasting room identifier includes the steps of:
loading a first live broadcasting room template according to the first live broadcasting room template data; the first live broadcasting room template is used for determining a first live broadcasting component and a layout of the first live broadcasting component in the live broadcasting room under the first live broadcasting platform;
rendering and displaying each first direct-broadcasting component in the direct-broadcasting room according to the display data of the first direct-broadcasting room;
and loading the service logic of each first direct broadcasting component in the direct broadcasting room according to the service logic data of the first direct broadcasting room.
4. The live room loading method of claim 1, wherein the method further comprises the steps of:
responding to a live broadcasting room exit request, and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification;
if the live broadcast platform corresponding to the live broadcast platform identifier is the first live broadcast platform, a first live broadcast room exit instruction is sent;
And responding to the first live broadcasting room exit instruction, executing a live broadcasting room exit process of the second live broadcasting platform, and executing the live broadcasting room exit process of the first live broadcasting platform based on the plug-in.
5. The live broadcasting room loading method according to claim 2, wherein the second live broadcasting room data includes second live broadcasting room template data, second live broadcasting room display data and second live broadcasting room service logic data, and the loading the live broadcasting room corresponding to the live broadcasting room identifier according to the second live broadcasting room data corresponding to the live broadcasting room identifier includes the steps of:
loading a second live broadcasting room template according to the second live broadcasting room template data; the second live broadcasting room template is used for determining a second live broadcasting component in the live broadcasting room under the second live broadcasting platform and layout of the second live broadcasting component;
rendering and displaying each second live broadcast component in the live broadcast room according to the second live broadcast room display data;
and loading service logic of each second live broadcast component in the live broadcast room according to the service logic data of the second live broadcast room.
6. The live room loading method of claim 2, wherein the method further comprises the steps of:
Responding to a live broadcasting room exit request, and acquiring the live broadcasting room identification and a live broadcasting platform corresponding to the live broadcasting room identification;
if the live broadcast platform corresponding to the live broadcast platform identifier is the second live broadcast platform, a second live broadcast room exit instruction is sent;
and responding to the second live broadcasting room exit instruction, and executing a live broadcasting room exit process of the second live broadcasting platform.
7. The live room loading method according to any one of claims 1 to 6, wherein the method further comprises the steps of:
responding to a live broadcasting room switching request, and acquiring a current live broadcasting room identifier, a live broadcasting platform corresponding to the current live broadcasting room identifier, a target live broadcasting room identifier and a live broadcasting platform corresponding to the target live broadcasting room identifier;
if the live broadcasting platform corresponding to the current live broadcasting room identifier is the second live broadcasting platform, the live broadcasting platform corresponding to the target live broadcasting room identifier is the first direct broadcasting platform, and a second temporary return instruction and a first entering instruction are sent;
responding to the second temporary back instruction, executing a temporary back process of the live broadcasting room of the second live broadcasting platform, and hiding the loaded second live broadcasting room template;
and responding to the first entering instruction, executing a live broadcasting room entering process of the first direct broadcasting platform based on the plug-in, and displaying the loaded first live broadcasting room template.
8. The live room loading method according to any one of claims 1 to 6, wherein the method further comprises the steps of:
responding to a live broadcasting room switching request, and acquiring a current live broadcasting room identifier, a live broadcasting platform corresponding to the current live broadcasting room identifier, a target live broadcasting room identifier and a live broadcasting platform corresponding to the target live broadcasting room identifier;
if the live broadcasting platform corresponding to the current live broadcasting room identification is the first live broadcasting platform, the live broadcasting platform corresponding to the target live broadcasting room identification is the second live broadcasting platform, and a second entering instruction and a first temporary withdrawing instruction are sent;
responding to the first temporary back instruction, and executing a live broadcasting room temporary back process of the first direct broadcasting platform based on the plug-in unit to hide the loaded first live broadcasting room template;
and responding to the second entering instruction, executing a live broadcasting room entering process of the second live broadcasting platform, and displaying the loaded second live broadcasting room template.
9. The live room loading method according to any one of claims 1 to 6, wherein before responding to a live room loading request, the method comprises the steps of:
acquiring live broadcasting room list data from a second server in response to a live broadcasting room list loading request; the second server is a server of the second live broadcast platform; the live broadcasting room list data comprise a plurality of live broadcasting room identifiers and live broadcasting room entry component data corresponding to the live broadcasting room identifiers; the live broadcasting room identifier is a live broadcasting room identifier corresponding to a live broadcasting room of the first direct broadcasting platform or a live broadcasting room identifier corresponding to a live broadcasting room of the second direct broadcasting platform, and the live broadcasting room identifier corresponding to the live broadcasting room of the second direct broadcasting platform is a live broadcasting room identifier corresponding to an opened live broadcasting room which is sent to the second server by the first server;
And displaying a live broadcasting room list comprising a plurality of live broadcasting room entry components corresponding to the live broadcasting room identifications in the client according to the live broadcasting room list data.
10. A live room loading method, wherein a client has an entry for a second live program provided by a second live platform, the second live program being loaded with a plug-in for invoking a first live program of a first live platform, the method comprising the steps of:
the client responds to a live broadcasting room loading request and acquires a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier; if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform, a first live broadcasting room loading instruction is sent;
the client responds to the first live broadcasting room loading instruction, executes a live broadcasting room creation process of the first direct broadcasting platform based on the plug-in, and acquires first live broadcasting room data corresponding to the live broadcasting room identification; loading a live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification; based on the plug-in, executing an audio and video stream data calling process of the first direct broadcasting platform, and triggering the client to send an audio and video stream data calling instruction to a first server; the first server is a server of the first direct broadcast platform;
The first server responds to an audio and video stream data calling instruction, acquires the live broadcasting room identification and audio and video stream data corresponding to the live broadcasting room identification, and sends the audio and video stream data corresponding to the live broadcasting room identification to the client;
and the client receives the audio and video stream data corresponding to the live broadcasting room identifier and outputs the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room.
11. A live room loading apparatus having an entry for a second live program provided by a second live platform, the second live program loaded with a plug-in for invoking a first live program of a first live platform, the apparatus comprising:
the first acquisition unit is used for responding to a live broadcasting room loading request and acquiring a live broadcasting room identifier and a live broadcasting platform corresponding to the live broadcasting room identifier;
the first judging unit is used for sending a first live broadcasting room loading instruction if the live broadcasting platform corresponding to the live broadcasting room identification is the first direct broadcasting platform;
the first response unit is used for responding to the first live broadcasting room loading instruction, executing a live broadcasting room creation process of the first direct broadcasting platform based on the plug-in unit, and acquiring first live broadcasting room data corresponding to the live broadcasting room identification;
The first loading unit is used for loading the live broadcasting room corresponding to the live broadcasting room identification according to the first live broadcasting room data corresponding to the live broadcasting room identification;
the first output unit is used for executing an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calling the audio and video stream data corresponding to the direct broadcasting room identifier from a first server, and outputting the audio and video stream data corresponding to the direct broadcasting room identifier to the direct broadcasting room; the first server is a server of the first direct broadcast platform.
12. A computer device, comprising: a processor, a memory and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 9 or claim 10 when the computer program is executed.
13. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 9 or claim 10.
CN202111393528.6A 2021-11-23 2021-11-23 Live broadcast room loading method and device, computer equipment and storage medium Active CN113891162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111393528.6A CN113891162B (en) 2021-11-23 2021-11-23 Live broadcast room loading method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111393528.6A CN113891162B (en) 2021-11-23 2021-11-23 Live broadcast room loading method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113891162A CN113891162A (en) 2022-01-04
CN113891162B true CN113891162B (en) 2024-03-12

Family

ID=79015502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111393528.6A Active CN113891162B (en) 2021-11-23 2021-11-23 Live broadcast room loading method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113891162B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134619A (en) * 2022-06-24 2022-09-30 广州博冠信息科技有限公司 Live broadcast room display method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686420A (en) * 2016-12-09 2017-05-17 广州华多网络科技有限公司 Live streaming application program management method and apparatus
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
CN111338722A (en) * 2020-02-05 2020-06-26 广州虎牙科技有限公司 Live broadcast room template loading method and device, electronic equipment and readable storage medium
CN111385593A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Cross-platform live content synchronization method and device, storage medium and server
CN111901614A (en) * 2020-06-22 2020-11-06 深圳市沃特沃德股份有限公司 Multi-platform synchronous live broadcast method and device, computer equipment and readable storage medium
WO2021111310A1 (en) * 2019-12-02 2021-06-10 Wweevv Pty Ltd Method and system for aggregating live streams

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686420A (en) * 2016-12-09 2017-05-17 广州华多网络科技有限公司 Live streaming application program management method and apparatus
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
CN111385593A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Cross-platform live content synchronization method and device, storage medium and server
WO2021111310A1 (en) * 2019-12-02 2021-06-10 Wweevv Pty Ltd Method and system for aggregating live streams
CN111338722A (en) * 2020-02-05 2020-06-26 广州虎牙科技有限公司 Live broadcast room template loading method and device, electronic equipment and readable storage medium
CN111901614A (en) * 2020-06-22 2020-11-06 深圳市沃特沃德股份有限公司 Multi-platform synchronous live broadcast method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN113891162A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN113840154B (en) Live broadcast interaction method and system based on virtual gift and computer equipment
CN113453030B (en) Audio interaction method and device in live broadcast, computer equipment and storage medium
CN113573083A (en) Live wheat-connecting interaction method and device and computer equipment
CN113840156B (en) Live broadcast interaction method and device based on virtual gift and computer equipment
CN113938696B (en) Live broadcast interaction method and system based on custom virtual gift and computer equipment
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN113824976A (en) Method and device for displaying approach show in live broadcast room and computer equipment
CN114125480B (en) Live chorus interaction method, system, device and computer equipment
CN113613027B (en) Live broadcast room recommendation method and device and computer equipment
CN113891162B (en) Live broadcast room loading method and device, computer equipment and storage medium
CN113824984A (en) Virtual gift pipelining display method, system, device and computer equipment
CN115134623B (en) Virtual gift interaction method, system, device, electronic equipment and medium
CN114095772B (en) Virtual object display method, system and computer equipment under continuous wheat direct sowing
CN114760502A (en) Live broadcast room approach show merging and playing method and device and computer equipment
CN114630189B (en) Multi-channel approach prompting method, system, device, computer equipment and medium in live broadcasting room
CN114827644B (en) Live broadcast interaction method, device, equipment and storage medium based on user matching information
CN115065838B (en) Live broadcast room cover interaction method, system, device, electronic equipment and storage medium
CN114513679B (en) Live broadcast room recommendation method, system and computer equipment based on audio pre-playing
CN114245223B (en) Live broadcasting room task loading method, system, device and computer equipment
CN114302165B (en) Live broadcast room virtual gift giving method, device, computer equipment and storage medium
CN114630154B (en) Live audience importing method, system, device and computer equipment
CN114302162B (en) Message bubble display method, system and device and computer equipment
CN114666646B (en) Live broadcast room cover interaction method, system, device, equipment and medium
CN116016972B (en) Live broadcasting room beautifying method, device and system, storage medium and electronic equipment

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