A method, device and storage medium based on adaptive director scene switching

The processor automatically switches the guiding scenes of the live broadcast platform, which solves the problem of reduced experience caused by users manually switching the guiding scenes and realizes a more convenient live broadcast process.

CN117640991BActive Publication Date: 2024-09-17BEIJING DOSEE SCIENCE & TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311715494.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-14
Publication Date
2024-09-17
Estimated Expiration
2043-12-14

AI Technical Summary

Technical Problem

In the existing technology, users need to manually switch the guiding scenes of the live broadcast platform, resulting in reduced user experience and inconvenience.

Method used

The processor responds to the video source signal, automatically determines whether the directing scene needs to be switched, switches the video stream according to the current and target scene types, and pushes it to the live broadcast platform.

Benefits of technology

It improves the user experience, simplifies the live broadcast process, and avoids the cumbersome operation of manually switching director scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117640991B
    Figure CN117640991B
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium based on adaptive director scene switching, including: in response to a signal received from a corresponding video source, determining whether the director scene needs to be switched, wherein the director scene is used to limit the video source information corresponding to each video window; in the case of determining that the director scene needs to be switched, based on the director scene type to which the current director scene belongs, determining the director scene type corresponding to the target director scene, wherein the target director scene is the director scene to be switched; in the case of determining the director scene type corresponding to the target director scene, determining the target director scene based on the signal; and switching the video stream corresponding to the current director scene to the video stream corresponding to the target director scene, and pushing the video stream corresponding to the target director scene to a live broadcast platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of live broadcast technology, and in particular to a method, device and storage medium based on adaptive director scene switching. Background Art

[0002] With the continuous development of science and technology and society, the emergence of live broadcast services has greatly enriched people's work and life. At present, most users will choose a live broadcast host for live broadcast. Therefore, when the live broadcast host receives the video image sent by the corresponding video source, the user can click on the required "director template" and drag the video image corresponding to each video source to the corresponding video window in the "director template" to generate the "director scene" required by the user. After that, the user clicks the "OK" button below the "director scene" interface, and the processor in the live broadcast host responds to the user's click operation and pushes the video stream corresponding to the "director scene" to the live broadcast platform, so that the audience can enter the corresponding live broadcast platform through the terminal device and watch the live broadcast.

[0003] Furthermore, if the user wants to switch the broadcasting scene corresponding to the video stream (i.e., switch the video stream pushed to the live broadcast platform), the above operation needs to be repeated manually. In any case, for the user who is broadcasting live, manually switching the broadcasting scene will not only reduce the user experience but also be very inconvenient for the user.

[0004] With regard to the technical problem in the above-mentioned prior art that if a user wants to switch the directing scene corresponding to the video stream, the user can only switch it manually, and manual switching of the directing scene not only reduces the user experience but is also very inconvenient for the user, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present disclosure provide a method, device and storage medium based on adaptive director scene switching, so as to at least solve the technical problem in the prior art that if a user wants to switch the director scene corresponding to a video stream, the user can only switch it manually, and manual switching of the director scene not only reduces the user experience but also is very inconvenient for the user.

[0006] According to one aspect of an embodiment of the present disclosure, a method based on adaptive directing scene switching is provided, including: in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene, wherein the directing scene is used to limit video source information corresponding to each video window; in the case of determining that it is necessary to switch the directing scene, based on the directing scene type to which the current directing scene belongs, determining the directing scene type corresponding to the target directing scene, wherein the target directing scene is the directing scene to be switched; in the case of determining the directing scene type corresponding to the target directing scene, determining the target directing scene based on the signal; and switching the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and pushing the video stream corresponding to the target directing scene to a live broadcast platform.

[0007] According to another aspect of the embodiments of the present disclosure, a storage medium is further provided. The storage medium includes a stored program, wherein the above method is executed by a processor when the program is running.

[0008] According to another aspect of an embodiment of the present disclosure, a device based on adaptive director scene switching is also provided, including: a first determination module, used to determine whether it is necessary to switch the director scene in response to a signal received from a corresponding video source, wherein the director scene is used to limit the video source information corresponding to each video window; a director scene type determination module, used to determine the director scene type corresponding to the target director scene based on the director scene type to which the current director scene belongs when it is determined that the director scene needs to be switched, wherein the target director scene is the director scene to be switched; a target director scene determination module, used to determine the target director scene based on the signal when the director scene type corresponding to the target director scene is determined; and a push module, used to switch the video stream corresponding to the current director scene to the video stream corresponding to the target director scene, and push the video stream corresponding to the target director scene to a live broadcast platform.

[0009] According to another aspect of an embodiment of the present disclosure, there is also provided a device based on adaptive director scene switching, comprising: a processor; and a memory connected to the processor, for providing the processor with instructions for processing the following processing steps: in response to a signal received from a corresponding video source, determining whether it is necessary to switch the director scene, wherein the director scene is used to limit the video source information corresponding to each video window; in the case where it is determined that the director scene needs to be switched, based on the director scene type to which the current director scene belongs, determining the director scene type corresponding to the target director scene, wherein the target director scene is the director scene to be switched; in the case of determining the director scene type corresponding to the target director scene, determining the target director scene based on the signal; and switching the video stream corresponding to the current director scene to the video stream corresponding to the target director scene, and pushing the video stream corresponding to the target director scene to a live broadcast platform.

[0010] The present application provides a method based on adaptive directing scene switching. First, the processor responds to the signal received from the corresponding video source and determines whether the directing scene needs to be switched. Then, when the processor determines that the directing scene needs to be switched, the processor determines the directing scene type corresponding to the target directing scene based on the directing scene type to which the current directing scene belongs. After that, when the processor determines the directing scene type corresponding to the target directing scene, the processor determines the target directing scene based on the signal. Finally, the processor switches the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and pushes the video stream corresponding to the target directing scene to the live broadcast platform.

[0011] Since the processor in the present application can automatically determine whether it is necessary to switch the directing scene according to the received signal, and automatically switch the directing scene when it is determined that the directing scene needs to be switched, the video stream finally pushed to the live broadcast platform is the video stream corresponding to the target directing scene. Unlike the traditional method that requires the user to manually switch the directing scene, the processor in the present application can automatically switch the directing scene required by the user or corresponding to the actual situation by identifying the received signal. Thereby achieving the technical effect of improving the user's experience and facilitating the user to broadcast live. This solves the technical problem that if the user wants to switch the directing scene corresponding to the video stream, he can only switch it manually, and the manual switching of the directing scene not only reduces the user's experience but is also very inconvenient for the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present application. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:

[0013] Figure 1 is a hardware structure block diagram of a computing device for implementing the method according to Embodiment 1 of the present disclosure;

[0014] Figure 2A is a schematic diagram of a system based on adaptive director scene switching according to Embodiment 1;

[0015] Figure 2B is a schematic diagram of another system based on adaptive director scene switching according to Embodiment 1 of the present application;

[0016] Figure 2C is a schematic diagram of another system based on adaptive director scene switching according to Embodiment 1 of the present application;

[0017] Figure 3This is a modular schematic diagram of connecting multiple video sources to a live broadcast host according to Embodiment 1 of the present application;

[0018] Figure 4 It is a schematic diagram of the method flow based on adaptive director scene switching according to Example 1 of the present application;

[0019] Figure 5A is a schematic diagram of the directing scene 1 according to Embodiment 1 of the present application;

[0020] Figure 5B is a schematic diagram of the directing scene 2 according to Embodiment 1 of the present application;

[0021] Figure 5C is a schematic diagram of the directing scene 3 according to Embodiment 1 of the present application;

[0022] Figure 5D is a schematic diagram of the directing scene 4 according to Embodiment 1 of the present application;

[0023] Figure 5E is a schematic diagram of the directing scene 5 according to Embodiment 1 of the present application;

[0024] Fig. 5F is a schematic diagram of the directing scene 6 according to Embodiment 1 of the present application;

[0025] Figure 5G is a schematic diagram of the directing scene 7 according to Embodiment 1 of the present application;

[0026] Fig. 6A is a schematic diagram of a conference live broadcast including two participants according to Example 1 of the present application;

[0027] Figure 6B is a schematic diagram of a conference live broadcast including three participants according to Example 1 of the present application;

[0028] Figure 6C is a schematic diagram of a live broadcast of a conference including 4 participants according to Example 1 of the present application;

[0029] Fig.6D is a schematic diagram of a conference live broadcast using different video sources according to Example 1 of the present application;

[0030] Figure 7 is a schematic diagram of classroom live broadcast according to Example 1 of the present application;

[0031] Figure 8 is a schematic diagram of live broadcast in the live broadcast room according to Example 1 of the present application;

[0032] Fig. 9is a schematic diagram of a device based on adaptive director scene switching according to Embodiment 1 of the present application; and

[0033] Fig.10 It is a schematic diagram of the device based on adaptive director scene switching according to Example 1 of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present disclosure.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0036] Example 1

[0037] According to this embodiment, a method embodiment based on adaptive director scene switching is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] The method embodiment provided in this embodiment can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computing device for implementing a method for switching scenes based on adaptive broadcast guidance. Figure 1As shown, the computing device may include one or more processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, a transmission device for communication functions, and an input / output interface. The memory, the transmission device, and the input / output interface are connected to the processor via a bus. In addition, it may also include: a display, a keyboard, and a cursor control device connected to the input / output interface. A person skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0039] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computing device. As involved in the embodiments of the present disclosure, the data processing circuitry acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0040] The memory can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method based on adaptive director scene switching in the embodiment of the present disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the method based on adaptive director scene switching of the above-mentioned application is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computing device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0041] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computing device. In one example, the transmission device includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0042] The display may be, for example, a touch screen liquid crystal display (LCD) that may enable a user to interact with a user interface of the computing device.

[0043] It should be noted that, in some optional embodiments, the above Figure 1 The computing device shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware elements and software elements. Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computing devices described above.

[0044] Figure 2A is a schematic diagram of a system based on adaptive director scene switching according to this embodiment. Figure 2A As shown, the system includes: a plurality of video sources 110-130, and a live broadcast host 200 connected to the plurality of video sources 110-130. For example, the plurality of video sources 110-130 include a first camera 110, a computer 120, and a tablet computer 130.

[0045] refer to Figure 2A As shown, for example, the first camera 110 connected to the live broadcast host 200 is provided with a distance sensor. The distance sensor can measure the distance between the object photographed by the first camera 110 and the first camera 110. Therefore, when the object photographed by the first camera 110 moves forward or backward relative to the first camera 110 (for example, when approaching the first camera 110 or moving away from the first camera 110), the distance sensor generates a corresponding electrical signal and sends the electrical signal to the live broadcast host 200. Therefore, the processor in the live broadcast host 200 can determine whether it is necessary to switch the director scene according to the received electrical signal.

[0046] For example, the first camera 110 connected to the live broadcast host 200 is provided with a built-in microphone. The built-in microphone can collect sound signals emitted by the object photographed by the first camera 110. Therefore, when the volume of the object photographed by the first camera 110 increases or decreases, the built-in microphone converts the collected sound signals into electrical signals and sends the electrical signals to the live broadcast host 200. Therefore, the processor in the live broadcast host 200 can determine whether it is necessary to switch the director scene according to the received electrical signals.

[0047] For example, the first camera 110 connected to the live broadcast host 200 is also provided with a gyroscope (GNS mobile sensing). The gyroscope can generate a corresponding posture signal by measuring the posture information of the first camera 110. Therefore, when the posture of the object photographed by the first camera 110 changes, the posture of the first camera 110 will also change accordingly. The gyroscope generates a corresponding posture signal according to the posture change of the first camera 110, and generates a corresponding electrical signal according to the posture signal, and sends the generated electrical signal to the live broadcast host 200. Therefore, the processor in the live broadcast host 200 can determine whether it is necessary to switch the director scene according to the received electrical signal.

[0048] In addition, the processor in the live host 200 can also determine whether it is necessary to switch the directing scene according to the video image signal of the corresponding video source. For example, the processor in the live host 200 switches the directing scene when it determines based on the video image signal that the type of video source and / or the placement state of the video source has changed.

[0049] For example, when the first camera 110 connected to the live host 200 changes from horizontal shooting to vertical shooting (i.e., when the placement state of the video source changes), the format of the video image corresponding to the first camera 110 received by the live host 200 also changes (i.e., the video image changes from horizontal screen display to vertical screen display). The processor in the live host 200 recognizes the video image before and after the format change based on the image recognition algorithm. If the processor in the live host 200 recognizes that the format of the video image has changed, it determines that the director scene needs to be switched.

[0050] Figure 2B A schematic diagram of another system based on adaptive broadcast scene switching according to an embodiment of the present application is shown. Figure 2B As shown, the system includes: a first camera 110 , a computer 120 and a second camera 140 .

[0051] Further, refer to Figure 2A and Figure 2B As shown, when the tablet computer 130 connected to the live host 200 is changed to the second camera 140 (when the video source type has changed), the video image received by the processor in the live host 200 has also changed (for example, the video image received by the processor in the live host 200 has changed from a static PPT to a dynamic video image). Therefore, the processor in the live host 200 identifies the type of the video image based on the image recognition algorithm. If the processor in the live host 200 recognizes that the type of the video image has changed, it determines that the director scene needs to be switched.

[0052] Figure 2CA schematic diagram of another system based on adaptive broadcast scene switching according to an embodiment of the present application is shown. Figure 2C As shown, the system includes: a plurality of video sources 110-120 and a live broadcast host 200 connected to the plurality of video sources 110-120. For example, the plurality of video sources 110-120 include a first camera 110 and a computer 120.

[0053] Further, refer to Figure 2B and Figure 2C As shown, when the tablet computer 130 is disconnected from the live broadcast host 200 (i.e., when the number of video sources connected to the live broadcast host 200 changes), the number of video images received by the processor in the live broadcast host 200 also changes. Therefore, the processor in the live broadcast host 200 counts the number of video images. If the number of video images counted by the processor in the live broadcast host 200 changes, it is determined that the directing scene needs to be switched.

[0054] It should be clear to those skilled in the art that the above is only an explanation of the situation where the video source is disconnected from the live broadcast host 200, and the video source is inserted into the live broadcast host 200 and can also be applied to the above situation, so it will not be described in detail here.

[0055] Figure 3 Schematic diagram of a modular connection between multiple video sources and a live broadcast host according to an embodiment of the present application. Figure 3 As shown, the live broadcast system includes a first camera 110, a second camera 140, a third camera 150 and a fourth camera 160 connected to a live broadcast host 200. The live broadcast host 200 includes a first port 210, a second port 220, a third port 230 and a fourth port 240. In addition, the live broadcast host 200 also includes a processor 250 and a network port 260. Thus, the processor 250 in the live broadcast host 200 can be connected to the first camera 110 through the first port 210, and receive a video image corresponding to the first camera 110 from the first port 210. The processor 250 in the live broadcast host 200 can be connected to the second camera 140 through the second port 220, and receive a video image corresponding to the second camera 140 from the second port 220. The processor 250 in the live broadcast host 200 can be connected to the third camera 150 through the third port 230, and receive a video image corresponding to the third camera 150 from the third port 230. The processor 250 in the live host 200 can be connected to the fourth camera 160 through the fourth port 240 and receive a video image corresponding to the fourth camera 160 from the fourth port 240 .

[0056] It should be noted that the video sources 110-160 and the live broadcast host 200 in the system can all be applied to the hardware structure described above.

[0057] In the above operating environment, according to the first aspect of this embodiment, a method based on adaptive director scene switching is provided. The method comprises: Figure 3 The processor 250 in the live broadcast host 200 shown in FIG. Figure 4 A schematic diagram showing the process of the method is shown in FIG. Figure 4 As shown, the method includes:

[0058] S402: In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched, wherein the directing scene is used to define video source information corresponding to each video window;

[0059] S404: When it is determined that the directing scene needs to be switched, based on the directing scene type to which the current directing scene belongs, determining a directing scene type corresponding to the target directing scene, wherein the target directing scene is the directing scene to be switched;

[0060] S406: When the directing scenario type corresponding to the target directing scenario is determined, determine the target directing scenario based on the signal; and

[0061] S408: Switch the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and push the video stream corresponding to the target directing scene to the live broadcast platform.

[0062] Specifically, refer to Figure 2A , Figure 2B , Figure 2C as well as Figure 3 As shown, first, the processor 250 in the live host 200 responds to the signal received from the corresponding video source 110~160 to determine whether it is necessary to switch the director scene. Among them, the director scene is used to limit the video source information corresponding to each video window. Among them, the video source information may include, for example, the video source type, the video source ID, and the video source status. In this application, only the video source type, the video source ID, and the video source status are taken as examples, and the actual application is not limited to this. And among them, the video source type can be a camera, a computer, a tablet computer, or a mobile phone. This embodiment only takes the camera, the computer, and the tablet computer as examples, and the actual application is not limited to this. The video source state can be horizontal placement, vertical placement, overhead shooting, or oblique shooting, etc. This embodiment only takes horizontal placement and vertical placement as examples, and the actual application is not limited to this.

[0063] For example, refer to Figure 5A As shown, director scene 1 is that video window 1 displays the video corresponding to video source type A—video source 01—video source state H.

[0064] refer to Figure 5BAs shown, director scene 2 is that video window 1 displays the video corresponding to video source type A—video source 02—video source state H.

[0065] refer to Figure 5C As shown, director scene 3 is that video window 1 displays the video corresponding to video source type A—video source 01—video source state V.

[0066] refer to Figure 5D As shown, director scene 4 is that video window 1 displays the video corresponding to video source type B—video source 01—video source state V.

[0067] refer to Figure 5E As shown, the director scene 5 is that video window 1 displays the video corresponding to video source type A—video source 01—video source state V, video window 2 displays the video corresponding to video source type A—video source 02—video source state H, and video window 3 displays the video corresponding to video source type A—video source 01—video source state H.

[0068] refer to Fig. 5F As shown, the director scene 6 is that video window 1 displays the video corresponding to video source type A—video source source 01—video source state V, video window 2 displays the video corresponding to video source type A—video source 02—video source state H, and video window 3 displays the video corresponding to video source type A—video source 03—video source state H.

[0069] refer to Figure 5G As shown, the director scene 7 is that video window 1 displays the video corresponding to video source type B—video source 01—video source state V, video window 2 displays the video corresponding to video source type A—video source 02—video source state H, and video window 3 displays the video corresponding to video source type A—video source 03—video source state H.

[0070] That is, when the video source information corresponding to each video window is different, the directing scenes are also different.

[0071] And the signal may include, for example, an electrical signal, a sound signal and / or a video image signal corresponding to the sensor. In addition, it is worth noting that the processor 250 in the live host 200 may also determine whether the directing scene needs to be switched based on historical directing scene switching data.

[0072] For example, when the processor 250 determines that the received signal is an electrical signal corresponding to the sensor, it determines whether the distance between the video source and the object photographed by the video source has changed, and / or determines whether the object photographed by the video source has moved, based on the electrical signal corresponding to the sensor. When the distance between the video source and the object corresponding to the video source has changed, and / or the object corresponding to the video source has moved, it indicates that the current director scene needs to be switched.

[0073] For another example, when the processor 250 determines that the received signal is a sound signal, the processor 250 recognizes the sound information corresponding to the sound signal based on a preset speech recognition algorithm and / or semantic recognition algorithm. And when the processor 250 determines that the speech and / or semantics of the sound information have changed, it indicates that the current directing scene needs to be switched.

[0074] For another example, when the processor 250 determines that the received signal is a video image signal, the processor 250 recognizes the video image corresponding to the video image signal based on a preset body movement recognition algorithm and / or gesture recognition algorithm. When the body movement and / or gesture movement of the object in the video image changes, it indicates that the current directing scene needs to be switched.

[0075] For another example, when the processor 250 determines that the received signal is a video image signal, the type of video source, the number of video sources, and the placement status of the video source corresponding to the video image signal are determined based on the video image signal. When the type of video source, the number of video sources, and / or the placement status of the video source change, it indicates that the current directing scene needs to be switched.

[0076] In addition, when the processor 250 in the live broadcast host 200 receives multiple types of signals (i.e., for example, both electrical signals and sound signals, both electrical signals and video image signals, or both sound signals and video image signals), the processor 250 can also process the signals separately and determine whether the scene needs to be switched from multiple aspects and angles.

[0077] Then, when the processor 250 determines that it is necessary to switch the directing scene, based on the directing scene type to which the current directing scene belongs, it determines the directing scene type corresponding to the target directing scene (S404). Specifically, when the processor 250 in the live host 200 determines that it is necessary to switch the directing scene, the processor 250 in the live host 200 determines the scene type to which the current directing scene belongs. If the scene type to which the current directing scene belongs is the first directing scene type, the processor 250 determines that the directing scene type of the directing scene to be switched is also the first directing scene type based on the mechanism of giving priority to ensuring the layout of the video; if the directing scene type to which the previous directing scene belongs is the second directing scene type, the processor 250 determines that the directing scene type of the directing scene to be switched is also the second directing scene type based on the mechanism of giving priority to ensuring the layout of the video. Among them, the first directing scene type is used to indicate a directing scene that includes only one video window. The second directing scene type is used to indicate a directing scene that includes multiple video windows.

[0078] Further, when the processor 250 determines the type of director scene corresponding to the target director scene, the target director scene is determined based on the received signal (S406). Specifically, when the processor 250 determines the type of director scene corresponding to the target director scene, the video source information of the video source corresponding to the signal is determined based on the received signal. Then, the processor 250 associates the video source corresponding to the signal with the main video window. The main video window represents the image area with the largest area for displaying the video image. Finally, the processor 250 determines the target director scene based on the target director scene type, the video source information, and the video source associated with the main video window. The above content will be described in detail later, so it will not be repeated here.

[0079] Finally, the processor 250 switches the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and pushes the video stream corresponding to the target directing scene to the live broadcast platform (S408).

[0080] As described in the background technology, if the user wants to switch the director scene corresponding to the video stream (i.e., switch the video stream pushed to the live broadcast platform), the above operation needs to be repeated manually. In any case, for the user who is broadcasting live, manually switching the director scene will not only reduce the user experience but also be very inconvenient for the user.

[0081] In view of this, the present application provides a method based on adaptive director scene switching. And because the processor 250 in the present application can automatically determine whether the director scene needs to be switched according to the received signal, and automatically switch the director scene when it is determined that the director scene needs to be switched, the video stream finally pushed to the live broadcast platform is the video stream corresponding to the target director scene. Unlike the traditional method that requires the user to manually switch the director scene, the processor 250 in the present application can automatically switch the director scene required by the user or corresponding to the actual situation by identifying the received signal. Thereby achieving the technical effect of being able to enhance the user's experience and facilitate the user to broadcast live. And then solving the technical problem that if the user wants to switch the director scene corresponding to the video stream, he can only switch manually, and the manual switching of the director scene will not only reduce the user's experience but also be very inconvenient for the user.

[0082] Optionally, in response to a signal received from a corresponding video source, an operation of determining whether it is necessary to switch the directing scene includes: in a case where the received signal is an electrical signal corresponding to a sensor, based on the electrical signal corresponding to the sensor, determining whether the distance between the video source and an object corresponding to the video source has changed, and / or determining whether the object corresponding to the video source has moved; and in a case where the distance between the video source and an object corresponding to the video source has changed, and / or the object corresponding to the video source has moved, switching the current directing scene.

[0083] Specifically, refer to Figure 2A and Figure 3 As shown, for example, the distance measuring sensor disposed in the first camera 110 measures that the distance between the photographed object and the first camera 110 has changed, thereby generating a distance signal. Then, the distance measuring sensor converts the distance information into a corresponding electrical signal, and sends the electrical signal to the processor 250 in the live host 200 through the first port 210.

[0084] Further, when the signal received by the processor 250 in the live broadcast host 200 is an electrical signal corresponding to the ranging sensor, the processor 250 in the live broadcast host 200 determines that the distance between the first camera 110 and the object photographed by the first camera 110 has changed based on the received electrical signal.

[0085] Finally, the processor 250 in the live broadcast host 200 switches the current directing scene when determining that the distance between the first camera 110 and the object photographed by the first camera 110 has changed.

[0086] For another example, the gyroscope disposed in the first camera 110 measures that the posture of the first camera 110 has changed (when the posture of the object photographed by the first camera 110 changes, the posture of the first camera 110 will also change accordingly), thereby generating a corresponding posture signal. Then, the gyroscope converts the posture signal into a corresponding electrical signal and sends the electrical signal to the processor 250 in the live host 200 through the first port 210.

[0087] Further, in the case where the signal received by the processor 250 in the live host 200 is an electrical signal corresponding to the gyroscope, the processor 250 in the live host 200 determines that the posture of the object photographed by the first camera 110 has changed based on the received electrical signal.

[0088] Finally, the processor 250 in the live broadcast host 200 switches the current broadcast scene when determining that the posture of the object photographed by the first camera 110 has changed.

[0089] Thus, through the above operation, the technical effect of being able to use multi-dimensional information to automatically determine whether it is necessary to switch the current directing scene is achieved.

[0090] Optionally, in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene includes: when the received signal is a sound signal, identifying the sound signal based on a preset speech recognition algorithm and / or semantic recognition algorithm; and switching the current directing scene when the speech and / or semantics of the sound signal change.

[0091] Specifically, refer to Figure 2A and Figure 3 As shown, for example, the built-in microphone disposed in the first camera 110 collects a sound signal corresponding to the photographed object.

[0092] Afterwards, the built-in microphone sends the sound signal to the processor 250 in the live host 200. The processor 250 in the live host 200 recognizes the sound signal based on a preset speech recognition algorithm and / or semantic recognition algorithm.

[0093] Finally, when the voice and / or semantics of the sound signal changes (for example, the volume of the object photographed by the first camera 100 increases, or the object photographed by the first camera 100 suddenly speaks, or the object photographed by the first camera 100 issues a "take a picture of me" command), the processor 250 switches the current directing scene.

[0094] Thus, through the above operation, the technical effect of being able to use multi-dimensional information to automatically determine whether it is necessary to switch the current directing scene is achieved.

[0095] Optionally, in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene includes: when the received signal is a video image signal, identifying the video image corresponding to the video image signal based on a preset body movement recognition algorithm and / or gesture movement recognition algorithm; and switching the current directing scene when the body movement and / or gesture movement of the object in the video image changes.

[0096] Specifically, refer to Figure 2A and Figure 3 As shown, for example, the gesture of the object photographed by the first camera 110 changes (for example, the object photographed by the first camera 110 suddenly raises his hand), and the first camera 110 sends the corresponding video image to the processor 250 in the live host 200.

[0097] After receiving the corresponding video image from the first port 210, the processor 250 in the live host 200 recognizes the video image based on a preset gesture recognition algorithm.

[0098] Thus, when the processor 250 in the live broadcast host 200 determines that the gesture action of the object in the video image has changed, the current directing scene is switched.

[0099] For another example, the body movement of the object captured by the first camera 110 changes (for example, the object captured by the first camera 100 changes from walking to running), and the first camera 110 sends the corresponding video image to the processor 250 in the live broadcast host 200.

[0100] After receiving the corresponding video image from the first port 210, the processor 250 in the live broadcast host 200 recognizes the video image based on a preset body movement recognition algorithm.

[0101] Thus, when the processor 250 in the live broadcast host 200 determines that the body movement of the object in the video image has changed, the current directing scene is switched.

[0102] Thus, through the above operation, the technical effect of being able to use multi-dimensional information to automatically determine whether it is necessary to switch the current directing scene is achieved.

[0103] Optionally, in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene includes: when the received signal is a video image signal, determining the type of video source, the number of video sources and the placement status of the video source corresponding to the video image signal based on the video image signal; and switching the current directing scene when the type of video source, the number of video sources and / or the placement status of the video source changes.

[0104] Specifically, for example, refer to Figure 2A and Figure 2B As shown, the tablet computer 130 connected to the live host 200 is changed into the second camera 140, and the video image sent to the live host 200 is changed from a static PPT to a dynamic video image. Thus, the processor 250 in the live host 200 determines to switch the current directing scene based on the received video image.

[0105] For example, refer to Figure 2A and Figure 2B As shown, the first camera 110 connected to the live host 200 is changed from being placed horizontally to being placed vertically, and the video image sent to the live host 200 is changed from being displayed horizontally to being displayed vertically. Thus, the processor 250 in the live host 200 determines to switch the current directing scene based on the received video image.

[0106] For example, refer to Figure 2A and Figure 2C As shown, the tablet computer 130 is disconnected from the live broadcast host 200, and the number of video sources connected to the live broadcast host 200 changes from 3 to 2, and the number of video images received by the live broadcast host 200 also changes from 3 to 2. Therefore, the processor 250 in the live broadcast host 200 determines to switch the current directing scene based on the received video images.

[0107] Thus, through the above operation, the technical effect of being able to use multi-dimensional information to automatically determine whether it is necessary to switch the current directing scene is achieved.

[0108] In addition, it is worth noting that when the processor 250 in the live broadcast host 200 receives multiple types of signals (that is, for example, both electrical signals and sound signals are received, both electrical signals and video image information are received, or both sound signals and video image signals are received), the processor 250 can also process the received signals separately, so as to determine from multiple aspects and angles whether it is necessary to switch the current directing scene.

[0109] Optionally, when it is determined that the current directing scene needs to be switched, the operation of determining the directing scene type corresponding to the target directing scene based on the directing scene type to which the current directing scene belongs includes: determining the target directing scene to be a first scene type based on the directing scene type to which the current directing scene belongs, wherein the first scene type is used to indicate a scene type that includes only a single video window; or determining the target directing scene to be a second scene type based on the directing scene type to which the current directing scene belongs, wherein the second scene type is used to indicate a scene type that includes multiple video windows.

[0110] Specifically, when the processor 250 in the live broadcast host 200 determines that the current directing scene needs to be switched, the processor 250 in the live broadcast host 200 determines the directing scene type of the target directing scene (i.e., the directing scene type of the directing scene to be switched) based on the directing scene type to which the current directing scene belongs and based on a mechanism for prioritizing video layout.

[0111] If the processor 250 in the live broadcast host 200 determines that the current broadcast scene belongs to the first broadcast scene type, the processor 250 determines that the broadcast scene type of the target broadcast scene is also the first broadcast scene type based on the mechanism of giving priority to video layout. The first broadcast scene type is used to indicate a broadcast scene that includes only one video window.

[0112] If the processor 250 in the live broadcast host 200 determines that the current broadcast scene belongs to the second broadcast scene type, the processor 250 determines that the broadcast scene type of the target broadcast scene is also the second broadcast scene type based on the mechanism of giving priority to ensuring the video layout. The second broadcast scene type is used to indicate a broadcast scene including multiple video windows.

[0113] Optionally, when determining the type of directing scene corresponding to the target directing scene, the operation of determining the target directing scene based on the signal includes: when determining the type of directing scene corresponding to the target directing scene, determining video source information of the video source corresponding to the signal based on the received signal; associating the video source corresponding to the signal with the main video window, wherein the main video window is represented in the director template as the image area with the largest area for displaying the video image; and determining the target directing scene based on the target directing scene type, the video source information and the video source associated with the main video window.

[0114] Specifically, when the processor 250 in the live broadcast host 200 determines the type of directing scene corresponding to the target directing scene (i.e., when the processor 250 determines that the type of directing scene corresponding to the target directing scene is the first directing scene or the second directing scene), the processor 250 determines the video source information of the video source corresponding to the signal based on the received signal. The video source information of the video source corresponding to the signal includes the video source type, the video source ID, and the video source status.

[0115] When the processor 250 determines the video source information of the video source corresponding to the signal, it associates the video source corresponding to the signal with the main video window, so that the main video window displays the video image of the video source corresponding to the signal. The main video window is the image area with the largest area for displaying the video image in the director template. For example, Figure 5AIn the director scene shown in FIG. 1 including only one video window (ie, the first director scene type), the video window is the main video window; Figure 5E In the director scene shown including multiple video windows (ie, the second director scene type), the main video window is the video window with the largest area.

[0116] Finally, the processor 250 in the live broadcast host 200 determines the target broadcast scene based on the target broadcast scene type, the video source information, and the video source associated with the main video window.

[0117] Table 1 below shows a broadcast director scene determination table preset by the processor 250 in the live broadcast host 200.

[0118] Table 1

[0119]

[0120]

[0121] As shown in Table 1, different director scene types, video source information, and video sources associated with the main video window correspond to different director scenes. For example, the director scene type is the first director scene type, the video source type is type A, the video source ID is 01, the video source status is H, the number of video sources is 1, and the video source associated with the main video window is video source 1, and the corresponding director scene is director scene 1. The director scene type is the first director scene type, the video source type is type A, the video source ID is 01, the video source status is V, the number of video sources is 1, and the video source associated with the main video window is video source 1, and the corresponding director scene is director scene 2.

[0122] Thus, when the processor 250 determines the directing scene type corresponding to the target directing scene, determines the video source information of the video source corresponding to the signal, and associates the video source corresponding to the signal with the main video window, the processor 250 can determine the target directing scene.

[0123] Optionally, in a case where it is determined that the directing scene type corresponding to the target directing scene is the first scene type, the operation of determining the video source information of the video source corresponding to the signal based on the received signal includes: determining the video source type of the video source corresponding to the signal based on the received signal, wherein the video source type of the video source is used to indicate the video source type of the video source; in a case where the video source type of the video source corresponding to the signal is determined, determining the video source ID of the video source corresponding to the signal; and in a case where the video source ID of the video source corresponding to the signal is determined, determining the video source placement status of the video source corresponding to the signal.

[0124] Specifically, the processor 250 in the live broadcast host 200 determines the video source type of the video source corresponding to the signal when determining that the target broadcast scene type is the first broadcast scene type. The video source type is used to indicate the type of video source. The video source type may include a camera, a computer, and a tablet computer. For example, Figure 5C and Figure 5D As shown, the directing scene when the video source type is A is different from the directing scene when the video source type is B.

[0125] When the processor 250 in the live host 200 determines the video source type, it is necessary to further determine the video source ID. Figure 5A and Figure 5B As shown, the director scene with the video source ID of 01 is different from the director scene with the video source ID of 02.

[0126] Furthermore, the processor 250 in the live host 200 needs to further determine the state of the video source after determining the video source ID. The video source placement state includes the horizontal placement of the video source and the vertical placement of the video source. Figure 5A and Figure 5C As shown, the directing scene when the video source state is H (ie, horizontal placement) is different from the directing scene when the video source state is V (ie, vertical placement).

[0127] In addition, since the first directing scene type is used to indicate a directing scene including only one video window, when the processor 250 has determined that the directing scene type corresponding to the target directing scene is the first directing scene type, the processor 250 does not need to determine the number of video sources. That is, when the processor 250 has determined that the directing scene type corresponding to the target directing scene is the first directing scene type, the number of video sources is 1.

[0128] Afterwards, the processor 250 in the live broadcast host 200 associates the video source corresponding to the signal with the main video window, thereby determining the target broadcast scene.

[0129] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the current directing scene, which was originally pushed to the live broadcast platform, to a video stream corresponding to the target directing scene.

[0130] Optionally, in a case where it is determined that the directing scene type corresponding to the target directing scene is the second scene type, the operation of determining the video source information of the video source corresponding to the signal based on the received signal includes: determining the video source type of the video source corresponding to the signal based on the received signal; in a case where the video source type of the video source corresponding to the signal is determined, determining the video source ID of the video source corresponding to the signal; in a case where the video source ID of the video source corresponding to the signal is determined, determining the video source placement status of the video source corresponding to the signal; and determining the number of received signals, and based on the number of signals, determining the number of video sources corresponding to the signal.

[0131] Specifically, the processor 250 in the live broadcast host 200 determines the video source type of the video source corresponding to the signal when determining that the target broadcast scene type is the second broadcast scene type. Fig. 5F and Figure 5G As shown, the directing scene when the video source type is A is different from the directing scene when the video source type is B.

[0132] When the processor 250 in the live host 200 determines the video source type, it is necessary to further determine the video source ID. Figure 5E and Fig. 5F As shown, the director scene with the video source ID of 01 is different from the director scene with the video source ID of 03.

[0133] Furthermore, the processor 250 in the live host 200 needs to further determine the video source state when determining the video source ID. The video source placement state includes the video source being placed horizontally and the video source being placed vertically.

[0134] Afterwards, the processor 250 in the live host 200 determines the number of received signals, and based on the number of signals, determines the number of video sources corresponding to the signals. Thus, the processor 250 in the live host 200 can determine the number of video windows for displaying video images based on the number of video sources corresponding to the signals.

[0135] Afterwards, the processor 250 in the live broadcast host 200 associates the video source corresponding to the signal with the main video window, thereby determining the target broadcast scene.

[0136] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the current directing scene, which was originally pushed to the live broadcast platform, to a video stream corresponding to the target directing scene.

[0137] Fig. 6A A schematic diagram showing a live broadcast of a conference with two participants. Figure 5AAs shown, for example, the participants of the meeting include a first participant and a second participant. A first camera 110 is arranged directly in front of the first participant, and a second camera 140 is arranged directly in front of the second participant. The first camera 110 and the second camera 140 are both connected to the live host 200 through corresponding ports, so that the processor 250 in the live host 200 can receive the video image captured by the first camera 110 through the first port 210, and the processor 250 in the live host 200 can receive the video image captured by the second camera 140 through the second port 220.

[0138] First, the user can, for example, "click" on the "Conference Director Plan" on the main interface to enter the interface corresponding to the "Conference Director Plan".

[0139] When the live broadcast of the conference has not yet started (or by default), the director display interface displays the video image corresponding to the director scene 3 (i.e., the current director scene), so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 3 to the live broadcast platform.

[0140] After the meeting starts, the first participant starts to speak, and the built-in microphone set in the first camera 110 collects the sound signal emitted by the first participant, and sends the corresponding sound signal to the processor 250 in the live host 200. After receiving the sound signal through the first port 210, the processor 250 in the live host 200 recognizes the sound signal based on the voice recognition algorithm and determines that the current director scene needs to be switched.

[0141] When the processor 250 in the live host 200 determines that the current director scene needs to be switched, it further determines that the director scene type to which the director scene 2 belongs is the first director scene type. Then, based on the mechanism of giving priority to ensuring the video layout, the processor 250 in the live host 200 determines that the scene type (i.e., the target scene type) of the scene to be switched is also the first scene type.

[0142] Then, the processor 250 in the live host 200 determines the video source information corresponding to the first camera 110 based on the first camera 110 corresponding to the received sound signal. Table 2 shows a video source information mapping table corresponding to Table 1 above.

[0143] Table 2

[0144]

[0145]

[0146] As shown in Table 2, when the first port 210 is occupied by the first camera 110, it can be determined based on the video source information mapping table that the first camera 110 occupies the scene corresponding to the video source information A-01-H.

[0147] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. The processor 250 then associates the first camera 110 with the main video window, thereby ultimately determining that the target directing scene is directing scene 1.

[0148] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the director scene 3 originally pushed to the live broadcast platform to the video stream corresponding to the director scene 1.

[0149] It is worth noting that when the processor 250 in the live host 200 determines that the scene type of the scene to be switched (i.e., the target directing scene) is the first scene type, there is no need to determine the number of video sources, and the main video window can be directly associated with the video source.

[0150] Figure 6B A schematic diagram showing a live broadcast of a conference with three participants is shown. Figure 6B As shown, for example, a third participant is added to the participants of the live broadcast. A third camera 150 is arranged directly in front of the third participant. The third camera 150 is connected to the live broadcast host 200 through the corresponding third port 230, so that the processor 250 in the live broadcast host 200 can receive the video image captured by the third camera 150 through the third port 230.

[0151] Specifically, for example, when the third camera 150 is newly connected to the third port 230 of the live host 200, the processor 250 counts the number of connected video sources based on the received video images, and determines that the current directing scene needs to be switched. The processor 250 then further determines that the scene type to which the current directing scene belongs is the first scene type. The processor 250 in the live host 200 then determines that the directing scene type (i.e., the target scene type) of the directing scene to be switched is also the first scene type based on the mechanism of giving priority to ensuring the video layout.

[0152] Then, the processor 250 in the live host 200 searches Table 2 based on the newly received video image signal corresponding to the third camera 150, thereby determining that the third camera 150 occupies the director scene corresponding to the video source information A-03-H.

[0153] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. The processor 250 then associates the third camera 150 with the main video window, thereby ultimately determining that the target directing scene is directing scene 5. Finally, the processor 250 in the live host 200 switches the video stream corresponding to directing scene 1 originally pushed to the live broadcast platform to the video stream corresponding to directing scene 5.

[0154] Further references Figure 6B As shown, for another example, when the live broadcast of the conference has not yet started (or in the default case), the director display interface displays the video image corresponding to the director scene 7, so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 7 to the live broadcast platform.

[0155] After the meeting begins, the third participant needs to explain the pre-prepared illustrations. Thus, when the third participant stands up, the gyroscope provided in the third camera 150 measures that the posture of the third camera 150 has changed, and generates a corresponding posture signal. Then, the gyroscope provided in the third camera 150 converts the posture signal into a corresponding electrical signal, and sends the electrical signal to the live host 200, so that the processor 250 in the live host 200 determines that the current director scene needs to be switched. When the processor 250 in the live host 200 determines that the current director scene 7 needs to be switched, it further determines that the scene type to which the current director scene 7 belongs is the second scene type. Afterwards, the processor 250 in the live host 200 determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the second scene type based on the mechanism of giving priority to ensuring the video layout. Afterwards, the processor 250 in the live host 200 searches Table 2 based on the received electrical signal corresponding to the third camera 150 to determine the directing scene of the video source information A-01-H occupied by the third camera 150.

[0156] Further, the processor 250 in the live broadcast host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches Table 1 for the corresponding video source information.

[0157] Afterwards, the processor 250 in the live host 200 determines that the number of connected video sources is 3. Then, the processor 250 in the live host 200 selects a director scene with 3 video windows. That is, director scene 9 in the above table. Then, the processor 250 in the live host 200 associates the third camera 150 with the main video window based on the electrical signal corresponding to the third camera 150, thereby finally determining that the target director scene is director scene 9. Finally, the processor 250 in the live host 200 switches the video stream corresponding to director scene 7 originally pushed to the live platform to the video stream corresponding to director scene 9.

[0158] Further references Figure 6B As shown, for another example, when the live broadcast of the conference has not yet started (or in the default case), the director display interface displays the video image corresponding to the director scene 7, so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 7 to the live broadcast platform 200.

[0159] After the meeting begins, the third participant needs to explain the pre-prepared illustrations and interact with the second participant. Thus, when the third participant stands up, the gyroscope set in the third camera 150 measures that the posture of the third camera 150 has changed, generates a corresponding posture signal, and converts the posture signal into a corresponding electrical signal, thereby sending the electrical signal to the live host 200. Further, since the body movements of the second participant have changed, the gyroscope set in the second camera 140 generates a corresponding posture signal, converts the posture signal into an electrical signal, and sends the electrical signal to the processor 250 in the live host 200 through the second port 220. Thus, the processor 250 can comprehensively determine the need to switch the current director scene based on the electrical signal corresponding to the third camera 150 and the electrical signal corresponding to the second camera 140.

[0160] When the processor 250 in the live host 200 determines that the current director scene needs to be switched, it further determines that the director scene type to which the previous director scene 9 belongs is the second director scene type. Then, based on the mechanism of giving priority to ensuring the video layout, the processor 250 in the live host 200 determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the second scene type.

[0161] Afterwards, the processor 250 in the live host 200 searches Table 2 based on the received electrical signal corresponding to the third camera 150, thereby determining that the third camera 150 occupies the directing scene corresponding to the video source information A-01-H.

[0162] Further, the processor 250 in the live broadcast host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches Table 1 for the corresponding video source information.

[0163] Afterwards, the processor 250 in the live host 200 determines that the number of connected video sources is 3. Then, the processor 250 in the live host 200 selects the director scene with 3 video windows. That is, the director scene 9 in the above table. Then, the processor 250 in the live host 200 associates the third camera 150 with the main video window based on the electrical signal corresponding to the third camera 150, thereby finally determining that the target director scene is the director scene 9. Finally, the processor 250 in the live host 200 switches the video stream corresponding to the director scene 7 originally pushed to the live platform to the video stream corresponding to the director scene 9.

[0164] Figure 6C A schematic diagram showing a live broadcast of a conference with four participants is shown. Figure 6C As shown, for example, a fourth participant is added to the live broadcast, and the live broadcast host 200 is newly connected to the fourth camera 160. The fourth camera 160 is set in front of the fourth participant. And the fourth camera 160 is connected to the live broadcast host 200 through the corresponding fourth port 240, so that the processor 250 in the live broadcast host 200 can receive the video image captured by the fourth camera 160 through the fourth port 240.

[0165] Specifically, for example, when the fourth camera 160 is newly connected to the fourth port 240 of the live host 200, the processor 250 counts the number of connected video sources based on the received video images, and determines that the current director scene needs to be switched. The processor 250 then further determines that the scene type to which the current director scene 9 belongs is the second scene type. The processor 250 in the live host 200 then determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the second scene type based on the mechanism of giving priority to ensuring the video layout.

[0166] Then, the processor 250 in the live host 200 searches Table 2 based on the newly received video image information corresponding to the fourth camera 160 to determine the directing scene of the video source information A-01-H occupied by the fourth camera 160.

[0167] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. The processor 250 then determines that the number of connected video sources is 4, and determines that the number of video windows is 4 according to the determined number of video sources.

[0168] Afterwards, the processor 250 in the live host 200 associates the fourth camera 160 with the main video window, thereby finally determining the target broadcasting scene. Finally, the processor 250 in the live host 200 switches the video stream corresponding to the broadcasting scene 9 originally pushed to the live broadcast platform to the video stream corresponding to the broadcasting scene 13.

[0169] Fig.6D A diagram showing a live conference broadcast using different video sources. Figure 6C and Fig.6D As shown, for example, the second camera 140 corresponding to the second participant is changed to the tablet computer 130. And the tablet computer 130 is connected to the live host 200 through the corresponding second port 220, so that the processor 250 in the live host 200 can receive the PPT corresponding to the tablet computer 130 through the second port 220.

[0170] First, the user can, for example, "click" on the "Conference Director Plan" on the main interface to enter the interface corresponding to the "Conference Director Plan".

[0171] When the second camera 140 is not replaced with the tablet computer 130, the director display interface displays the video image corresponding to the director scene 13 (i.e., the current director scene), so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 13 to the live broadcast platform 200.

[0172] When the second participant replaces the second camera 140 with the tablet computer 130, the processor 250 in the live broadcast host 200 recognizes the received PPT based on the image recognition algorithm, thereby determining that the directing scene needs to be switched.

[0173] When the processor 250 in the live host 200 determines that the current directing scene needs to be switched, it further determines that the directing scene type to which the current directing scene 14 belongs is the second directing scene type. Then, the processor 250 in the live host 200 determines that the directing scene type (i.e., the target scene type) of the directing scene to be switched is also the second scene type based on the mechanism of giving priority to ensuring the video layout.

[0174] Then, the processor 250 in the live host 200 searches Table 2 based on the video image information corresponding to the second camera 140, thereby determining that the tablet computer 130 occupies the scene corresponding to the video information B-01-H.

[0175] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. Then, the processor 250 determines that the number of connected video sources is 4. Then, the processor 250 in the live host 200 selects a director scene with 4 video windows. That is, director scene 15 or director scene 17 in the above table. Then, the processor 250 in the live host 200 associates the tablet computer 130 with the main video window based on the video image information corresponding to the tablet computer 130, thereby finally determining that the target director scene is director scene 17.

[0176] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the director scene 13 that was originally pushed to the live broadcast platform to the video stream corresponding to the director scene 17.

[0177] Further references Fig.6D As shown, for another example, the fourth camera 160 corresponding to the fourth participant is placed from horizontal to vertical, so that the format of the video image received by the live host 200 is also changed (that is, the video image is displayed from horizontal to vertical). Therefore, first, the user can, for example, enter the interface corresponding to the "Conference Director Plan" by "clicking" on the main interface.

[0178] When the fourth camera 160 is not changed from horizontal placement to vertical placement, the director display interface displays the video image corresponding to the director scene 13, so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 13 to the live broadcast platform.

[0179] When the fourth participant changes the fourth camera 160 from horizontal placement to vertical placement, the processor 250 in the live host 200 identifies the format of the received video image based on the image recognition algorithm, thereby determining that the current directing scene needs to be switched.

[0180] When the processor 250 in the live host 200 determines that the current director scene needs to be switched, it further determines that the director scene type to which the current director scene 13 belongs is the second director scene type. Then, based on the mechanism of giving priority to ensuring the video layout, the processor 250 in the live host 200 determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the second director scene type.

[0181] Then, the processor 250 in the live host 200 searches Table 2 based on the video image information corresponding to the fourth camera 160, thereby determining that the fourth camera 160 occupies the director scene corresponding to the video information A-01-V. Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches Table 1 for the corresponding video source information. After that, the processor 250 determines that the number of connected video sources is 4. Then, the processor 250 in the live host 200 selects the director scene with 4 video windows.

[0182] Then, the processor 250 in the live host 200 associates the fourth camera 160 with the main video window based on the video image information corresponding to the fourth camera 160, thereby finally determining that the target directing scene is the directing scene 20. Finally, the processor 250 in the live host 200 switches the video stream corresponding to the directing scene 13 originally pushed to the live broadcast platform to the video stream corresponding to the directing scene 14.

[0183] Figure 7 A schematic diagram of classroom live broadcast is shown. Figure 7 As shown, for example, in a classroom, a tutor is giving a lecture to a student. A first camera 110 is arranged diagonally in front of the tutor, and a second camera 140 is arranged diagonally in front of the student. The first camera 110 is connected to the live host 200 via a first port 210, so that the processor 250 in the live host 200 can receive the video image corresponding to the first camera 110 via the first port 210; the second camera 140 is connected to the live host 200 via a second port 220, so that the processor 250 in the live host 200 can receive the video image corresponding to the second camera 140 via the second port 220.

[0184] First, the instructor or student can, for example, "click" on the "Classroom Director Plan" on the main interface to enter the interface corresponding to the "Classroom Director Plan".

[0185] When the classroom live broadcast has not yet started (or during class breaks), the director display interface shows the video image corresponding to the director scene 3, so that the processor 250 in the live broadcast host 200 pushes the video stream corresponding to the director scene 3 to the live broadcast platform.

[0186] After the class begins, the instructor begins to lecture, and the instructor's volume gradually increases, then the built-in microphone set in the first camera 110 collects the sound signal emitted by the instructor, converts the sound signal into an electrical signal, and sends the electrical signal to the processor 250 in the live host 200. After receiving the electrical signal through the first port 110, the processor 250 in the live host 200 determines that the current director scene needs to be switched.

[0187] When the processor 250 in the live host 200 determines that the current director scene needs to be switched, it further determines that the director scene type to which the current director scene 3 belongs is the first director scene type. Then, based on the mechanism of giving priority to ensuring the video layout, the processor 250 in the live host 200 determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the first director scene type.

[0188] Then, the processor 250 in the live host 200 searches Table 2 based on the electrical signal corresponding to the first camera 110, thereby determining that the first camera 110 occupies the director scene corresponding to the video source information A-01-H.

[0189] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. The processor 250 then associates the first camera 110 with the main video window, thereby ultimately determining that the target directing scene is directing scene 1.

[0190] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the director scene 3 originally pushed to the live broadcast platform to the video stream corresponding to the director scene 1.

[0191] For another example, when a student is answering a question asked by a tutor, the tutor walks toward the student, so that the distance sensor set in the first camera 110 measures the distance signal between the tutor and the first camera 110, and converts the distance signal into a corresponding electrical signal. Then, the processor 250 in the live host 200 receives the electrical signal through the first port 210, and determines the need to switch the current directing scene according to the received electrical signal.

[0192] When the processor 250 in the live host 200 determines that the current director scene needs to be switched, it further determines that the scene type to which the current director scene 3 belongs is the first scene type. Then, based on the mechanism of giving priority to ensuring the video layout, the processor 250 in the live host 200 determines that the director scene type (i.e., the target scene type) of the director scene to be switched is also the first director scene type.

[0193] Then, the processor 250 in the live host 200 searches Table 2 based on the sound signal corresponding to the first camera 110, thereby determining that the first camera 110 occupies the director scene corresponding to the video source information A-01-H.

[0194] Further, the processor 250 in the live host 200 maps the video source information to Table 1 based on the video source information determined from Table 2, and searches for the corresponding video source information in Table 1. The processor 250 then associates the first camera 110 with the main video window, thereby ultimately determining that the target directing scene is directing scene 1.

[0195] Finally, the processor 250 in the live broadcast host 200 switches the video stream corresponding to the director scene 3 originally pushed to the live broadcast platform to the video stream corresponding to the director scene 1.

[0196] Figure 8 A schematic diagram of a live broadcast room is shown. Figure 8 As shown, for example, the live broadcast personnel in the live broadcast room include anchor 1 and anchor 2. A first camera 110 is arranged in front of anchor 1, and a second camera 140 is arranged in front of anchor 2. The first camera 110 is connected to the live broadcast host 200 through a first port 210, and the second camera 140 is connected to the live broadcast host 200 through a second port 220. Thus, the processor 250 in the live broadcast host 200 can receive the video image corresponding to the first camera 110 through the first port 210, and the processor 250 in the live broadcast host 200 can receive the video image corresponding to the second camera 140 through the second port 220.

[0197] First, anchor 1 and anchor 2 can, for example, enter the interface corresponding to the "live broadcast room director plan" by "clicking" the "live broadcast room director plan" on the main interface.

[0198] Then, the anchor 1 “clicks” the director scene 1 by, for example, manually touching it, so that the processor 250 in the live host 200 pushes the video image received from the first port 210 to the live platform 200 .

[0199] In addition, it is worth noting that the user can manually touch and "click" the director scene that needs to be switched, thereby switching the director scene.

[0200] Therefore, according to the first aspect of this embodiment, a technical effect of enhancing the user experience and facilitating the user to conduct live broadcast is achieved.

[0201] In addition, reference Figure 1 As shown, according to the second aspect of this embodiment, a storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is run, the processor executes the above method.

[0202] Therefore, according to this embodiment, the technical effect of enhancing the user experience and facilitating the user to perform live broadcast is achieved.

[0203] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0205] Example 2

[0206] Figure 8 The device 800 based on adaptive director scene switching according to the first aspect of this embodiment is shown, and the device 800 corresponds to the method according to the first aspect of embodiment 1. Figure 8 As shown, the device 800 includes: a first determination module 810, which is used to determine whether it is necessary to switch the directing scene in response to a signal received from a corresponding video source, wherein the directing scene is used to limit the video source information corresponding to each video window; a directing scene type determination module 820, which is used to determine the directing scene type corresponding to the target directing scene based on the directing scene type to which the current directing scene belongs when it is determined that the directing scene needs to be switched, wherein the target directing scene is the directing scene to be switched; a target directing scene determination module 830, which is used to determine the target directing scene based on the signal when the directing scene type corresponding to the target directing scene is determined; and a push module 840, which is used to switch the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and push the video stream corresponding to the target directing scene to the live broadcast platform.

[0207] Optionally, the first determination module 810 includes: a first determination submodule, used to determine whether the distance between the video source and the object corresponding to the video source has changed, and / or determine whether the object corresponding to the video source has moved, based on the electrical signal corresponding to the sensor when the received signal is an electrical signal corresponding to the sensor; and a first switching module, used to switch the current directing scene when the distance between the video source and the object corresponding to the video source has changed, and / or the object corresponding to the video source has moved.

[0208] Optionally, the first determination module 810 includes: a first recognition module, used to identify the sound signal based on a preset speech recognition algorithm and / or semantic recognition algorithm when the received signal is a sound signal; and a second switching module, used to switch the current directing scene when the speech and / or semantics of the sound signal changes.

[0209] Optionally, the first determination module 810 includes: a second identification module, which is used to identify the video image corresponding to the video image signal based on a preset body movement recognition algorithm and / or gesture movement recognition algorithm when the received signal is a video image signal; and a third switching module, which switches the current directing scene when the body movement and / or gesture movement of the object in the video image changes.

[0210] Optionally, the first determination module 810 includes: a video source identification module for determining, based on the video image signal, the type of video source, the number of video sources and the placement status of the video source corresponding to the video image signal when the received signal is a video image signal; and a fourth switching module for switching the current directing scene when the type of video source, the number of video sources and / or the placement status of the video source change.

[0211] Optionally, the director scene type determination module 820 includes: a first scene type determination module, used to determine that the target director scene is a first scene type based on the director scene type to which the current director scene belongs, wherein the first scene type is used to indicate a scene type that includes only a single video window; or a second scene type determination module, used to determine that the target director scene is a second scene type based on the director scene type to which the current director scene belongs, wherein the second scene type is used to indicate a scene type that includes multiple video windows.

[0212] Optionally, when determining the type of directing scene corresponding to the target directing scene, the device 800 also includes: a video source information determination module, which is used to determine the video source information of the video source corresponding to the signal based on the received signal when determining the type of directing scene corresponding to the target directing scene; an association module, which is used to associate the video source corresponding to the signal with the main video window, wherein the main video window is represented in the director template and is used to display the image area with the largest area of ​​the video image; and a target directing scene determination sub-module, which is used to determine the target directing scene based on the target directing scene type, video source information and the video source associated with the main video window.

[0213] Optionally, when it is determined that the directing scene type corresponding to the target directing scene is the first scene type, the device 800 also includes: a first video source type determination module, used to determine the video source type of the video source corresponding to the signal based on the received signal, wherein the video source type of the video source is used to indicate the video source type of the video source; a first video source ID determination module, used to determine the video source ID of the video source corresponding to the signal when the video source type of the video source corresponding to the signal is determined; and a first video source placement state determination module, used to determine the video source placement state of the video source corresponding to the signal when the video source ID of the video source corresponding to the signal is determined.

[0214] Optionally, when it is determined that the directing scene type corresponding to the target directing scene is the second scene type, the device 800 also includes: a second video source type determination module, which is used to determine the video source type of the video source corresponding to the signal based on the received signal; a second video source ID determination module, which is used to determine the video source ID of the video source corresponding to the signal when the video source type of the video source corresponding to the signal is determined; a second video source placement state determination module, which is used to determine the video source placement state of the video source corresponding to the signal when the video source ID of the video source corresponding to the signal is determined; and a second video source placement state determination module, which is used to determine the number of received signals and, based on the number of signals, determine the number of video sources corresponding to the signal.

[0215] Therefore, according to this embodiment, the technical effect of enhancing the user experience and facilitating the user to perform live broadcast is achieved.

[0216] Example 3

[0217] Fig. 9 The device 900 for adaptive broadcast scene switching based on the first aspect of this embodiment is shown, and the device 900 corresponds to the method described in the first aspect of embodiment 1. Fig. 9As shown, the device 900 includes: a processor 910; and a memory 920, which is connected to the processor 910 and is used to provide the processor 910 with instructions for processing the following processing steps: in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene, wherein the directing scene is used to limit the video source information corresponding to each video window; in the case of determining that it is necessary to switch the directing scene, based on the directing scene type to which the current directing scene belongs, determining the directing scene type corresponding to the target directing scene, wherein the target directing scene is the directing scene to be switched; in the case of determining the directing scene type corresponding to the target directing scene, determining the target directing scene based on the signal; and switching the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and pushing the video stream corresponding to the target directing scene to the live broadcast platform.

[0218] Optionally, in response to a signal received from a corresponding video source, an operation of determining whether it is necessary to switch the directing scene includes: in a case where the received signal is an electrical signal corresponding to a sensor, based on the electrical signal corresponding to the sensor, determining whether the distance between the video source and an object corresponding to the video source has changed, and / or determining whether the object corresponding to the video source has moved; and in a case where the distance between the video source and an object corresponding to the video source has changed, and / or the object corresponding to the video source has moved, switching the current directing scene.

[0219] Optionally, in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene includes: when the received signal is a sound signal, identifying the sound signal based on a preset speech recognition algorithm and / or semantic recognition algorithm; and switching the current directing scene when the speech and / or semantics of the sound signal change.

[0220] Optionally, in response to a signal received from a corresponding video source, determining whether it is necessary to switch the directing scene includes: when the received signal is a video image signal, identifying the video image corresponding to the video image signal based on a preset body movement recognition algorithm and / or gesture movement recognition algorithm; and switching the current directing scene when the body movement and / or gesture movement of the object in the video image changes.

[0221] Optionally, in response to a signal received from a corresponding video source, determining whether an operation of switching the directing scene is required includes: when the received signal is a video image signal, determining, based on the video image signal, the type of video source, the number of video sources, and the placement status of the video source corresponding to the video image signal; and switching the current directing scene when the type of video source, the number of video sources, and / or the placement status of the video source change.

[0222] Optionally, when it is determined that the current directing scene needs to be switched, the operation of determining the directing scene type corresponding to the target directing scene based on the directing scene type to which the current directing scene belongs includes: determining the target directing scene to be a first scene type based on the directing scene type to which the current directing scene belongs, wherein the first scene type is used to indicate a scene type that includes only a single video window; or determining the target directing scene to be a second scene type based on the directing scene type to which the current directing scene belongs, wherein the second scene type is used to indicate a scene type that includes multiple video windows.

[0223] Optionally, when determining the type of directing scene corresponding to the target directing scene, the operation of determining the target directing scene based on the signal includes: when determining the type of directing scene corresponding to the target directing scene, determining video source information of the video source corresponding to the signal based on the received signal; associating the video source corresponding to the signal with the main video window, wherein the main video window is represented in the director template as the image area with the largest area for displaying the video image; and determining the target directing scene based on the target directing scene type, the video source information and the video source associated with the main video window.

[0224] Optionally, in a case where it is determined that the directing scene type corresponding to the target directing scene is the first scene type, the operation of determining the video source information of the video source corresponding to the signal based on the received signal includes: determining the video source type of the video source corresponding to the signal based on the received signal, wherein the video source type of the video source is used to indicate the video source type of the video source; in a case where the video source type of the video source corresponding to the signal is determined, determining the video source ID of the video source corresponding to the signal; and in a case where the video source ID of the video source corresponding to the signal is determined, determining the video source placement status of the video source corresponding to the signal.

[0225] Optionally, in a case where it is determined that the directing scene type corresponding to the target directing scene is the second scene type, the operation of determining the video source information of the video source corresponding to the signal based on the received signal includes: determining the video source type of the video source corresponding to the signal based on the received signal; in a case where the video source type of the video source corresponding to the signal is determined, determining the video source ID of the video source corresponding to the signal; in a case where the video source ID of the video source corresponding to the signal is determined, determining the video source placement status of the video source corresponding to the signal; and determining the number of received signals, and based on the number of signals, determining the number of video sources corresponding to the signal.

[0226] Therefore, according to this embodiment, the technical effect of enhancing the user experience and facilitating the user to perform live broadcast is achieved.

[0227] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0228] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0229] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0230] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0231] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0232] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0233] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for switching scenes based on adaptive directing, characterized in that: include: In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched, wherein the directing scene is used to define video source information corresponding to each video window; In the case where it is determined that the directing scene needs to be switched, determining a directing scene type corresponding to a target directing scene based on the directing scene type to which the current directing scene belongs, wherein the target directing scene is the directing scene to be switched; In the case of determining a directing scenario type corresponding to the target directing scenario, the target directing scenario is determined based on the signal, wherein In the case of determining a directing scenario type corresponding to the target directing scenario, determining an operation of the target directing scenario based on the signal includes: In the case of determining the directing scene type corresponding to the target directing scene, determining video source information of a video source corresponding to the signal based on the received signal, wherein the video source information includes a video source type, a video source ID, and a video source status; Associating a video source corresponding to the signal with a main video window, wherein the main video window is represented in a director template as an image area with the largest area for displaying a video image; and Determining the target directing scene based on the directing scene type of the target directing scene, the video source information, and the video source associated with the main video window; and The video stream corresponding to the current directing scene is switched to the video stream corresponding to the target directing scene, and the video stream corresponding to the target directing scene is pushed to the live broadcast platform.

2. The method according to claim 1, characterized in that In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched includes: In a case where the received signal is an electrical signal corresponding to a sensor, determining whether a distance between the video source and an object corresponding to the video source has changed, and / or determining whether the object corresponding to the video source has moved, based on the electrical signal corresponding to the sensor; and When the distance between the video source and the object corresponding to the video source changes, and / or the object corresponding to the video source moves, the current directing scene is switched.

3. The method according to claim 1, characterized in that In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched includes: In the case where the received signal is a sound signal, identifying the sound signal based on a preset speech recognition algorithm and / or a semantic recognition algorithm; and When the voice and / or semantics of the sound signal changes, the current directing scene is switched.

4. The method according to claim 1, characterized in that: In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched includes: In the case where the received signal is a video image signal, identifying a video image corresponding to the video image signal based on a preset body movement recognition algorithm and / or a gesture movement recognition algorithm; and When the body movement and / or gesture movement of the object in the video image changes, the current directing scene is switched.

5. The method according to claim 1, characterized in that In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched includes: In the case where the received signal is a video image signal, determining, based on the video image signal, the type of video source, the number of video sources, and the placement status of the video sources corresponding to the video image signal; and When the type of video source, the number of video sources and / or the placement status of the video source changes, the current directing scene is switched.

6. The method according to claim 1, characterized in that In the case where it is determined that the current directing scene needs to be switched, the operation of determining a directing scene type corresponding to the target directing scene based on the directing scene type to which the current directing scene belongs includes: Based on the directing scene type to which the current directing scene belongs, determining that the target directing scene is a first scene type, wherein the first scene type is used to indicate a scene type including only a single video window; or Based on the directing scene type to which the current directing scene belongs, the target directing scene is determined to be a second scene type, wherein the second scene type is used to indicate a scene type including multiple video windows.

7. The method according to claim 6, characterized in that In the case where it is determined that the directing scene type corresponding to the target directing scene is the first scene type, the operation of determining video source information of a video source corresponding to the signal based on the received signal includes: Based on the received signal, determining a video source type of a video source corresponding to the signal, wherein the video source type of the video source is used to indicate a video source category of the video source; In case the video source type of the video source corresponding to the signal is determined, determining the video source ID of the video source corresponding to the signal; and When the video source ID of the video source corresponding to the signal is determined, a video source placement state of the video source corresponding to the signal is determined.

8. The method according to claim 6, characterized in that In the case where it is determined that the directing scene type corresponding to the target directing scene is the second scene type, the operation of determining video source information of a video source corresponding to the signal based on the received signal includes: Based on the received signal, determining a video source type of a video source corresponding to the signal; In case of determining the video source type of the video source corresponding to the signal, determining the video source ID of the video source corresponding to the signal; determining a video source placement state of the video source corresponding to the signal in a case where the video source ID of the video source corresponding to the signal is determined; and A number of received signals is determined, and based on the number of signals, a number of video sources corresponding to the signals is determined.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is run, the processor executes the method according to any one of claims 1 to 8.

10. A device for adaptive broadcast scene switching, characterized in that: include: A first determination module, configured to determine whether a directing scene needs to be switched in response to a signal received from a corresponding video source, wherein the directing scene is used to define video source information corresponding to each video window; A directing scene type determination module, for determining a directing scene type corresponding to a target directing scene based on the directing scene type to which the current directing scene belongs, when it is determined that the directing scene needs to be switched, wherein the target directing scene is the directing scene to be switched; a target directing scene determining module, configured to determine the target directing scene based on the signal when determining the directing scene type corresponding to the target directing scene, wherein The device also includes: A video source information determination module, configured to determine, based on the received signal, video source information of a video source corresponding to the signal when the type of directing scene corresponding to the target directing scene is determined; an associating module, configured to associate a video source corresponding to the signal with a main video window, wherein the main video window is represented in a director template as an image region with the largest area for displaying a video image; and a target directing scene determination submodule, configured to determine the target directing scene based on the target directing scene type, the video source information, and the video source associated with the main video window; and The push module is used to switch the video stream corresponding to the current directing scene to the video stream corresponding to the target directing scene, and push the video stream corresponding to the target directing scene to the live broadcast platform.

11. A device for adaptive broadcast scene switching, characterized in that: include: processor; as well as A memory, connected to the processor, configured to provide the processor with instructions for processing the following processing steps: In response to a signal received from a corresponding video source, determining whether a directing scene needs to be switched, wherein the directing scene is used to define video source information corresponding to each video window; In the case where it is determined that the directing scene needs to be switched, determining a directing scene type corresponding to a target directing scene based on the directing scene type to which the current directing scene belongs, wherein the target directing scene is the directing scene type to be switched; In the case of determining a directing scenario type corresponding to the target directing scenario, the target directing scenario is determined based on the signal, wherein In the case of determining a directing scenario type corresponding to the target directing scenario, determining an operation of the target directing scenario based on the signal includes: In the case of determining the directing scene type corresponding to the target directing scene, determining video source information of a video source corresponding to the signal based on the received signal, wherein the video source information includes a video source type, a video source ID, and a video source status; Associating a video source corresponding to the signal with a main video window, wherein the main video window is represented in a director template as an image area with the largest area for displaying a video image; and Determining the target directing scene based on the directing scene type of the target directing scene, the video source information, and the video source associated with the main video window; and The video stream corresponding to the current directing scene is switched to the video stream corresponding to the target directing scene, and the video stream corresponding to the target directing scene is pushed to the live broadcast platform.