A method, system and storage medium for live scene cross-device sharing
By generating a portable package of scene description files and material files, the problem of inefficient sharing of live streaming scenes between different devices is solved. This enables one-click migration and cross-platform dissemination of live streaming scenes across devices, improving operational efficiency and ensuring copyright security.
Patent Information
- Application Number
- CN202611361914.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Existing live streaming software cannot efficiently copy and share live streaming scenes between different devices, causing users to need to rebuild the scene when changing devices, which is cumbersome and inefficient.
By generating portable packages of scene description files and material files, cross-device sharing of live streaming scenes can be achieved. This includes unified packaging and management of attribute description information for each scene element, supporting convenient dissemination and reuse across devices and platforms.
It achieves complete encapsulation and one-click migration of live streaming scenarios, avoiding users having to repeatedly build scenarios on different devices, improving operational efficiency, and supporting cross-platform and cross-user dissemination and team collaboration, while ensuring copyright and transmission security.
Smart Images

Figure CN123164284A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of multimedia live streaming and video processing technology, and in particular to a method, system and storage medium for sharing live streaming scenarios across devices. Background Technology
[0002] With the widespread adoption of mobile live streaming, users often need to reuse live streaming scenes across different devices. A complete live streaming scene includes not only background visuals, camera layout, subtitles, stickers, GIF animations, background removal effects, and border styles, but also dynamic real-time video camera configuration information, visuals with green screen keying, beauty filters, and other special effects, as well as layouts involving multiple layers and broadcast control logic. Most existing live streaming software can only configure and use scenes on a single device, lacking a mechanism for packaging the entire scene and efficiently copying and sharing it between different devices or users. This forces users to rebuild the scene from scratch when switching devices, resulting in cumbersome and inefficient operations.
[0003] Regarding the technical problems mentioned above in the existing mobile live streaming services, such as the need for users to rebuild the scene when changing devices, which is cumbersome and inefficient, no effective solution has yet been proposed.
[0004] Therefore, there is an urgent need for a method that can uniformly package all kinds of static and dynamic materials involved in the scene construction process, as well as all their effects and control parameters, in order to achieve convenient cross-device and cross-platform dissemination and reuse of live streaming scenes, thereby meeting the user's need to quickly restore live streaming scenes across devices. Summary of the Invention
[0005] The embodiments of this disclosure provide a method, system, and storage medium for sharing live streaming scenarios across devices, in order to at least solve the technical problem in the prior art that users need to rebuild the scene when changing devices in mobile live streaming services, which is cumbersome and inefficient.
[0006] According to one aspect of the present disclosure, a method for sharing a live streaming scene across devices is provided, comprising: a first terminal determining attribute description information and corresponding material files for each scene element in a user-constructed live streaming scene based on a user's scene packaging operation; the first terminal generating a scene description file based on the attribute description information; the first terminal packaging the material files and the scene description file to generate a corresponding portable file package; and a second terminal restoring the user-constructed live streaming scene based on the portable file package, wherein the restored live streaming scene is used by the user to conduct live streaming based on the corresponding live streaming scene through the second terminal.
[0007] According to another aspect of the embodiments of this disclosure, a method for packaging live streaming scenes is also provided, comprising: determining attribute description information of each scene element in the live streaming scene constructed by the user and corresponding material files based on the user's scene packaging operation; generating a scene description file based on the attribute description information; and packaging the material files and the scene description file to generate a corresponding portable file package.
[0008] According to another aspect of the present disclosure, a storage medium is also provided, the storage medium including a stored program, wherein, when the program is executed, a processor performs any of the methods described above.
[0009] According to another aspect of the present disclosure, a cross-device sharing system for live streaming scenes is also provided, comprising: a parameterized editing module, configured to determine the attribute description information of each scene element in a user-constructed live streaming scene and the corresponding material files based on a user's scene packaging operation via a first terminal, and to generate a scene description file based on the attribute description information; a live streaming scene package generation module, configured to package the material files and the scene description file via the first terminal to generate a corresponding portable file package; and a parsing module, configured to restore the user-constructed live streaming scene via a second terminal based on the portable file package, wherein the restored live streaming scene is used by the user to conduct live streaming via the second terminal based on the corresponding live streaming scene.
[0010] In this embodiment, the first terminal determines the attribute description information of each scene element in the user-constructed live streaming scene and the corresponding material files. Based on the attribute description information, it generates a scene description file. Then, it binds and packages the material files and scene description files to generate a corresponding portable file package. The second terminal can restore the live streaming scene initially constructed by the user based on the first terminal according to the corresponding portable file package. The user can then conduct live streaming by operating the second terminal based on the restored live streaming scene. Thus, this embodiment can achieve complete encapsulation and one-click migration of live streaming scenes, avoiding the need for users to repeatedly build live streaming scenes on different devices. Attached Figure Description
[0011] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this application, illustrate exemplary embodiments of this disclosure and are used to explain this disclosure, but do not constitute an undue limitation of this disclosure. In the drawings: Figure 1 This is a hardware structure block diagram of a computing device for implementing the method according to Embodiment 1 of this disclosure; Figure 2 This is a schematic diagram of a live streaming scene cross-device sharing system according to Embodiment 1 of this disclosure; Figure 3This is a flowchart illustrating a method for sharing a live streaming scene across devices according to the first aspect of Embodiment 1 of this disclosure; Figure 4 This is a schematic diagram illustrating the jump between the first page, the second page, and the third page according to the first aspect of Embodiment 1 of this disclosure; Figure 5 This is a schematic diagram of multiple live streaming scenarios based on the same live streaming template according to the first aspect of Embodiment 1 of this disclosure; Figure 6 This is a flowchart illustrating the method for packaging live streaming scenarios according to the second aspect of Embodiment 1 of this disclosure. Detailed Implementation
[0012] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this disclosure.
[0013] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0014] Example 1
[0015] According to this embodiment, a method embodiment for sharing and packaging live streaming scenarios across devices is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0016] The method embodiments provided in this example can be executed on mobile terminals, computer terminals, servers, or similar computing devices. Figure 1A hardware block diagram of a computing device is shown, illustrating a method for sharing live streaming scenarios across devices and a method for packaging live streaming scenarios. Figure 1 As shown, a computing device may include one or more processors (processors may include, but are not limited to, microprocessors such as MCUs or programmable logic devices such as FPGAs), a memory for storing data, a transmission device for communication functions, and an input / output interface. The memory, transmission device, and input / output interface are connected to the processor via a bus. In addition, it may also include a display, keyboard, and cursor control device connected to the input / output interface. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, a computing device may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0017] It should be noted that the aforementioned one or more processors and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element in a computing device. As involved in the embodiments of this disclosure, the data processing circuits serve as processor control (e.g., selection of a variable resistor termination path connected to an interface).
[0018] 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 live streaming template configuration and live video generation method in the embodiments of this disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-mentioned application's live streaming template configuration and live video generation method. The memory may include high-speed random access memory, and may also include 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 memory remotely located relative to the processor, and these remote memories can be connected to the computing device via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0019] The transmission device is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the computing device's communication provider. In one example, the transmission device includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0020] The display can be, for example, a touchscreen liquid crystal display (LCD), which allows users to interact with the user interface of the computing device.
[0021] It should be noted here that, in some optional embodiments, the above... Figure 1 The computing device shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a specific particular instance, and is intended to illustrate the types of components that may exist in the aforementioned computing devices.
[0022] Figure 2 A schematic diagram of the structure of a cross-device sharing system for live streaming scenarios is shown.
[0023] Figure 2 The first terminal in this system is the terminal where the user builds the live streaming scenario, and the second terminal is the terminal where the user needs to use the live streaming scenario built in the first terminal (for example, the user needs to directly use the corresponding live streaming scenario for live streaming). The user can build a live streaming scenario through the first app on the first terminal, and then restore the live streaming scenario built through the first app when they need to live stream through the second app on the second terminal. The first app can be an application specifically designed for building live streaming scenarios, and the second app can be an application that the user directly uses for live streaming.
[0024] Based on the above application scenarios, the first terminal can use the parametric editing module 210 to determine the attribute description information and corresponding material files of each scene element in the user-constructed live scene according to the user's scene packaging operation, and generate a scene description file based on the attribute description information. Then, the first terminal uses the live scene package generation module 220 to package the material files and scene description file to generate a corresponding portable file package.
[0025] The attribute description information contained in the aforementioned portable file package stores the scene elements in a structured manner, enabling devices other than the first terminal to restore the live streaming scene. Therefore, the second terminal can use the parsing module 230 to restore the user-constructed live streaming scene based on the portable file package. The restored live streaming scene is then used by the user for live streaming. The portable file package can be sent from the first terminal to the second terminal, or copied by the user from the first terminal to the second terminal.
[0026] Under the above operating environment, according to the first aspect of this embodiment, a method for sharing live streaming scenarios across devices is provided. Figure 3 A flowchart illustrating the method is shown below. (Refer to...) Figure 3 As shown, the method includes: S302: The first terminal determines the attribute description information of each scene element in the live broadcast scene constructed by the user and the corresponding material files based on the user's scene packaging operation; S304: The first terminal generates a scene description file based on the attribute description information; S306: The first terminal packages the source files and scene description files to generate a corresponding portable file package; and S308: The second terminal restores the live streaming scene built by the user based on the portable file package. The restored live streaming scene is used by the user to conduct live streaming through the second terminal based on the corresponding live streaming scene.
[0027] The purpose of the method for sharing live streaming scenes across devices provided in this application is not only to manage static materials such as backgrounds, images, and subtitles, but more importantly, to uniformly model and store real-time video camera configuration information, complex special effects (such as background removal and beautification), layer hierarchy relationships, and director parameters, and to form a portable package file, so that users can directly import and completely restore live streaming scenes with consistent functions on different devices or applications.
[0028] First, the first terminal determines the attribute description information of each scene element in the user-constructed live streaming scene and the corresponding material files based on the user's scene packaging operation (S302). Scene elements include, but are not limited to, background, camera position, subtitles, stickers, GIF animations, PPT, background audio, background cutout effects, beauty filters, and borders. Camera positions can include both real-time video cameras and local cameras.
[0029] The first terminal can determine the attribute description information and corresponding material text of each scene element in the user-constructed live streaming scene. Determining the attribute description information of each scene element involves treating each scene element as an object and recording its various attributes in an object-oriented manner, thereby generating the attribute description information corresponding to that scene element. In other words, for each scene element, its attribute description information is generated in a structured way, and this attribute description information is used to record and store the various attributes of the scene element in the form of structured data.
[0030] The following are examples of attributes involved in the attribute description information contained in several scene elements.
[0031] For real-time video cameras, their attributes include: stream address (such as RTMP / RTSP), encoding parameters, and network reconnection mechanism; for local cameras, their attributes include configuration parameters such as digital zoom, white balance, and focus mode.
[0032] For special effects elements (green / blue screen keying, beauty filters, and image blending modes): The attributes for green / blue screen keying include: keying threshold, edge smoothness, denoising parameters, and color bleeding suppression intensity; The attributes of beauty filters include parameters such as beauty intensity, skin smoothing, whitening, face slimming, lipstick, filter, body shaping, and style makeup; The properties of image blending modes include: such as Multiply, Screen, etc.
[0033] For layout and interaction, the attributes include: position, size, rotation angle, transparency, and layer hierarchy. Layer hierarchy is used to precisely manage the stacking order of scene elements such as scrolling text (top layer), texture animation, camera position, PPT, background (bottom layer).
[0034] The layer hierarchy mentioned above is the rendering order information contained in the scene description file, which will be discussed later. This rendering order information serves to restore the rendering order of each scene element in the live scene, ensuring that the restored live scene is identical to the live scene created by the user.
[0035] For director control, the attributes include: director mode (manual / automatic), slide turning method in the scene (manual / automatic turning, turning speed), playback method of audio and video list (sequential, random, single loop), and scene switching method (fade, rotation, zoom out, etc.).
[0036] The above example illustrates the attributes of various scene elements. Therefore, generating attribute description information for each scene element allows the various attributes of the corresponding scene element to be stored in the form of structured data.
[0037] The first terminal generates a scene description file based on the attribute description information (S304).
[0038] Then, the first terminal stores the attribute description information corresponding to each scene element and the corresponding object in a unified scene description file, which can be in JSON or XML format, for example.
[0039] The first terminal packages the material files and scene description files to generate a corresponding portable file package (S306).
[0040] The first terminal can bind the source files and scene description files and package them into a portable file package. The portable file package can be, for example, a ZIP file or another custom format file. Binding the source files and scene description files here refers to recording the correspondence between the source files and the attribute description information of each scene element in the scene description file.
[0041] The second terminal restores the live streaming scene built by the user based on the portable file package. The restored live streaming scene is used by the user to conduct live streaming based on the corresponding live streaming scene through the second terminal (S308).
[0042] After the packaging operation for the live streaming scenario is performed in steps S302 to S306 on the first terminal, the first terminal stores the corresponding portable file package. When the user needs to use the live streaming scenario on the second terminal, the user can operate the first terminal to send the portable file package to the second terminal, or the user can copy the corresponding portable file package to the second terminal himself.
[0043] Then, the second terminal can unpack the portable file package to obtain the scene description file and the material files bound to the scene description file, and parse the scene description file to restore the live scene.
[0044] Specifically, upon receiving the portable file package on the second terminal, it unpacks and parses it to obtain the scene description file and its associated media files. Based on the scene description file, the second terminal can accurately reconstruct the position, size, layer, effects parameters, and directing logic of each scene element and load the corresponding media files. To adapt to target devices (second terminals) with varying performance, a performance-adaptive strategy can be adopted, such as automatically generating multi-resolution media copies during packaging to ensure smooth rendering. Ultimately, through the method provided in this embodiment, a complete live streaming scene highly consistent with the one constructed by the user on the first terminal can be rendered on the second terminal, allowing the user to continue live streaming according to the corresponding scene.
[0045] As mentioned in the background technology section, with the popularization of mobile live streaming, users often need to reuse live streaming scenes across different devices. A complete live streaming scene includes not only background images, camera layout, subtitles, stickers, GIF animations, background removal effects, and border styles, but also dynamic real-time video camera configuration information, images with green screen keying, beauty filters, and other special effects, as well as layouts and director control logic involving multiple layers. Most existing live streaming software can only complete the configuration and use of scenes on a single device, lacking a mechanism to package the entire scene and efficiently copy and share it between different devices or users. This results in users needing to rebuild the scene when changing devices, which is cumbersome and inefficient.
[0046] In view of this, in this embodiment, the first terminal determines the attribute description information of each scene element in the user-constructed live streaming scene and the corresponding material files, and generates a scene description query based on the attribute description information. Then, the material files and scene description files are bound and packaged to generate a corresponding portable file package. The second terminal can restore the live streaming scene initially constructed by the user based on the first terminal according to the corresponding portable file package. The user can then conduct live streaming by operating the second terminal based on the restored live streaming scene. Thus, this embodiment can achieve complete encapsulation and one-click migration of live streaming scenes, avoiding the need for users to repeatedly build scenes on different devices.
[0047] Optionally, the operation of determining the attribute description information of each scene element in the user-constructed live streaming scene includes: determining each scene element contained in the live streaming scene, where scene elements include at least one of the following: background, camera position, subtitles, textures, layout and interaction, and special effects elements; and generating attribute description information for the corresponding scene element according to the preset object storage format for each scene element.
[0048] Specifically, the first terminal can generate attribute description information for each scene element based on a pre-defined object storage format. Examples of attributes for various scene elements have been given above. According to the attributes of each scene element, an object storage format corresponding to that scene element can be pre-defined. This object storage format can be understood as a structured data storage format, treating each scene element as an object, and using the corresponding object storage format to represent each attribute contained in that scene element. Therefore, based on the object storage format of the corresponding scene element, attribute description information corresponding to that scene element can be generated.
[0049] Optionally, the attribute description information includes rendering order information corresponding to each scene element. The rendering order information is used to indicate the stacking order of objects of each scene element during rendering.
[0050] The attribute description information of the layout and interaction scene elements mentioned above includes layer hierarchy relationships. Layer hierarchy relationships can be understood as the rendering order information corresponding to each scene element mentioned in this embodiment. This rendering order information indicates the stacking order of different scene elements during rendering. For example, a live streaming scene may include a background, a real-time video camera position, scrolling text, and an animated image. The rendering order information shows that the background is on the bottom layer, the real-time video camera position is on the layer above the background layer, and the scrolling text and animated image are on the top layer.
[0051] Optionally, the operation of packaging the source files and scene description files to generate a corresponding portable file package includes: generating a digital signature corresponding to the source files and scene description files; and encrypting and packaging the digital signature, source files, and scene description files according to a preset key to generate a corresponding portable file package.
[0052] Specifically, in this embodiment, the process of packaging the source files and scene description files supports encryption and digital signatures, thereby ensuring copyright and transmission security. Specifically, digital signatures corresponding to the source files and scene description files can be generated, and based on a user-preset key, the digital signatures, source files, and scene description files are encrypted and packaged to generate a corresponding portable file package.
[0053] When generating a digital signature, the source file and scene description file can be treated as a whole and generated using the user's private key. Alternatively, only one of the source file or scene description file can be used to generate the corresponding digital signature. There are no restrictions on the specific method of generating digital signatures.
[0054] Optionally, the attribute description information may include at least: scene element type.
[0055] It should be noted that the attribute description information of each scene element may include the scene element type of the corresponding scene element.
[0056] The following example uses a user-created real-world live streaming scenario to illustrate the process of constructing and restoring the live streaming scenario in this embodiment.
[0057] refer to Figure 2As shown, users can construct a live streaming scene using the first app. Specifically, they can: set the background to an image (1920×1080), add two video sources (e.g., one from a local camera and one from an RTMP network stream), position them in the top left and bottom right corners respectively, insert a subtitle bar and set its font and color, overlay a GIF animation in the center, and apply green screen keying, border decoration, and beauty effects to the camera feed. Specific layer stacking orders and blending modes are also set for all elements. Furthermore, users can configure automatic page turning for PPT elements and gradient effects for scene transitions.
[0058] First, the first terminal can record and manage each scene element (such as background, real-time video camera position, subtitles, PPT, etc.) in the live broadcast scene as an independent object in memory.
[0059] Next, the system generates a unique attribute description for each object. These attribute descriptions constitute a complete digital profile for the element, for example: For real-time video camera objects, their attribute descriptions include: RTMP stream address, matting threshold, beautification intensity, etc.
[0060] For a subtitle object, its attributes include: font style, scrolling speed, and position and hierarchy information on the canvas.
[0061] For PPT objects, the attribute descriptions include: page turning speed, scene transition effects, etc.
[0062] Then, the first terminal serializes and stores the attribute description information of all objects (all scene elements) into a structured scene description file (e.g., scene.json). This scene description file not only contains the detailed attributes of each of the above objects, but also includes a crucial zOrderList field (i.e., rendering order information). This field is an ordered array that precisely defines the stacking order of all element objects during rendering.
[0063] Finally, the first terminal binds this scene description file (scene.json) with all related static material files (such as background images, GIF animations, font files, etc.), and compresses and packages them to generate a single, portable scene.pkg package file, which serves as the portable file package mentioned above.
[0064] After copying this scene.pkg package file to a second terminal (such as another mobile phone), the user can directly import it into the second app. The second terminal can then unpack and parse the scene description file and load the media to fully reconstruct the live scene, including the real-time video stream, all special effects, and broadcast logic.
[0065] Furthermore, the method of packaging for live streaming scenarios provided in this embodiment, that is, generating a portable file package corresponding to the live streaming scenario, can be used to create live streaming templates in a live streaming template library associated with a preset application (such as the first APP).
[0066] Optionally, it also includes: The system identifies multiple portable file packages for related live streaming scenarios; the first terminal uploads these packages to the server; based on these packages, the server generates a live streaming template from a pre-defined application's live streaming template library. Each live streaming template includes multiple related live streaming scenarios. And it also includes: Based on the user's template selection operation on the first page of the preset application, the target template selected by the user from the live streaming template library associated with the application is determined. Based on the target template, the user is redirected to the second page of the application, and based on the user's scene selection operation on the second page, the target scene selected by the user from various live streaming scenes of the target template is determined. The same live streaming template includes multiple different live streaming scenes, and the live streaming screen of the corresponding live streaming scene has a preset camera layout and screen format, including landscape or portrait screen formats. Based on the target scene selected by the user, the user is redirected to the third page of the application. The third page is used to display the live streaming screen effect based on the target scene selected by the user, and to configure the live streaming screen of the target scene.
[0067] Specifically, each live streaming template in the live streaming template library of this embodiment can have multiple associated live streaming scenes. The multiple associated live streaming scenes of the same live streaming template have the same visual style, but the specific visual layout of the live streaming scenes may be different.
[0068] Users can create multiple associated live streaming scenarios. A first terminal then generates portable file packages for these scenarios. The first terminal uploads these portable file packages to a server. Based on these portable file packages, the server generates live streaming templates from a pre-defined application's live streaming template library. In other words, the portable file packages can serve as resource packages for live streaming templates in the library. Users can then download the portable file package for the corresponding live streaming template from any terminal and use multiple live streaming scenarios within that template.
[0069] Figure 4 The jump relationship between each page (first page, second page, and third page) in the above method is shown.
[0070] First, the preset terminal determines the target template selected by the user from the live streaming template library associated with the application, based on the template selection operation on the first page of the preset application. The preset terminal mentioned here refers to the terminal on which the user selects a live streaming template through the live streaming template library. This preset terminal can be the first terminal, the second terminal mentioned above, or other terminals. The preset terminal has the aforementioned preset application installed.
[0071] Specifically, users can select a template on the first page of a preset application. This preset application refers to an application that provides a live streaming template library and configures the live streaming templates; for example, it could be the First App. (Reference) Figure 4 The first page displays all the live streaming templates in the template library. It shows thumbnails of each template, along with their title, tags, and other information. Users can also search for templates using the search bar and filter them using tags.
[0072] After a user clicks on the thumbnail of any live streaming template on the first page, the preset terminal can determine the corresponding live streaming template selected by the user as the target template based on the user's template selection operation. Then, the preset terminal can jump to the second page corresponding to the target template.
[0073] That is, the preset terminal can jump to the second page of the application according to the target template, and determine the target live scene selected by the user from the various live scenes of the target template based on the user's live scene selection operation on the second page.
[0074] In this embodiment, a live streaming template can include multiple different live streaming scenes. Multiple live streaming scenes within the same template may share the same visual style, but their camera layouts, screen layouts, and aspect ratios may differ. Each live streaming scene within a template corresponds to a preset camera layout, screen layout, aspect ratio, and layer hierarchy. For example, the first live streaming scene of a template might be a single camera angle for the broadcaster, the second might be a single camera angle for the product, and the third might be a combination of a broadcaster's camera angle and a product's camera angle. Figure 5 This diagram illustrates multiple live streaming scenarios under the same live streaming template. The same live streaming template can include sub-scenes in landscape and portrait orientations.
[0075] refer to Figure 4 As shown on the second page, after the user selects the target template based on the first page, the application can jump to the second page, which will display multiple live streaming scenarios of the target template. The user can select any number of live streaming scenarios on the second page. After the user has made their selections, the application interface can jump to the third page.
[0076] That is, the preset terminal jumps to the third page of the application based on the target live streaming scene selected by the user. The third page is used to display the live streaming effect based on the target live streaming scene selected by the user, and to configure the live streaming scene of the target live streaming scene.
[0077] refer to Figure 4 As shown, after a user selects one or more live streaming scenarios on the second page and clicks the "Complete" button, the default terminal can be redirected to the application's third page. On this third page, the user can configure and preview multiple live streaming scenarios of the selected live streaming template.
[0078] After completing the configuration, users can use the configured live streaming template to start a live stream. Users can select any live streaming scene from the configured live streaming template to start the live stream, and can switch live streaming scenes during the live stream.
[0079] The first page is used to display various templates in the live streaming template library. The first page includes a tab bar, which is used to display various types of tags. Before determining the target template selected by the user from the live streaming template library associated with the application, the first page also includes: filtering the live streaming templates in the live streaming template library according to the tags selected by the user in the tab bar of the first page, and displaying the filtered live streaming templates on the first page.
[0080] Specifically, the first page displaying live streaming templates in the template library can include a tab bar, which displays various types of tags. The default terminal can use the application to filter templates in the live streaming template library based on the tags selected by the user in the tab bar on the first page, and then display the filtered templates on the first page.
[0081] The various types of tags can include: industry tags, style tags, color tags, screen layout tags corresponding to screen layouts, and holiday tags. Style tags can include: traditional Chinese style, technology, minimalist, business, fresh, retro, etc. Color tags can include: red, blue, black, purple, etc. Screen layout tags can include portrait and landscape layouts. Holiday tags can include: New Year's Day, Spring Festival, Lantern Festival, etc. Industry tags include: daily necessities, beauty and skincare, food and fresh produce, clothing and shoes, jewelry, fitness, etc.
[0082] The tag bar also includes primary category tags, which include: All, E-commerce Sales, Education & Training, Culture & Arts, Local Life, Podcasts & Interviews, Festivals & Solar Terms, and General Creative. Users can quickly filter templates for the corresponding industry by clicking on any of the primary category tags.
[0083] The primary category tags can be understood as the tags prominently displayed on the first page, used by users to quickly filter various live stream templates. In addition to the primary category tags, the tag bar on the first page also includes the aforementioned industry tags, style tags, color tags, holiday tags, etc. Users can combine multiple tags for filtering; that is, users can select multiple tags simultaneously, and the default terminal can filter live stream templates that match all of the user's selected tags and display them on the first page.
[0084] In addition, continue to refer to Figure 4 As shown, the area displaying the thumbnail corresponding to any live streaming template can be called a template card. The template card displays the thumbnail (i.e., template cover image) corresponding to the live streaming template, the template name, the layout tag, and other tags except for the layout tag. By clicking the template card, users can enter the template preview page (the second and third pages can both be regarded as template preview pages).
[0085] The live stream screen for the corresponding live streaming scene includes a pre-set background layer, decorative patch layer, text placeholder layer, camera mask layer, and border layer. It also includes: determining the text entered by the user based on the user's text editing operation for the target live streaming scene on the third page; and adjusting the text in the text placeholder layer of the target live streaming scene to the text entered by the user in the preview screen corresponding to the target live streaming scene on the third page.
[0086] Specifically, users can edit a live streaming scene within the target template on the second page. This live streaming scene includes a text placeholder layer and a decorative tile layer. Users can edit the text in the text placeholder layer, defining its content; however, modifications to the font, size, color, and position are not supported.
[0087] Users can click on the text placeholder layer to edit the text within it.
[0088] For example, after the application navigates to the third page, it displays a preview of one of the target live streaming scenarios selected by the user for the target template. Then, the user edits a text placeholder layer within this target live streaming scenario. Once the default terminal confirms the user's text editing operation for that target live streaming scenario, it can determine the user's input text and adjust the text in the corresponding text placeholder layer of the target live streaming scenario in the preview on the third page to match the user's input text. Furthermore, the user can scale and modify the size of various layers, including the text placeholder layer.
[0089] Specifically, whether the user has configured the target live streaming scene or not, the user can preview the live streaming effect of the target live streaming scene. A preview button is provided on the third page. After the user clicks the preview button, the default terminal can detect the user's preview operation and generate a preview video based on the current configuration of the target live streaming scene (i.e., the configuration of various layers such as text placeholder layers in the current target live streaming scene), which is then displayed on the third page. The preview video is used to demonstrate the complete effect of live streaming through the corresponding target live streaming scene.
[0090] Based on the above-described method for configuring live streaming templates, users can use the corresponding live streaming templates to conduct live streaming. After previewing (or configuring) at least one target live streaming scenario of the target live streaming template through the third page, users can use the corresponding target live streaming template to conduct live streaming.
[0091] According to a second aspect of this embodiment, a method for packaging live streaming scenarios is provided. Figure 6 A flowchart illustrating the method is shown below. (Refer to...) Figure 6 As shown, the method includes: S602: Based on the user's scene packaging operation, determine the attribute description information of each scene element in the live streaming scene constructed by the user and the corresponding material files; S604: Generate a scene description file based on the attribute description information; S606: Package the source files and scene description files to generate a corresponding portable file package.
[0092] Specifically, the first terminal can package the user-constructed live streaming scenario to generate a corresponding portable file package. This portable file package is not limited to users restoring the live streaming scenario on other terminals; it can also be used for various other scenarios.
[0093] For example, the method of restoring a live streaming scene in this embodiment can also be used by users to create live streaming scenes in the past through the terminal. The terminal packages the corresponding live streaming scene to generate a portable file package. The portable file package can be used by the terminal to restore the live streaming scene when the user needs to use the live streaming scene again in the future.
[0094] For example, if a user generates a portable file package corresponding to a live streaming scenario through a terminal, the user can upload the corresponding portable file package to the mini-program, and the user and other users can use the live streaming scenario of the portable file package in the mini-program.
[0095] In addition, refer to Figure 1As shown, according to a third aspect of this embodiment, a storage medium is provided. The storage medium includes a stored program, wherein, during program execution, a processor executes any of the methods described above.
[0096] Thus, according to this embodiment, the complete encapsulation and one-click migration of live streaming scenes are achieved, avoiding users from repeatedly building scenes on different devices; the scene restoration is highly accurate, and the materials and parameters are completely saved, covering not only static elements, but also fully preserving real-time video stream links, complex special effects parameters, layer relationships and directing logic; it supports cross-platform and cross-user dissemination, facilitating team collaboration or commercial template distribution; the packaged files can be encrypted or signed to ensure copyright and security.
[0097] Furthermore, users can freely choose any live streaming template from the template library and any live streaming scene within that template, and configure both the template and its scenes. While different live streaming scenes of a single template share the same style, they can differ in screen layout, camera angles, image composition, and layer hierarchy. This allows users to directly utilize multiple live streaming scenes from a template for live streaming. In this embodiment, users only need to make minor configurations to the live streaming template (or its scenes), such as editing the text in the placeholder layer, adjusting its size, or adjusting the size of decorative tile layers. Therefore, setting up the live streaming screen requires very little time before starting a broadcast. This embodiment achieves zero-barrier-to-entry for users: no design or layout required, beginners can use it directly; efficient broadcasting: select a template, modify the text, and apply with one click to start broadcasting; and horizontal / vertical screen adaptation: one template automatically supports both horizontal and vertical screen live streaming. Furthermore, in this embodiment, various live streaming templates are categorized using multiple tags. Users can quickly find the live streaming template they need by filtering through tag combinations. Thus, this embodiment can achieve precise industry matching: categorized by track, with styles that fit various industries.
[0098] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0099] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0100] Example 2
[0101] Figure 2 A live streaming scene cross-device sharing system according to a first aspect of this embodiment is illustrated, which corresponds to the method according to a first aspect of embodiment 1. (See reference...) Figure 2 As shown, the device includes: a parametric editing module 210, used to determine the attribute description information of each scene element in the user-constructed live scene and the corresponding material files according to the user's scene packaging operation, and to generate a scene description file according to the attribute description information; a live scene package generation module 220, used to package the material files and the scene description file to generate a corresponding portable file package; and a parsing module 230, used to restore the user-constructed live scene according to the portable file package, and the restored live scene is used by the user to conduct live streaming through the corresponding live scene.
[0102] Optionally, the parametric editing module 210 is used to determine the scene elements contained in the live streaming scene, including at least one of the following: background, camera position, subtitles, textures, layout and interaction, and special effects elements; and to generate attribute description information of the corresponding scene elements according to the preset object storage format for each scene element.
[0103] Optionally, the attribute description information includes rendering order information corresponding to each scene element. The rendering order information is used to indicate the stacking order of objects of each scene element during rendering.
[0104] Optionally, the live streaming scene package generation module 220 is used to generate digital signatures corresponding to the material files and scene description files; and to encrypt and package the digital signatures, material files and scene description files according to the preset key to generate the corresponding portable file package.
[0105] Optionally, the attribute description information may include at least: scene element type.
[0106] Optionally, the live streaming scene package generation module 220 is also used for: A first terminal identifies multiple portable file packages for related live streaming scenarios; the first terminal uploads these packages to the server, so that the server generates a live streaming template from a preset application-associated live streaming template library based on these packages. The live streaming template includes multiple related live streaming scenarios, and among them... The system also includes a live streaming template library module 240, which is used to determine the target template selected by the user from the live streaming template library associated with the application based on the template selection operation of the user on the first page of the preset application; based on the target template, it jumps to the second page of the application, and determines the target scene selected by the user from each live streaming scene of the target template based on the scene selection operation of the user on the second page. The same live streaming template includes multiple different live streaming scenes, and the live streaming screen of the corresponding live streaming scene has a preset camera layout and screen format, including a landscape format or a portrait format; and based on the target scene selected by the user, it jumps to the third page of the application, which is used to display the live streaming screen effect based on the target scene selected by the user, and to configure the live streaming screen of the target scene.
[0107] Thus, according to this embodiment, the complete encapsulation and one-click migration of live streaming scenes are achieved, avoiding users from repeatedly building scenes on different devices; the scene restoration is highly accurate, and the materials and parameters are completely saved, covering not only static elements, but also fully preserving real-time video stream links, complex special effects parameters, layer relationships and directing logic; it supports cross-platform and cross-user dissemination, facilitating team collaboration or commercial template distribution; the packaged files can be encrypted or signed to ensure copyright and security.
[0108] Furthermore, users can freely choose any live streaming template from the template library and any live streaming scene within that template, and configure both the template and its scenes. While different live streaming scenes of a single template share the same style, they can differ in screen layout, camera angles, image composition, and layer hierarchy. This allows users to directly utilize multiple live streaming scenes from a template for live streaming. In this embodiment, users only need to make minor configurations to the live streaming template (or its scenes), such as editing the text in the placeholder layer, adjusting its size, or adjusting the size of decorative tile layers. Therefore, setting up the live streaming screen requires very little time before starting a broadcast. This embodiment achieves zero-barrier-to-entry for users: no design or layout required, beginners can use it directly; efficient broadcasting: select a template, modify the text, and apply with one click to start broadcasting; and horizontal / vertical screen adaptation: one template automatically supports both horizontal and vertical screen live streaming. Furthermore, in this embodiment, various live streaming templates are categorized using multiple tags. Users can quickly find the live streaming template they need by filtering through tag combinations. Thus, this embodiment can achieve precise industry matching: categorized by track, with styles that fit various industries.
[0109] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0110] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0111] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0114] If the integrated unit is implemented as 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0115] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for live scene cross-device sharing, characterized in that, include: The first terminal determines the attribute description information of each scene element in the live streaming scene constructed by the user and the corresponding material files based on the user's scene packaging operation; The first terminal generates a scene description file based on the attribute description information; The first terminal packages the material file and the scene description file together to generate a corresponding portable file package; as well as The second terminal restores the live streaming scene constructed by the user based on the portable file package. The restored live streaming scene is used by the user to conduct live streaming through the second terminal based on the corresponding live streaming scene.
2. The method of claim 1, wherein, The operations for determining the attribute description information of each scene element in the user-constructed live streaming scene include: The scene elements included in the live streaming scene are determined, and the scene elements include at least one of the following: background, camera position, subtitles, textures, layout and interaction, and special effects elements; Based on the preset object storage format for each scene element, generate attribute description information corresponding to the corresponding scene element.
3. The method of claim 1, wherein, The attribute description information includes rendering order information corresponding to each scene element, which is used to indicate the stacking order of objects of each scene element during rendering.
4. The method according to claim 1, characterized in that, The operation of packaging the material files and the scene description files to generate a corresponding portable file package includes: Generate digital signatures corresponding to the material files and the scene description files; Based on a preset key, the digital signature, the material file, and the scene description file are encrypted and packaged to generate a corresponding portable file package.
5. The method according to claim 1, characterized in that, The attribute description information includes at least: scene element type.
6. The method according to claim 1, characterized in that, Also includes: Identify portable file packages for multiple related live streaming scenarios; The first terminal uploads the portable file package of the multiple associated live streaming scenarios to the server; The server generates a live streaming template from a preset application-associated live streaming template library based on the portable file packages of the multiple associated live streaming scenarios. The live streaming template includes the multiple associated live streaming scenarios, and further includes: Based on the user's template selection operation on the first page of the preset application, determine the target template selected by the user from the live streaming template library associated with the application; Based on the target template, the user is redirected to the second page of the application. Based on the user's scene selection operation on the second page, the target scene selected by the user from various live streaming scenes within the target template is determined. The same live streaming template includes multiple different live streaming scenes, and the live streaming screen of each scene corresponds to a preset camera layout and screen format. The screen format includes a landscape layout or a portrait layout. Based on the target scene selected by the user, the user is redirected to the third page of the application. The third page is used to display the live broadcast effect based on the target scene selected by the user, and to configure the live broadcast of the target scene.
7. A method for packaging live streaming scenarios, characterized in that, include: Based on the user's scenario packaging operation, determine the attribute description information of each scene element in the live streaming scene constructed by the user and the corresponding material files; Based on the attribute description information, a scene description file is generated; The source files and the scene description files are packaged together to generate a corresponding portable file package.
8. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, the method described in any one of claims 1 to 6 or 7 is performed by a processor.
9. A cross-device sharing system for live streaming scenarios, characterized in that, include: The parameterized editing module is used to determine the attribute description information of each scene element in the live streaming scene constructed by the user and the corresponding material files according to the user's scene packaging operation, and to generate a scene description file according to the attribute description information. The live streaming scene package generation module is used to package the material files and the scene description files to generate a corresponding portable file package; The parsing module is used to restore the live streaming scene constructed by the user based on the portable file package, and the restored live streaming scene is used by the user to conduct live streaming through the corresponding live streaming scene.
10. The system according to claim 9, characterized in that, The parameterized editing module is used to determine the scene elements contained in the live broadcast scene, which include at least one of the following: background, camera position, subtitles, and textures; and to generate attribute description information for the corresponding scene elements according to the preset object storage format for each scene element.
