CN109561320B - Server switching method, device, equipment and medium - Google Patents

Server switching method, device, equipment and medium Download PDF

Info

Publication number
CN109561320B
CN109561320B CN201910019377.4A CN201910019377A CN109561320B CN 109561320 B CN109561320 B CN 109561320B CN 201910019377 A CN201910019377 A CN 201910019377A CN 109561320 B CN109561320 B CN 109561320B
Authority
CN
China
Prior art keywords
streaming media
switching
media server
client
live broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910019377.4A
Other languages
Chinese (zh)
Other versions
CN109561320A (en
Inventor
张�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910019377.4A priority Critical patent/CN109561320B/en
Publication of CN109561320A publication Critical patent/CN109561320A/en
Application granted granted Critical
Publication of CN109561320B publication Critical patent/CN109561320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The invention discloses a server switching method, a device, equipment and a medium, wherein the method comprises the following steps: in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data; determining a switching value of an initial streaming media server according to a first network quality value fed back by a client and a second network quality value determined locally; and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to the backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server. The invention realizes the dynamic switching of the streaming media server in the interactive process and solves the problem that the existing audio and video interactive application software depends on the streaming media server provided by a third-party audio and video service provider to cause the interactive instantaneity to be limited.

Description

Server switching method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of interactive intelligent panels, in particular to a server switching method, device, equipment and medium.
Background
With the rapid development of network technologies, intelligent interaction devices such as smart phones, tablet computers, interactive smart tablets and the like are increasingly popularized, and great convenience is brought to life, learning and work of people.
For example, in a real-time audio/video interaction scene, a user can perform remote real-time interaction with other users through real-time audio/video interaction application software in intelligent interaction equipment, and if the user can join a live broadcast room, the user sends local audio/video to other users joining the live broadcast room, so that other users can acquire the audio/video uploaded by the user and acquire the audio/video uploaded by other users in the live broadcast room, and audio/video interaction between users in the same live broadcast room is realized.
The real-time audio and video interactive application software generally selects a streaming media server provided by a third-party audio and video service provider to realize audio and video push-pull streaming service, namely, the transmission of audio and video stream is realized through the streaming media server provided by the third-party audio and video service provider. However, the streaming media servers provided by different audio and video service providers cannot be intercommunicated, so that each application software for realizing audio and video interaction needs to select the streaming media server provided by the same audio and video service provider. If each application software selects a streaming media server provided by a different audio/video service provider, communication cannot be performed based on the streaming media servers provided by the different audio/video service providers, that is, audio/video interaction between users logged in by each application software cannot be realized. For example, when a user a and a user B join the same live broadcast room by using the same client of the application software, if the client logged in by the user a and the client logged in by the user B are respectively connected to streaming media servers provided by different audio and video service providers, that is, the audio and video push-pull streaming services provided by different audio and video service providers are respectively selected, the client logged in by the user a and the client logged in by the user B cannot perform real-time interaction.
Disclosure of Invention
In view of this, the present invention provides a server switching method, device and medium, so as to implement dynamic switching of a streaming media server in an interaction process, and solve the problem of limited interaction real-time performance caused by the dependence of existing audio/video interaction application software on a streaming media server provided by a third-party audio/video service provider.
In a first aspect, an embodiment of the present invention provides a server switching method, including: in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data; determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room; and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
Optionally, before sending the synchronization detection signal to the client corresponding to the live broadcast room, the method further includes: determining a login user according to the login information; and if the login user has the management authority of the live broadcast room, generating a synchronous detection signal corresponding to the live broadcast room according to the management authority.
Optionally, the method further comprises: clearing local historical video stream quality data according to the synchronous detection signal; monitoring local video stream quality data; and determining a second network quality value corresponding to the initial streaming media server according to the local video stream quality data.
Optionally, the monitoring local video stream quality data includes: monitoring video stream data transmitted by the initial streaming media server to obtain local video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
Optionally, determining a switching value of the initial streaming media server according to the first network quality value fed back by the client and a locally determined second network quality value, includes: receiving a first network quality value fed back by at least one client; and respectively comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result.
Optionally, comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining a switching value of the initial streaming media server based on a comparison result, including: comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold respectively, and determining the number of clients to be switched as a comparison result, wherein the number of the clients to be switched is the number of the clients corresponding to the condition that the network quality value in the live broadcast room is lower than the preset quality threshold, and the network quality comprises the first network quality value and the second network quality value; and determining the switching value of the initial streaming media server based on the number of the clients to be switched.
Optionally, when the handover value is lower than a preset handover threshold, the method further includes: recording the detection times corresponding to the initial streaming media server; if the detection times are lower than a preset detection time threshold, updating the switching value of the initial streaming media server according to a second network quality value which is locally re-determined and a first network quality value which is fed back again by the client, and updating the detection times according to the updated switching value; and if the detection times reach a preset detection time threshold value, executing the step of switching the live broadcast room from the initial streaming media server to a backup streaming media server.
In a second aspect, an embodiment of the present invention further provides another server switching method, including: receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room; monitoring video stream quality data according to the synchronous detection signal; determining a first network quality value based on the video stream quality data; feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room; receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value; and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
Optionally, before receiving the synchronization detection signal sent by the target client, the method further includes: determining a login user according to the login information; and if the login user does not have the management authority of the live broadcast room, waiting to receive a synchronous detection signal sent by a target client, wherein the target client is the client logged in by the user with the management authority.
Optionally, the monitoring video stream quality data according to the synchronization detection signal includes: clearing local historical video stream quality data according to the synchronous detection signal; monitoring video stream data transmitted by the initial streaming media server to obtain video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
In a third aspect, an embodiment of the present invention further provides a server switching apparatus, including:
the system comprises a synchronous detection signal sending module, a video stream data monitoring module and a video stream data monitoring module, wherein the synchronous detection signal sending module is used for sending a synchronous detection signal to a client corresponding to a live broadcast room in the process of generating video stream data in the live broadcast room so as to trigger the client to monitor video stream quality data;
a switching value determination module, configured to determine a switching value of an initial streaming media server according to a first network quality value and a locally determined second network quality value, where the first network quality value is determined by the client according to the monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
and the server switching module is used for switching the live broadcast room from the initial streaming media server to a backup streaming media server when the switching value is lower than a preset switching threshold value, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
In a fourth aspect, an embodiment of the present invention further provides another server switching apparatus, including:
the synchronous detection signal receiving module is used for receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room;
the video stream quality monitoring module is used for monitoring video stream quality data according to the synchronous detection signal;
the network quality determining module is used for determining a first network quality value according to the video stream quality data;
a network quality feedback module, configured to feed back the first network quality value to the target client, so as to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, where the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
a switching message receiving module, configured to receive a switching message corresponding to the live broadcast room, where the switching message is sent by the target client when the switching value is lower than a preset switching threshold;
and the server switching module is used for switching the live broadcast room from the initial streaming media server to the backup streaming media server according to the switching message.
In a fifth aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes: the touch screen comprises a memory, a display screen with a touch function and one or more processors; the memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to perform operations comprising:
in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data;
determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
In a sixth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the server switching method as set forth in the first aspect.
In a seventh aspect, an embodiment of the present invention further provides another apparatus, including: the touch screen comprises a memory, a display screen with a touch function and one or more processors; the memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room;
monitoring video stream quality data according to the synchronous detection signal;
determining a first network quality value based on the video stream quality data;
feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value;
and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
In an eighth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the server switching method according to any one of the second aspect.
The embodiment of the invention triggers the client corresponding to the live broadcast room to monitor the video stream quality data through the synchronous detection signal, so that the client can determine the network quality value according to the monitored video stream quality data, determine the switching value of the current streaming media server connected with the live broadcast room according to the network quality value determined by each client, switch the live broadcast room from the current connected streaming media server to the backup streaming media device when the switching value of the current connected streaming media server is lower than the preset switching threshold value, transmit the audio and video stream generated in the live broadcast room through the backup streaming media server, realize the dynamic switching of the streaming media server, ensure the real-time property of the audio and video stream transmission generated in the live broadcast room, namely solve the problem that the interactive real-time property of the existing audio and video interactive application software is limited by the streaming media server provided by a third party audio and video service provider, therefore, the interactivity of the user in the audio and video interaction process is improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic architecture diagram of an audio-video interactive system according to an example of the present invention;
FIG. 2 is a flowchart illustrating steps of a server switching method according to an embodiment of the present invention;
FIG. 3 is a flow chart of steps of another server switching method in an embodiment of the present invention;
fig. 4 is a block diagram of a server switching device according to an embodiment of the present invention;
fig. 5 is a block diagram of another server switching device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The Server switching method provided by the embodiment of the invention can be suitable for the situation of dynamically switching servers in an audio and video interaction scene, the client corresponding to the live broadcast room is triggered to monitor the video stream quality data through the synchronous detection signal, so that the client can determine the network quality value according to the monitored video stream quality data, the switching value of the Streaming Media Server (Streaming Media Server) currently connected to the live broadcast room can be determined according to the network quality value determined by each client, and when the switching value of the Streaming Media Server currently connected to the live broadcast room is lower than the preset switching threshold value, the Streaming Media Server currently connected to the live broadcast room is switched to the backup Streaming Media Server, so that the video stream data generated in the live broadcast room is transmitted through the backup Streaming Media Server.
It should be noted that the video stream data in the embodiment of the present invention may refer to various data generated in a representation live broadcast room, and specifically may include video data, audio data, text data, and the like generated in the live broadcast room, where the video data may be used to represent video played in the live broadcast room, the audio data may be used to represent audio played in the live broadcast room, and the text data may be used to represent text displayed in the live broadcast room.
The live broadcast room in the embodiment of the invention can be a virtual room created in an audio and video interaction scene. The user may enter the virtual room through the client to perform audio and video interaction with other users in the virtual room, for example, share the audio and video sent by the user with other users in the same virtual room, obtain the audio and video sent by other users in the same virtual room, and the like.
In actual processing, an audio/video interactive system can be formed by a client, a room management server and a streaming media server provided by one or more third-party audio/video service providers. As shown in fig. 1, a user a, a user B, and a user C may respectively join a virtual room through clients installed in different devices, and the devices used by the three users may establish long connections with a room management server through the clients, so that the devices or clients used by each user in the virtual room may pull audio and video streams sent by other clients in the same virtual room. The room management server can be used as a room management and message distribution center and is mainly used for maintaining information related to the virtual room and information notification in the virtual room. The streaming media server can be mainly used for providing video push-pull streaming service, that is, when all users in the same virtual room use the audio/video streaming service provided by the same audio/video manufacturer, the streaming media server provided by the audio/video manufacturer can be used for transmitting audio/video streams, so that remote real-time audio/video interaction is realized.
Referring to fig. 2, a flowchart illustrating steps of a server switching method in the embodiment of the present invention is shown, which may specifically include the following steps:
step 210, in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room to trigger the client to monitor video stream quality data.
Specifically, a user can log in a room management server of the audio and video interaction system through a client so as to enter a live broadcast room to perform remote real-time audio and video interaction with other users. When a user performs audio-video interaction with other users, the live broadcast room can generate corresponding video stream data, and the generated video stream data can be distributed to a client corresponding to the live broadcast room through a stream media server (namely an initial stream media server) currently connected with the live broadcast room, so that each user added to the live broadcast room can acquire the video stream data generated in the live broadcast room. The client corresponding to the live broadcast room may refer to a client used by a user who joins in the live broadcast room, the client may be implemented in a software and/or hardware manner, may be formed by two or more physical entities, may also be formed by one physical entity, and the like, and the implementation of the present invention is not limited thereto.
In the embodiment of the invention, in the process of generating video stream data in the live broadcast room, a synchronous detection signal can be sent to each client corresponding to the live broadcast room, so that each client in the live broadcast room is triggered to monitor the video stream quality data through the synchronous detection signal, each client can determine the current network quality value based on the monitored video stream quality data, and whether a streaming media server connected with the live broadcast room needs to be switched can be determined based on the network quality value determined by each client.
In the specific implementation, when a certain client generates a synchronous detection signal corresponding to a live broadcast room, the client can be used as a target client, and the synchronous detection signal can be sent to the client corresponding to the live broadcast room through the target client, so that each client in the same live broadcast room as the target client can receive the synchronous detection signal, each client in the same live broadcast room is triggered to synchronously monitor video stream quality data through the synchronous detection signal, and each client can determine a network quality value according to the monitored video stream quality data.
It should be noted that the synchronization detection signal in the embodiment of the present invention may be generated by an objective end in an audio/video system, and preferably, may be generated by a client having a management authority in the live broadcast room, and the like, which is not specifically limited in this embodiment of the present invention. The video stream quality data may include various data representing video quality, such as delay data, packet loss rate data, audio/video code rate data, video frame rate data, and/or pause rate data, which is not limited in this embodiment of the present invention. The Time delay data can be used for representing the Time delay of video stream data transmission, such as Round-Trip Time (RRT) and the like, the packet loss rate data can be used for representing the packet loss rate of video stream data transmission, the audio and video code rate data can include audio code rate data and/or video code rate data, the audio code rate data can be used for representing an audio code rate, the video code rate data can be used for representing a video code rate, and the pause rate data can include audio pause rate, video pause rate and the like.
Step 220, determining a switching value of the initial streaming media server according to the first network quality value fed back by the client and the locally determined second network quality value.
The first network quality value is determined by the client according to the monitored video stream quality data, the second network quality value is determined locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room.
In the embodiment of the invention, after each client corresponding to the live broadcast room receives the synchronous detection signal, the video stream quality data can be monitored according to the synchronous detection signal, then comprehensive calculation can be carried out according to the monitored video quality data to obtain a comprehensive score, and the comprehensive score can be used as a first network quality value to feed back the target client sending the synchronous detection signal for summarizing. In addition, after the target client generates the synchronous detection signal corresponding to the live broadcast room, the target client can start to monitor the local video stream quality data based on the synchronous detection signal, so that comprehensive calculation can be performed based on the locally monitored video stream quality data to obtain a comprehensive score serving as a second network quality value. The first network quality value determined by the client may be used to characterize the link quality between the client and the initial streaming media server currently connected to the live broadcast room, and if the first network quality value is lower, the link quality between the client and the initial streaming media server may be characterized to be worse. Similarly, the second network quality value determined by the target client may be used to characterize the link quality between the target client and the initial streaming server, e.g., the lower the second network quality value, the worse the link quality between the client and the initial streaming server may be characterized.
In a specific implementation, after the target client determines the local second network quality value, a summary process may be performed based on the second network quality value and the first network quality values fed back by the clients, so as to determine a switching value of the initial streaming media server currently connected to the live broadcast room. The switching value of the initial streaming media server can be used to determine whether the initial streaming media server needs to be switched, that is, whether the live broadcast room needs to be switched from the initial streaming media server to the backup streaming media server, so as to transmit the video stream data generated in the live broadcast room through the backup streaming media server. If the switching value of the initial streaming media server exceeds the preset switching threshold value, it can be determined that the video push-pull streaming services provided by the initial streaming media server for each client in the live broadcast room are relatively good, and each client in the live broadcast room does not need to be switched to other streaming media servers from the initial streaming media server, so that the overhead caused by switching of the streaming media servers is avoided, and the real-time performance of video streaming data transmission in the live broadcast room is ensured. If the switching value of the initial streaming media server is lower than the preset switching threshold, it may be determined that the video push-pull streaming service provided by the initial streaming media server for each client in the live broadcast room is relatively poor, that is, it may be determined that the link quality between the initial streaming media server and each client in the live broadcast room is relatively poor, and then step 230 is executed. The preset switching threshold may be used to determine whether a streaming media server needs to be switched, and specifically may be set according to a transmission requirement of video stream data in a live broadcast room, for example, may be set according to transmission quality and/or transmission real-time performance of the video stream data in the live broadcast room, which is not limited in this embodiment of the present invention.
Step 230, when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, where the switching message is used to trigger the client to switch to the backup streaming media server.
In the embodiment of the invention, when the target client determines that the switching value of the initial streaming media server currently connected with the live broadcast room is lower than the preset switching threshold value, the target client can switch the live broadcast room from the currently connected streaming media server to the backup streaming media device, simultaneously can generate the switching message corresponding to the live broadcast room, and can send the switching message corresponding to the live broadcast room to each client corresponding to the live broadcast room so as to trigger each client to switch to the backup streaming media server, so that each client added to the live broadcast room can be synchronously switched to the backup streaming media server, the dynamic switching of the streaming media server in the remote real-time audio and video interaction process is realized, the problem that the interaction real-time performance of the existing audio and video interaction application software depends on the streaming media server provided by a third party audio and video service provider is limited is solved, and the real-time performance of audio and video stream transmission generated in the live broadcast room is, the interactivity of the user in the audio and video interaction process is improved, and the user experience is improved.
In the actual processing, a user can log in by using a client side and can join in a live broadcast room through the client side to perform remote audio and video interaction with other users. Therefore, the embodiment of the invention can determine whether the client used by the login user can distribute the synchronous detection signal corresponding to the live broadcast room by detecting whether the login user has the management authority of the live broadcast room, so as to trigger the client corresponding to the live broadcast room to synchronously detect the video quality data. Optionally, before sending the synchronization detection signal to the client corresponding to the live broadcast room, the server switching method in this embodiment may further include: determining a login user according to the login information; and if the login user has the management authority of the live broadcast room, generating a synchronous detection signal corresponding to the live broadcast room according to the management authority.
Specifically, when a user logs in by using the client, the client can determine a current login user according to login information of the user, for example, the login user can be determined according to a login account or a login user name input by the user, a live broadcast room into which the user enters can be determined according to the login information and/or user operation input by the user, whether the login user has a management authority of the live broadcast room can be determined, and whether the login user has the management authority of the live broadcast room can be determined by using the room management server. If the login user has the management authority of the live broadcast room, the client used by the login user can be used as a target client in the live broadcast room, a synchronous detection signal corresponding to the live broadcast room is generated according to the management authority of the user, the synchronous detection signal can be sent to the client used by each user added to the live broadcast room, the synchronous detection signal is sent to each client corresponding to the live broadcast room, and each client is enabled to monitor video quality data respectively according to the synchronous detection signal; meanwhile, the target client can detect the video stream quality data prepared locally according to the currently generated synchronous detection signal so as to determine the second network quality value according to the locally detected video stream quality data.
Further, the client in the embodiment of the present invention may locally store the currently stored data before monitoring the video quality data, for example, clear local historical video stream quality data, so as to save the local storage space, avoid the influence of the historical video stream quality data on the currently monitored video stream quality data, and ensure the monitoring accuracy. The historical video stream quality data may refer to video stream quality data historically monitored by the client, such as time delay data, packet loss rate data, audio/video code rate data, video frame rate data and/or pause rate data, which are monitored by the client before and stored in the local.
In an optional embodiment of the present invention, the server switching method may further include: clearing local historical video stream quality data according to the synchronous detection signal; monitoring local video stream quality data; and determining a second network quality value corresponding to the initial streaming media server according to the local video stream quality data. Specifically, after generating a synchronization detection signal corresponding to a live broadcast room, a target client in the embodiment of the present invention may locally store historical video stream quality data based on a synchronization detection signal condition, and then may monitor video stream quality data corresponding to the live broadcast room, so as to determine, by using the currently monitored video stream quality data, a second network quality value corresponding to a network corresponding to an initial streaming media server currently connected to the live broadcast room. Optionally, the monitoring of the local video stream quality data specifically includes: monitoring video stream data transmitted by the initial streaming media server to obtain local video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data. It should be noted that the video stream data transmitted by the initial streaming media server may refer to video stream data transmitted by the initial streaming media server, and specifically may include video stream data that is sent by the target client to other clients in the live broadcast room through the initial streaming media server, and may also include video stream data that is sent by the target client to other clients in the live broadcast room through the initial streaming media server.
In a specific implementation, after the target client clears the local historical video stream quality data, the target client may monitor video stream data transmitted by an initial streaming media server currently connected to the live broadcast room within a preset period of time, and may determine local video stream quality data based on the video stream data monitored within the period of time, so as to perform comprehensive calculation by using the locally determined video stream quality data to obtain a second network quality value. Then, the target client may perform a trade-off process by using the second network quality value and the first network quality value fed back by each client in the same live broadcast room, so as to determine a switching value of the initial streaming media server currently connected to the live broadcast room.
In an optional embodiment of the present invention, determining the switching value of the initial streaming media server according to the first network quality value fed back by the client and the locally determined second network quality value may specifically include: receiving a first network quality value fed back by at least one client; and respectively comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result.
Specifically, after the target client sends the synchronization detection signal to the client corresponding to the live broadcast room, each client receiving the synchronization detection signal may be triggered to determine a corresponding first network quality value according to the video stream quality data monitored by each client, and each client may feed back the determined first network quality value to the target client, so that the target client may receive the first network quality value fed back by each client. The target client may compare the received first network quality value and the locally determined second network quality value with a preset quality threshold, respectively, so as to determine the switching value of the initial streaming media server by using a comparison result obtained by the comparison. The comparison result can be used for comprehensively measuring the link quality between the initial streaming media server and each client of the live broadcast room. If the link quality between the initial streaming media server and each client of the live broadcast room is good, the switching value of the initial streaming media server determined based on the comparison result may be higher than a preset switching threshold. If the link quality between the initial streaming media server and each client of the live broadcast room is poor, the switching value of the initial streaming media server determined based on the comparison result may be lower than a preset switching threshold.
It should be noted that the preset quality threshold may refer to a quality value corresponding to the minimum network condition that can be accepted by the live broadcast room, and may be specifically set according to the audio/video quality of the video stream data generated in the live broadcast room after being transmitted through the streaming media server under different network conditions, which is not specifically limited in this embodiment of the present invention. For example, under various network conditions simulated in advance, video stream quality data such as packet loss data, delay data, audio/video code rate and the like corresponding to video stream data generated in a live broadcast room after being transmitted through a streaming media server under different network conditions are collected, then the audio/video quality of the video stream data transmitted through the streaming media server can be determined according to the video stream quality data, then the network quality value corresponding to the minimum network condition acceptable in the live broadcast room can be determined based on the transmitted audio/video quality, and the network quality value corresponding to the minimum network condition can be used as a preset quality threshold.
In this embodiment of the present invention, optionally, the comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result respectively includes: comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold respectively, and determining the number of clients to be switched as a comparison result, wherein the number of the clients to be switched is the number of the clients corresponding to the condition that the network quality value in the live broadcast room is lower than the preset quality threshold, and the network quality comprises the first network quality value and the second network quality value; and determining the switching value of the initial streaming media server based on the number of the clients to be switched. Specifically, the target client may compare the second network quality value determined locally and the first network quality value fed back by each client with a preset quality threshold, to determine the client corresponding to the client whose network quality value is lower than the preset quality threshold in the live broadcast room to which the target client is added, and may count the number of clients whose network quality value is lower than the preset quality threshold, to obtain the number of clients to be switched, and then may determine the switching value of the initial streaming media server currently connected to the live broadcast room based on the number of clients to be switched. If the number of the clients to be switched is large, the determined switching value of the initial streaming media server can be low. For example, when the number of clients to be switched exceeds half of the number of clients in the live broadcast room, the determined switching value may be lower than a preset switching threshold value to trigger the streaming media server in the live broadcast room to switch connection, that is, to trigger the target client and other clients in the live broadcast room to switch the live broadcast room from the initial streaming media server in the current connection to the backup streaming media server, so that video stream data generated in the live broadcast room may be transmitted through the backup streaming media server connected after switching.
In actual processing, the instantaneous jitter of the network is common. In order to avoid switching of the streaming media server caused by network instant jitter, the embodiment of the invention can trigger each client in the live broadcast room to realize switching of the streaming media server when the detection times corresponding to the switching value of the initial streaming media server being lower than the preset switching threshold reach the preset detection threshold. Therefore, in an optional embodiment of the present invention, when the handover value is lower than a preset handover threshold, the method may further include: recording the detection times corresponding to the initial streaming media server; if the detection times are lower than a preset detection time threshold, updating the switching value of the initial streaming media server according to a second network quality value which is locally re-determined and a first network quality value which is fed back again by the client, and updating the detection times according to the updated switching value; and if the detection times reach a preset detection time threshold value, executing the step of switching the live broadcast room from the initial streaming media server to a backup streaming media server.
Specifically, when detecting that the switching value of the initial streaming media server is lower than the preset switching threshold, the target client in the embodiment of the present invention may record the detection times corresponding to the initial streaming media server, so that the detection times reach the preset detection times threshold, and switch the streaming media server connected to the live broadcast room from the initial streaming media server to the backup server, thereby avoiding the problem of frequent switching of the streaming media server due to network instantaneous jitter, and further reducing the additional overhead caused by frequent switching of the streaming media server.
On the basis of the foregoing embodiment, an embodiment of the present invention further provides another server switching method, which may be executed by a client in a live broadcast room, and as shown in fig. 3, the method may specifically include the following steps:
step 310, in the process of generating video stream data in the live broadcast room, receiving a synchronization detection signal sent by a target client.
In a specific implementation, after a login user joins a live broadcast room, a client may acquire video stream data generated in the live broadcast room, for example, the client may acquire video stream data sent by other users in the live broadcast room through a streaming media server connected to the live broadcast room, and may send video stream data recorded in the local by the login user to the client used by other users through the streaming media server connected to the live broadcast room. In addition, after the target client in the live broadcast room sends the synchronization detection signal, the client may also receive, through the network server, the synchronization detection signal sent by the target client in the live broadcast room, for example, the synchronization detection signal sent by the target client may be received through a room management server connected to the live broadcast room.
And step 320, monitoring video stream quality data according to the synchronous detection signal.
Specifically, after receiving the synchronization detection signal, the client in the live broadcast room may clear locally current cached data, such as historical video stream quality data currently stored locally, so as to monitor the video stream quality data after clearing the data, and ensure the monitoring accuracy.
In an optional embodiment of the present invention, the monitoring the video stream quality data according to the synchronization detection signal may specifically include: clearing local historical video stream quality data according to the synchronous detection signal; monitoring video stream data transmitted by the initial streaming media server to obtain video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
In step 330, a first network quality value is determined based on the video stream quality data.
Specifically, after the client in the implementation of the present invention clears the local data, the client may monitor video stream data transmitted by an initial streaming media server currently connected to the live broadcast room within a preset period of time, and may determine video stream quality data based on the video stream data monitored within the period of time, so as to perform comprehensive calculation using the determined video stream quality data to obtain a first network quality value.
Step 340, feeding back the first network quality value to the target client, so as to trigger the target client to determine a switching value of the initial streaming media server according to the first network quality and the second network quality.
The second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room.
For example, after the client clears the historical video stream quality data according to the received synchronization detection signal, the client may monitor the video stream data transmitted by the initial streaming media server within a preset period of time to obtain the video stream quality data within the period of time, and then may perform comprehensive calculation on the video stream quality data within the period of time to determine a first network quality value within the period of time, and then may send the first network quality value to the target client, so as to summarize the first network quality value through the target client, and determine the switching value of the initial streaming media server currently connected between live broadcasts.
Step 350, receiving a handover message corresponding to the live broadcast room, where the handover message is sent by the target client when the handover value is lower than a preset handover threshold value.
In the embodiment of the present invention, when determining that the switching value of the initial streaming media server is lower than the preset switching threshold, the target client may generate one or more corresponding switching messages for the live broadcast room, and may distribute the generated switching messages to each client corresponding to the live broadcast room, so that each client may receive the switching messages corresponding to the live broadcast room, and may trigger the client to execute step 360.
And step 360, switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
In this embodiment, optionally, before receiving the synchronization detection signal sent by the target client, the method may further include: determining a login user according to the login information; and if the login user does not have the management authority of the live broadcast room, waiting to receive a synchronous detection signal sent by a target client, wherein the target client is the client logged in by the user with the management authority.
To sum up, the embodiment of the present invention can trigger each client in the same live broadcast room to monitor the video stream quality data through the synchronous detection signal, so that the client can determine the network quality value according to the monitored video stream quality data, determine the switching value of the streaming media server currently connected to the live broadcast room according to the network quality value determined by each client, and switch the live broadcast room from the currently connected streaming media server to the backup streaming media device when the switching value of the currently connected streaming media server is lower than the preset switching threshold, so as to transmit the audio/video stream generated in the live broadcast room through the backup streaming media server, thereby implementing dynamic switching of the streaming media server, ensuring the real-time of the audio/video stream transmission generated in the live broadcast room, i.e. solving the problem that the existing audio/video interactive application software depends on the streaming media server provided by a third party audio/video service provider to cause the limited interactive real-time, therefore, the interactivity of the user in the audio and video interaction process is improved, and the user experience is improved.
For example, as shown in fig. 1, in the case that the av interactive system includes a streaming server provided by an av provider a and a streaming server provided by an av provider B, if the charging price of the audio video service provider a is cheaper than the charging price of the audio video service provider B, and under the condition of better network quality, the audio and video transmission quality of the streaming media server provided by the audio and video service provider A and the audio and video transmission quality of the streaming media server provided by the audio and video service provider B are not different greatly, the clients used by the user a, the user B and the user C which join in the same virtual room can be in communication connection with the streaming media server provided by the audio and video service provider a, and the streaming media server provided by the audio and video service provider A is adopted to transmit the video streaming data generated in the virtual room, so that the cost is saved. However, under the condition of poor network quality, if the audio/video transmission quality of the streaming media server provided by the audio/video service provider a is worse than that of the streaming media server provided by the audio/video service provider B, that is, the audio/video transmission quality of the audio/video service provider a is not as bad as that of the audio/video service provider B, in order to pursue user experience, the clients used by the user a, the user B, and the user C are all expected to be capable of dynamically switching to the streaming media server provided by the audio/video service provider B. At this time, by applying the server switching scheme provided by the embodiment of the present invention, the clients used by the user a, the user B, and the user C can dynamically switch the streaming media server provided by the audio/video service provider in the audio/video interaction process, and can ensure transparency to the outside without affecting the user operation, thereby seeking a balance between the cost and the user experience.
In actual processing, the server switching method provided by the embodiment of the invention can be applied to each client in an audio and video interactive system.
As an example of the present invention, a user may log in a room management server using any client to enter a live broadcast room through the room management server for audio and video interaction, that is, push and pull video stream data generated in the live broadcast room through an initial streaming media server connected to the live broadcast room. After the video stream data generated in the live broadcast room starts to be pushed and pulled, the client used by the user can start to continuously monitor the network condition, for example, push-pull stream quality related data can be obtained at regular time, that is, video stream quality data corresponding to the video stream data transmitted by the initial streaming media server is obtained at regular time, so as to realize regular monitoring of the network condition. Subsequently, the client can judge whether the user is an arbitrator in the live broadcast room to which the user joins according to the login information of the user, that is, whether the current login user has the management authority of the live broadcast room. The arbitrator may refer to a person who first joins the live broadcast room, such as a user who creates the direct broadcast room.
If the user is an arbitrator in the live broadcast room, the user can be determined to have the management authority, and a monitoring notification corresponding to the live broadcast room can be initiated, namely a starting signal serving as a synchronous detection signal is initiated. The signal is used for informing all clients used by users in the live broadcast room to start collecting push-pull stream quality data at the moment in the next period of time, and calculating a comprehensive score as a network quality value, namely informing each client in the direct broadcast room to collect video stream quality data in the next period of time, and determining a corresponding network quality value by using the video stream quality data collected in the period of time. For example, after a user logs in and joins a live broadcast room by using a client, if the user has the management authority of the live broadcast room, the client used by the user can be used as a target client. The target client can generate a synchronous detection signal corresponding to the live broadcast room and can send the synchronous detection signal to clients used by other users in the live broadcast room, so that each client in the live broadcast room can start to monitor video stream quality data corresponding to the live broadcast room based on the synchronous detection signal after acquiring the synchronous detection signal; meanwhile, the network quality value corresponding to the push-pull stream quality data of the user can be calculated, for example, after the current data of the user is emptied, the video stream quality data is collected and the comprehensive score is calculated to serve as the second network quality value.
If the user is not an arbitrator in the live broadcast room, the start signal initiated by the arbitrator can be waited, that is, the client logged in by the user without the management authority waits for receiving the synchronous detection signal sent by the target client. If a start signal from the arbitrator is received. Namely receiving a detection synchronization signal sent by a target client, clearing the current data of the client, starting to collect video stream quality data, calculating a comprehensive score by adopting the video stream quality data to serve as a first network quality value, and sending the first network quality value to the target client used by an arbitrator in the same live broadcast room.
After a target client used by an arbitrator receives a current network quality value calculated by other clients, namely after the target client receives a first network quality value fed back by each client corresponding to a live broadcast room, a balance can be made according to the network quality value fed back by each client in the live broadcast room to determine whether a streaming media server connected to the live broadcast room needs to be switched, namely, whether the streaming media server currently connected to the live broadcast room needs to be switched is determined according to the collected network quality value.
In the actual process, the target client or the user as the arbitrator may set a switching threshold as a preset switching threshold of the live broadcast room, and may set a number of times as a detection number threshold, for example, the detection number threshold may be set to 3 first. If the target client finds that the network quality values corresponding to the video network quality data monitored by the clients in the live broadcast room are poor in continuous monitoring for 3 times, namely the switching values of the initial streaming media servers connected to the live broadcast room are all lower than a preset switching threshold value, the clients in the live broadcast room can be informed to switch the streaming media servers connected to the live broadcast room. For example, as shown in fig. 1, when the initial streaming media server used by default in the live broadcast rooms joined by the user a, the user B, and the user C is the streaming media server provided by the audio/video service provider a, the target client used by the user B as the arbitrator detects that the switching value of the streaming media server provided by the audio/video service provider a is lower than the preset switching threshold value on the connection line for 3 times, and if the audio/video transmission quality of the audio/video service provider B is better than that of the audio/video service provider a, the streaming media server provided by the audio/video service provider B can be used as the backup streaming media server, and the client used by each user in the live broadcast room can be notified to switch the streaming media server connected to the live broadcast room to the streaming media server provided by the video service provider B, so as to avoid the problem that the video frames and/or the audio cards in the live broadcast room are played due to the poor audio/video quality transmission, the fluency of playing the video stream data generated in the live broadcast room is ensured, and the user experience is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention.
Referring to fig. 4, a block diagram of a server switching device in the embodiment of the present invention is shown. The server switching device may specifically include the following modules:
a synchronous detection signal sending module 410, configured to send a synchronous detection signal to a client corresponding to a live broadcast room in a process of generating video stream data in the live broadcast room, so as to trigger the client to monitor video stream quality data;
a switching value determining module 420, configured to determine a switching value of an initial streaming media server according to a first network quality value and a second locally determined network quality value, where the first network quality value is determined by the client according to the monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
a server switching module 430, configured to switch the live broadcast room from the initial streaming media server to a backup streaming media server when the switching value is lower than a preset switching threshold, and send a switching message corresponding to the live broadcast room to the client, where the switching message is used to trigger the client to switch to the backup streaming media server.
In an optional embodiment of the present invention, the server switching apparatus may further include the following modules:
a login user determination module, configured to determine a login user according to login information before the synchronization detection signal sending module 410 sends the synchronization detection signal to the client corresponding to the live broadcast room;
and the synchronous detection signal generation module is used for generating a synchronous detection signal corresponding to the live broadcast room according to the management authority when the login user has the management authority of the live broadcast room.
Optionally, the server switching device may further include the following modules:
the historical data clearing module is used for clearing local historical video stream quality data according to the synchronous detection signal;
the quality data monitoring module is used for monitoring local video stream quality data;
and the network quality value determining module is used for determining a second network quality value corresponding to the initial streaming media server according to the local video stream quality data.
In an optional embodiment of the present invention, the quality data monitoring module may be specifically configured to monitor video stream data transmitted by the initial streaming media server, so as to obtain local video stream quality data. Wherein the video stream quality data comprises at least one of: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
In an alternative embodiment of the present invention, the handover value determination module 420 may include the following sub-modules:
the network quality value receiving submodule is used for receiving a first network quality value fed back by at least one client;
and the switching value determining submodule is used for respectively comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result.
In this embodiment of the present invention, optionally, the handover value determining sub-module may specifically include the following units:
a comparing unit, configured to compare the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determine the number of clients to be switched as a comparison result, where the number of clients to be switched is the number of clients in the live broadcast room whose network quality value is lower than the preset quality threshold, where the network quality includes the first network quality value and the second network quality value;
and the switching value determining unit is used for determining the switching value of the initial streaming media server based on the number of the clients to be switched.
In an optional embodiment of the present invention, the server switching apparatus may further include the following modules:
the detection frequency recording module is used for recording the detection frequency corresponding to the initial streaming media server when the switching value is lower than a preset switching threshold value;
an update triggering module, configured to, when the detection times are lower than a preset detection times threshold, trigger the switching value determining module 420 to update the switching value of the initial streaming media server according to a second network quality value locally re-determined and a first network quality value fed back again by the client, and trigger the detection times recording module to update the detection times according to the updated switching value; and when the detection times reach a preset detection time threshold, triggering a server switching module 430 to execute the step of switching the live broadcast room from the initial streaming media server to a backup streaming media server.
In a specific implementation, the server switching apparatus provided in the embodiment of the present invention may be integrated in a device, and may be specifically applied to a target client installed in a live broadcast room of the device. The device may be formed by two or more physical entities, or may be formed by one physical entity, for example, the device may be a digital television, a computer, a mobile phone, a tablet, a projector, or an interactive smart tablet. In addition, the server switching device provided above can be used to execute the server switching method on the target client side in the above embodiments, and has corresponding functions and advantages.
Another server switching device may also be provided in the embodiments of the present invention, as shown in fig. 5, the server switching device may include the following modules:
a synchronous detection signal receiving module 510, configured to receive a synchronous detection signal sent by a target client during a process of generating video stream data in a live broadcast room;
a video stream quality monitoring module 520, configured to monitor video stream quality data according to the synchronization detection signal;
a network quality determination module 530 for determining a first network quality value from the video stream quality data;
a network quality feedback module 540, configured to feed back the first network quality value to the target client, so as to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, where the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
a switching message receiving module 550, configured to receive a switching message corresponding to the live broadcast room, where the switching message is sent by the target client when the switching value is lower than a preset switching threshold;
and a server switching module 560, configured to switch the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
Optionally, the server switching device provided in the embodiment of the present invention may further include a login user determination module. The login user determining module is configured to determine a login user according to the login information before the synchronization detection signal receiving module 510 receives the synchronization detection signal sent by the target client. The synchronization detection signal receiving module 510 is specifically configured to wait to receive a synchronization detection signal sent by a target client when the login user does not have the management right of the live broadcast. And the target client is a client which is logged in by the user with the management authority.
In an optional embodiment of the present invention, the video stream quality monitoring module 520 may specifically include the following sub-modules:
the data clearing submodule is used for clearing local historical video stream quality data according to the synchronous detection signal;
a monitoring submodule, configured to monitor video stream data transmitted by the initial streaming media server, so as to obtain video stream quality data, where the video stream quality data includes at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
In a specific implementation, another server switching apparatus provided in the embodiment of the present invention may also be integrated in a device, and specifically may be configured to execute the server switching method on the client side in the live broadcast room mentioned in the foregoing embodiment, which has corresponding functions and beneficial effects.
Referring to fig. 6, a schematic structural diagram of an apparatus in an embodiment of the present invention is shown. As shown in fig. 6, the apparatus includes: a processor 60, a memory 61, a display 62 with touch functionality, an input device 63, an output device 64 and a communication device 65. The number of processors 60 in the device may be one or more, and one processor 60 is taken as an example in fig. 6. The number of the memories 61 in the device may be one or more, and one memory 61 is taken as an example in fig. 6. The processor 60, the memory 61, the display 62, the input means 63, the output means 64 and the communication means 65 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 6. In an embodiment, the device may be a computer, a mobile phone, a tablet, a projector, or an interactive smart tablet, etc. In the embodiment, the device is taken as an example of an interactive smart tablet to describe.
The memory 61 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device-based data processing method according to any embodiment of the present invention (for example, the synchronization detection signal transmitting module 410, the switching value determining module 420, and the server switching module 430 in the server switching apparatus). The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display screen 62 is a display screen 62 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. In general, the display screen 62 is used for displaying data according to instructions from the processor 60, and is also used for receiving touch operations applied to the display screen 62 and sending corresponding signals to the processor 60 or other devices. Optionally, when the display screen 62 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 62, and may also be configured to receive an infrared signal and send the infrared signal to the processor 60 or other devices.
The communication device 65 is used for establishing a communication connection with other devices, and may be a wired communication device and/or a wireless communication device.
The input means 63 may be used for receiving input numeric or character information and generating key signal inputs related to user settings and function control of the apparatus, and may be a camera for acquiring images and a sound pickup apparatus for acquiring audio data. The output device 64 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 63 and the output device 64 can be set according to actual conditions.
The processor 60 executes various functional applications of the device and data processing by running software programs, instructions, and modules stored in the memory 61, that is, implements the server switching method described above.
Specifically, in the embodiment, when the processor 60 executes one or more programs stored in the memory 61, the following operations are specifically implemented:
in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data;
determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
On the basis of the above embodiment, before implementing sending of the synchronization detection signal to the client corresponding to the live broadcast room, the one or more processors 60 further implement the following operations: determining a login user according to the login information; and if the login user has the management authority of the live broadcast room, generating a synchronous detection signal corresponding to the live broadcast room according to the management authority.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations: clearing local historical video stream quality data according to the synchronous detection signal; monitoring local video stream quality data; and determining a second network quality value corresponding to the initial streaming media server according to the local video stream quality data.
On the basis of the foregoing embodiment, when the processor 60 implements monitoring of local video stream quality data, the method may specifically include: and monitoring the video stream data transmitted by the initial streaming media server to obtain local video stream quality data. Wherein the video stream quality data comprises at least one of: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
On the basis of the foregoing embodiment, when the processor 60 determines the switching value of the initial streaming media server according to the first network quality value fed back by the client and the locally determined second network quality value, the method specifically includes: receiving a first network quality value fed back by at least one client; and respectively comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result.
On the basis of the foregoing embodiment, when the processor 60 compares the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determines the switching value of the initial streaming media server based on the comparison result, the method specifically includes: comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold respectively, and determining the number of clients to be switched as a comparison result, wherein the number of the clients to be switched is the number of the clients corresponding to the condition that the network quality value in the live broadcast room is lower than the preset quality threshold, and the network quality comprises the first network quality value and the second network quality value; and determining the switching value of the initial streaming media server based on the number of the clients to be switched.
On the basis of the above embodiment, when the handover value is lower than the preset handover threshold, the one or more processors 60 further implement the following operations: recording the detection times corresponding to the initial streaming media server; if the detection times are lower than a preset detection time threshold, updating the switching value of the initial streaming media server according to a second network quality value which is locally re-determined and a first network quality value which is fed back again by the client, and updating the detection times according to the updated switching value; and if the detection times reach a preset detection time threshold value, executing the step of switching the live broadcast room from the initial streaming media server to a backup streaming media server.
The device provided by the above can be used to execute the server switching method provided by any of the above embodiments, and has corresponding functions and advantages.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a server switching method, including: in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data; determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room; and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, and the computer-executable instructions are not limited to the operations of the server switching method described above, and may also perform related operations in the server switching method provided by any embodiment of the present invention, and have corresponding functions and advantages.
Illustratively, the following operations are implemented in the device when the processor 60 executes one or more programs stored in the memory 61: receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room; monitoring video stream quality data according to the synchronous detection signal; determining a first network quality value based on the video stream quality data; feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room; receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value; and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
Optionally, the one or more processors 60, before implementing receiving the synchronization detection signal sent by the target client, further implement the following operations: determining a login user according to the login information; and if the login user does not have the management authority of the live broadcast room, waiting to receive a synchronous detection signal sent by a target client, wherein the target client is the client logged in by the user with the management authority.
On the basis of the foregoing embodiment, when the processor 60 implements monitoring of video stream quality data according to the synchronization detection signal, the method may specifically include: clearing local historical video stream quality data according to the synchronous detection signal; monitoring video stream data transmitted by the initial streaming media server to obtain video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
An embodiment of the present invention further provides another storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform another server switching method mentioned in the foregoing embodiment, including: receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room; monitoring video stream quality data according to the synchronous detection signal; determining a first network quality value based on the video stream quality data; feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room; receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value; and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
It should be noted that, as for the embodiments of the apparatus, the device, and the storage medium, since they are basically similar to the embodiments of the method, the description is relatively simple, and in relevant places, reference may be made to the partial description of the embodiments of the method.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, and the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the server switching method according to any embodiment of the present invention.
It should be noted that, in the server switching device, each unit and each module included in the server switching device are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (16)

1. A server switching method, comprising:
in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data;
determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
2. The method of claim 1, wherein before sending the sync detection signal to the client corresponding to the live broadcast, the method further comprises:
determining a login user according to the login information;
and if the login user has the management authority of the live broadcast room, generating a synchronous detection signal corresponding to the live broadcast room according to the management authority.
3. The method of claim 1, further comprising:
clearing local historical video stream quality data according to the synchronous detection signal;
monitoring local video stream quality data;
and determining a second network quality value corresponding to the initial streaming media server according to the local video stream quality data.
4. The method of claim 3, wherein the monitoring local video stream quality data comprises:
monitoring video stream data transmitted by the initial streaming media server to obtain local video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
5. The method according to any of claims 1 to 4, wherein determining the switching value of the initial streaming server based on the first network quality value fed back by the client and the locally determined second network quality value comprises:
receiving a first network quality value fed back by at least one client;
and respectively comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result.
6. The method of claim 5, wherein comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold, and determining the switching value of the initial streaming media server based on the comparison result comprises:
comparing the second network quality value and the first network quality value fed back by each client with a preset quality threshold respectively, and determining the number of clients to be switched as a comparison result, wherein the number of the clients to be switched is the number of the clients corresponding to the condition that the network quality value in the live broadcast room is lower than the preset quality threshold, and the network quality comprises the first network quality value and the second network quality value;
and determining the switching value of the initial streaming media server based on the number of the clients to be switched.
7. The method of claim 6, wherein when the handover value is below a preset handover threshold, the method further comprises:
recording the detection times corresponding to the initial streaming media server;
if the detection times are lower than a preset detection time threshold, updating the switching value of the initial streaming media server according to a second network quality value which is locally re-determined and a first network quality value which is fed back again by the client, and updating the detection times according to the updated switching value;
and if the detection times reach a preset detection time threshold value, executing the step of switching the live broadcast room from the initial streaming media server to a backup streaming media server.
8. A server switching method, comprising:
receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room;
monitoring video stream quality data according to the synchronous detection signal;
determining a first network quality value based on the video stream quality data;
feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value;
and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
9. The method of claim 8, wherein before receiving the synchronization detection signal sent by the target client, the method further comprises:
determining a login user according to the login information;
and if the login user does not have the management authority of the live broadcast room, waiting to receive a synchronous detection signal sent by a target client, wherein the target client is the client logged in by the user with the management authority.
10. The method according to claim 8 or 9, wherein said monitoring video stream quality data based on said synchronization detection signal comprises:
clearing local historical video stream quality data according to the synchronous detection signal;
monitoring video stream data transmitted by the initial streaming media server to obtain video stream quality data, wherein the video stream quality data comprises at least one of the following data: time delay data, packet loss rate data, audio and video code rate data, video frame rate data and pause rate data.
11. A server switching apparatus, comprising:
the system comprises a synchronous detection signal sending module, a video stream data monitoring module and a video stream data monitoring module, wherein the synchronous detection signal sending module is used for sending a synchronous detection signal to a client corresponding to a live broadcast room in the process of generating video stream data in the live broadcast room so as to trigger the client to monitor video stream quality data;
a switching value determination module, configured to determine a switching value of an initial streaming media server according to a first network quality value and a locally determined second network quality value, where the first network quality value is determined by the client according to the monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
and the server switching module is used for switching the live broadcast room from the initial streaming media server to a backup streaming media server when the switching value is lower than a preset switching threshold value, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
12. A server switching apparatus, comprising:
the synchronous detection signal receiving module is used for receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room;
the video stream quality monitoring module is used for monitoring video stream quality data according to the synchronous detection signal;
the network quality determining module is used for determining a first network quality value according to the video stream quality data;
a network quality feedback module, configured to feed back the first network quality value to the target client, so as to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, where the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected to the live broadcast room;
a switching message receiving module, configured to receive a switching message corresponding to the live broadcast room, where the switching message is sent by the target client when the switching value is lower than a preset switching threshold;
and the server switching module is used for switching the live broadcast room from the initial streaming media server to the backup streaming media server according to the switching message.
13. An electronic device, comprising: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
in the process of generating video stream data in a live broadcast room, sending a synchronous detection signal to a client corresponding to the live broadcast room so as to trigger the client to monitor video stream quality data;
determining a switching value of an initial streaming media server according to a first network quality value fed back by the client and a locally determined second network quality value, wherein the first network quality value is determined by the client according to monitored video stream quality data, the second network quality value is determined by the client locally according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
and when the switching value is lower than a preset switching threshold value, switching the live broadcast room from the initial streaming media server to a backup streaming media server, and sending a switching message corresponding to the live broadcast room to the client, wherein the switching message is used for triggering the client to switch to the backup streaming media server.
14. A storage medium containing computer-executable instructions for performing the server switching method of any one of claims 1-7 when executed by a computer processor.
15. An electronic device, comprising: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a synchronous detection signal sent by a target client in the process of generating video stream data in a live broadcast room;
monitoring video stream quality data according to the synchronous detection signal;
determining a first network quality value based on the video stream quality data;
feeding the first network quality value back to the target client to trigger the target client to determine a switching value of an initial streaming media server according to the first network quality and a second network quality, wherein the second network quality is determined by the target client according to the monitored video stream quality data, and the initial streaming media server is a streaming media server connected with the live broadcast room;
receiving a switching message corresponding to the live broadcast room, wherein the switching message is sent when the switching value of the target client is lower than a preset switching threshold value;
and switching the live broadcast room from the initial streaming media server to a backup streaming media server according to the switching message.
16. A storage medium containing computer-executable instructions for performing the server switching method of any one of claims 8 to 10 when executed by a computer processor.
CN201910019377.4A 2019-01-09 2019-01-09 Server switching method, device, equipment and medium Active CN109561320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910019377.4A CN109561320B (en) 2019-01-09 2019-01-09 Server switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910019377.4A CN109561320B (en) 2019-01-09 2019-01-09 Server switching method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109561320A CN109561320A (en) 2019-04-02
CN109561320B true CN109561320B (en) 2020-12-22

Family

ID=65872688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910019377.4A Active CN109561320B (en) 2019-01-09 2019-01-09 Server switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109561320B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6776425B1 (en) * 2019-09-30 2020-10-28 株式会社コロプラ Programs, methods, and delivery terminals
CN111083521B (en) * 2019-12-27 2022-02-01 杭州当虹科技股份有限公司 RTMP release main/standby fast switching method
EP3879796B1 (en) * 2020-03-13 2024-02-21 Apple Inc. Selection of edge application server
CN114554115A (en) * 2020-11-25 2022-05-27 中强光电股份有限公司 Video output device and video output method
CN112749044B (en) * 2020-12-31 2023-08-18 北京七维视觉传媒科技有限公司 Hot backup method and device of multi-channel rendering system
WO2023209800A1 (en) * 2022-04-26 2023-11-02 日本電信電話株式会社 Video quality estimation device, video quality estimation method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1429561A2 (en) * 2002-12-11 2004-06-16 Broadcom Corporation Personal inter-home media exchange network
CN101282281B (en) * 2007-04-03 2011-03-30 华为技术有限公司 Medium distributing system and apparatus as well as flow medium play method
CN101917416B (en) * 2010-07-30 2013-03-20 北京华夏电通科技股份有限公司 Method for guaranteeing data integrity in network storage
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN105163137A (en) * 2015-08-20 2015-12-16 小米科技有限责任公司 Network bandwidth adjusting method and system, router and video playing device
US9621853B1 (en) * 2016-06-28 2017-04-11 At&T Intellectual Property I, L.P. Service orchestration to support a cloud-based, multi-party video conferencing service in a virtual overlay network environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1429561A2 (en) * 2002-12-11 2004-06-16 Broadcom Corporation Personal inter-home media exchange network
CN101282281B (en) * 2007-04-03 2011-03-30 华为技术有限公司 Medium distributing system and apparatus as well as flow medium play method
CN101917416B (en) * 2010-07-30 2013-03-20 北京华夏电通科技股份有限公司 Method for guaranteeing data integrity in network storage
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN105163137A (en) * 2015-08-20 2015-12-16 小米科技有限责任公司 Network bandwidth adjusting method and system, router and video playing device
US9621853B1 (en) * 2016-06-28 2017-04-11 At&T Intellectual Property I, L.P. Service orchestration to support a cloud-based, multi-party video conferencing service in a virtual overlay network environment

Also Published As

Publication number Publication date
CN109561320A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109561320B (en) Server switching method, device, equipment and medium
US10560276B2 (en) Method and system for sharing and discovery
US10129594B2 (en) Content-activated intelligent, autonomous audio/video source controller
CN111225230B (en) Management method and related device for network live broadcast data
US9736518B2 (en) Content streaming and broadcasting
CN111010614A (en) Method, device, server and medium for displaying live caption
CN105657579A (en) Live broadcast audio switching method, stream media server and client
CN109348163B (en) Video conference and video monitoring fusion system and method
US9756373B2 (en) Content streaming and broadcasting
WO2021196600A1 (en) Reverse screen-projection method, system and apparatus for smart screen, and smart screen and readable storage medium
CN103067776A (en) Program-pushing method and system, intelligent display device, cloud server
CN113114688B (en) Multimedia conference management method and device, storage medium and electronic equipment
JP7409963B2 (en) Computing system with trigger feature based on channel change
CN109803151B (en) Multimedia data stream switching method and device, storage medium and electronic device
CN109714622A (en) A kind of video data handling procedure, device and electronic equipment
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
CN113301397A (en) CDN-based audio and video transmission, playing and delay detection method and device
CN112788053A (en) Real-time communication method, device, server, system and storage medium
CN108882004B (en) Video recording method, device, equipment and storage medium
CN102387138B (en) Screen-saving based data transmission method and device
CN115379279A (en) Multi-screen linkage interaction method, device and system, storage medium and electronic equipment
CN114884924A (en) Audio and video channel selection method and device, electronic equipment and storage medium
US9485458B2 (en) Data processing method and device
CN105791223B (en) media stream data processing method and system and electronic equipment
CN108924465B (en) Method, device, equipment and storage medium for determining speaker terminal in video conference

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant