CN113891162A - Live broadcast room loading method and device and computer equipment - Google Patents

Live broadcast room loading method and device and computer equipment Download PDF

Info

Publication number
CN113891162A
CN113891162A CN202111393528.6A CN202111393528A CN113891162A CN 113891162 A CN113891162 A CN 113891162A CN 202111393528 A CN202111393528 A CN 202111393528A CN 113891162 A CN113891162 A CN 113891162A
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
room
platform
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111393528.6A
Other languages
Chinese (zh)
Other versions
CN113891162B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to the technical field of network live broadcast, and provides a live broadcast room loading method, a live broadcast room loading device and computer equipment, wherein the method comprises the following steps: responding to a live broadcast room loading request, and acquiring a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier; if the live broadcast platform is the first live broadcast platform, sending a first live broadcast room loading instruction; responding to a first live broadcast room loading instruction, executing a live broadcast room establishing process of a first live broadcast platform based on a plug-in, and acquiring first live broadcast room data corresponding to a live broadcast room identifier; loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast 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 live broadcasting room identifier from the first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room. Compared with the prior art, the method and the device have the advantages that the live broadcast experience of the user is enriched, and the watching rate and the retention time of the live broadcast room are improved.

Description

Live broadcast room loading method and device and computer equipment
Technical Field
The embodiment of the application relates to the technical field of network live broadcast, in particular to a live broadcast room loading method and device and computer equipment.
Background
With the progress of network communication technology, live webcast becomes a new network interaction mode, and live webcast is favored by more and more audiences due to the characteristics of instantaneity, interactivity and the like.
At present, a user can trigger a client to load any one live broadcast room under a certain live broadcast platform for the user by accessing a live broadcast program provided by the live broadcast platform, so that the live broadcast content can be watched and online interaction can be participated.
However, in the combined operation scene of the live broadcast platform, the live broadcast room loading mode cannot integrate the live broadcast room resources of different live broadcast platforms, so that the live broadcast experience of users cannot be enriched, more users are guided to enter the live broadcast room, and the watching rate and the retention time of the live broadcast room are improved.
Disclosure of Invention
The embodiment of the application provides a live broadcast room loading method, a live broadcast room loading device and computer equipment, which can be used for integrating live broadcast room resources of different live broadcast platforms and enriching the technical problem of live broadcast experience of a user, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a live broadcast room loading method, where the method is executed by a client, the 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:
responding to a live broadcast room loading request, and acquiring a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier;
if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a first live broadcast room loading instruction;
responding to a first live broadcast room loading instruction, executing a live broadcast room establishing process of a first live broadcast platform based on a plug-in, and acquiring first live broadcast room data corresponding to a live broadcast room identifier;
loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast room identification;
executing an audio and video stream data calling process of a first direct broadcasting platform based on a plug-in, calling audio and video stream data corresponding to a live broadcasting room identifier from a first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to a live broadcasting room; the first server is a server of the first direct broadcasting 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, where the method includes:
the client responds to a live broadcast room loading request, and acquires a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier; if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a first live broadcast room loading instruction;
the client responds to a first live broadcast room loading instruction, executes a live broadcast room establishing process of a first live broadcast platform based on a plug-in, and acquires first live broadcast room data corresponding to a live broadcast room identifier; loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast room identification; executing an audio and video stream data calling process of a first direct playing platform based on a plug-in, and triggering a client to send an audio and video stream data calling instruction to a first server; the first server is a server of a first direct broadcasting platform;
the first server responds to an audio and video stream data calling instruction, acquires a live broadcast room identifier and audio and video stream data corresponding to the live broadcast room identifier, and sends the audio and video stream data corresponding to the live broadcast room identifier to the client;
and the client receives the audio and video stream data corresponding to the live broadcast room identifier and outputs the audio and video stream data corresponding to the live broadcast room identifier to the live broadcast room.
In a third aspect, an embodiment of the present application provides a live broadcast room loading apparatus, including:
the first acquisition unit is used for responding to a live broadcast room loading request and acquiring a live broadcast platform corresponding to a live broadcast room identifier;
the first judging unit is used for sending 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;
the first response unit is used for responding to a first live broadcast room loading instruction, executing a live broadcast room establishing process of a first live broadcast platform based on a plug-in and acquiring first live broadcast room data corresponding to a live broadcast room identifier;
the first loading unit is used for loading the live broadcast room corresponding to the live broadcast room identifier according to the first live broadcast room data corresponding to the live broadcast room identifier;
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 live broadcasting room identifier from the first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room; the first server is a server of the first direct broadcasting 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, wherein the processor implements the steps of the method according to the first aspect or the second aspect when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method according to the first aspect or the second aspect.
In the embodiment of the application, a plug-in used for calling a first direct broadcasting program of a first direct broadcasting platform is loaded in a second direct broadcasting program, and when a direct broadcasting room loading request is responded, not only a direct broadcasting room identifier is obtained, but also a direct broadcasting platform corresponding to the direct broadcasting room identifier is obtained, so that a first direct broadcasting room loading instruction is sent when the direct broadcasting platform is confirmed to be the first direct broadcasting platform, then a client responds to the first direct broadcasting room loading instruction, executes a direct broadcasting room establishing process of the first direct broadcasting platform based on the plug-in, obtains first direct broadcasting room data corresponding to the direct broadcasting room identifier, loads a direct broadcasting room corresponding to the direct broadcasting room identifier according to the first direct broadcasting room data corresponding to the direct broadcasting room identifier, executes an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calls audio and video stream data corresponding to the direct broadcasting room identifier from a first server of the first direct broadcasting platform, the audio and video streaming data corresponding to the live broadcast room identification are output to the live broadcast room, the live broadcast room loading the first live broadcast platform in the second live broadcast program provided by the second live broadcast platform is realized, the integration of the resources of the live broadcast rooms of different live broadcast platforms is achieved, the live broadcast experience of users is enriched, more users are guided to enter the technical effect of the live broadcast room, and the watching rate and the retention time of the live broadcast rooms of different live broadcast platforms can be synchronously improved.
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 a schematic view of an application scenario of a live broadcast room loading method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a live broadcast 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 a live broadcast loading method according to a first embodiment of the present application;
fig. 5 is an interface schematic diagram of a live broadcast room of a first live broadcast platform according to an embodiment of the present application;
fig. 6 is another schematic flow chart of a live broadcast loading method according to the first embodiment of the present application;
fig. 7 is an interface schematic diagram of a live broadcast room of a second live broadcast platform according to an embodiment of the present application;
fig. 8 is a schematic flowchart of a live broadcast loading method according to a first embodiment of the present application;
fig. 9 is a schematic flowchart of a live broadcast loading method according to a second embodiment of the present application;
fig. 10 is a schematic structural diagram of a live broadcast 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 the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the 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 and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" 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 wireless signal receiver devices, which include only wireless signal receiver devices without transmit capability, and receiving and transmitting hardware devices, which include receiving and transmitting hardware devices capable of two-way communication over a two-way communication link. Such a device may include: cellular or other communication devices such as personal computers, tablets, etc. having single or multi-line displays or cellular or other communication devices without multi-line displays; PCS (personal communications Service), which may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global positioning system) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "client," "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "client", "terminal Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The hardware referred to by the names "server", "client", "service node", etc. is essentially a computer device with the performance of a personal computer, and is a hardware device having necessary components disclosed by the von neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., wherein a computer program is stored in the memory, and the central processing unit loads a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby accomplishing specific functions.
It should be noted that the concept of "server" as referred to in this application can be extended to the case of a server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present application.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a live broadcast loading method according to an embodiment of the present application, where the application scenario includes a client 101, a first server 102, and a second server 103 according to the 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 live broadcast platform and the second live broadcast platform are both platforms for providing network live broadcast service, and are essentially platforms for producing and consuming live broadcast content. There are many live broadcast platforms known at present, and they are not listed here.
It is noted that there are many understandings of the concept of "client" in the prior art, such as: it may be understood as an application program installed in a computer device, or may be understood 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, and more specifically, refers to a computer device, such as: smart phones, smart interactive tablets, personal computers, and the like.
When the client is a mobile device such as a smart phone and an intelligent interactive tablet, a user can install a matched mobile application program on the client and can also access a Web application program on the client.
When the client is a non-mobile device such as a Personal Computer (PC), the user can install a matching PC application on the client, and similarly can access a Web application on the client.
The mobile application refers to an application program that can be installed in the mobile device, the PC application refers to an application program that can be installed in the non-mobile device, and the Web application refers to an application program that needs to be accessed through a browser.
Specifically, the Web application program may be divided into a mobile version and a PC version according to the difference of the client types, and the page layout modes and the available server support of the two versions may be different.
In the embodiment of the application, the types of live application programs provided to the user are divided into a mobile end live application program, a PC end live application program and a Web end live application program. The user can autonomously select a mode of participating in the live webcasting according to different types of the client adopted by the user.
The hardware at which the client 101 is directed is essentially a computer device, and in particular, as shown in fig. 1, it may be a computer device of the type of a smartphone, smart interactive tablet, personal computer, or the like. The client 101 may access the internet through a known network access method, and establish 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 server cluster, which includes a service server, an audio/video streaming server, and a server providing other related support, and so on, to provide a service for a related terminal device, such as the client 101 in fig. 1.
Generally, clients can be divided into a main client and a viewer client depending on the identity of the user used. The anchor client is a client that sends a webcast video, and is generally a client used by an anchor (i.e., a live anchor user) in webcast. A viewer client refers to an end that receives and views a webcast video, and is typically a client employed by a viewer viewing the video in a webcast (i.e., a live viewer user).
In the embodiment of the present application, the client 101 is specifically referred to as one end that receives and watches the webcast video.
The user of the client 101 may enter a certain live room to watch the live. The live broadcast room is a chat room realized by means of the internet technology and generally has an audio and video broadcast control function. In the live broadcast room, the anchor and the audience can interact in a known online interaction mode such as voice, video, text and the like, generally, the anchor performs programs for audience users in the form of audio and video streams, and economic transaction behaviors can be generated in the interaction process. Of course, the application form of the live broadcast room is not limited to online entertainment, and can also be popularized to other relevant scenes, such as a video conference scene, a product recommendation sale scene and any other scenes needing similar interaction.
Specifically, the process of watching the live broadcast by the user is as follows: a user may click to access a live program installed on the client 101 and select to enter any live room, triggering the viewer client 101 to load the live room for the user, where a number of interactive components are displayed, for example: video windows, virtual gift boxes, public screens and the like, and the interaction components can enable users to watch live broadcasts in a live broadcast room and carry out various types of online interaction.
At present, in order to achieve a business mode of mutual cooperation and win-win, the live broadcast platforms can carry out joint operation so as to achieve the purposes of enriching the live broadcast content and promoting the introduction of flow. The current live broadcast room loading mode, the user can only be on the client through visiting the live broadcast procedure of a certain direct broadcast platform, get into the live broadcast room of this live broadcast platform and watch live broadcast, participate in online interdynamic, consequently, this kind of live broadcast room loading mode can't be integrated with the live broadcast resource of different live broadcast platforms, and this is unfavorable for the expansion of joint operation, also can't enrich user's live broadcast experience, promotes the introduction of flow each other.
Based on the above, the embodiment of the application provides a live broadcast room loading method. Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a live broadcast loading method according to a first embodiment of the present application, where the method includes the following steps:
s101: and responding to the live broadcast room loading request, and acquiring the live broadcast room identification and a live broadcast platform corresponding to the live broadcast room identification.
S102: and if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a loading instruction of the first live broadcast room.
S103: and responding to a first live broadcast room loading instruction, executing a live broadcast room establishing process of the first live broadcast platform based on the plug-in, and acquiring first live broadcast room data corresponding to the live broadcast room identification.
S104: and loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast room identification.
S105: executing an audio and video stream data calling process of a first direct broadcasting platform based on a plug-in, calling audio and video stream data corresponding to a live broadcasting room identifier from a first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to a live broadcasting room; the first server is a server of the first direct broadcasting platform.
In this embodiment, a live view loading method is described for a main execution subject from a client. Meanwhile, in order to more clearly illustrate each step in the live broadcast loading method, the server-oriented description is also given to help understand the overall scheme.
The client has an entry for a second live program provided by a second live platform, the second live platform can refer to the definition, and a user can access the entry, enter the second live program, watch live and perform online interaction.
In an optional embodiment, the second live broadcast platform may directly provide an installation package of the second live broadcast program, the second live broadcast program is an independent application program, and the user may install the second live broadcast program into the client by downloading the installation package of the second live broadcast program based on the installation package of the second live broadcast program.
In this embodiment, the user can browse and enter the live broadcast room by accessing the entry of the second live broadcast program displayed on the operation interface of the client.
In another alternative embodiment, the second live program is a part of an application program, the user needs to download an installation package of the application program, the application program is installed in the client based on the installation package of the application program, and an entry of the second live program is displayed in an interface of the application program because the second live program is a part of an application program.
In this embodiment, the user first accesses the entry of the application program displayed on the operation interface of the client to enter the application program, and then accesses the entry of the second live program in the application program interface to browse into the live 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 in an application program interface that is required to comply with a specification, the application program interface being provided for the second live platform.
Specifically, when a user accesses an entry of a second live program for the first time and enters the second live program, the client is triggered to load a plug-in for calling a first live program of the first live platform.
Referring to fig. 3, fig. 3 is a schematic diagram of interaction between a client and a first server and a second server according to an embodiment of the present disclosure. It can be seen that the client 31 stores a second live program 32 (existing in the form of code in the bottom layer of the client), the second live program is loaded with a plug-in 34 for calling a first live program 33 of the first live platform, the client can access a second server 35 of the second live platform based on the second live program 32 of the second live platform, and can call the first live program 33 of the first live platform based on the plug-in 34, and then access a first server 36 of the first live platform.
When the user accesses the second live program, the client presents the live room list for the user. In the embodiment of the application, only the live broadcast room of the second live broadcast platform can be recommended in the live broadcast room list, only the live broadcast room of the first live broadcast platform can be recommended, and mixed recommendation of the live broadcast room of the second live broadcast platform and the live broadcast room of the first live broadcast platform can be also realized.
Before explaining step S101, how to load the live broadcast list in the client is explained, specifically as follows:
and the client responds to the live broadcast room list loading request, acquires live broadcast room list data from the second server, and displays a live broadcast room list containing live broadcast room entry components corresponding to the live broadcast room identifications in the client according to the live broadcast room list data.
Wherein the second server is a server of a second live platform.
The live broadcast room list data comprises a plurality of live broadcast room identifications and live broadcast room entry component data corresponding to the live broadcast room identifications.
The live room entry component data includes display data of the live room entry component and functional data of the live room entry component.
The display data of the live room entry component is used for determining the display position, the display style, the display size and the like of the live room entry component in the live room list.
The function data of the live broadcast room entrance component is used for realizing the function that the live broadcast room entrance component responds to the user operation and triggers the client to send the live broadcast room loading request.
And the live broadcast room identification corresponding to the live broadcast room displayed in the live broadcast room list and the display position corresponding to the live broadcast room are determined by the second server.
Specifically, the first server sends a live broadcast room identifier corresponding to an initiated live broadcast room of the first live broadcast platform to the second server at preset time intervals, and the second server stores the live broadcast room identifier corresponding to the initiated live broadcast room of the first live broadcast platform and the live broadcast room identifier corresponding to the initiated live broadcast room of the second live broadcast platform.
The second server determines live broadcast room list data according to live broadcast room identifications corresponding to all live broadcast rooms and a preset live broadcast room recommendation algorithm, so that the live broadcast room identifications in the live broadcast room list data can be live broadcast room identifications corresponding to the live broadcast rooms of the first live broadcast platform and can also be live broadcast room identifications corresponding to the live broadcast rooms of the second live broadcast platform.
In step S101, the client responds to the live broadcast room loading request, and obtains a live broadcast platform corresponding to the live broadcast room identifier and the live broadcast room identifier.
The live broadcast room loading request is generated by triggering a client after a user interacts with a certain live broadcast room entrance component. For example: the user clicks on a live room entry component in the live room list.
The live room identifier is a unique identifier of the live room and is used for determining which live room is requested to be loaded.
The live broadcast platform corresponding to the live broadcast room identifier may be the first live broadcast platform or the second live broadcast platform.
And S102-S104, if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a first live broadcast room loading instruction, responding to the first live broadcast room loading instruction, executing a live broadcast room establishing process of the first live broadcast platform based on the plug-in, acquiring first live broadcast room data corresponding to the live broadcast room identifier, and loading the live broadcast room corresponding to the live broadcast room identifier according to the first live broadcast room data corresponding to the live broadcast room identifier.
Specifically, when the user enters the live broadcast room for the first time, 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 live broadcast platform the live broadcast platform corresponding to the live broadcast room identification is, and when the live broadcast platform corresponding to the live broadcast room identification is the first live broadcast platform, a first live broadcast room loading instruction is sent out, the client side responds to the first live broadcast room loading instruction based on the plug-in, and executes the live broadcast room establishing process of the first live broadcast platform based on the plug-in.
Wherein, executing the live broadcast room creation process of the first live broadcast platform based on the plug-in may be understood as calling code for executing the live broadcast room creation process in the plug-in.
Specifically, when the client executes a live broadcast room creation process of the first live broadcast platform based on the plug-in, an object of the first live broadcast platform is initialized, then business logic of the first live broadcast platform about live broadcast room creation is called through the object, first live broadcast room data corresponding to a live broadcast room identifier is obtained, and therefore the 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.
In an alternative embodiment, please refer to fig. 4, where fig. 4 is a schematic flowchart of S104 in the live broadcast loading method provided in the first embodiment of the present application, and S104 includes the steps of:
s1041: loading a first live broadcast room template according to the first live broadcast room template data; the first live broadcast room template is used for determining the layout of a first live broadcast component and a first live broadcast component in a live broadcast room under a first live broadcast 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 broadcast room data includes first live broadcast room template data, first live broadcast room display data, and first live broadcast room service logic data.
The first live broadcast room template data is used for determining the layout of a first live broadcast component and a first live broadcast component in a live broadcast room under a first live broadcast platform. Live broadcast rooms under different live broadcast platforms adopt different live broadcast room template data.
The first live broadcast room display data are used for rendering and displaying each first live broadcast component in the live broadcast room, and determining the display style, the display color and the like of the first live broadcast component.
The first live broadcast service logic data is used for realizing the function of the first live broadcast component in the live broadcast room, and may be understood as that the bottom layer code is used for realizing the sequence and association of the live broadcast service in execution, or the bottom layer code is used for realizing the rule mapping of the live broadcast service in execution.
Referring to fig. 5, fig. 5 is a schematic view of an interface of a live broadcast room of a first live broadcast platform according to an embodiment of the present application. The live broadcast room comprises a video component 51, a public screen component 52, a message component 53, a gift component 54 and the like, and live broadcast rooms under different live broadcast platforms have different live broadcast room template data, so that the components and the layout of the components in the live broadcast rooms can be changed.
In step S105, the client executes an audio and video stream data calling process of the first live broadcast platform based on the plug-in, calls audio and video stream data corresponding to the live broadcast room identifier from the first server, and outputs the audio and video stream data corresponding to the live broadcast room identifier to the live broadcast room.
The first server is a server of the first direct broadcasting platform.
Specifically, a client executes an audio and video stream data calling process of a first direct broadcasting platform based on a plug-in, the client is triggered to send an audio and video stream data calling instruction to a first server, the first server responds to the audio and video stream data calling instruction, obtains audio and video stream data corresponding to a live broadcasting room identifier and a live broadcasting room identifier, sends the audio and video stream data corresponding to the live broadcasting room identifier 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 a live broadcasting room.
Executing the audio/video stream data calling process of the first direct-play platform based on the plug-in may be understood as calling code for executing the audio/video stream data calling process in the plug-in.
In an alternative embodiment, please refer to fig. 6, where fig. 6 is another schematic flow chart of a live broadcast loading method according to the first embodiment of the present application, and the method further includes the steps of:
s106: and responding to the live broadcast room quit request, and acquiring the live broadcast room identification and a live broadcast platform corresponding to the live broadcast room identification.
S107: and if the live broadcast platform corresponding to the live broadcast platform identification is the first live broadcast platform, sending a first live broadcast room quit instruction.
S108: and responding to the first live broadcast room quitting instruction, executing the live broadcast room quitting process of the second live broadcast platform, and executing the live broadcast room quitting process of the first live broadcast platform based on the plug-in.
The live broadcast room exit request is generated by a user triggering a client, for example: the user can trigger the client to generate a live broadcast room exit request by clicking the exit component.
When quitting the live broadcast room, the container can also obtain the live broadcast room identification, judge which live broadcast platform the live broadcast platform corresponding to the live broadcast room identification is, and send out a first live broadcast room quit instruction when the live broadcast platform corresponding to the live broadcast platform identification is the first live broadcast platform, the client responds to the first live broadcast room quit instruction, executes the live broadcast room quit process of the second live broadcast platform, and executes the live broadcast room quit process of the first live broadcast platform based on the plug-in.
The live broadcast room exit process of the second live broadcast platform can be executed by calling a code related to the live broadcast room exit process in the second live broadcast program.
Executing a live room creation process of the first live platform based on the plug-in may be understood as invoking code executing a live room exit process in the plug-in.
Specifically, executing a live broadcast room exit process of the second live broadcast platform, that is, destroying an object of the second live broadcast platform, which is a service logic for enabling the second live broadcast platform to exit the live broadcast room.
And executing a live broadcast room exit process of the first live broadcast platform based on the plug-in, namely destroying the object of the first live broadcast platform, namely realizing the business logic of the first live broadcast platform exiting the live broadcast room.
It should be noted that, because the container is a container of the second live broadcast platform, the container may initialize an object of the second live broadcast platform by default, and thus, when exiting the live broadcast room of the first live broadcast platform, the container may execute the live broadcast room exit process of the second live broadcast platform and may execute the live broadcast room creation process of the first live broadcast platform based on the plug-in.
In the embodiment of the application, a plug-in used for calling a first direct broadcasting program of a first direct broadcasting platform is loaded in a second direct broadcasting program, and when a direct broadcasting room loading request is responded, not only a direct broadcasting room identifier is obtained, but also a direct broadcasting platform corresponding to the direct broadcasting room identifier is obtained, so that a first direct broadcasting room loading instruction is sent when the direct broadcasting platform is confirmed to be the first direct broadcasting platform, then a client responds to the first direct broadcasting room loading instruction, executes a direct broadcasting room establishing process of the first direct broadcasting platform based on the plug-in, obtains first direct broadcasting room data corresponding to the direct broadcasting room identifier, loads a direct broadcasting room corresponding to the direct broadcasting room identifier according to the first direct broadcasting room data corresponding to the direct broadcasting room identifier, executes an audio and video stream data calling process of the first direct broadcasting platform based on the plug-in, calls audio and video stream data corresponding to the direct broadcasting room identifier from a first server of the first direct broadcasting platform, the audio and video streaming data corresponding to the live broadcast room identification are output to the live broadcast room, the live broadcast room loading the first live broadcast platform in the second live broadcast program provided by the second live broadcast platform is realized, the integration of the resources of the live broadcast rooms of different live broadcast platforms is achieved, the live broadcast experience of users is enriched, more users are guided to enter the technical effect of the live broadcast room, and the watching rate and the retention time of the live broadcast rooms of different live broadcast platforms can be synchronously improved.
Next, how to load the live broadcast room will be described if the live broadcast platform corresponding to the live broadcast platform identifier is the second live broadcast platform. In an optional embodiment, the method further comprises the step of:
s109: and if the live broadcast platform corresponding to the live broadcast platform identification is the second live broadcast platform, sending a second live broadcast room loading instruction.
S110: and responding to a second live broadcast room loading instruction, executing a live broadcast room establishing process of a second live broadcast platform, and acquiring second live broadcast room data corresponding to the live broadcast room identification.
S111: and loading the live broadcast room corresponding to the live broadcast room identification according to the second live broadcast room data corresponding to the live broadcast room identification.
S112: executing an audio and video stream data calling process of a second live broadcast platform, calling audio and video stream data corresponding to the live broadcast room identifier from a second server, and outputting the audio and video stream data corresponding to the live broadcast room identifier to a live broadcast room; and the second server is a server of a second live broadcast platform.
Regarding steps S109 to S112, when the user enters the live broadcast room for the first time, 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 distribution control.
The container can judge which live platform the live platform corresponding to the live room identification is, and when the live platform corresponding to the live room identification is the second live platform, a second live room loading instruction is sent, and the client responds to the second live room loading instruction and executes the live room establishing process of the second live platform.
It can be understood that, in this embodiment, the user accesses the second live program on the client, and therefore, the client executes the live-broadcast-room creating process of the second live-broadcast platform based on the second live-broadcast program in response to the second live-broadcast-room loading instruction.
Specifically, when the client creates the container, the container is the container of the second live broadcast platform, so that an object of the second live broadcast platform can be initialized by default, when a live broadcast room creation process of the second live broadcast platform is executed, a service logic created by a live broadcast room of the second live broadcast platform can be called through the object, second live broadcast room data corresponding to the live broadcast room identifier is obtained, and therefore the live broadcast room corresponding to the live broadcast room identifier is loaded according to the second live broadcast room data corresponding to the live broadcast room identifier.
In an optional embodiment, the second live room data includes second live room template data, second live room display data, and second live room service logic data, and S111 includes the steps of:
s1111: loading a second live broadcast room template according to the second live broadcast room template data; and the second live broadcast room template is used for determining the layout of a second live broadcast component and a second live broadcast component in a live broadcast room under the second live broadcast platform.
S1112: and rendering and displaying each second live broadcast component in the live broadcast room according to the display data of the second live broadcast room.
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.
And the second live broadcast room template data is used for determining the layout of a second live broadcast component and a second live broadcast component in a live broadcast room under a second live broadcast platform. Live broadcast rooms under different live broadcast platforms adopt different live broadcast room template data.
The second live broadcast room display data are used for rendering and displaying each second live broadcast component in the live broadcast room, and determining the display style, the display color and the like of the second live broadcast component.
The second live broadcast room service logic data is used for realizing the function of the second live broadcast component in the live broadcast room, and can be understood as that the bottom layer code is used for realizing the sequence and association of the live broadcast service in the execution process, or the bottom layer code is used for realizing the rule mapping of the live broadcast service in the execution process.
Referring to fig. 7, fig. 7 is a schematic view of an interface of a live broadcast room of a second live broadcast platform according to an embodiment of the present application. The live broadcast room comprises a video component 71, a public screen component 72, a message component 73, a gift component 74 and the like, and live broadcast rooms under different live broadcast platforms have different live broadcast room template data, so that the components and the layout of the components in the live broadcast rooms can be changed. Referring 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 of the live room templates are not listed.
In step S112, the client executes an audio/video stream data retrieval 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.
And the second server is a server of a second live broadcast platform.
Specifically, the client executes an audio and video stream data calling process of a second live broadcast platform, triggers the client to send an audio and video stream data calling instruction to a second server, the second server responds to the audio and video stream data calling instruction, obtains audio and video stream data corresponding to a live broadcast room identifier and a live broadcast room identifier, sends the audio and video stream data corresponding to the live broadcast room identifier to the client, and the client receives the audio and video stream data corresponding to the live broadcast room identifier and outputs the audio and video stream data corresponding to the live broadcast room identifier to a live broadcast room.
Executing the audio/video stream data retrieval process of the second live broadcast platform may be understood as invoking code that executes the audio/video stream data retrieval process in the second live broadcast program.
How to exit the live room of the second live platform will be described below, and in an alternative embodiment, the method further comprises the steps of:
s113: and responding to the live broadcast room quit request, and acquiring the live broadcast room identification and a live broadcast platform corresponding to the live broadcast room identification.
S114: and if the live broadcast platform corresponding to the live broadcast platform identification is the second live broadcast platform, sending a second live broadcast room quit instruction.
S115: and responding to the second live broadcast room quit instruction, and executing the live broadcast room quit process of the second live broadcast platform.
The live broadcast room exit request is generated by a user triggering a client, for example: the user can trigger the client to generate a live broadcast room exit request by clicking the exit component.
When quitting the live broadcast room, the container can also acquire the live broadcast room identification, judge which live broadcast platform the live broadcast platform corresponding to the live broadcast room identification is, and send a second live broadcast room quit instruction when the live broadcast platform corresponding to the live broadcast platform identification is the second live broadcast platform, and the client responds to the second live broadcast room quit instruction and executes the live broadcast room quit process of the second live broadcast platform.
The live broadcast room exit process of the second live broadcast platform can be executed by calling a code related to the live broadcast room exit process in the second live broadcast program.
Specifically, executing a live broadcast room exit process of the second live broadcast platform, that is, destroying an object of the second live broadcast platform, which is a service logic for enabling the second live broadcast platform to exit the live broadcast room.
It should be noted that, because the live broadcast room of the first live broadcast platform is not loaded, when exiting the live broadcast room of the second live broadcast platform, only the live broadcast room exiting process of the second live broadcast platform is executed.
In the following, how to switch the live broadcast rooms of different live broadcast platforms is specifically divided into switching from the live broadcast room of the first live broadcast platform to the live broadcast room of the second live broadcast platform and switching from the live broadcast room of the second live broadcast platform to the live broadcast room of the first live broadcast platform.
Referring to fig. 8, fig. 8 is a schematic flow chart of a live broadcast loading method according to a first embodiment of the present application, where the method further includes steps S116 to S119, which are specifically as follows:
s116: and responding to the live broadcast room switching request, and acquiring the current live broadcast room identification, the live broadcast platform corresponding to the current live broadcast room identification, the target live broadcast room identification and the live broadcast platform corresponding to the target live broadcast room identification.
S117: and 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 quitting instruction are sent.
S118: and responding to the first pause instruction, executing a live broadcast room pause progress of the first live broadcast platform based on the plug-in, and hiding the loaded first live broadcast room template.
S119: and responding to the second entering instruction, executing a live broadcast room entering process of the second live broadcast platform, and displaying the loaded second live broadcast room template.
Because the live broadcast room data used for loading the live broadcast rooms in the first live broadcast platform and the second live broadcast platform are different, the live broadcast room templates, the display effect of the live broadcast room components and the service logic of the live broadcast rooms are different, and therefore corresponding live broadcast room switching operation needs to be carried out.
In step S116, the live telecast switch request is generated by the user triggering the client when the user performs a live telecast switch operation on the live telecast interface, for example: an upward sliding operation, a downward sliding operation, and the like.
And the client responds to the live broadcast room switching request and needs to acquire the current live broadcast room identification, the live broadcast platform corresponding to the current live broadcast room identification, the target live broadcast room identification and the live broadcast platform corresponding to the target live broadcast room identification.
The current live broadcast room identification is a live broadcast room identification corresponding to a live broadcast room where the user is located currently, and the target live broadcast room identification is a live broadcast room identification corresponding to a live broadcast room to which the user is switched.
In step S117, if the live broadcast platform corresponding to the current live broadcast room identifier is the first live broadcast platform, and the live broadcast platform corresponding to the target live broadcast room identifier is the second live broadcast platform, a second enter instruction and a first pause instruction are issued.
And the second entering instruction is used for informing the client to execute the live broadcast room entering program of the second live broadcast platform and displaying the loaded second live broadcast room template.
The first temporary quit instruction is used for informing the client to execute a temporary quit process of the live broadcast room of the first live broadcast platform based on the plug-in and hiding the loaded first live broadcast room template.
Regarding step S118, the client performs a live broadcast room roll-back procedure of the first live broadcast platform based on the plug-in response to the first roll-back instruction, and hides the loaded first live broadcast room template.
And the client responds to the first pause instruction and executes the pause progress of the live broadcast room of the first live broadcast platform based on the plug-in. The live broadcast room temporary quit process is different from the live broadcast room quit process of the first live broadcast platform, only the business logic of the live broadcast room temporary quit of the first live broadcast platform can be realized, the loaded first live broadcast room template is temporarily hidden, and the object of the first live broadcast platform cannot be destroyed.
Regarding step S119, the client executes the live view entry process of the second live view platform in response to the second entry instruction, and displays the loaded second live view template.
And the client responds to the second entering instruction and executes the live broadcast room entering process of the second live broadcast platform. The live broadcast room entering process of the second live broadcast platform is also different from the creation process of the second live broadcast platform, and the object of the second live broadcast platform does not need to be initialized, but the object is directly used for calling the live broadcast room entering process of the second live broadcast platform, so that the business logic of the live broadcast room entering of the second live broadcast platform is realized, and the loaded second live broadcast room template is displayed.
The output of the audio/video stream data is not described in detail, and the audio/video stream data can be directly called from a server of a corresponding live broadcast platform.
In order to switch from the live broadcast room of the first live broadcast platform to the live broadcast room of the second live broadcast platform, the following explains a process of switching from the live broadcast room of the second live broadcast platform to the live broadcast room of the first live broadcast platform, and the method further includes steps S120 to S123, specifically as follows:
s120: and responding to the live broadcast room switching request, and acquiring the current live broadcast room identification, the live broadcast platform corresponding to the current live broadcast room identification, the target live broadcast room identification and the live broadcast platform corresponding to the target live broadcast room identification.
S121: and 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 live broadcast platform, and a second pause instruction and a first entering instruction are sent.
S122: and responding to the second pause instruction, executing a live broadcast room pause progress of the second live broadcast platform, and hiding the loaded second live broadcast room template.
S123: and responding to the first entering instruction, executing a live broadcast room entering process of the first live broadcast platform based on the plug-in, and displaying the loaded first live broadcast room template.
Step S120 is the same as step S116, and will not be described herein.
In step S121, if the live broadcast platform corresponding to the current live broadcast room identifier is the second live broadcast platform, and the live broadcast platform corresponding to the target live broadcast room identifier is the first live broadcast platform, a second pause instruction and a first enter instruction are issued.
The first entering instruction is used for informing the client to execute a live broadcast room entering program of the first live broadcast platform based on the plug-in and displaying the loaded first live broadcast room template.
The second pause instruction is used for informing the client to execute the pause progress of the live broadcast room of the second live broadcast platform and hiding the loaded second live broadcast room template.
Regarding step S122, the client executes a live broadcast room roll-back procedure of the second live broadcast platform in response to the second roll-back instruction, and hides the loaded second live broadcast room template.
And the client responds to the second pause instruction and executes the pause progress of the live broadcast room of the second live broadcast platform. The live broadcast room temporary quitting process is different from the live broadcast room quitting process of the second live broadcast platform, only the business logic of the second live broadcast platform temporary quitting the live broadcast room can be realized, the loaded second live broadcast room template is temporarily hidden, and the object of the second live broadcast platform cannot be destroyed.
Regarding step S123, in response to the first entering instruction, the client executes a live view entering process of the first live view platform based on the plug-in, and displays the loaded first live view template.
And the client responds to the first entering instruction and executes the live broadcast room entering process of the first live broadcast platform based on the plug-in. The live broadcast room entering process of the first direct broadcast platform is also different from the creating process of the first direct broadcast platform, and the object of the first direct broadcast platform does not need to be initialized, but the object is directly used for calling the live broadcast room entering process of the first direct broadcast platform, so that the business logic of the live broadcast room entering of the first direct broadcast platform is realized, and the loaded first live broadcast room template is displayed.
The switching of the live broadcast rooms of different live broadcast platforms is realized in the embodiment, so that the resource integration of the live broadcast rooms of different live broadcast platforms is realized, the live broadcast experience of users is enriched, and more users are guided to enter the technical effect of the live broadcast rooms.
Referring to fig. 9, fig. 9 is a schematic flowchart of a live broadcast loading method according to a second embodiment of the present application, including the following steps:
s201: the client responds to a live broadcast room loading request, and acquires a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier; and if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a loading instruction of the first live broadcast room.
S202: the client responds to a first live broadcast room loading instruction, executes a live broadcast room establishing process of a first live broadcast platform based on a plug-in, and acquires first live broadcast room data corresponding to a live broadcast room identifier; loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast room identification; executing an audio and video stream data calling process of a first direct playing platform based on a plug-in, and triggering a 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 broadcasting platform.
S203: the first server responds to the audio and video stream data calling instruction, obtains the live broadcast room identification and the audio and video stream data corresponding to the live broadcast room identification, and sends the audio and video stream data corresponding to the live broadcast room identification to the client.
S204: and the client receives the audio and video stream data corresponding to the live broadcast room identifier and outputs the audio and video stream data corresponding to the live broadcast room identifier to the live broadcast room.
The live broadcast loading method provided by the above embodiment is written from both sides of the client and the server, and the implementation process thereof is detailed in the first embodiment, and is not described herein again.
Please refer to fig. 10, which is a schematic structural diagram of a live broadcast loading device according to a third embodiment of the present application. The apparatus may be implemented as all or part of a computer device in software, hardware, or a combination of both. The apparatus 10 comprises:
a first obtaining unit 1001, configured to obtain, in response to a live broadcast room loading request, a live broadcast platform corresponding to a live broadcast room identifier and a live broadcast room identifier;
the first judging unit 1002 is configured to send a first live broadcast room loading instruction if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform;
a first response unit 1003, configured to, in response to the first live broadcast room loading instruction, execute a live broadcast room creation process of the first live broadcast platform based on the plug-in, and acquire first live broadcast room data corresponding to the live broadcast room identifier;
a first loading unit 1004, configured to load the live broadcast room corresponding to the live broadcast room identifier according to the first live broadcast room data corresponding to the live broadcast room identifier;
the first output unit 1005 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 live broadcasting room identifier from the first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room; the first server is a server of the first direct broadcasting platform.
In the embodiment of the application, the live broadcast loading device is applied to a client. It should be noted that, when the live broadcast loading apparatus provided in the foregoing embodiment executes the live broadcast loading method, only the division of the functional modules is illustrated, and in practical applications, the functions may be allocated to 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 broadcast room loading device and the live broadcast room loading method provided by the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments and are not described herein again.
Please refer to fig. 11, which 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 operable on the processor 110, such as: loading a program in a live broadcast room; the steps in the first or second embodiment described above are implemented when the processor 110 executes the computer program 112.
The processor 110 may include one or more processing cores, among other things. The processor 110 is connected to various parts in the computer device 11 by various interfaces and lines, executes various functions of the computer device 11 and processes data by operating or executing instructions, programs, code sets or instruction sets stored in the memory 111 and calling data in the memory 111, and optionally, the processor 110 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing contents required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a single chip.
The Memory 111 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 111 includes a non-transitory computer-readable medium. The memory 111 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 111 may include a program storage area and a data storage area, wherein the program storage 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, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 111 may optionally be at least one memory device located remotely from the processor 110.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps of the foregoing embodiment, and a specific execution process may refer to specific descriptions of the foregoing embodiment, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of 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 processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (13)

1. A live broadcast room loading method is characterized in that the method is executed by a client, the client is provided with an entrance of a second live broadcast program provided by a second live broadcast platform, a plug-in of a first live broadcast program for calling the first live broadcast platform is loaded in the second live broadcast program, and the method comprises the following steps:
responding to a live broadcast room loading request, and acquiring a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier;
if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a first live broadcast room loading instruction;
responding to the first live broadcast room loading instruction, executing a live broadcast room establishing process of the first live broadcast platform based on the plug-in, and acquiring first live broadcast room data corresponding to the live broadcast room identification;
loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast 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 live broadcasting room identifier from a first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room; the first server is a server of the first direct broadcasting platform.
2. The live broadcast loading method of claim 1, further comprising the steps of:
if the live broadcast platform corresponding to the live broadcast platform identification is the second live broadcast platform, sending a second live broadcast room loading instruction;
responding to the second live broadcast room loading instruction, executing a live broadcast room establishing process of the second live broadcast platform, and acquiring second live broadcast room data corresponding to the live broadcast room identification;
loading the live broadcast room corresponding to the live broadcast room identification according to the second live broadcast room data corresponding to the live broadcast 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 identifier from a second server, and outputting the audio and video stream data corresponding to the live broadcast room identifier to the live broadcast room; and the second server is a server of the second live broadcast platform.
3. The live broadcast room loading method according to claim 1, wherein the first live broadcast room data includes first live broadcast room template data, first live broadcast room display data, and first live broadcast room service logic data, and the loading the live broadcast room corresponding to the live broadcast room identifier according to the first live broadcast room data corresponding to the live broadcast room identifier includes the steps of:
loading a first live broadcast room template according to the first live broadcast room template data; the first live broadcast room template is used for determining a first live broadcast component in the live broadcast room under the first live broadcast platform and the layout of the first live broadcast component;
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 broadcast loading method of claim 1, further comprising the steps of:
responding to a live broadcast room quit request, and acquiring the live broadcast room identification and a live broadcast platform corresponding to the live broadcast room identification;
if the live broadcast platform corresponding to the live broadcast platform identification is the first live broadcast platform, sending a first live broadcast room quit instruction;
and responding to the first live broadcast room quitting instruction, executing the live broadcast room quitting process of the second live broadcast platform, and executing the live broadcast room quitting process of the first live broadcast platform based on the plug-in.
5. The live broadcast room loading method according to claim 2, wherein the second live broadcast room data includes second live broadcast room template data, second live broadcast room display data, and second live broadcast room service logic data, and the loading of the live broadcast room corresponding to the live broadcast room identifier according to the second live broadcast room data corresponding to the live broadcast room identifier includes the steps of:
loading a second live broadcast room template according to the second live broadcast room template data; the second live broadcast room template is used for determining the layout of a second live broadcast component and a second live broadcast component in the live broadcast room under the second live broadcast platform;
rendering and displaying each second live broadcast component in the live broadcast room according to the display data of the second live broadcast room;
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.
6. The live broadcast loading method of claim 2, further comprising the steps of:
responding to a live broadcast room quit request, and acquiring the live broadcast room identification and a live broadcast platform corresponding to the live broadcast room identification;
if the live broadcast platform corresponding to the live broadcast platform identification is the second live broadcast platform, sending a second live broadcast room quit instruction;
and responding to the second live broadcast room quitting instruction, and executing the live broadcast room quitting process of the second live broadcast platform.
7. The live broadcast loading method according to any one of claims 1 to 6, characterized in that the method further comprises the steps of:
responding to a live broadcast room switching request, and acquiring a current live broadcast room identifier, a live broadcast platform corresponding to the current live broadcast room identifier, a target live broadcast room identifier and a live broadcast platform corresponding to the target live broadcast room identifier;
if the live broadcast platform corresponding to the current live broadcast room identifier is the second live broadcast platform, and the live broadcast platform corresponding to the target live broadcast room identifier is the first live broadcast platform, sending a second pause instruction and a first enter instruction;
responding to the second pause instruction, executing a live broadcast room pause progress of the second live broadcast platform, and hiding the loaded second live broadcast room template;
responding to the first entering instruction, executing a live broadcast room entering process of the first live broadcast platform based on the plug-in, and displaying a loaded first live broadcast room template.
8. The live broadcast loading method according to any one of claims 1 to 6, characterized in that the method further comprises the steps of:
responding to a live broadcast room switching request, and acquiring a current live broadcast room identifier, a live broadcast platform corresponding to the current live broadcast room identifier, a target live broadcast room identifier and a live broadcast platform corresponding to the target live broadcast room identifier;
if the live broadcast platform corresponding to the current live broadcast room identifier is the first live broadcast platform and the live broadcast platform corresponding to the target live broadcast room identifier is the second live broadcast platform, sending a second entering instruction and a first temporary quitting instruction;
responding to the first temporary quit instruction, executing a live broadcast room temporary quit process of the first live broadcast platform based on the plug-in, and hiding a loaded first live broadcast room template;
and responding to the second entering instruction, executing a live broadcast room entering process of the second live broadcast platform, and displaying the loaded second live broadcast room template.
9. The live-air loading method according to any one of claims 1 to 6, characterized by comprising, before responding to a live-air loading request, the steps of:
responding to the live broadcast room list loading request, and acquiring live broadcast room list data from a second server; the second server is a server of the second live broadcast platform; the live broadcast room list data comprises a plurality of live broadcast room identifications and live broadcast room entry component data corresponding to the live broadcast room identifications; the live broadcast room identification is a live broadcast room identification corresponding to a live broadcast room of the first live broadcast platform or a live broadcast room identification corresponding to a live broadcast room of the second live broadcast platform, and the live broadcast room identification corresponding to the live broadcast room of the second live broadcast platform is a live broadcast room identification corresponding to an opened live broadcast room sent to the second server by the first server;
and displaying a live broadcast room list containing live broadcast room entry components corresponding to the live broadcast room identifications in the client according to the live broadcast room list data.
10. A live broadcast room loading method is characterized in that a client has an entrance of a second live broadcast program provided by a second live broadcast platform, a plug-in of a first live broadcast program for calling the first live broadcast platform is loaded in the second live broadcast program, and the method comprises the following steps:
the client side responds to a live broadcast room loading request and acquires a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier; if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform, sending a first live broadcast room loading instruction;
the client responds to the first live broadcast room loading instruction, executes a live broadcast room establishing process of the first live broadcast platform based on the plug-in, and acquires first live broadcast room data corresponding to the live broadcast room identification; loading the live broadcast room corresponding to the live broadcast room identification according to the first live broadcast room data corresponding to the live broadcast room identification; executing an audio and video stream data calling process of the first direct playing platform based on the plug-in, and triggering the client to send an audio and video stream data calling instruction to the first server; the first server is a server of the first direct broadcasting platform;
the first server responds to an audio and video stream data calling instruction, acquires the live broadcast room identification and audio and video stream data corresponding to the live broadcast room identification, and sends the audio and video stream data corresponding to the live broadcast room identification to the client;
and the client receives the audio and video stream data corresponding to the live broadcast room identifier and outputs the audio and video stream data corresponding to the live broadcast room identifier to the live broadcast room.
11. A live room loading apparatus, comprising:
the first acquisition unit is used for responding to a live broadcast room loading request and acquiring a live broadcast room identifier and a live broadcast platform corresponding to the live broadcast room identifier;
the first judging unit is used for sending a first live broadcast room loading instruction if the live broadcast platform corresponding to the live broadcast room identifier is the first live broadcast platform;
a first response unit, configured to respond to the first live broadcast room loading instruction, execute a live broadcast room creation process of the first live broadcast platform based on the plug-in, and obtain first live broadcast room data corresponding to the live broadcast room identifier;
the first loading unit is used for loading the live broadcast room corresponding to the live broadcast room identifier according to the first live broadcast room data corresponding to the live broadcast room identifier;
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 live broadcasting room identifier from a first server, and outputting the audio and video stream data corresponding to the live broadcasting room identifier to the live broadcasting room; the first server is a server of the first direct broadcasting platform.
12. A computer device, comprising: processor, memory and computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 9 or 10 are implemented when the processor executes the computer program.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9 or 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 true CN113891162A (en) 2022-01-04
CN113891162B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN113891162B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN113453030B (en) Audio interaction method and device in live broadcast, computer equipment and storage medium
CN113840154A (en) Live broadcast interaction method and system based on virtual gift and computer equipment
CN113573083A (en) Live wheat-connecting interaction method and device and computer equipment
CN113613027B (en) Live broadcast room recommendation method and device and computer equipment
CN113727130A (en) Message prompting method, system and device for live broadcast room and computer equipment
CN113824979A (en) Live broadcast room recommendation method and device and computer equipment
CN113824976A (en) Method and device for displaying approach show in live broadcast room and computer equipment
CN113840156A (en) Live broadcast interaction method and device based on virtual gift and computer equipment
CN113573105B (en) Live broadcast interaction method based on virtual gift of screen and computer equipment
CN113824984A (en) Virtual gift pipelining display method, system, device and computer equipment
CN113891162B (en) Live broadcast room loading method and device, computer equipment and storage medium
CN113411622B (en) Loading method and device of live broadcast interface, client and storage medium
CN115065838A (en) Live broadcast room cover interaction method, system and device and electronic equipment
CN114760502A (en) Live broadcast room approach show merging and playing method and device and computer equipment
CN114095772A (en) Virtual object display method and system under live microphone connection and computer equipment
CN113573117A (en) Video live broadcast method and device and computer equipment
CN114630189B (en) Multi-channel approach prompting method, system, device, computer equipment and medium in live broadcasting room
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
CN114666646B (en) Live broadcast room cover interaction method, system, device, equipment and medium
CN114630154B (en) Live audience importing method, system, device and computer equipment
CN114125480B (en) Live chorus interaction method, system, device and computer equipment
CN114302162B (en) Message bubble display method, system and device and computer equipment
CN113938700B (en) Live broadcast room switching method and device and computer equipment
CN117376626A (en) Live broadcast picture display 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