Authentication methods, devices, and storage media for cross-platform live streaming

By performing authentication verification between cross-platform live streaming platforms, the management and data security issues of cross-platform live streaming are resolved, enabling orderly cross-platform live streaming and ensuring data security, while enhancing the richness and fun of live streaming.

CN119484906BActive Publication Date: 2025-10-28GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311009354.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-10-28
Estimated Expiration
2043-08-10

Smart Images

  • Figure CN119484906B_ABST
    Figure CN119484906B_ABST
Patent Text Reader

Abstract

This application relates to an authentication method, device, and storage medium for cross-platform live streaming. A second live streaming platform server logs in to the first live streaming platform server using a first live streaming platform's streaming account and subscribes to the live media stream of a first streamer account on the first live streaming platform server. The first live streaming platform server performs authentication according to a preset authentication method. When the second live streaming platform server successfully subscribes, it records the subscription information. Therefore, when the live streaming session begins, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server based on the subscription information. The cross-platform live streaming authentication method described in this application ensures the orderly conduct of cross-platform live streaming, the effective management of the platform's live streams, and the data security of the platform, preventing the platform's data from being illegally pulled by other live streaming platforms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of online live streaming technology, and in particular to an authentication method, device and storage medium for cross-platform live streaming with multiple participants. Background Technology

[0002] Live streaming refers to the technology by which broadcasters share live audio and video streams with viewers online through live streaming platforms. Live streaming is a new form of online business that embodies the open and sharing characteristics of the internet, giving everyone the opportunity to showcase their talents online.

[0003] Currently, many live streaming platforms offer co-hosting live streaming, which refers to a host establishing a connection with other live streamers via their own devices. After establishing this connection, the host can engage in two-way audio and video interaction with the other hosts, allowing viewers to watch this interaction. Co-hosting live streaming includes both two-person and multi-person formats. However, current co-hosting live streaming is generally limited to hosts within the same platform, lacking diversity and offering increasingly limited entertainment value to viewers. Therefore, cross-platform co-hosting live streaming can significantly enhance the richness and engagement of co-hosting live streaming.

[0004] However, ensuring the orderly conduct of cross-platform live streaming, effectively managing the live streams on the platform itself, and protecting the platform's data security to prevent its data from being illegally pulled by other live streaming platforms have become important issues that need to be addressed in cross-platform live streaming. Summary of the Invention

[0005] Based on this, the purpose of this application is to provide an authentication method for cross-platform live streaming, which realizes orderly management during cross-platform live streaming and ensures the data security of the live streaming platform.

[0006] The first aspect of this application discloses an authentication method for cross-platform live streaming with multiple hosts, applied to a first live streaming platform server. The first live streaming platform server has live streaming accounts for live streaming with multiple hosts in the live streaming room of the first live streaming platform. The live streaming accounts include a first host account and a first virtual host account. The first virtual host account is bound to a second host account on a second live streaming platform server.

[0007] Includes the following steps:

[0008] In response to a login request sent by the second live streaming platform server, the login request includes the account identifier of the first live streaming platform's streaming account. The system verifies whether the first live streaming platform's streaming account is legitimate. If it is legitimate, the first live streaming platform's streaming account is set to a login state.

[0009] In response to a subscription request sent by the second live streaming platform server, the subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer account. The system verifies whether the first live streaming platform's streaming account is logged in. If it is logged in, the system determines whether the first streamer account can be subscribed to based on a preset cross-platform live streaming streamer whitelist. If it can be subscribed to, the system records the subscription information.

[0010] According to the subscription information, the live media stream of the first broadcaster account is sent to the second live streaming platform server, so that the second live streaming platform server receives the live media stream of the first broadcaster account and maps it to the live media stream of the second virtual broadcaster account; wherein, the second virtual broadcaster account is bound to the first broadcaster account.

[0011] The second aspect of this application discloses an authentication method for cross-platform live streaming, comprising the following steps:

[0012] The second live streaming platform server sends a login request to the first live streaming platform server. The login request includes the account identifier of the first live streaming platform's streaming account. The first live streaming platform server has a first live streaming account for connecting to other live streams within the first live streaming platform's live streaming room. This first live streaming account includes a first streamer account and a first virtual streamer account. The second live streaming platform server has a second live streaming account for connecting to other live streams within the second live streaming platform's live streaming room. This second live streaming account includes a second streamer account and a second virtual streamer account. The first virtual streamer account is bound to the second streamer account, and the second virtual streamer account is bound to the first streamer account.

[0013] The server of the first live streaming platform responds to the login request by verifying whether the account pulling the stream on the first live streaming platform is legitimate. If it is legitimate, the account pulling the stream on the first live streaming platform is set to the login state.

[0014] The second live streaming platform server sends a subscription request to the first live streaming platform server. The subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account.

[0015] In response to the subscription request, the server of the first live streaming platform verifies whether the account pulling the stream on the first live streaming platform is logged in. If it is logged in, it determines whether the first streamer account can be subscribed to based on the preset cross-platform live streaming streamer whitelist. If it can be subscribed to, it records the subscription information.

[0016] Based on the subscription information, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server, so that the second live streaming platform server receives the live media stream of the first streamer account and maps it to the live media stream of the second virtual streamer account.

[0017] A third aspect of this application discloses a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the computer program, when run by the processor, implements the steps of the method described in any one of the embodiments of this application.

[0018] A fourth aspect of this application discloses a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the method described in any one of the embodiments of this application.

[0019] The authentication method for cross-platform live streaming described in this application involves the second live streaming platform server logging in using the streaming account of the first live streaming platform. Upon successful login, a subscription instruction is generated based on the streaming account and the first streamer account to subscribe to the live media stream of the first streamer account on the first live streaming platform server. The first live streaming platform server verifies whether the streaming account is logged in. If logged in, it determines whether the first streamer account can be subscribed to based on a preset cross-platform live streaming streamer whitelist. If subscribed, the subscription information is recorded. When the live streaming session begins, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server based on the subscription information. Similarly, authentication can be performed on the second live streaming platform server using the same technical concept and corresponding steps. The authentication method for cross-platform live streaming described in this application ensures the orderly conduct of cross-platform live streaming, the effective management of live streaming on the platform, and the data security of the platform, preventing the platform's data from being illegally pulled by other live streaming platforms.

[0020] To better understand and implement this application, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description

[0021] Figure 1 This is a schematic diagram illustrating an application scenario of an authentication method for cross-platform live streaming according to an embodiment of this application.

[0022] Figure 2 This is a schematic diagram of a live streaming interface according to an embodiment of this application;

[0023] Figure 3 This is a flowchart illustrating an authentication method for cross-platform live streaming according to an embodiment of this application.

[0024] Figure 4 This is an interactive schematic diagram of the authentication method for cross-platform live streaming in an embodiment of this application;

[0025] Figure 5 This is an interactive diagram illustrating the steps of processing access requests for live streaming accounts in an embodiment of this application.

[0026] Figure 6 A flowchart illustrating another embodiment of the authentication method for cross-platform live streaming in this application;

[0027] Figure 7 This is a schematic diagram of the structure of a computer device according to an embodiment of this application. Detailed Implementation

[0028] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0029] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0030] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0031] Those skilled in the art will understand that the terms "client," "terminal," "terminal device," and "smart device" as used in this application include both devices that are wireless signal receivers, which are devices that only have wireless signal receivers without transmission capabilities, and devices that have receiving and transmitting hardware, which have receiving and transmitting hardware capable of bidirectional communication on a bidirectional communication link. Such devices may include: cellular or other communication devices such as personal computers or tablets, which have single-line displays, multi-line displays, or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service), which can combine voice, data processing, fax, and / or data communication capabilities; PDA (Personal Digital Assistant), which may include a radio frequency receiver, pager, Internet / intranet access, web browser, notepad, calendar, and / or GPS (Global Positioning System) receiver; and conventional laptop and / or handheld computers or other devices that have and / or include radio frequency receivers. As used herein, "client," "terminal," "terminal device," and "smart device" can be portable, transportable, installed in a means of transportation (air, sea, and / or land), or suitable and / or configured to operate locally and / or in a distributed manner, operating in any other location on Earth and / or in space. "Client," "terminal," "terminal device," and "smart device" as used herein can also be a communication terminal, an internet access terminal, or a music / video playback terminal, such as a PDA, a MID (Mobile Internet Device), and / or a mobile phone with music / video playback capabilities, or a smart TV, set-top box, etc.

[0032] The hardware referred to by the names "server," "client," "service node," and "smart device" in this application is essentially a computer device with the equivalent capabilities of a personal computer. It is a hardware device with the necessary components revealed by the von Neumann architecture, such as a central processing unit (including an arithmetic logic unit and a control unit), memory, input devices, and output devices. The computer program is stored in its memory, and the central processing unit loads the program stored in the secondary storage into the main memory to run it, execute the instructions in the program, and interact with the input and output devices to complete specific functions.

[0033] It should be noted that the concept of "server" used in this application can also be extended to the case of server clusters. Based on the network deployment principles understood by those skilled in the art, the servers should be logically divided. Physically, these servers can be independent of each other but accessible through interfaces, or they can be integrated into a single physical computer or a computer cluster. Those skilled in the art should understand this flexibility and should not use it to constrain the implementation of the network deployment method in this application.

[0034] Please refer to Figure 1 , Figure 1 This is a schematic diagram illustrating an application scenario for the authentication method for cross-platform live streaming provided in this application embodiment. The application scenario includes a first live streaming platform server 101 provided in this application embodiment, and a first broadcaster client 102 and a first viewer client 103 logged into the first live streaming platform server 101, wherein the first broadcaster client 102 and the first viewer client 103 interact through the first live streaming platform server 101; and a second live streaming platform server 201, and a second broadcaster client 202 and a second viewer client 203 logged into the second live streaming platform server 201, wherein the second broadcaster client 202 and the second viewer client 203 interact through the second live streaming platform server 201.

[0035] The first broadcaster client 102 has a first broadcaster account registered in the first live streaming platform server 101, and can log in to the first broadcaster account through the first platform's real-time communication tool to push or pull the stream; the second broadcaster client 202 has a second broadcaster account registered in the second live streaming platform server 201, and can log in to the second broadcaster account through the second platform's real-time communication tool to push or pull the stream.

[0036] Specifically, the first live streaming platform server 101 communicates with the second live streaming platform server 201 by loading a second platform real-time communication tool, and retrieves the live media stream of the second anchor account from the second live streaming platform server 201 through the second platform real-time communication tool; the second live streaming platform server 201 communicates with the first live streaming platform server 101 by loading a first platform real-time communication tool, and retrieves the live media stream of the first anchor account from the first live streaming platform server 101 through the first platform real-time communication tool.

[0037] In the embodiments of this application, the real-time communication tool refers to a tool used to communicate with the server in an RTC (Real-Time Communication) high real-time network. Specifically, it can refer to a program module capable of performing specific functions that enable a computer device to enter the RTC network and communicate with the server, such as an RTC SDK (Software Development Kit). The first platform real-time communication tool refers to a tool used to communicate with the first live streaming platform server 101 in the RTC high real-time network of the first live streaming platform, specifically the RTC SDK of the first live streaming platform in this embodiment; the second platform real-time communication tool refers to a tool used to communicate with the second live streaming platform server 201 in the RTC high real-time network of the second live streaming platform, specifically the RTC SDK of the second live streaming platform in this embodiment.

[0038] Among them, the first broadcaster client 102 and the second broadcaster client 202 refer to the end that sends the live video, which is usually the client used by the broadcaster (i.e., the live broadcaster user) in the live broadcast.

[0039] The first viewer client 103 and the second viewer client 203 refer to the end that receives and watches live video on the network. Generally speaking, they are the clients used by the viewers (i.e., live viewers) watching the video in the live broadcast.

[0040] The hardware referred to as the client essentially refers to computer devices, specifically, such as smartphones, interactive whiteboards, and personal computers. Each client can access the Internet through well-known network access methods to establish a data communication link with the server.

[0041] The first live streaming platform server 101 and the second live streaming platform server 201 can be business servers, each including or connected to relevant audio data servers, video stream servers, and other servers providing related support for the first and second live streaming platforms, thus forming a logically related service cluster to serve relevant terminal devices, such as... Figure 1 The various clients shown provide services.

[0042] In this embodiment, both the broadcaster's client and the viewer's client on the same live streaming platform can join a live streaming room (i.e., a live streaming channel) created by the corresponding live streaming platform server. This live streaming room refers to a chat room implemented using internet technology, typically equipped with audio and video playback control functions. Broadcasters conduct live streams within the live streaming room through their broadcaster's client, and viewers on the viewer's client can log in to the live streaming platform server to enter the live streaming room and watch the live stream.

[0043] Within a live streaming room, the host and viewers can interact through well-known online communication methods such as voice, video, and text. Typically, the host performs programs for the audience in the form of audio and video streams, and actions can also occur during the interaction. Of course, the application of live streaming is not limited to online entertainment; it can be extended to other related scenarios, such as video conferencing, product promotion and sales, and any other scenario requiring similar interaction.

[0044] Specifically, the process of watching a live stream is as follows: viewers can click to access the live streaming application installed on the viewer's client, and select to enter any live stream room, triggering the viewer's client to load the live stream room interface for that viewer, and conduct various online interactions.

[0045] The first live streaming platform server 101 and the second live streaming platform server 201 are two independent online live streaming platforms, such as the servers of the first online live streaming platform and the second online live streaming platform.

[0046] The first live streaming platform server 101 and the second live streaming platform server 201 establish a network connection and interact with each other via the network. The first live streaming platform server 101 creates a first virtual anchor client 104 and a corresponding first virtual anchor account locally. The first virtual anchor client 104 is simulated by the first live streaming platform server 101 through computation, and the corresponding first virtual anchor account is an anchor account that can be logged into on the first live streaming platform server 101. It should be noted that the virtual anchor client is essentially a program module that implements some or all (or similar) the functions of a general anchor client. It is designed to enable the live streaming platform server to easily maintain the virtual anchor account according to general procedural processes, such as the anchor account login process, the streaming process, and the authentication process. The specific steps executed by the virtual anchor client can be configured as needed. For example, the virtual anchor client can simulate issuing a login request to log into the virtual anchor account on the live streaming platform server, or it can simulate issuing a streaming command to push the stream on the live streaming platform server.

[0047] Please refer to Figure 2 , Figure 2This is a schematic diagram of the live streaming interface of an embodiment of this application, showing a live streaming room 41 and a virtual anchor and a real anchor located in the live streaming room 41. When a live streaming session is conducted, the live streaming room 41 will display the live media stream of the virtual anchor account and the live media stream of the real anchor account. Specifically, for example, in the live streaming room of the first live streaming platform in this embodiment, the live media stream of the first anchor account and the live media stream of the first virtual anchor account are displayed.

[0048] When enabling cross-platform live streaming, the first live streaming platform server 101 obtains the live media stream uploaded by the first streamer client 102 logged in on this platform. Furthermore, the first live streaming platform server 101 obtains the second streamer account corresponding to the second streamer client 202 logged in on the second live streaming platform server 201, and establishes a binding relationship between the second streamer account and the first virtual streamer account. Through this binding relationship, the first live streaming platform server 101 obtains the live media stream uploaded by the second streamer client 202 from the second live streaming platform server 201, and maps and converts the live media stream uploaded by the second streamer client 202 into a media stream of the locally created first virtual streamer client 104. Therefore, it is possible for the second streamer client 202 logged in on the second live streaming platform server 201 to conduct live streaming on the first live streaming platform server 101 as the first virtual streamer client 104. The live media stream of the first virtual anchor client 104 can be set by the first live streaming platform server 101 to be viewable / searchable / followable or not viewable / searchable / followable alone. In this embodiment, the first live streaming platform server 101 sets the live media stream of the first virtual anchor client 104 to be not viewable / searchable / followable alone, that is, the live media stream of the first virtual anchor client 104 can only be used for live streaming with multiple people.

[0049] When a live stream with multiple hosts starts, the first live streaming platform server 101 creates a live stream room with multiple hosts, adds the first virtual anchor account and the first anchor account to the live stream room, receives the first live media stream sent by the first anchor client 102 (which is the live media stream of the first anchor account), and pulls the live media stream of the second anchor account from the second live streaming platform server by loading the second platform's real-time communication tool and maps it to the live media stream of the first virtual anchor account. The live media streams of the first anchor account and the first virtual anchor account are then combined to generate a first live stream with multiple hosts, and this first live stream with multiple hosts is sent to clients already joined in the first live stream room. The second live streaming platform server 201 operates similarly and will not be described further.

[0050] In one implementation, the first live streaming platform server 101 obtains the live media stream corresponding to the first broadcaster account and the live media stream corresponding to the first virtual broadcaster account, mixes the live media streams of the first broadcaster account and the first virtual broadcaster account to obtain a mixed live media stream, and distributes the mixed live media stream to clients that have joined the live streaming room. The clients that have joined the live streaming room created by the first live streaming platform server 101 include the first broadcaster client 102 and the first viewer client 103, both logged into the first live streaming platform. The second live streaming platform server 201 operates similarly and will not be described further.

[0051] Please refer to Figure 3 and Figure 4 This application discloses an authentication method for cross-platform live streaming, including the following steps:

[0052] S101: The second live streaming platform server sends a login request to the first live streaming platform server. The login request includes the account identifier of the first live streaming platform's streaming account. The first live streaming platform server has a first live streaming account for connecting to other live streams within the first live streaming platform's live streaming room. This first live streaming account includes a first streamer account and a first virtual streamer account. The second live streaming platform server has a second live streaming account for connecting to other live streams within the second live streaming platform's live streaming room. This second live streaming account includes a second streamer account and a second virtual streamer account. The first virtual streamer account is bound to the second streamer account, and the second virtual streamer account is bound to the first streamer account.

[0053] S102: The server of the first live streaming platform responds to the login request and verifies whether the first live streaming platform's streaming account is legitimate. If it is legitimate, the server sets the first live streaming platform's streaming account to the login state.

[0054] S103: The second live streaming platform server sends a subscription request to the first live streaming platform server. The subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account.

[0055] S104: The first live streaming platform server responds to the subscription request by verifying whether the first live streaming platform pull account is logged in. If it is logged in, it determines whether the first streamer account can be subscribed to based on the preset cross-platform live streaming streamer whitelist. If it can be subscribed to, it records the subscription information.

[0056] S105: The first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server according to the subscription information, so that the second live streaming platform server receives the live media stream of the first streamer account and maps it to the live media stream of the second virtual streamer account.

[0057] The authentication method for cross-platform live streaming described in this application involves the second live streaming platform server logging in using the streaming account of the first live streaming platform. Upon successful login, a subscription instruction is generated based on the streaming account and the first streamer account to subscribe to the live media stream of the first streamer account on the first live streaming platform server. The first live streaming platform server verifies whether the streaming account is logged in. If logged in, it determines whether the first streamer account can be subscribed to based on a preset cross-platform live streaming streamer whitelist. If subscribed, the subscription information is recorded. When the live streaming session begins, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server based on the subscription information. Similarly, authentication can be performed on the second live streaming platform server using the same technical concept and corresponding steps. The authentication method for cross-platform live streaming described in this application ensures the orderly conduct of cross-platform live streaming, the effective management of live streaming on the platform, and the data security of the platform, preventing the platform's data from being illegally pulled by other live streaming platforms.

[0058] In essence, a live-streaming chat room refers to a session connection established between two or more host clients, enabling two-way audio and video interaction. This connection allows the two or more hosts to be simultaneously displayed on the viewer's client, allowing them to watch the audio and video interaction between them. Specifically, from the viewer's perspective, a live-streaming chat room can have only one entry point, with all users entering through this unified entrance. Alternatively, it can have multiple different entry points; for example, each host may have their own dedicated live-streaming room, and entering from any host's room will allow access to the live-streaming screen. In other words, a live-streaming chat room is not limited to a single room; it can take many forms. As long as the live-streaming screen is visible upon entering, it should be considered a live-streaming chat room.

[0059] Specifically, there are various forms or methods for creating co-hosted live streaming rooms, which may differ between different live streaming platforms. For example, one could create a co-hosted channel and add two or more streamer accounts to it. When the co-hosted channel goes live, it receives the live media streams from the two or more streamer accounts within the channel, thus achieving the effect of two or more streamers co-hosting. Another example is binding the live streaming channels of the co-hosting streamer accounts together, such as binding the first streamer's first live streaming channel with the second streamer's second live streaming channel. When co-hosting, the second live streaming channel retrieves the first streamer's live media stream from the first live streaming channel, and the first live streaming channel retrieves the second streamer's live media stream from the second live streaming channel, thus achieving the effect of co-hosting live streaming on both the first and second live streaming channels. Besides these, various other forms can be used to achieve co-hosting live streaming. This application does not limit the method of creating co-hosted live streaming rooms, and it should be considered that any suggested co-hosting live streaming method without departing from the concept of this application is within the scope of protection of this application.

[0060] The live streaming accounts mentioned above include first and second live streaming accounts, which refer to the live streaming host accounts. These accounts may include several live streaming host accounts. In the cross-platform live streaming authentication method of this embodiment, the first live streaming account includes the first host account and the first virtual host account, and the second live streaming account includes the second host account and the second virtual host account.

[0061] This application embodiment does not limit the number of live-streaming accounts; it can be two or more live-streaming accounts connecting. In this embodiment, the first live-streaming account and the first virtual live-streaming account connect on the first live-streaming platform server, and the second live-streaming account and the second virtual live-streaming account connect on the second live-streaming platform server. In other embodiments, more live-streaming accounts may be connected; for example, the first live-streaming account can be one or more, and the first virtual live-streaming account can also be one or more.

[0062] In this embodiment, the streamer account, including the first streamer account and the second streamer account, is the real account registered by the streamer on the live streaming platform. It is generally the account the streamer usually uses to stream or watch others' live streams on this platform. The virtual streamer account, including the first virtual streamer account and the second virtual streamer account, is a virtual streamer account created by the live streaming platform server. This virtual streamer account is bound to real streamer accounts on other live streaming platforms. The live media stream of the real streamer account's client on other live streaming platforms is mapped to the live media stream of the virtual streamer account bound to this live streaming platform, enabling real streamer accounts on other live streaming platforms to connect with real streamer accounts on this live streaming platform through the virtual live streaming account created on this platform. The live media stream is the streamer's live media data, which can be audio and video data, video data only, or audio data only. This application does not limit this; the specific settings or adjustments can be made according to the live streaming scenario.

[0063] Specifically, registering an account typically requires initiating a registration request through a dedicated interface provided by the live streaming platform and undergoing a specific review process. However, in this embodiment, the virtual anchor account is not registered through the usual registration process; it is created directly on the live streaming platform's server. Of course, the virtual anchor account can also be registered by an anchor from another platform through the usual registration process and created by the live streaming platform's server. The specific technical means can be adjusted according to the application scenario, and this application does not limit this.

[0064] The following embodiments of this application will mainly describe the relevant steps from the perspective of the first live streaming platform server. The technical concepts embodied therein can also be applied to the second live streaming platform server, and the description of the relevant steps can also be applied to the second live streaming platform server, so they will not be repeated here. Of course, in other embodiments, the second live streaming platform server can also adopt different authentication methods. In fact, different live streaming platforms can have their own authentication methods, and these authentication methods can be different. This application does not limit this.

[0065] In step S101, the second live streaming platform server sends a login request to the first live streaming platform server. The login request includes the account identifier of the first live streaming platform's streaming account.

[0066] In this embodiment, the first live streaming platform pull account is an account used to log in to the first live streaming platform server. It can be a viewer account or a streamer account on the first live streaming platform. In this embodiment, the first live streaming platform pull account is a live streaming account established outside of the first streamer account and the first virtual streamer account. This live streaming account can be used to establish a live streaming subscription relationship with the first streamer account, thereby pulling the live streaming media stream from the first streamer account. In other embodiments, the first live streaming platform pull account can also be the first virtual streamer account. That is, the second live streaming platform server can directly log in to the first virtual streamer account on the first live streaming platform server and initiate live streaming subscriptions to other streamer accounts on the first live streaming platform server, thereby pulling the live streaming media streams from other streamer accounts on the first live streaming platform server.

[0067] In this embodiment, the first live streaming platform server pre-configures a first live streaming platform pull account and sends the first live streaming platform pull account information, such as the account identifier of the first live streaming platform pull account, to the second live streaming platform server. Thus, during cross-live streaming platform live streaming, the second live streaming platform server can log in to the first live streaming platform server based on the first live streaming platform pull account. After logging in, the second live streaming platform server can use the first live streaming platform pull account to subscribe to the anchor account on the first live streaming platform server. Generally speaking, after successful subscription, the server can receive the live media stream of the subscribed anchor account when the subscribed anchor account starts broadcasting on the first live streaming platform server.

[0068] More specifically, in the cross-platform live streaming of this application embodiment, the anchor account of the second live streaming platform used to connect with the first live streaming platform is bound to a corresponding streaming account of the first live streaming platform. When the second live streaming platform server has multiple different anchor accounts that connect with the anchor accounts of the first live streaming platform server, each anchor account of the second live streaming platform is configured with a streaming account of the first live streaming platform. They log in to the first live streaming platform server and subscribe to the live media stream of the anchor account of the first live streaming platform server through their respective streaming accounts of the first live streaming platform.

[0069] Please refer to Figure 4 In one embodiment, the step S101 is further included before the following step:

[0070] S100: The server of the first live streaming platform obtains the live streaming connection information of the first live streaming platform, which includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account. The server sends the live streaming connection information of the first live streaming platform to the server of the second live streaming platform, so that the server of the second live streaming platform generates the login request based on the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account. The server also generates the subscription request based on the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account.

[0071] In this embodiment, the first live streaming platform connection information is used by the second live streaming platform server to log in to the first live streaming platform's pull account and subscribe to the live media stream of the first live streaming platform's anchor account. Specifically, it includes the first live streaming platform's pull account information and the anchor account information of the first live streaming platform participating in cross-live streaming platform connections. Specifically, the first live streaming platform server pre-configures the relevant first live streaming platform's pull account information and the anchor account information participating in cross-live streaming platform connections. After configuration, the first live streaming platform connection information, including the account identifier of the first live streaming platform's pull account and the account identifier of the first anchor account, is sent to the second live streaming platform server. Subsequently, the second live streaming platform server will authenticate relevant requests based on this configuration information.

[0072] In one embodiment, before step S100, where the first live streaming platform server obtains the first live streaming platform's live chat information and sends it to the second live streaming platform server, the method further includes:

[0073] The first live streaming platform server receives a request instruction from the second live streaming platform server, which includes a request to obtain connection information. It parses the request instruction to obtain the source IP address information, and determines whether the source IP address information is valid according to a preset IP address whitelist. If it is valid, it responds to the request to obtain connection information, obtains the connection information of the first live streaming platform, and sends the connection information of the first live streaming platform to the second live streaming platform server.

[0074] In this embodiment, the second live streaming platform server first sends a request command to the first live streaming platform server to request the connection information of the first live streaming platform. To ensure the security of the connection information of the first live streaming platform, the first live streaming platform server needs to first determine whether the source of the request command is trustworthy. Only after determining that the source is trustworthy will it respond to the connection information acquisition request. Specifically, the first live streaming platform server receives and parses the request command including the connection information acquisition request, obtains the source IP address information therein, and determines whether the source IP address information is legitimate according to a preset IP address whitelist. If it is legitimate, it responds to the connection information acquisition request, obtains the connection information of the first live streaming platform, and sends the connection information of the first live streaming platform to the second live streaming platform server. The IP address whitelist stores the IP address information of several servers of the second live streaming platform server. If the source IP address information is stored in the IP address whitelist, the source IP address information is determined to be legitimate. The several servers of the second live streaming platform server can be servers specifically designated for obtaining the connection information of the first live streaming platform before cross-live streaming connection live streaming, such as the business server or media server of the second live streaming platform.

[0075] In one embodiment, step S100, the first live streaming platform connection information includes the first live streaming platform authentication information and the account identifier of the first streamer account. The first live streaming platform authentication information includes the account identifier of the first live streaming platform's streaming account.

[0076] The steps by which the first live streaming platform server sends the live streaming connection information from the first live streaming platform to the second live streaming platform server include:

[0077] The first live streaming platform server sends the first live streaming platform connection information to the second live streaming platform server, so that the second live streaming platform server generates the login request based on the first live streaming platform authentication information, and generates the subscription request based on the first live streaming platform authentication information and the account identifier of the first streamer's account.

[0078] In this embodiment, the first live streaming platform authentication information is verification information generated by the first live streaming platform server using encryption and / or digital signature. It requires a pre-set decryption algorithm and / or digital signature verification method from the first live streaming platform server to pass verification. Specifically, the information stored in the first live streaming platform authentication information includes the account identifier of the first live streaming platform's streaming account and may also include other information as needed. Specifically, the first live streaming platform authentication information can be a token generated through encryption and / or digital signature. The token includes the account identifier of the first live streaming platform's streaming account and may also include other information. In one embodiment, the first live streaming platform authentication information may also include time information and a cross-platform live streaming connection identifier. The time information is used to limit the validity period of the first live streaming platform authentication information; it can be an expiration time, such as a specific time on a specific day of a specific year. The cross-platform live streaming connection identifier is a pre-set identifier used to identify cross-platform live streaming connections, thereby distinguishing it from other non-cross-platform live streaming connection types. The first live streaming platform server stores the pre-set connection identifier to determine whether the cross-platform live streaming connection identifier matches when receiving the first live streaming platform authentication information.

[0079] In step S102, the server of the first live streaming platform responds to the login request by verifying whether the first live streaming platform's streaming account is legitimate. If it is legitimate, the server sets the first live streaming platform's streaming account to the login state.

[0080] Verifying the legitimacy of the first live streaming platform's pull account can involve determining whether the pull account is a legitimate account on the platform or a legitimate account with pull permissions. If so, it is legitimate; otherwise, it is illegitimate. Specifically, in one embodiment, it can be determined whether the first live streaming platform's pull account is on a pre-set list of pull accounts. If so, it is legitimate; otherwise, it is illegitimate. In another embodiment, the first live streaming platform's pull account list records the pull accounts and their corresponding permission information. The permission information recorded in the first live streaming platform's pull account list is used to determine whether the first live streaming platform's pull account has pull permissions. If it has pull permissions, it is legitimate; otherwise, it is illegitimate.

[0081] Specifically, setting the first live streaming platform's pull account to a logged-in state can be achieved by setting the account's status information as logged-in on the first live streaming platform's server, or by recording the first live streaming platform's pull account in a list of logged-in accounts. Other methods of identifying login status are also possible, and this application does not impose any restrictions. Therefore, when it is necessary to verify whether the first live streaming platform's pull account is logged-in during the subscription authentication phase, this can be determined based on the status information, the list of logged-in accounts, or other relevant methods.

[0082] In an optional embodiment, the login request includes authentication information from a first live streaming platform, which includes the account identifier of the live streaming platform's referral account.

[0083] Step S102, where the first live streaming platform server responds to the login request and verifies the legitimacy of the first live streaming platform's streaming account, includes:

[0084] The first live streaming platform server responds to the login request sent by the second live streaming platform server, and verifies whether the authentication information of the first live streaming platform is valid. If it is valid, it verifies whether the first live streaming platform pull account has pull permission according to the preset first live streaming platform pull account list. If the first live streaming platform pull account has pull permission, it verifies that the first live streaming platform pull account is valid.

[0085] In this embodiment, the first live streaming platform server responds to the login request by verifying the legitimacy of the first live streaming platform's authentication information using a preset corresponding decoding algorithm and / or digital signature verification method. Only if the verification is legitimate will the server further verify whether the first live streaming platform's streaming account has streaming privileges according to a preset list of first live streaming platform streaming accounts. If the first live streaming platform's streaming account has streaming privileges, then the verification confirms that the first live streaming platform's streaming account is legitimate. The first live streaming platform's streaming account list stores information about first live streaming platform streaming accounts with streaming privileges; specifically, it may store the account identifier of the first live streaming platform's streaming account. Therefore, verifying whether the first live streaming platform's streaming account has streaming privileges can be done by determining whether the corresponding account identifier is stored in the first live streaming platform's streaming account list.

[0086] In a preferred embodiment, the login request includes authentication information from a first live streaming platform, which includes the account identifier, time information, and cross-platform live streaming identifier of the first live streaming platform's streaming account.

[0087] The steps by which the first live streaming platform server responds to the login request and verifies the legitimacy of the first live streaming platform's streaming account include:

[0088] The first live streaming platform server responds to the login request sent by the second live streaming platform server, verifies whether the authentication information of the first live streaming platform is valid. If it is valid, it determines whether the login request is valid at the current time based on the time information, determines whether the cross-live streaming platform co-streaming identifier is a preset co-streaming identifier, and verifies whether the first live streaming platform's streaming account has streaming permissions based on the preset list of first live streaming platform streaming accounts. If the login request is valid at the current time, the cross-live streaming platform co-streaming identifier is a preset co-streaming identifier, and the first live streaming platform's streaming account has streaming permissions, then the first live streaming platform's streaming account is verified as valid.

[0089] In this embodiment, the first live streaming platform server verifies the legitimacy of the first live streaming platform authentication information using a corresponding decoding algorithm and / or digital signature verification method. If the information is legitimate, it further determines whether the login request is valid at the current time based on the time information, whether the cross-live streaming platform co-streaming identifier is a preset co-streaming identifier, and whether the first live streaming platform streaming account has streaming permissions based on a preset list of first live streaming platform streaming accounts. If the login request is valid at the current time, the cross-live streaming platform co-streaming identifier is a preset co-streaming identifier, and the first live streaming platform streaming account has streaming permissions, then the first live streaming platform streaming account is verified as legitimate; otherwise, the first live streaming platform streaming account is verified as illegitimate. Specifically, the first live streaming platform server determines the login request to be invalid if the current time exceeds the expiration time of the first live streaming platform authentication information, and valid if the current time does not exceed the expiration time.

[0090] In step S103, the second live streaming platform server sends a subscription request to the first live streaming platform server. The subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account.

[0091] In this context, subscription generally refers to establishing a live streaming subscription relationship between a live streaming account and other live streaming accounts' channels. Once this subscription relationship is successfully established, the live streaming server will automatically push the live streaming media stream of the subscribed live streaming account to the client corresponding to the subscribed live streaming account once the subscribed live streaming account's channel starts broadcasting. Specifically, in this embodiment, if the subscription request is successfully subscribed on the first live streaming platform server, the first live streaming platform server records the subscription information and pushes the received live streaming media stream of the first live streaming account to the second live streaming platform server when the subscribed first live streaming account's live streaming channel starts broadcasting.

[0092] In one embodiment, the subscription request includes authentication information from the first live streaming platform. The second live streaming platform server generates the subscription request based on the authentication information from the first live streaming platform and the account identifier of the first streamer's account, and sends the subscription request to the first live streaming platform server. Similarly, the authentication information from the first live streaming platform can be used to further verify the legality of the subscription request.

[0093] In step S104, the first live streaming platform server responds to the subscription request by verifying whether the first live streaming platform's streaming account is logged in. If it is logged in, it determines whether the first streamer account can be subscribed to based on the preset cross-platform live streaming streamer whitelist. If it can be subscribed to, it records the subscription information.

[0094] The cross-platform live-streaming host whitelist stores account information of hosts from the first live-streaming platform participating in cross-platform live-streaming. Specifically, it may store account identifiers of the hosts. When the server of the first live-streaming platform detects that the account identifier of the first host's account is stored in the whitelist, it determines that the first host's account can be subscribed to; otherwise, it determines that the first host's account cannot be subscribed to. Alternatively, the cross-platform live-streaming host whitelist stores account identifiers of hosts from the first live-streaming platform participating in cross-platform live-streaming and records whether they can be subscribed to. The server of the first live-streaming platform then determines whether the first host's account can be subscribed to based on the information recorded in the whitelist.

[0095] When a streaming platform successfully subscribes to a streamer's live media stream, it records relevant subscription information. This subscription information includes the information of the streaming account that issued the subscription, the information of the streamer account being subscribed to, or the channel information of the streamer account being subscribed to. When the streamer account being subscribed to goes live, the platform automatically retrieves the live media stream of the streamer account being subscribed to based on the recorded subscription information and pushes it to the streaming account that issued the subscription.

[0096] After verifying that the first live streaming platform's pull account is logged in, if the first streamer's account can be subscribed to, the subscription is successful and the subscription information is recorded. Specifically, the account identifier of the first live streaming platform's pull account, the account identifier of the first streamer's account, and the channel information of the first streamer's account can be recorded in a dedicated subscription database or subscription server, and their binding relationship can be recorded.

[0097] In one embodiment, the subscription request includes authentication information from the first live streaming platform;

[0098] Step S104, where the first live streaming platform server responds to the subscription request and verifies whether the first live streaming platform's streaming account is logged in, includes the following steps:

[0099] The first live streaming platform server responds to the subscription request sent by the second live streaming platform server by verifying whether the authentication information of the first live streaming platform is valid. If it is valid, it verifies whether the account pulling the stream on the first live streaming platform is logged in.

[0100] In this embodiment, when the first live streaming platform server receives the subscription request, it needs to first verify whether the authentication information of the first live streaming platform is legal through a preset decoding algorithm and / or digital signature verification method. If it is legal, it further verifies whether the first live streaming platform's streaming account is logged in.

[0101] In step S105, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server according to the subscription information, so that the second live streaming platform server receives the live media stream of the first streamer account and maps it to the live media stream of the second virtual streamer account.

[0102] Specifically, when the first live streaming platform server receives a live media stream uploaded by a streamer client corresponding to a subscribed streamer account on its platform, it automatically pushes the live media stream of the subscribed streamer account to the first live streaming platform's pull account, based on the subscription information recorded on the platform. After receiving the live media stream from the first streamer account, the second live streaming platform server maps it to the live media stream of a second virtual streamer account. This allows the second virtual streamer account to conduct live co-streaming with other streamer accounts on the second live streaming platform, such as the second streamer account itself.

[0103] In one embodiment, step S105, which involves sending the live media stream from the first broadcaster's account to the second live streaming platform server, further includes:

[0104] Every preset period, the system checks whether the first live streaming platform's streaming account has streaming permissions and whether the channel status corresponding to the first streamer's account is normal. If it is detected that the first live streaming platform's streaming account does not have streaming permissions or the channel status corresponding to the first streamer's account is abnormal, the system stops sending the live media stream of the first streamer's account to the second live streaming platform's server.

[0105] In this embodiment, during the process of the first live streaming platform server pushing the stream to the second live streaming platform server, the first live streaming platform server also performs transmission authentication periodically. The preset period is generally not too long, and can be set according to the situation, for example, 10 seconds. In this embodiment, the preset period is 10 seconds, mainly to enable real-time transmission authentication and timely response. Transmission authentication mainly checks whether the streaming permissions of the first live streaming platform's streaming account are normal and whether the live streaming channel of the subscribed first streamer account is normal. If the streaming permissions have changed, i.e., the first live streaming platform's streaming account no longer has streaming permissions, then the streaming should be stopped immediately. Or, if an anomaly is detected in the live streaming channel of the first streamer account, the streaming should also be stopped immediately. An anomaly in the live streaming channel can include the live streaming channel being detected as violating regulations, the live streaming channel being taken offline, or the live streaming channel having other malfunctions, etc. The specific judgment conditions for an anomaly in the live streaming channel can be set according to the situation.

[0106] More specifically, in this embodiment, the first live streaming platform server includes media services and business services; the media service receives login requests sent by the second live streaming platform server, verifies the authentication information of the first live streaming platform, and verifies whether the account pulling the stream on the first live streaming platform is legitimate;

[0107] The media service receives a subscription request sent by the second live streaming platform server, verifies the authentication information of the first live streaming platform, and verifies whether the first live streaming platform's streaming account is logged in. If it is logged in, it generates a subscription authentication instruction based on the account identifier of the first streamer's account and sends the subscription authentication instruction to the business service.

[0108] The business service responds to the subscription authentication instruction by determining whether the first broadcaster account can be subscribed to based on a preset cross-platform live broadcaster whitelist, and sends the determination result to the media service.

[0109] The media service receives the judgment result, and if the first broadcaster account can be subscribed to, it records the subscription information;

[0110] The media service generates a transmission authentication instruction every preset period based on the account identifier of the first live streaming platform's streaming account and the account identifier and / or channel information of the first anchor account, and sends the transmission authentication instruction to the business service.

[0111] The service responds to the transmission authentication command by detecting whether the first live streaming platform's streaming account has streaming permissions and whether the channel status of the first broadcaster's account is normal, and returns the detection results to the media service.

[0112] In this embodiment, the media service is responsible for responding to login and subscription requests and processing subscription information; it can refer to a media server or a media server cluster. The business service is responsible for business logic and account information management, specifically managing live streaming accounts, including broadcaster accounts and / or viewer accounts, live streaming channels or multi-channel communication for live streaming accounts, and managing related permissions; it can refer to a business server or a business server cluster. This embodiment facilitates interaction and collaboration among multiple services with different functions, is compatible with the existing service architecture of the live streaming platform, and achieves efficient authentication.

[0113] Please refer to Figure 4 In one embodiment, the authentication method for cross-platform live streaming further includes the step of:

[0114] S106: The first live streaming platform server receives the live media stream of the second anchor account sent by the second live streaming platform server and maps it to the live media stream of the first virtual anchor account.

[0115] In this embodiment, the first live streaming platform server also obtains the live streaming media stream of the live streaming host account of the second live streaming platform, such as the second host account, from the second live streaming platform server in the cross-live streaming platform live streaming, and maps it to the live streaming media stream of the first virtual host account. Thus, the first virtual host account can conduct live streaming with other host accounts of the first live streaming platform, such as the first host account.

[0116] Correspondingly, the second live streaming platform server can perform authentication based on the same technical concept. Before receiving the live media stream from the second streamer's account sent by the second live streaming platform server, the first live streaming platform server also needs to send login and subscription commands. The second live streaming platform server then logs into the second live streaming platform's streaming account and subscribes to the live streaming channel of the second streamer's account. Prior to this, it also sends a request command including a request to obtain live streaming information to the second live streaming platform server to retrieve the live streaming information. For details, please refer to the relevant content already disclosed in this embodiment, which will not be repeated here. Of course, the second live streaming platform server can perform authentication based on different technical concepts, and the first live streaming platform server can also obtain the live media stream from the live streaming account of the second streamer's account in other ways.

[0117] In one embodiment, step S106, where the first live streaming platform server receives the live media stream of the second streamer account sent by the second live streaming platform server and maps it to the live media stream of the first virtual streamer account, includes:

[0118] The first live streaming platform server receives the live media stream of the second streamer account sent by the second live streaming platform server. Based on the binding relationship between the second streamer account and the first virtual streamer account, it obtains the live stream name of the first virtual streamer account. The live stream name is generated based on the account identifier and corresponding channel information of the first virtual streamer account. The live media stream of the first virtual streamer account is generated based on the live media stream of the second streamer account and the live stream name.

[0119] In this embodiment, before a live stream begins, the live streaming platform typically generates a unique live stream name based on the account identifier and corresponding channel information of the broadcaster's account. This live stream name is then registered. Only live media streams carrying registered live stream names can be successfully pushed to the corresponding broadcaster's channel for broadcasting. Specifically, the first live streaming platform server receives the live media stream from the second broadcaster's account sent by the second live streaming platform server. Based on a preset binding relationship between the second broadcaster's account and the first virtual broadcaster's account, it determines that the live media stream from the second broadcaster's account is the live media stream from the first virtual broadcaster's account. It then obtains the live stream name from the first virtual broadcaster's account and generates the live media stream from the first virtual broadcaster's account based on the live media stream from the second broadcaster's account and the live stream name.

[0120] Please refer to Figure 5 In one embodiment, the authentication method for cross-platform live streaming further includes the step of:

[0121] S107: When the first live streaming platform server receives an access request for a live streaming account from a viewer's client, it determines whether the live streaming account is the first virtual anchor account; if not, it responds to the access request; if so, it does not respond to the access request.

[0122] Specifically, the access request may include a follow request and / or a channel search request and / or a request to enter the live stream room. In this embodiment, since the virtual anchor account on the live streaming platform server is actually used by anchors from other platforms to conduct live streams, in order to prevent the traffic of this platform from being absorbed by anchors from other platforms, it is necessary to impose certain restrictions on the virtual anchor account, including prohibiting following and / or searching for and / or entering the live stream room of the virtual anchor account. Specifically, when the first live streaming platform server receives an access request for a live stream account from a viewer client, it determines whether the live stream account is the first virtual anchor account according to a preset list of virtual anchor accounts; if not, it responds normally to the access request; if so, it does not respond to the access request. Specifically, not responding to the access request can be done by not executing and not generating a response, or by not executing but sending a corresponding request failure message to the viewer client. The preset list of virtual anchor accounts stores virtual anchor account information, such as account identifiers. Specifically, in this embodiment, it stores the account identifier of the first virtual anchor account. By determining whether the account identifier of the live streaming account is in the list of virtual anchor accounts, if so, the live streaming account is the first virtual anchor account, and restrictions are imposed on it.

[0123] Please refer to Figure 6 This application also discloses an authentication method for cross-platform live streaming, applied to the server of a first live streaming platform, including the following steps:

[0124] S201: In response to a login request sent by the second live streaming platform server, the login request includes the account identifier of the first live streaming platform's streaming account, and verifies whether the first live streaming platform's streaming account is legitimate. If it is legitimate, the first live streaming platform's streaming account is set to the login state.

[0125] S202: In response to a subscription request sent by the second live streaming platform server, the subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer account. Verify whether the first live streaming platform's streaming account is logged in. If it is logged in, determine whether the first streamer account can be subscribed to based on the preset cross-platform live streaming streamer whitelist. If it can be subscribed to, record the subscription information.

[0126] S203: Based on the subscription information, the live media stream of the first broadcaster account is sent to the second live streaming platform server, so that the second live streaming platform server receives the live media stream of the first broadcaster account and maps it to the live media stream of the second virtual broadcaster account; wherein, the second virtual broadcaster account is bound to the first broadcaster account.

[0127] The authentication method for cross-platform live streaming described in this embodiment protects the platform from the perspective of the execution of the first live streaming platform server. Its specific implementation refers to the steps disclosed in any of the above embodiments.

[0128] Please refer to Figure 7 This application also discloses a computer device 301, including a memory 302, a processor 303, and a computer program 304 stored in the memory 302; when the processor 303 executes the computer program 304, it implements the steps of the method described in any of the above embodiments.

[0129] The processor 303 may include one or more processing cores. The processor 303 connects to various parts within the computer device 301 using various interfaces and lines. It executes various functions of the computer device 301 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 302, and by accessing data in the memory 302. Optionally, the processor 303 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 303 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required to be displayed on the touch screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 303 and may be implemented as a separate chip.

[0130] The memory 302 may include random access memory (RAM) or read-only memory. Optionally, the memory 302 may include a non-transitory computer-readable storage medium. The memory 302 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 302 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), instructions for implementing the various method embodiments described above, etc.; the data storage area may store data involved in the various method embodiments described above, etc. Optionally, the memory 302 may also be at least one storage device located remotely from the aforementioned processor 303.

[0131] This application also discloses a computer-readable storage medium storing a computer program thereon. When the computer program runs, it controls the device containing the computer-readable storage medium to execute the method described in any of the above embodiments. That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The computer program may include computer program code, which may be in the form of source code, object code, executable files, or certain intermediate forms. The aforementioned storage medium includes: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0132] The embodiments described above are merely examples of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and this application also intends to include these modifications and variations.

Claims

1. An authentication method for cross-platform live streaming, characterized in that, The following steps are involved: The second live streaming platform server sends a login request to the first live streaming platform server. The login request includes the account identifier of the first live streaming platform's streaming account. The first live streaming platform server has a first live streaming account for connecting to other live streams within the first live streaming platform's live streaming room. This first live streaming account includes a first streamer account and a first virtual streamer account. The second live streaming platform server has a second live streaming account for connecting to other live streams within the second live streaming platform's live streaming room. This second live streaming account includes a second streamer account and a second virtual streamer account. The first virtual streamer account is bound to the second streamer account, and the second virtual streamer account is bound to the first streamer account. The server of the first live streaming platform responds to the login request by verifying whether the account pulling the stream on the first live streaming platform is legitimate. If it is legitimate, the server sets the account pulling the stream on the first live streaming platform to the login state. The second live streaming platform server sends a subscription request to the first live streaming platform server. The subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account. In response to the subscription request, the server of the first live streaming platform verifies whether the account pulling the stream on the first live streaming platform is logged in. If it is logged in, it determines whether the first streamer account can be subscribed to based on the preset cross-platform live streaming streamer whitelist. If it can be subscribed to, it records the subscription information. Based on the subscription information, the first live streaming platform server sends the live media stream of the first streamer account to the second live streaming platform server, so that the second live streaming platform server receives the live media stream of the first streamer account and maps it to the live media stream of the second virtual streamer account.

2. An authentication method for cross-platform live streaming, characterized in that, It is applied to the server side of a first live streaming platform, which has a first live streaming account for live streaming in the live streaming room of the first live streaming platform. The first live streaming account includes a first anchor account and a first virtual anchor account; wherein, the first virtual anchor account is bound to the second anchor account of the second live streaming platform server. The following steps are involved: In response to a login request sent by the second live streaming platform server, the login request includes the account identifier of the first live streaming platform's streaming account. The system verifies whether the first live streaming platform's streaming account is legitimate. If it is legitimate, the first live streaming platform's streaming account is set to a login state. In response to a subscription request sent by the second live streaming platform server, the subscription request includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer account. The system verifies whether the first live streaming platform's streaming account is logged in. If it is logged in, the system determines whether the first streamer account can be subscribed to based on a preset cross-platform live streaming streamer whitelist. If it can be subscribed to, the system records the subscription information. According to the subscription information, the live media stream of the first broadcaster account is sent to the second live streaming platform server, so that the second live streaming platform server receives the live media stream of the first broadcaster account and maps it to the live media stream of the second virtual broadcaster account; wherein, the second virtual broadcaster account is bound to the first broadcaster account.

3. The authentication method for cross-platform live streaming according to claim 2, characterized in that, The login request includes authentication information from the first live streaming platform, which includes the account identifier of the live streaming platform's referral account. The step of verifying the legitimacy of the first live streaming platform's account in response to a login request sent by the second live streaming platform server includes: In response to the login request sent by the second live streaming platform server, the system verifies whether the authentication information of the first live streaming platform is valid. If it is valid, the system verifies whether the first live streaming platform's streaming account has streaming privileges according to the preset list of streaming accounts on the first live streaming platform. If the first live streaming platform's streaming account has streaming privileges, the system verifies that the first live streaming platform's streaming account is valid.

4. The authentication method for cross-platform live streaming according to claim 2, characterized in that, The login request includes authentication information from the first live streaming platform, which includes the account identifier, time information, and cross-platform live streaming identifier of the account that pulls the stream on the first live streaming platform. The step of verifying the legitimacy of the first live streaming platform's account in response to a login request sent by the second live streaming platform server includes: In response to a login request sent by the second live streaming platform server, the system verifies whether the authentication information of the first live streaming platform is valid. If it is valid, the system determines whether the login request is valid at the current time based on the time information, determines whether the cross-live streaming platform connection identifier is a preset connection identifier, and verifies whether the first live streaming platform connection account has connection permission based on the preset first live streaming platform connection account list. If the login request is valid at the current time, the cross-live streaming platform connection identifier is a preset connection identifier, and the first live streaming platform pull account has pull permissions, then the first live streaming platform pull account is verified to be legitimate.

5. The authentication method for cross-platform live streaming according to claim 3, characterized in that, The subscription request includes authentication information from the first live streaming platform; The step of verifying whether the first live streaming platform's pull account is logged in in response to a subscription request sent by the second live streaming platform server includes: In response to the subscription request sent by the second live streaming platform server, verify whether the authentication information of the first live streaming platform is valid. If it is valid, verify whether the account pulling the stream on the first live streaming platform is logged in.

6. The authentication method for cross-platform live streaming according to any one of claims 2-5, characterized in that, The step of sending the live media stream from the first broadcaster's account to the second live streaming platform server further includes: Every preset period, the system checks whether the first live streaming platform's streaming account has streaming permissions and whether the channel status corresponding to the first streamer's account is normal. If it is detected that the first live streaming platform's streaming account does not have streaming permissions or the channel status corresponding to the first streamer's account is abnormal, the system stops sending the live media stream of the first streamer's account to the second live streaming platform's server.

7. The authentication method for cross-platform live streaming according to claim 2, characterized in that, It also includes the following steps: Obtain the live streaming connection information of the first live streaming platform, which includes the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account. Send the live streaming connection information of the first live streaming platform to the server of the second live streaming platform, so that the server of the second live streaming platform generates the login request based on the account identifier of the first live streaming platform's streaming account and the account identifier of the first streamer's account.

8. The authentication method for cross-platform live streaming according to claim 7, characterized in that, Before the step of obtaining the live streaming connection information of the first live streaming platform and sending the live streaming connection information of the first live streaming platform to the server of the second live streaming platform, the method further includes: The server receives a request instruction from the second live streaming platform server, which includes a request to obtain connection information. It parses the request instruction to obtain the source IP address information, determines whether the source IP address information is valid according to a preset IP address whitelist, and if it is valid, it responds to the request to obtain connection information, obtains the connection information of the first live streaming platform, and sends the connection information of the first live streaming platform to the second live streaming platform server.

9. The authentication method for cross-platform live streaming according to claim 7, characterized in that, The first live streaming platform connection information includes the first live streaming platform authentication information and the account identifier of the first streamer's account. The first live streaming platform authentication information includes the account identifier of the first live streaming platform's traffic-driving account. The step of sending the live stream connection information from the first live streaming platform to the server of the second live streaming platform includes: The first live streaming platform sends the connection information to the second live streaming platform server, so that the second live streaming platform server generates the login request based on the authentication information of the first live streaming platform, and generates the subscription request based on the authentication information of the first live streaming platform and the account identifier of the first streamer's account.

10. The authentication method for cross-platform live streaming according to claim 2, characterized in that, It also includes the following steps: Receive the live media stream of the second anchor account sent by the second live streaming platform server and map it to the live media stream of the first virtual anchor account.

11. The authentication method for cross-platform live streaming according to claim 10, characterized in that, The step of receiving the live media stream of the second anchor account sent by the second live streaming platform server and mapping it to the live media stream of the first virtual anchor account includes: The system receives the live media stream of the second anchor account sent by the second live streaming platform server. Based on the binding relationship between the second anchor account and the first virtual anchor account, it obtains the live stream name of the first virtual anchor account, which is generated based on the account identifier and corresponding channel information of the first virtual anchor account. The system then generates the live media stream of the first virtual anchor account based on the live media stream of the second anchor account and the live stream name.

12. The authentication method for cross-platform live streaming according to claim 2, characterized in that, It also includes the following steps: When an access request for a live streaming account is received from a viewer's client, it is determined whether the live streaming account is the first virtual anchor account; if not, the access request is responded to; if so, the access request is not responded to.

13. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory, the computer program implementing the steps of the method as described in any one of claims 1 to 12 when executed by the processor.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it controls the device containing the computer-readable storage medium to perform the method as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Multi-anchor live broadcast method and device

    CN115842936A

  • Interactive livestreaming experience

    US20230209103A1