A method, system and related device based on applet live broadcast

By adding a carrier container within the mini-program container of the video app, prompting users to select and display the live streaming function, the problem of users needing to download an additional app is solved, enabling a convenient experience of live streaming directly on the video app.

CN115202816BActive Publication Date: 2025-12-12HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210830844.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2025-12-12
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

Users are installing more and more applications on their devices, leading to a demand for additional live streaming apps and a poor user experience.

Method used

The live streaming function is provided through a mini-program of a designated video app. When triggered, a carrier container is added inside the mini-program container to prompt the user to select and add the live streaming function item, which is then displayed for the user to call, avoiding the need to download an additional live streaming app.

Benefits of technology

It improves the user experience, enabling users to stream directly through the video app without needing to download a separate live streaming app.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202816B_ABST
    Figure CN115202816B_ABST
Patent Text Reader

Abstract

The application provides a method and system based on applet live broadcast and related equipment. When it is detected that the live broadcast function of the applet in the specified video APP is triggered, a carrier container for carrying live broadcast content is added in the applet container of the applet. Specific information is displayed to prompt the user to select a preset live broadcast function item, and the live broadcast function item selected by the user is added to the carrier container. The live broadcast function item in the carrier container is displayed for the user to call any live broadcast function item in the carrier container during live broadcast. In the scheme, the live broadcast function is provided through the applet of the specified video APP, the user can live broadcast through the video APP without downloading the live broadcast APP, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet, in particular to a method and system for live streaming based on applet and related equipment. BACKGROUND

[0002] With the development of the Internet, the live streaming industry has also developed rapidly. At present, the user initiates live streaming in the following way: first, download the live streaming APP, and then use the live streaming APP to live stream. However, as the number of application software installed on the terminal device of the user is increasing, the user usually does not like to install new application software, but the user needs to download the live streaming APP before live streaming, and the user experience is poor. SUMMARY

[0003] Therefore, the embodiments of the present application provide a method and system for live streaming based on applet and related equipment to solve the problem that the user experience is poor when the existing live streaming initiation method is used.

[0004] To achieve the above object, the embodiments of the present application provide the following technical solutions.

[0005] The first aspect of the embodiments of the present application discloses a method for live streaming based on applet, which comprises the following steps:

[0006] When it is detected that the live streaming function of the applet in the specified video APP is triggered, a carrier container for carrying live streaming content is added in the applet container of the applet.

[0007] Display specific information to prompt the user to select a preset live streaming function item, and add the live streaming function item selected by the user to the carrier container.

[0008] Display the live streaming function item in the carrier container, so that the user can call any live streaming function item in the carrier container when live streaming.

[0009] Preferably, displaying specific information to prompt the user to select a preset live streaming function item, and adding the live streaming function item selected by the user to the carrier container, comprises:

[0010] Display the scene information of each preset live streaming scene, and display a custom control, wherein each preset live streaming scene is bound to at least one preset live streaming function item.

[0011] When it is detected that the scene information of any preset live streaming scene is selected, add the live streaming function item bound to the preset live streaming scene corresponding to the selected scene information to the carrier container.

[0012] When it is detected that the custom control is triggered, create a custom live streaming scene and display all live streaming function items.

[0013] binding the selected live function item to the custom live scene;

[0014] adding the live function item bound to the custom live scene to the carrier container.

[0015] Preferably, after binding the selected live function item to the custom live scene, the method further comprises:

[0016] saving scene information of the custom live scene.

[0017] Preferably, after displaying the live function items in the carrier container, the method further comprises:

[0018] stopping the live function of the applet and clearing resources occupied by the applet when an end live instruction is detected.

[0019] The second aspect of the embodiment of the application discloses a system based on applet live streaming, which comprises:

[0020] a first processing unit configured to add a carrier container for carrying live streaming content in a live streaming function container of an applet when detecting that the live streaming function of the applet in a specified video APP is triggered;

[0021] a second processing unit configured to display specific information to prompt a user to select a preset live function item and add the live function item selected by the user to the carrier container;

[0022] a display unit configured to display live function items in the carrier container, so that the user can call any live function item in the carrier container during live streaming.

[0023] Preferably, the second processing unit comprises:

[0024] a display module configured to display scene information of each preset live scene and display a custom control, wherein each preset live scene is bound to at least one preset live function item;

[0025] a first adding module configured to add a live function item bound to a preset live scene corresponding to selected scene information to the carrier container when detecting that the scene information of any preset live scene is selected;

[0026] a creating module configured to create a custom live scene and display all live function items when detecting that the custom control is triggered;

[0027] a binding module configured to bind a selected live function item to the custom live scene;

[0028] A second adding module is configured to add the live broadcast function item bound by the customized live broadcast scene to the carrier container.

[0029] Preferably, the second processing unit further comprises:

[0030] A saving module is configured to save scene information of the customized live broadcast scene.

[0031] Preferably, the system further comprises:

[0032] A stopping unit is configured to stop the live broadcast function of the applet and clear resources occupied by the applet when detecting an end live broadcast instruction.

[0033] The third aspect of the embodiment of the application discloses an electronic device, comprising a processor and a memory, the processor and the memory are connected through a communication bus; wherein the processor is configured to call and execute a program stored in the memory; the memory is configured to store a program, and the program is used to implement the method for live broadcast based on an applet disclosed in the first aspect of the embodiment of the application.

[0034] The fourth aspect of the embodiment of the application discloses a computer readable storage medium, the computer readable storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for live broadcast based on an applet disclosed in the first aspect of the embodiment of the application.

[0035] The method, system and related device for live broadcast based on an applet provided in the above embodiment of the application, when detecting that the live broadcast function of the applet in the specified video APP is triggered, a carrier container for carrying live broadcast content is added in the applet container of the applet; specific information is displayed to prompt a user to select a preset live broadcast function item, and the live broadcast function item selected by the user is added to the carrier container; and the live broadcast function item in the carrier container is displayed to be called by the user during live broadcast. In the scheme, the live broadcast function is provided through the applet of the specified video APP; when the live broadcast function is triggered, the carrier container for carrying live broadcast content is added in the applet container of the applet. The user is prompted to select the preset live broadcast function item, and the live broadcast function item selected by the user is added to the carrier container; the live broadcast function item in the carrier container is displayed to be called by the user during live broadcast. The user can live broadcast through the video APP without downloading the live broadcast APP, and the use experience of the user is improved. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings described below only constitute a part of the embodiments of the present application, and all other drawings obtained by those of ordinary skill in the art without creative effort based on the drawings provided below shall fall within the scope of the present application.

[0037] Figure 1 A flowchart of a method for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 6.

[0038] Figure 2 An example diagram of displaying a live broadcast function item in a carrier container provided by an embodiment of the present application is shown in FIG. 7.

[0039] Figure 3 A flowchart of adding a live broadcast function item into a carrier container provided by an embodiment of the present application is shown in FIG. 8.

[0040] Figure 4 A logic flowchart of a method for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 9.

[0041] Figure 5 A structural block diagram of a system for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 10.

[0042] Figure 6 Another structural block diagram of a system for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 11.

[0043] Figure 7 Still another structural block diagram of a system for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 12.

[0044] Figure 8 Still another structural block diagram of a system for live broadcast based on applet provided by an embodiment of the present application is shown in FIG. 13. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only constitute a part of the embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without creative effort based on the embodiments in the present application shall fall within the scope of the present application.

[0046] In this application, the terms "comprise", "contain" or any other variant thereof are intended to cover a non-exclusive inclusion, so that processes, methods, articles, or devices that comprise a list of elements not only include those elements, but also include other elements not expressly listed, or inherent to such processes, methods, articles, or devices. Without more limitations, the element defined by the statement "comprises a" does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.

[0047] As can be known from the background, as more and more application software is installed on the terminal device by the user, the user usually does not like to additionally install new application software, but the user needs to download the live APP in advance when live streaming, and the user experience is poor.

[0048] Therefore, the embodiments of the present application provide a live streaming method and system based on a small program and related devices, which provide a live streaming function through a small program of a specified video APP; when the live streaming function is triggered, a carrier container for carrying live streaming content is added in a small program container of the small program. The user is prompted to select a preset live streaming function item, and the selected live streaming function item of the user is added to the carrier container. The live streaming function item in the carrier container is displayed for the user to call when live streaming. The user can live stream through the video APP without additionally downloading the live APP, so as to improve the user experience.

[0049] Referring to Figure 1 , a flowchart of a live streaming method based on a small program is shown, and the method comprises the following steps:

[0050] Step S101: When it is detected that the live streaming function of the small program in the specified video APP is triggered, a carrier container for carrying live streaming content is added in a small program container of the small program.

[0051] It should be noted that the live streaming function is configured in the small program of the specified video APP (such as the Mango TV video APP), and the user can trigger the live streaming function through the small program of the specified video APP.

[0052] In the process of specifically implementing step S101, when it is detected that the live streaming function of the small program in the specified video APP is triggered, a carrier container is added in the small program container of the small program, and the carrier container is used to carry live streaming content.

[0053] Specifically, the applet initiates a live broadcast by calling the "SDK.insertLivePusher" method, so that the applet SDK creates a carrier container carrying live broadcast content and adds the carrier container to the applet container, i.e., the carrier container is attached to the applet container as a sub-container; the carrier container and the applet establish a one-to-one binding relationship, and the carrier container is used by the user in the form of an applet.

[0054] It should be noted that the applet SDK is a platform applet library; "SDK.insertLivePusher" is the specific method name in the platform applet library for creating a live broadcast.

[0055] Step S102: Display specific information to prompt the user to select a preset live broadcast function item, and add the live broadcast function item selected by the user to the carrier container.

[0056] It should be noted that a plurality of live broadcast function items are pre-set, for example: camera, beauty, microphone, stream, live broadcast background customization, and sharing live broadcast function items are pre-set; the pre-set live broadcast function items are issued to the applet SDK through the JS interface, and the applet SDK can implement the live broadcast function items one by one as basic capabilities.

[0057] In the process of specifically implementing step S102, after the carrier container is added to the applet container, the user can select a live broadcast function item to be added to the carrier container; specific information is displayed to prompt the user to select a preset live broadcast function item, wherein at least two ways of selecting a live broadcast function item are provided to the user.

[0058] The first way of selecting a function item: a plurality of preset live broadcast scenes are pre-defined, each preset live broadcast scene is bound to at least one live broadcast function item, or in other words, the live broadcast function items corresponding to each preset live broadcast scene that can be used by the user have been pre-defined; the user selects a preset live broadcast scene that meets the live broadcast demand, and the live broadcast function item bound to the preset live broadcast scene selected by the user is the live broadcast function item selected by the user.

[0059] The second way of selecting a function item: if the preset live broadcast scenes cannot meet the user's live broadcast demand, the user is supported to select a live broadcast function item.

[0060] After determining that the user has selected a live broadcast function item, the live broadcast function item selected by the user is added to the carrier container; specifically, after determining that the user has selected a live broadcast function item, the applet calls the "SDK.updateLivePusher" method to issue the live broadcast function item selected by the user to the applet SDK, so that the applet SDK adds the live broadcast function item selected by the user to the carrier container.

[0061] Step S103: display the live broadcast function items in the carrier container for the user to call any live broadcast function item in the carrier container when live broadcasting.

[0062] In the implementation of step S103, after adding the live broadcast function item selected by the user into the carrier container, the live broadcast function items in the carrier container are displayed for the user to call any live broadcast function item in the carrier container when live broadcasting.

[0063] That is, after displaying the live broadcast function items in the carrier container, the user can call any live broadcast function item in the carrier container when live broadcasting. For example Figure 2 The example of displaying the live broadcast function items in the carrier container is provided, the live broadcast function items selected by the user are microphone, camera, beautification, live broadcast background, stream pushing, sharing, intercom, voting, and tipping; the live broadcast function items selected by the user are added into the carrier container and displayed, and the user can call any live broadcast function item in the carrier container when live broadcasting.

[0064] In some embodiments, in the process of adding the live broadcast function item selected by the user into the carrier container, the applet SDK assembles and displays the live broadcast function item selected by the user according to the function item parameter of the live broadcast function item.

[0065] Preferably, after detecting the end live broadcast instruction, the live broadcast function of the applet is stopped, and the resources occupied by the applet are cleared; specifically, when the end live broadcast instruction is detected, the applet calls the “SDK.removeLivePusher” method to end live broadcasting, and clears the resources occupied by the applet; for example, calling the “SDK.removeLivePusher” method to end live broadcasting, clearing the memory resources occupied by the applet, and clearing the hardware resources such as microphone and camera occupied by the applet.

[0066] In the embodiments of the present application, the applet of the video APP is specified to provide the live broadcast function; when the live broadcast function is triggered, the carrier container for carrying live broadcast content is added in the applet container of the applet. The user is prompted to select the preset live broadcast function item, and the live broadcast function item selected by the user is added into the carrier container, the live broadcast function items in the carrier container are displayed for the user to call when live broadcasting, and the user can live broadcast through the video APP without the need to download the live broadcast APP additionally, thereby improving the user experience.

[0067] The above embodiments of the present application Figure 1 The content of adding the live broadcast function item selected by the user into the carrier container mentioned in step S102 is described with reference to Figure 3 The flowchart of adding the live broadcast function item into the carrier container provided by the embodiments of the present application is shown in FIG. 4, which includes the following steps:

[0068] Step S301: display the scene information of each preset live scene, and display the custom control.

[0069] It should be noted that a plurality of preset live scenes are defined in advance, and each preset live scene is bound to at least one preset live function item; specifically, since the live demands of different live types may be different, corresponding preset live scenes can be defined according to different live types, and the live function items available for use by the user under each preset live scene are defined in advance.

[0070] For example: for news events and live sales, the live demand of this type of live is to restore the event site realistically, so the preset live scene defined for this type of live needs to be bound to the microphone, rear camera, and streaming, etc.

[0071] For example: for live selection, the live demand of this type of live is to deliver exciting pictures to the audience and interact with the audience at the same time, so the preset live scene defined for this type of live needs to be bound to the microphone, rear camera, streaming, beautification, intercom, voting, tipping, and sharing, etc.

[0072] For example: for personal live, the preset live scene defined for this type of live can be bound to the microphone, front camera, live background, beautification, and streaming, etc.

[0073] In the process of specifically implementing step S301, the scene information of each preset live scene is displayed, and the custom control is displayed, wherein the scene information can represent which live types the preset live scene belongs to, and the scene information can also represent which live function items the preset live scene has.

[0074] After displaying the scene information of the preset live scene and the custom control, the user can select the preset live scene, or can select the corresponding live function item through the custom control; when detecting that the scene information of any preset live scene is selected, step S302 is executed; when detecting that the custom control is triggered, step S303 and subsequent steps are executed.

[0075] In some embodiments, the preset live scenes can be classified, for example: the preset live scenes are classified into training, selection, interaction, and conference, etc. When displaying the scene information of the preset live scene, it can be displayed according to the live category, that is, the user can view which preset live scenes according to the live category; the preset live scene of each live category can customize a corresponding set of live function items (only an example), or the corresponding live function items can be customized for different preset live scenes respectively.

[0076] Step S302: When detecting that the scene information of any preset live scene is selected, adding the live function item bound by the preset live scene corresponding to the selected scene information to the carrier container.

[0077] In the implementation of step S302, when detecting that the scene information of any preset live scene is selected, the live function item bound by the preset live scene corresponding to the selected scene information is added to the carrier container; that is, when the user selects any preset live scene, the live function item bound by the preset live scene selected by the user is added to the carrier container.

[0078] Step S303: When detecting that the custom control is triggered, creating a custom live scene and displaying all live function items.

[0079] It should be noted that after the scene information of each preset live scene is displayed, if the existing preset live scene cannot meet the live needs of the user, the user can select the live function item needed by himself through the custom control to complete the setting of the custom live scene.

[0080] In the implementation of step S303, when detecting that the custom control is triggered, a custom live scene is created and all live function items are displayed; wherein all live function items are displayed for the user to select the live function item needed to be used from all live function items.

[0081] Step S304: Binding the selected live function item to the custom live scene.

[0082] In the implementation of step S304, the live function item selected by the user is bound to the custom live scene, thereby completing the configuration of the custom live scene.

[0083] In some embodiments, after the live function item selected by the user is bound to the custom live scene, the scene information of the custom live scene is saved; next time the live function is triggered, the scene information of the custom live scene can be displayed for the user to use the custom live scene again.

[0084] Step S305: Adding the live function item bound by the custom live scene to the carrier container.

[0085] In the implementation of step S305, after the selected live function item is bound to the custom live scene, the live function item bound by the custom live scene is added to the carrier container; that is, the live function item selected by the user is added to the carrier container.

[0086] In the embodiments of the present application, multiple preset live broadcast scenes are provided for the user, and the user can select any preset live broadcast scene according to the live broadcast demand; meanwhile, if the multiple preset live broadcast scenes provided do not meet the live broadcast demand of the user, the user is supported to create a custom live broadcast scene and custom select a required live broadcast function item, diversified live broadcast services are provided for the user, and the use experience of the user is improved.

[0087] From the content of the above embodiments, when the live broadcast function is triggered, the applet needs to interact with the applet SDK to add the live broadcast function item selected by the user to the carrier container. In order to better understand the foregoing process, the logic flow diagram of the method for live broadcast based on the applet is shown to illustrate by way of example. Figure 4

[0088] As shown in the foregoing embodiments, the JS Bridge is used to support the interactive communication between the applet and the applet SDK; the applet calls the 'SDK.insertLivePusher' method, so that the applet SDK creates a carrier container for carrying live broadcast content and adds the carrier container to the applet container; the applet calls the 'SDK.updateLivePusher' method to issue the live broadcast function item selected by the user (equivalent to customizing the live broadcast function item) to the applet SDK, and the applet SDK assembles the live broadcast function item for the user to start live broadcast. Figure 4

[0089] It should be noted that, Figure 4 'completion' in the foregoing embodiments specifically represents the result of the reverse notification of the logic layer after the execution of the corresponding flow node is completed.

[0090] Corresponding to the method for live broadcast based on the applet provided in the foregoing embodiments of the present application, referring to Figure 5 the embodiments of the present application further provide a structural block diagram of a system for live broadcast based on the applet, and the system comprises a first processing unit 501, a second processing unit 502 and a display unit 503.

[0091] The first processing unit 501 is configured to add a carrier container for carrying live broadcast content in the applet container of the applet when it is detected that the live broadcast function of the applet in the specified video APP is triggered.

[0092] The second processing unit 502 is configured to display specific information to prompt the user to select a preset live broadcast function item, and add the live broadcast function item selected by the user to the carrier container.

[0093] The display unit 503 is configured to display the live broadcast function item in the carrier container, so that the user can call any live broadcast function item in the carrier container during live broadcast.

[0094] ​​In the embodiment of the present application, the live broadcast function is provided by specifying the applet of the video APP; when the live broadcast function is triggered, a carrier container for carrying live broadcast content is added in the applet container of the applet; the user is prompted to select a preset live broadcast function item, and the selected live broadcast function item of the user is added to the carrier container; the live broadcast function item in the carrier container is displayed for the user to call when live broadcasting; the user can live broadcast through the video APP without downloading an additional live broadcast APP, thereby improving the user experience.

[0095] Preferably, in combination with Figure 5 , see Figure 6 , another structural block diagram of a system for live broadcast based on applet is shown, the second processing unit 502 includes: a display module 5021, a first adding module 5022, a creating module 5023, a binding module 5024 and a second adding module 5025.

[0096] The display module 5021 is configured to display scene information of each preset live broadcast scene and display a custom control, wherein each preset live broadcast scene is bound to at least one preset live broadcast function item.

[0097] The first adding module 5022 is configured to add the live broadcast function item bound to the preset live broadcast scene corresponding to the selected scene information to the carrier container when detecting that the scene information of any preset live broadcast scene is selected.

[0098] The creating module 5023 is configured to create a custom live broadcast scene and display all live broadcast function items when detecting that the custom control is triggered.

[0099] The binding module 5024 is configured to bind the selected live broadcast function item to the custom live broadcast scene.

[0100] The second adding module 5025 is configured to add the live broadcast function item bound to the custom live broadcast scene to the carrier container.

[0101] Preferably, in combination with Figure 6 , see Figure 7 , another structural block diagram of a system for live broadcast based on applet is shown, the second processing unit 502 further includes:

[0102] The saving module 5026 is configured to save the scene information of the custom live broadcast scene.

[0103] In the embodiment of the present application, multiple preset live broadcast scenes are provided for the user, and the user can select any preset live broadcast scene according to the live broadcast demand; meanwhile, if the multiple preset live broadcast scenes provided do not meet the live broadcast demand of the user, the user is supported to create a custom live broadcast scene and custom select a live broadcast function item needed, diversified live broadcast services are provided for the user, and the use experience of the user is improved.

[0104] Preferably, in combination with Figure 5 , see Figure 8 , shows another structural block diagram of a system based on live broadcast of the applet provided by the embodiment of the present application, and the system further comprises:

[0105] The stopping unit 504 is configured to stop the live broadcast function of the applet and clear the resources occupied by the applet when the end live broadcast instruction is detected.

[0106] Preferably, the embodiment of the present application further provides an electronic device, comprising a processor and a memory, the processor and the memory are connected through a communication bus; wherein the processor is configured to call and execute the program stored in the memory; the memory is configured to store the program, and the program is configured to implement the method based on live broadcast of the applet disclosed in the above method embodiment.

[0107] Preferably, the embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method based on live broadcast of the applet disclosed in the above method embodiment.

[0108] In summary, the embodiment of the present application provides a method, system and related device based on live broadcast of the applet, and the live broadcast function is provided by specifying the applet of the video APP; when the live broadcast function is triggered, a carrier container for carrying live broadcast content is added in the applet container of the applet. The user is prompted to select a preset live broadcast function item, and the live broadcast function item selected by the user is added to the carrier container, and the live broadcast function item in the carrier container is displayed for the user to call during live broadcast, and the user can live broadcast through the video APP without downloading the live broadcast APP, thereby improving the use experience of the user.

[0109] The various embodiments described in this specification are described in progressive order, with each embodiment building on the previous one. The same or similar elements in each embodiment are denoted by the same or similar reference signs. For each embodiment, the differences between that embodiment and the preceding ones are described in more detail. In particular, the system or system embodiments are described more briefly than the method embodiments, since they are substantially similar to the method embodiments. The system and system embodiments described above are merely illustrative, and the units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. can be located at one place or distributed over multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. Those skilled in the art can understand and implement without creative labor.

[0110] Those skilled in the art will further appreciate that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or both. The disclosure will be described in connection with a general purpose computing device, in order to illustrate the interchangeability of hardware and software. The disclosure is not limited to combinations of hardware and software, however, and can be realized in hardware alone or software alone. The implementation depends on the particular application and design constraints imposed on the overall system. Skilled artisans will appreciate that the principles of the disclosure are not limited to the specific implementation described herein, but can be practiced with modifications within the scope of the disclosure.

[0111] The above description of disclosed embodiments enables a person skilled in the art to implement or use the invention. Numerous modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for live streaming based on applets, characterized in that, The method comprises: when detecting that the live broadcast function of the applet in the specified video APP is triggered, adding a carrier container for carrying live broadcast content in the applet container of the applet; displaying specific information to prompt a user to select a preset live broadcast function item, and adding the live broadcast function item selected by the user to the carrier container; displaying the live broadcast function items in the carrier container, so that the user can call any live broadcast function item in the carrier container during live broadcast; wherein the step of displaying specific information to prompt a user to select a preset live broadcast function item, and adding the live broadcast function item selected by the user to the carrier container comprises: displaying scene information of each preset live broadcast scene, and displaying a custom control, wherein each preset live broadcast scene is bound to at least one preset live broadcast function item; when detecting that the scene information of any preset live broadcast scene is selected, adding the live broadcast function item bound to the preset live broadcast scene corresponding to the selected scene information to the carrier container; when detecting that the custom control is triggered, creating a custom live broadcast scene and displaying all live broadcast function items; binding the selected live broadcast function item to the custom live broadcast scene; adding the live broadcast function item bound to the custom live broadcast scene to the carrier container.

2. The method of claim 1, wherein, After binding the selected live broadcast function item to the custom live broadcast scene, the method further comprises: saving the scene information of the custom live broadcast scene.

3. The method according to any one of claims 1-2, characterized in that, After displaying the live broadcast function items in the carrier container, the method further comprises: when detecting an end-of-live broadcast instruction, stopping the live broadcast function of the applet and clearing the resources occupied by the applet.

4. A system for live streaming based on applets, characterized in that, The system comprises: a first processing unit configured to, when detecting that the live broadcast function of the applet in the specified video APP is triggered, add a carrier container for carrying live broadcast content in the applet container of the applet; a second processing unit configured to display specific information to prompt a user to select a preset live broadcast function item, and add the live broadcast function item selected by the user to the carrier container; a display unit configured to display the live broadcast function items in the carrier container, so that the user can call any live broadcast function item in the carrier container during live broadcast; wherein the second processing unit comprises: a display module configured to display scene information of each preset live broadcast scene, and display a custom control, wherein each preset live broadcast scene is bound to at least one preset live broadcast function item; a first adding module configured to, when detecting that the scene information of any preset live broadcast scene is selected, add the live broadcast function item bound to the preset live broadcast scene corresponding to the selected scene information to the carrier container; a creating module configured to, when detecting that the custom control is triggered, create a custom live broadcast scene and display all live broadcast function items; a binding module configured to bind the selected live broadcast function item to the custom live broadcast scene; a second adding module configured to add the live broadcast function item bound to the custom live broadcast scene to the carrier container.

5. The system of claim 4, wherein, The second processing unit further comprises: a saving module configured to save the scene information of the custom live broadcast scene.

6. The system of any of claims 4-5, wherein, The system further comprises: A stopping unit is configured to stop the live broadcast function of the applet and clear resources occupied by the applet when a live broadcast end instruction is detected.

7. An electronic device, comprising: The application relates to a method for live broadcasting based on an applet, and a computer readable storage medium. The processor and the memory are connected through a communication bus; wherein the processor is configured to call and execute a program stored in the memory; The memory is configured to store a program, and the program is used to implement the method for live broadcasting based on an applet according to any one of claims 1-3.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for live broadcasting based on an applet according to any one of claims 1-3.

Citation Information

Patent Citations

  • Human-computer interaction, control and live broadcast method and device, and storage medium

    CN113301361A