Special effect production method and system, device and storage medium
Through the special effects cloud platform and special effects editing engine, AR special effects editing on the web side is realized, solving the problems of complex and costly special effects production tools in the existing technology, and improving production convenience and user experience.
Patent Information
- Application Number
- PCT/CN2024/111904
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-15
- Filing Date
- 2024-08-13
- Publication Date
- 2025-02-20
AI Technical Summary
The existing AR special effects production tools require the installation of clients, which are complex to use, increase production costs and are difficult to popularize.
Provide a special effect production method, through the special effect cloud platform and the special effect editing engine, realize the special effect editing on the web side, and avoid installing complex clients.
The special effects production process is simplified, the cost of use is reduced, and the convenience and user experience of special effects production are improved.
Smart Images

Figure CN2024111904_20022025_PF_FP_ABST
Abstract
Description
A special effects production method, system, device and storage medium
[0001] This application claims priority to the Chinese invention patent application entitled “A special effects production method, system, device and storage medium” and application number 202311029855.2 filed on August 15, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the technical field of special effects production, and in particular to a special effects production method, system, device, and storage medium. Background Art
[0003] With the development of network technology, augmented reality (AR) technology is increasingly being applied in various fields, such as live broadcasts, short videos, and games. AR technology often uses AR special effects props to display AR content. For example, AR special effects props can enhance the visual effects of live broadcasts or short videos.
[0004] Generally, AR special effects props are often created using special effects creation tools. Currently, the most commonly used special effects creation tools are mainly desktop applications that require the installation of a special effects creation tool client. These special effects creation tools are relatively complex to install and use, requiring certain design skills, as well as investment in learning and usage costs.
[0005] The above-mentioned method of using a special effects production tool client to realize AR special effects production is not conducive to the popularization of AR special effects, and also increases the investment in AR special effects production costs.
[0006] Summary of the Invention
[0007] The present disclosure provides a special effects production method, system, device and storage medium, and adds a special effects editing engine. The special effects editing engine provides users with a visual special effects editing web page, so that special effects producers can produce special effects based on the Web and avoid installing complex special effects production tool clients.
[0008] In a first aspect, an embodiment of the present disclosure provides a special effect production method, the method comprising: responding to a trigger of a displayed special effect production link through a special effect cloud platform in a special effect production system, running a special effect editing engine in the special effect production system; presenting a special effect editing webpage after running through the special effect editing engine, and responding to a special effect production operation generated on the special effect editing webpage, presenting special effect production content corresponding to the special effect production operation on an editing area of the special effect editing webpage; responding to a trigger of a real-time preview control on the special effect editing webpage, calling a special effect production file of the special effect production content through the special effect editing engine, and displaying a first special effect content formed after rendering the special effect production file on a preview window containing a real-time picture frame, the preview window being presented in the special effect editing webpage, and the real-time picture frame being captured by an image capture device.
[0009] In a second aspect, an embodiment of the present disclosure further provides a special effects production system, which is used to execute the method described in the embodiment of the first aspect, and the system includes: a special effects cloud platform, a special effects editing engine, and a special effects runtime engine; the special effects cloud platform is used to respond to the triggering of the displayed special effects production link and run the special effects editing engine in the special effects production system; the special effects editing engine is used to present a special effects editing webpage after running, and respond to the special effects production operation generated on the special effects editing webpage, and present the special effects production content corresponding to the special effects production operation on the editing area of the special effects editing webpage; the special effects editing engine is also used to respond to the triggering of the real-time preview control on the special effects editing webpage, call the special effects production file of the special effects production content, and display the first special effects content formed after rendering the special effects production file on a real-time preview window containing a real-time picture frame, the real-time preview window is presented in the special effects editing webpage, and the real-time picture frame is captured by an image capture device.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the special effects production method provided in the first aspect of the embodiment of the present disclosure.
[0011] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to implement the special effects production method provided in the first aspect of the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0013] FIG1 is a schematic diagram of a flow chart of a special effect production method provided by an embodiment of the present disclosure;
[0014] FIG2 is an example diagram of the effects of a special effects editing webpage during the execution of a special effects production method provided by an embodiment of the present disclosure;
[0015] FIG3 is an example diagram of the effect of triggering a preview running control during the execution of a special effect production method provided by an embodiment of the present disclosure;
[0016] FIG4 is a schematic structural diagram of a special effects production system provided by an embodiment of the present disclosure;
[0017] FIG5 is a schematic diagram of the structure of a special effects editing engine in a special effects production system provided by an embodiment of the present disclosure;
[0018] FIG6 is a schematic structural diagram of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure;
[0019] FIG7 is an example diagram of interaction of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure;
[0020] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0022] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0023] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0024] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0025] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0026] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0027] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0028] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0029] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0030] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0031] It is known that with the development of network technology, augmented reality (AR) technology is increasingly being used in various fields, such as live broadcasts, short videos, games, and other fields. AR technology often displays AR content in the form of AR special effects props. For example, the AR special effects props provided can enhance the visual effects in the live broadcast interface or short video interface. AR technology has very broad application prospects, but the cost of generating AR content is indeed high, which makes it difficult to roll out AR technology on a large scale. The reason for this high cost is that AR content production requires the use of relatively heavy game engines and 3D modeling software, and at the same time requires the use of artificial intelligence algorithm capabilities to achieve more realistic interactive effects. These all require very professional people to invest a lot of human resources to manually code and implement.
[0032] Generally, AR special effects props are often created using special effects creation tools. Currently, the most commonly used special effects creation tools are mainly desktop applications that require the installation of a special effects creation tool client. These special effects creation tools are relatively complex to install and use, requiring certain design skills, as well as investment in learning and usage costs.
[0033] The above-mentioned method of using a special effects production tool client to realize AR special effects production is not conducive to the popularization of AR special effects, and also increases the investment in AR special effects production costs.
[0034] Based on this, this embodiment provides a special effects production method, which can open an editor in the form of a web link to perform AR special effects production.
[0035] The disclosed embodiments provide a special effects production method, system, device and storage medium. According to the special effects production method, first, a special effects cloud platform in a special effects production system responds to a trigger of a displayed special effects production link and runs a special effects editing engine in the special effects production system; then, the special effects editing engine presents a special effects editing webpage after running, and responds to a special effects production operation generated on the special effects editing webpage and presents special effects production content corresponding to the special effects production operation on an editing area of the special effects editing webpage; finally, the special effects editing engine responds to a trigger of a real-time preview control on the special effects editing webpage, calls a special effects production file of the special effects production content, and displays a first special effects content formed after rendering the special effects production file on a preview window containing a real-time picture frame, the preview window being presented on the special effects editing webpage, and the real-time picture frame being captured by an image capture device. The above technical solution adds a special effects editing engine, which provides users with a visual special effects editing webpage. This allows special effects creators to create special effects on the web, eliminating the need to install complex special effects creation tool clients. This improves the convenience of video production and reduces usage costs. Furthermore, by calling and rendering the special effects creation files for the special effects creation content and displaying the corresponding rendering effects in the preview window, a preview of the created special effects content is possible, improving the user experience.
[0036] Specifically, Figure 1 is a flow chart of a special effects production method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where special effects are produced through the Web end. The method can be executed by a special effects production system, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented through an electronic device as an execution terminal, which can be a mobile terminal, PC end or server, etc.
[0037] As shown in FIG1 , a special effects production method provided by an embodiment of the present disclosure specifically includes the following operations:
[0038] S110 , responding to the triggering of the displayed special effects production link through the special effects cloud platform in the special effects production system, and running the special effects editing engine in the special effects production system.
[0039] In this embodiment, the special effects production system can be understood as a system provided to special effects producers for special effects production. The special effects production system includes a special effects cloud platform and a special effects editing engine. The web-based production tool of the special effects production method provided in this embodiment is executed based on the front-end webpage of the special effects cloud platform. The front-end webpage provided by the special effects cloud platform can display a special effects production link. When the special effects cloud platform of the special effects production system is running, the special effects cloud platform will display a front-end webpage at the visual level, which displays a special effects production link.
[0040] The special effects creation link can be understood as an address link used to activate the special effects creation tool on the web. When a special effects creator wishes to create special effects using the web-based special effects creation tool provided in this embodiment, they can trigger the special effects creation link. Triggering the special effects creation link enables the special effects editing engine to run. The special effects editing engine can be understood as a tool for creating special effects on the web. It can be considered that the special effects editing engine is triggered to run by activating the special effects creation link.
[0041] Different from the existing technology in which the Web side of the cloud platform does not support the development of special effects production, the special effects production method provided in this embodiment supports special effects producers to edit special effects production on the Web side. Its essence lies in the design of a special effects editing engine, which can trigger the operation of the special effects editing engine when triggered based on the special effects production link, providing underlying support for subsequent special effects production.
[0042] S120. After running, the special effect editing engine presents a special effect editing webpage, and responds to a special effect production operation generated on the special effect editing webpage, presenting special effect production content corresponding to the special effect production operation on an editing area of the special effect editing webpage.
[0043] In this embodiment, after triggering the special effects creation link, the special effects editing engine is run. After running the special effects editing engine, a new webpage can be presented at the visual level. This webpage is the special effects editing webpage, denoted as the special effects editing webpage in this embodiment. It is important to note that the underlying support for the special effects editing webpage is independent of the special effects cloud platform and has its own independent architecture. In this embodiment, the underlying architecture supporting the special effects editing function is denoted as the special effects editing engine.
[0044] The special effects editing webpage can include functional items or options related to special effects creation, as well as operable controls. The special effects editing webpage is able to provide editable items related to special effects creation because it is supported by the underlying special effects editing engine. The special effects editing engine can be understood as a tool that responds to the actual creation process, similar to the special effects editing webpage being the visual representation. When you operate on the special effects editing webpage, the special effects editing engine, as the underlying architecture, actually responds accordingly.
[0045] In this embodiment, all special effects creation operations are performed in this step. The specific special effects creation operation performed on the special effects editing webpage will be responded to in response to that specific special effects creation operation. In this embodiment, the content that responds to the special effects creation operation is recorded as special effects creation content. After responding to the special effects creation operation generated on the special effects editing webpage, the corresponding special effects creation content is presented in an area of the special effects editing webpage, recorded as the editing area. When triggered based on the special effects creation link, the special effects editing engine can be triggered to run, enabling the creation and editing of special effects through the interaction between the special effects editing engine and the special effects editing webpage above the special effects editing engine.
[0046] In this embodiment, there are no specific restrictions on special effects creation operations. Developers can develop special effects editing engines based on actual needs, so that the special effects editing engine can support the inclusion of various special effects creation function items on the special effects editing webpage, such as deformation options, texture options, function options, and model addition options. Special effects creators can perform corresponding special effects creation operations based on their own production needs. Regardless of the special effects creation operation performed by the special effects creator, the special effects creation content corresponding to the special effects creation operation will be presented in the editing area. At this point, the relevant steps of special effects creation can be considered completed.
[0047] S130. In response to triggering of the real-time preview control on the special effect editing webpage, the special effect editing engine calls the special effect production file of the special effect production content, and displays the first special effect content formed after rendering the special effect production file on a preview window containing a real-time picture frame. The preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by an image capture device.
[0048] After completing the special effects, you can also display the completed special effects. This step is used to preview the special effects. In this embodiment, a preview control is provided on the special effects editing webpage, which is denoted as a real-time preview control. By triggering the real-time preview control, you can preview and display the special effects.
[0049] The real-time preview control can be located in a preview window on the special effect editing webpage. When the real-time preview control is triggered, the special effect production file generated by the special effect production content can be called and rendered to form the special effect content, which is recorded as the first special effect content.
[0050] In this embodiment, it can be considered that the electronic device integrated with the special effects cloud platform includes an image capture device. For example, the image capture device can be a camera on the electronic device. It can be considered that when the special effects cloud platform is turned on, the image capture device on the electronic device integrated with the special effects cloud platform begins to run in real time, and the image capture device can capture the current picture in real time, which is recorded as a real-time picture frame in this embodiment. At this time, the effect that the special effects should be presented, that is, the first special effects content, can be presented on the real-time picture frame. For example, assuming that the real-time picture frame captured in real time is a person, and the first special effects content is a necklace special effect, when the first special effects content is displayed on the preview window containing the real-time picture frame, it will be displayed as a necklace special effect worn on the person.
[0051] In this embodiment, in addition to previewing special effects on dynamic, real-time frames, the preview window also allows you to import material (e.g., images) and render special effects on the imported material. This means you can preview the effects of real-time special effects content on real-time frames in real time, which is equivalent to activating an image acquisition device to capture real-time frames for special effects rendering. Special effects rendering can also be applied to statically imported material.
[0052] This embodiment provides a special effects production method. The method first responds to the triggering of a displayed special effects production link through a special effects cloud platform in a special effects production system and runs the special effects editing engine in the special effects production system. Then, the special effects editing engine presents a special effects editing webpage after running, and responds to the special effects production operation generated on the special effects editing webpage by presenting the special effects production content corresponding to the special effects production operation in the editing area of the special effects editing webpage. Finally, the special effects editing engine responds to the triggering of a real-time preview control on the special effects editing webpage, calls the special effects production file of the special effects production content, and displays the first special effects content formed after rendering the special effects production file in a preview window containing a real-time picture frame, the preview window being presented in the special effects editing webpage, and the real-time picture frame being captured by an image capture device. The above technical solution adds a special effects editing engine, which provides users with a visual special effects editing webpage through the special effects editing engine, so that special effects producers can produce special effects based on the Web, avoiding the installation of a complex special effects production tool client, improving the convenience of video production, and reducing the cost of use. And by calling and rendering the special effects production files of the special effects production content, the corresponding rendering effects are presented in the preview window, thereby realizing the preview of the special effects content of the produced special effects and improving the user experience.
[0053] The above embodiment describes the process of creating special effects. Considering that after creating the special effects, it is necessary to implement the function of applying the created special effects, based on the above embodiment, as a first optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0054] Through the special effects editing engine, in response to triggering the preview run control on the special effects editing webpage, a special effects preview link of the special effects production content is generated, and the special effects preview link is presented on the special effects editing webpage; wherein, the special effects preview link includes a cache address of a preview special effects package file on the special effects cloud platform, and the preview special effects package file is generated corresponding to the special effects production content.
[0055] In this embodiment, the special effects editing webpage also includes a preview and run control. This means that after editing and creating special effects content based on the special effects editing engine, triggering the preview and run control on the special effects editing webpage can deliver the created special effects content to an engine capable of applying the created special effects. One implementation involves using the engine that has created the special effects to obtain a preview special effects package file, run the preview special effects package file, and display the special effects in a window on the associated cloud platform.
[0056] Specifically, when the special effects creator triggers the preview run control on the special effects editing webpage, the special effects editing engine responds to the triggering of the preview run control and generates a special effects preview link corresponding to the special effects creation content. In this embodiment, the file corresponding to the special effects creation content is recorded as a preview special effects package file, and the preview special effects package file is generated based on the special effects creation content. The generated special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, and the preview special effects package file can be accessed based on this cache address.
[0057] After generating a special effects preview link for the special effects production content, the special effects preview link can be presented on the special effects editing interface. Based on the special effects preview link, the preview special effects package file on the special effects cloud platform can be called. Combined with the special effects application engine, the corresponding special effects content can be displayed. For example, the special effects preview link can be presented on the special effects editing interface in the form of a QR code. By scanning the QR code, the special effects preview link can be accessed to obtain the preview special effects package file.
[0058] The first optional embodiment described above adds a step of generating a special effect preview link, which provides a basis for subsequent special effect preview.
[0059] Based on the above embodiment, as a second optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0060] a1) The special effects editing engine responds to the triggering of the special effects preview link, generates a preview access request including a cache address, and sends the request to the special effects runtime engine included in the special effects production system.
[0061] Among them, the special effects runtime engine can be understood as the engine required to apply AR special effects. When the special effects preview link is presented on the special effects editing webpage, the special effects producer can trigger the special effects preview link. Correspondingly, since the special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, after the special effects editing engine responds to the triggering of the special effects preview link, it can generate a request containing the cache address and record it as a preview access request. In addition to the special effects cloud platform and the special effects editing engine, the special effects production system also includes a special effects runtime engine. The preview access request is further sent to the special effects runtime engine.
[0062] b1) calling the preview special effect package file from the special effect cloud platform according to the cache address in the preview access request through the special effect runtime engine, and displaying the second special effect content generated after running the preview special effect package file in the preview running window;
[0063] The preview running window is popped up in association with the special effect cloud platform, and the second special effect content is the same as the first special effect content.
[0064] Continuing with the above description, upon receiving a preview access request, the special effects runtime engine can retrieve the cache address in the preview access request and access the special effects cloud platform based on this cache address. Since this cache address is the cache address of the preview special effects package file on the special effects cloud platform, it can call the preview special effects package file and run it to generate special effects content, which is recorded as the second special effects content. The special effects cloud platform will pop up a preview run window, and then present the second special effects content in the preview run window.
[0065] In this embodiment, the special effects editing engine is connected to an existing platform or runtime tool, so that the created special effects content can be converted into a special effects file and applied on the existing platform or runtime tool. It should be noted that the content displayed on the special effects editing webpage must be consistent with the effect that can be displayed when the special effects are applied, that is, the second special effects content is the same as the first special effects content.
[0066] The above technical solution not only provides visual special effects creation and editing capabilities, but also provides a special effects runtime engine that allows the created and edited special effects content to be directly displayed on the special effects runtime engine. Furthermore, the displayed special effects content is guaranteed to be consistent with the created special effects content.
[0067] Based on the above second optional embodiment, as a third optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0068] a2) generating an application special effects package file of the special effects production content and publishing it to the special effects cloud platform in response to triggering of the special effects publishing control on the special effects editing webpage through the special effects editing engine.
[0069] In this embodiment, the special effects editing webpage also includes a special effects publishing control, which is used to publish special effects to the special effects cloud platform for use. To enable the created special effects to be directly used on the cloud platform, after completing the special effects creation, the special effects creator can directly trigger the special effects publishing control on the special effects editing webpage.
[0070] When the special effects publishing control is triggered, the special effects editing engine can respond to the triggering of the special effects publishing control, thereby generating an application special effects package file of the special effects production content and publishing the application special effects package file to the special effects cloud platform.
[0071] b2) Storing the received application special effects package file through the special effects cloud platform, and feeding back the special effects package storage address of the application special effects package file to the special effects editing engine.
[0072] Continuing with the above description, once the application special effects package file is published to the special effects cloud platform, the special effects cloud platform can store the received application special effects package file. The storage address of the application special effects package file can be obtained and recorded as the special effects package storage address, and the special effects package storage address can be further fed back to the special effects editing engine.
[0073] c2) generating a special effect application link including the storage address of the special effect package through the special effect editing engine, and presenting the special effect application link on the special effect editing webpage.
[0074] Specifically, the special effects editing engine generates a link containing the storage address of the special effects package, which is recorded as the special effects application link, and further presents the special effects application link on the special effects editing webpage. This is equivalent to triggering the special effects publishing control to publish the created special effects to the special effects cloud platform.
[0075] It should be noted that the special effect application link can be copied and shared with users in need, so that the application special effect package file can be called based on the special effect application link to present the special effect content.
[0076] The third optional embodiment described above adds a special effects publishing function, which enables the production and editing of special effects content to be published on the cloud platform for storage, so that the produced special effects content can be called later directly by accessing the special effects application link.
[0077] Based on the third optional embodiment described above, as a fourth optional embodiment of this embodiment, the method may be optimized to further include the following steps:
[0078] When a special effect application access request containing the special effect package storage address is received through the special effect cloud platform, the application special effect package file is called according to the special effect package storage address, and the third special effect content rendered by the application special effect package file is displayed in the special effect application window, wherein the special effect application access request is generated by accessing the special effect application link, and the third special effect content is the same as the first special effect content.
[0079] Specifically, when the special effects application link is presented on the special effects editing webpage, the special effects producer can access the special effects application link to generate a special effects application access request. Correspondingly, following the above description, after the special effects cloud platform receives the special effects application access request, it can obtain the special effects package storage address in the special effects application access request and access the special effects cloud platform based on the special effects package storage address. Since the special effects package storage address is the special effects package storage address of the application special effects package file on the special effects cloud platform, the application special effects package file can be called and rendered to form special effects content, which is recorded as the third special effects content. The special effects cloud platform will pop up a special effects application window, and then present the third special effects content in the special effects application window.
[0080] What you need to know is that you need to ensure that the content effect presented on the special effects editing webpage is consistent with the effect that can be displayed when the special effects are saved on the special effects cloud platform, that is, the third special effects content is the same as the first special effects content.
[0081] Based on this, it can be seen that the special effects production method provided in this embodiment can be used to display special effects through the special effects runtime engine; it can also be directly published to the special effects cloud platform and then presented on the special effects cloud platform based on the special effects preview link. The result is that whether the special effects application effect displayed by the special effects runtime engine or the special effects application effect displayed on the special effects cloud platform is the same as the produced special effects effect.
[0082] The above technical solution not only provides the function of visual special effects production and editing, but also can publish the produced and edited special effects content directly to the special effects cloud platform for display, and ensures the consistency between the displayed special effects content and the produced special effects content when displaying the special effects content.
[0083] Based on the above embodiment, as a fifth optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0084] Through the special effects editing engine, in response to the triggering of the special effects download control on the special effects editing webpage, the set format special effects file selected relative to the special effects production content in the pop-up download window is determined, and a special effects package download file is generated based on the set format special effects file. The special effects package download file is used to run on a third-party special effects development tool to display a fourth special effects content corresponding to the special effects production content; the fourth special effects content is the same as the first special effects content.
[0085] In this embodiment, in addition to supporting the preview and display of the produced special effects content, a special effects download function is also provided. Among them, the special effects editing webpage also includes a special effects download control. When the special effects producer wants to download the produced special effects, he can trigger the special effects download control. Accordingly, in response to the triggering of the special effects download control, a download window will pop up through the special effects editing engine. From the download window, some special effects files with set formats are selected relative to the special effects production content. Special effects files can be understood as engineering files when performing special effects production. Then, based on these special effects files with set formats, a special effects package download file can be generated. After downloading, the special effects package download file can be used on a third-party special effects development tool, which can be understood as an engine that supports special effects display.
[0086] Similarly, it is necessary to ensure that the content effect presented on the special effects editing webpage should be consistent with the effect that can be displayed when running and displaying the corresponding special effects production content on a third-party special effects development tool, that is, the fourth special effects content is the same as the first special effects content.
[0087] The fifth optional embodiment described above adds a special effects download function. By triggering the special effects download control on the special effects editing webpage, a special effects package download file can be generated. The special effects package download file can be used in a third-party special effects development tool to run and display the effects presented by the special effects content. Furthermore, when displaying the special effects content in the third-party special effects development tool, the consistency between the displayed special effects content and the created special effects content is guaranteed.
[0088] Based on the above embodiment, as a sixth optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0089] a3) exporting a special effects project file corresponding to the special effects production content in response to triggering of a special effects export control on the special effects editing webpage through the special effects editing engine.
[0090] In this embodiment, when creating or editing special effects in the editing area, corresponding special effects project files are generated at the corresponding stage. These special effects project files can be directly exported. The special effects editing webpage also includes a special effects export control. Specifically, when the special effects creator wishes to export the special effects project files generated during the special effects creation or editing process, the special effects export control can be triggered. Accordingly, the special effects editing engine can respond to the triggering of the special effects export control to export the special effects project files derived from the special effects creation content.
[0091] b3) After receiving the import operation of the special effect project file on the special effect editing webpage, the special effect editing engine presents the special effect production content corresponding to the special effect project file on the special effect editing webpage.
[0092] In this embodiment, after the special effects creation function is activated, the special effects editing engine can be used to import special effects project files. When a special effects creator wishes to import a special effects project file, they can perform an import operation on the special effects project file. Accordingly, upon receiving the import operation for the special effects project file, the special effects editing engine will present the special effects creation content corresponding to the special effects project file on the special effects editing webpage.
[0093] For example, if special effects content is produced on device A, the special effects project file of the special effects content on device A can be exported. The special effects project file exported by device A can be imported on another device B, and the special effects content corresponding to the special effects project file can be directly presented on device B.
[0094] The sixth optional embodiment described above adds the functions of exporting and importing special effects project files, thereby realizing the export of special effects project files for produced special effects content and the import of special effects project files for displaying special effects produced content.
[0095] Based on the above embodiment, as a seventh optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0096] Through the special effects editing engine, in response to triggering of the special effects saving control on the special effects editing webpage, the production file corresponding to the special effects production content is saved on the special effects cloud platform.
[0097] In this embodiment, the special effects editing webpage also includes a special effects save control. When the special effects creator wishes to save the created or edited special effects content during the special effects creation process, the special effects save control can be triggered. Accordingly, the special effects tagging engine, in response to the triggering of the special effects save control, can save the production file corresponding to the special effects content on the special effects cloud platform.
[0098] For example, the special effects producer can save the special effects as needed during the special effects production process, so that when the special effects producer enters the special effects editing interface again, he can continue to produce or edit the special effects saved before.
[0099] The seventh optional embodiment described above adds a special effect saving function, which enables the created or edited special effects to be saved at any time during the special effect creation process, so as to facilitate subsequent editing.
[0100] In order to more clearly characterize the special effects editing webpage, illustratively, Figure 2 is an example diagram of the effects of the special effects editing webpage during the execution of a special effects production method provided by an embodiment of the present disclosure. As shown in Figure 2, by running the special effects editing engine, the special effects editing webpage 2 is presented after running, and the special effects editing webpage 2 includes a preview window 21, and the preview window 21 includes a trigger item 211 for real-time preview. By triggering the trigger 211 for real-time preview, the special effects content can be displayed on the preview window 21. The special effects editing webpage 2 also includes a preview run button 22, and by triggering the preview run button 22, the special effects content can be previewed. The special effects editing webpage 2 also includes a special effects publishing button 23, and by triggering the special effects publishing button 23, the special effects production content can be published on the special effects cloud platform. The special effects editing webpage 2 also includes a special effects download button 24, and by triggering the special effects download button 24, the relevant special effects files can be downloaded. The special effects editing webpage 2 also includes a special effects export control button 25. By triggering the special effects export button 25, the special effects project file can be exported. The special effects editing webpage also includes a special effects save button 26. By triggering the special effects save button 26, the special effects production content can be saved.
[0101] FIG3 is an example diagram of the effect of triggering a preview run control during the execution of a special effect production method provided by an embodiment of the present disclosure. Continuing with the example of FIG2 , as shown in FIG3 , when the special effect producer triggers the preview run button 22 on the special effect editing webpage, the special effect editing engine responds to the triggering of the preview run button 22, thereby generating a special effect preview link 222 corresponding to the special effect production content. The special effect preview link 222 can be presented on the special effect editing interface in the form of a QR code. By scanning the QR code, the special effect preview link can be accessed to obtain the preview special effect package file.
[0102] FIG4 is a schematic diagram of the structure of a special effects production system provided by an embodiment of the present disclosure, wherein the special effects production system is used to execute the method described in the above embodiment, and the embodiment of the present disclosure is applicable to the case of performing special effects production via a web terminal. As shown in FIG4 , the system includes: a special effects cloud platform 41, a special effects editing engine 42, and a special effects runtime engine 43; the special effects cloud platform 41 is configured to respond to a trigger of a displayed special effects production link and run the special effects editing engine in the special effects production system; the special effects editing engine 42 is configured to present a special effects editing webpage after running, and respond to a special effects production operation generated on the special effects editing webpage, presenting the special effects production content corresponding to the special effects production operation in the editing area of the special effects editing webpage; the special effects editing engine 42 is further configured to respond to a trigger of a real-time preview control on the special effects editing webpage, call a special effects production file for the special effects production content, and display the first special effects content generated after rendering the special effects production file in a real-time preview window containing a real-time picture frame, wherein the real-time preview window is presented on the special effects editing webpage, and the real-time picture frame is captured by an image capture device.
[0103] In this embodiment, the special effects production system can be understood as a system provided to special effects producers for special effects production. The special effects production system 4 includes a special effects cloud platform 41, a special effects editing engine 42, and a special effects runtime engine 43. The special effects cloud platform 41 is used to respond to triggering of the displayed special effects production link and run the special effects editing engine in the special effects production system.
[0104] Among them, the front-end web page provided by the special effects cloud platform 41 can display a special effects production link. The web-side production tool of the special effects production system provided in this embodiment is executed based on the front-end web page of the special effects cloud platform. After the special effects cloud platform 41 of the special effects production system is run, the special effects cloud platform 41 will display a front-end web page at the visual level, and the front-end web page will display a special effects production link. Among them, the special effects production link can be understood as an address link for waking up the special effects production tool on the Web side. When the special effects producer wants to use the special effects production tool on the Web side provided by this embodiment to produce special effects, the special effects production link can be triggered. After triggering the special effects production link, the special effects editing engine 42 can be run. The special effects editing engine can be understood as a tool for special effects production on the Web side. It can be considered that the triggering and running of the special effects editing engine is started by the special effects production link.
[0105] Different from the existing technology in which the Web side of the cloud platform does not support the development of special effects production, the special effects production method provided in this embodiment supports special effects producers to edit special effects production on the Web side. Its essence lies in adding a special effects editing engine 42, so that the operation of the special effects editing engine 42 can be triggered when triggered based on the special effects production link, providing underlying support for subsequent special effects production.
[0106] The special effect editing engine 42 is used to present a special effect editing webpage after running, and respond to special effect production operations generated on the special effect editing webpage, and present the special effect production content corresponding to the special effect production operation on the editing area of the special effect editing webpage.
[0107] In this embodiment, after the special effects creation link is triggered, the special effects editing engine 42 is run. After running the special effects editing engine 42, a new webpage can be presented on the visual level. This webpage is the special effects editing webpage, which is referred to as the special effects editing webpage in this embodiment. It is important to note that the underlying support for the special effects editing webpage is independent of the special effects cloud platform and has its own independent architecture. In this embodiment, the underlying architecture supporting the special effects editing function is referred to as the special effects editing engine 42.
[0108] The special effects editing webpage may include functional items or options related to special effects creation, as well as operable controls. The special effects editing webpage provides editable items related to special effects creation because it is supported by the special effects editing engine 42. The special effects editing engine 42 can be understood as a tool that responds to the actual creation process, similar to the special effects editing webpage being a visual representation. When operating on the special effects editing webpage, the special effects editing engine 42, acting as the underlying framework, actually responds accordingly.
[0109] In this embodiment, special effects creation operations are all performed based on the special effects editing engine 42. The specific special effects creation operation performed on the special effects editing webpage will be responded to in response to that specific special effects creation operation. In this embodiment, the content that responds to the special effects creation operation is recorded as special effects creation content. In response to the special effects creation operation generated on the special effects editing webpage, the corresponding special effects creation content is presented in an area of the special effects editing webpage, which is recorded as the editing area. When triggered by the special effects creation link, the operation of the special effects editing engine 42 is triggered, enabling the creation and editing of special effects through the interaction between the special effects editing engine 42 and the special effects editing webpage above the special effects editing engine 42.
[0110] In this embodiment, there are no specific restrictions on special effects creation operations. Developers can develop special effects editing engine 42 based on actual needs, enabling it to support various special effects creation function items within the special effects editing webpage, such as deformation options, texture options, function options, and model addition options. Special effects creators can perform corresponding special effects creation operations based on their production needs. Regardless of the special effects creation operation performed, the corresponding special effects creation content will be displayed in the editing area. At this point, the relevant steps for special effects creation can be considered complete.
[0111] The special effects editing engine 42 is also used to respond to the triggering of the real-time preview control on the special effects editing webpage, call the special effects production file of the special effects production content, and display the first special effects content formed after rendering the special effects production file on a real-time preview window containing a real-time picture frame. The real-time preview window is presented in the special effects editing webpage, and the real-time picture frame is captured by an image capture device.
[0112] After the special effects are created, the created special effects can be displayed. The special effects editing engine 42 also supports previewing the special effects creation content. In this embodiment, a preview control is provided on the special effects editing webpage, which is denoted as a real-time preview control. By triggering the real-time preview control, a preview display of the special effects can be achieved.
[0113] The real-time preview control can be located in a preview window on the special effect editing webpage. When the real-time preview control is triggered, the special effect production file generated by the special effect production content can be called and rendered to form the special effect content, which is recorded as the first special effect content.
[0114] In this embodiment, it can be considered that the electronic device integrated with the special effects cloud platform 41 includes an image capture device. For example, the image capture device can be a camera on the electronic device. It can be considered that when the special effects cloud platform is turned on, the image capture device on the electronic device integrated with the special effects cloud platform 41 begins to run in real time, and the image capture device can capture the current picture in real time, which is recorded as a real-time picture frame in this embodiment. At this time, the effect that the special effects should be presented, that is, the first special effects content, can be presented on the real-time picture frame. For example, assuming that the real-time picture frame captured in real time is a person, and the first special effects content is a necklace special effect, when the first special effects content is displayed on the preview window containing the real-time picture frame, it will be displayed as a necklace special effect worn on the person.
[0115] In this embodiment, in addition to previewing special effects on dynamic, real-time frames, the preview window also allows you to import material (e.g., images) and render special effects on the imported material. This means you can preview the effects of real-time special effects content on real-time frames in real time, which is equivalent to activating an image acquisition device to capture real-time frames for special effects rendering. Special effects rendering can also be applied to statically imported material.
[0116] The above technical solution adds a special effects editing engine, which provides users with a visual special effects editing webpage. This allows special effects creators to create special effects on the web, eliminating the need to install complex special effects creation tool clients. This improves the convenience of video production and reduces usage costs. Furthermore, by calling and rendering the special effects creation files for the special effects creation content and displaying the corresponding rendering effects in the preview window, a preview of the created special effects content is possible, improving the user experience.
[0117] On the basis of the above embodiment, as a first optional embodiment of this embodiment, the function of the special effects editing engine can be optimized. The special effects editing engine 42 is also used to respond to the triggering of the special effects preview link, generate a preview access request containing a cache address and send it to the special effects runtime engine 43. The special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, and the preview special effects package file is generated corresponding to the special effects production content; the special effects runtime engine 43 is used to call the preview special effects package file from the special effects cloud platform according to the cache address in the preview access request, and display the second special effects content formed after running the preview special effects package file in the preview running window; the preview running window is popped up in association with the special effects cloud platform, and the second special effects content is the same as the first special effects content.
[0118] In this embodiment, the special effect editing engine 42 generates a special effect preview link of the special effect production content in response to triggering of the preview run control on the special effect editing webpage, and presents the special effect preview link on the special effect editing webpage.
[0119] In this embodiment, the special effects editing webpage also includes a preview and run control. This means that after editing and creating special effects content based on the special effects editing engine, triggering the preview and run control on the special effects editing webpage can deliver the created special effects content to an engine capable of applying the created special effects. One implementation involves using the engine that has created the special effects to obtain a preview special effects package file, run the preview special effects package file, and display the special effects in a window on the associated cloud platform.
[0120] Specifically, when the special effects creator triggers the preview run control on the special effects editing webpage, the special effects editing engine responds to the triggering of the preview run control and generates a special effects preview link corresponding to the special effects creation content. In this embodiment, the file corresponding to the special effects creation content is recorded as a preview special effects package file, and the preview special effects package file is generated based on the special effects creation content. The generated special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, and the preview special effects package file can be accessed based on this cache address.
[0121] After generating a special effects preview link for the special effects production content, the special effects preview link can be presented on the special effects editing interface. Based on the special effects preview link, the preview special effects package file on the special effects cloud platform can be called. Combined with the special effects application engine, the corresponding special effects content can be displayed. For example, the special effects preview link can be presented on the special effects editing interface in the form of a QR code. By scanning the QR code, the special effects preview link can be accessed to obtain the preview special effects package file.
[0122] The special effects editing engine 42 is also used to respond to the triggering of the special effects preview link, generate a preview access request containing a cache address and send it to the special effects runtime engine 43. The special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, and the preview special effects package file corresponds to the special effects production content.
[0123] Among them, the special effects runtime engine can be understood as the engine required to apply AR special effects. When the special effects preview link is presented on the special effects editing webpage, the special effects producer can trigger the special effects preview link. Correspondingly, since the special effects preview link contains the cache address of the preview special effects package file on the special effects cloud platform, after the special effects editing engine responds to the triggering of the special effects preview link, it can generate a request containing the cache address and record it as a preview access request. In addition to the special effects cloud platform and the special effects editing engine, the special effects production system also includes a special effects runtime engine. The preview access request is further sent to the special effects runtime engine.
[0124] The special effects runtime engine 43 is used to call the preview special effects package file from the special effects cloud platform according to the cache address in the preview access request, and display the second special effects content generated after running the preview special effects package file in the preview running window; the preview running window is popped up in association with the special effects cloud platform, and the second special effects content is the same as the first special effects content.
[0125] Continuing with the above description, upon receiving a preview access request, the special effects runtime engine can retrieve the cache address in the preview access request and access the special effects cloud platform based on this cache address. Since this cache address is the cache address of the preview special effects package file on the special effects cloud platform, it can call the preview special effects package file and run it to generate special effects content, which is recorded as the second special effects content. The special effects cloud platform will pop up a preview run window, and then present the second special effects content in the preview run window.
[0126] In this embodiment, the special effects editing engine is connected to an existing platform or runtime tool, so that the created special effects content can be converted into a special effects file and applied on the existing platform or runtime tool. It should be noted that the content displayed on the special effects editing webpage must be consistent with the effect that can be displayed when the special effects are applied, that is, the second special effects content is the same as the first special effects content.
[0127] The above technical solution provides a special effects runtime engine. By connecting the special effects runtime engine with the special effects editing engine and the special effects cloud platform, it is possible to display the edited special effects content directly on the special effects runtime engine. Furthermore, the consistency of the displayed special effects content with the original special effects content is guaranteed during the display process.
[0128] Figure 5 is a structural diagram of a special effects editing engine in a special effects production system provided by an embodiment of the present disclosure. As shown in Figure 5, the engine architecture of the special effects editing engine 42 can be further optimized to include: a special effects editing interface layer 421 and a special effects response support layer 422; the special effects editing interface layer 421 is used to form a special effects editing webpage according to a set interface layout, and after the function items for special effects production provided in the special effects editing webpage are triggered, the corresponding generated operation events are passed to the special effects response support layer 422, and the content after the special effects response support layer responds to the operation events is presented; the special effects response support layer 422 is used to support the operation event responses involved in special effects production through a set architectural mechanism, and is also used to support interaction with the special effects cloud platform and the special effects runtime engine in special effects production.
[0129] Among them, the engine architecture of the special effects editing engine 42 includes a special effects editing interface layer 421 and a special effects response support layer 422. The special effects editing interface layer 421 can be understood as a functional module that supports the presentation of special effects editing web pages. It can be considered that there are many layout-related methods, functions, components, etc. integrated in the special effects editing interface layer 421. These layout-related methods, functions, components, etc. can be considered as the interface layout set by the special effects editing interface layer 421. This ensures that when the special effects editing engine 42 is running, a special effects editing web page can be provided to present the configured interface layout. Function items for special effects production are also provided in the special effects editing web page. When the function items are triggered, it is equivalent to the generation of a corresponding operation event, and the operation event will be passed to the special effects response support layer 422.
[0130] Continuing with the above description, the special effects response support layer 422 responds to received operation events and returns the content of the operation event response to the special effects editing interface layer 421, which then presents the content. Through a predefined architectural mechanism, the special effects response support layer 422 supports responses to operation events involved in the special effects production process. Furthermore, the special effects response support layer 422 also supports interaction with the special effects cloud platform and the special effects runtime engine during special effects production.
[0131] The above technical solution concretizes that the engine architecture of the special effects editing engine includes a special effects editing interface layer and a special effects response support layer. Through the interaction between the special effects editing interface layer and the special effects response support layer in the special effects editing engine architecture, the special effects editing engine is able to support special effects production functions.
[0132] Figure 6 is a structural diagram of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure. As shown in Figure 6, further, the architectural mechanism of the special effect response support layer 422 includes: an editing engine entity object 4221 and at least one pluggable functional component 4222 on which the editing engine entity object depends; the editing engine entity object 4221 is defined as an entity including a set of data-driven drive protocols, and the drive protocol adopts an immutable data structure, and the immutable data structure stores data in a tree structure in the form of tree nodes, which is used to maintain consistency in data in the interaction with the special effect cloud platform and the special effect runtime engine; each pluggable functional component 4222 is defined as a connectable object, which establishes a connection with the editing engine entity object and the special effect editing interface layer, and provides the editing engine entity object with at least one business function involved in the special effect production interaction, and is orthogonal to the business functions involved in other pluggable functional components.
[0133] The architectural mechanism of the special effects response support layer 422 includes an editing engine entity object 4221 and pluggable functional components 4222. In this architecture, data and behavior are separated. The editing engine entity object 4221 only stores data, while functional implementation is implemented by the pluggable functional components 4222. This architecture, which separates data from logic, is very helpful in reducing code coupling and improving code cohesion. The entire special effects editing engine can be considered an editing engine entity object. For example, if a head model is selected for editing, the head model can be considered an editing engine entity object. The pluggable functional components can be understood as the attribute information corresponding to the editing engine entity object. For example, attribute information such as material, texture, and coordinate position can be represented in the form of pluggable functional components, with materials corresponding to one pluggable functional component, textures corresponding to one pluggable functional component, and coordinate positions corresponding to one pluggable functional component. Each pluggable functional component contains method functions, etc. When the editing engine entity is adjusted, it is equivalent to a change in the attribute information. When it is detected that there are some operation events in the upper layer to adjust its attribute information, it will respond to the event to inform it of the changes in the attribute.
[0134] In this embodiment, an editing engine entity object is supported by multiple pluggable functional components. Since these pluggable functional components are independent of each other, they can be added or deleted. The number of pluggable components can be increased according to actual needs, achieving scalability of pluggable components. After adding pluggable functional components, the editing engine entity object can be supported to perform corresponding operations.
[0135] It's important to understand that the special effects editing engine can communicate with the special effects cloud platform and the special effects runtime engine because they share a common protocol. This protocol can be considered a data structure used to define the editing engine's entity objects, defined as a data-driven protocol. The driver protocol is the foundation for all editing engine entities, serving as data support for subsequent runtime operations based on the data-driven protocol.
[0136] The driving protocol adopts an immutable data structure, which stores data in a tree structure in the form of tree nodes, and is used to maintain consistency in data in the interaction with the special effects cloud platform and the special effects runtime engine.
[0137] Unlike the traditional method in which after receiving the operation of the upper layer, the bottom layer has many functions to support the upper layer operation, the present embodiment does not adopt the method of writing many functions to support the upper layer operation, but adopts data-driven. The use of data-driven will save the data updates made by the previous operation, and when a new operation is received, the previously saved data will be updated. Compared with saving all the data at every moment, the immutable data structure in the present embodiment adopts a tree structure. When the data changes, only the data of the tree node that has changed needs to be changed, and there is no need to change the entire data, which saves the memory space occupied by the data. Among them, the immutable data structure adopts a tree structure. No matter what operation is performed, these operations are to update the associated tree nodes. For example, if a change operation is performed, and the change operation involves one of the tree nodes, only the data of the tree node will be updated and stored.
[0138] It's important to note that immutable data structures utilize attribute structures, saving memory and improving the performance of the special effects production system. This underlying architecture allows for seamless multi-person collaboration when adding the special effects editing engine. Libraries can also be used to manage state. Furthermore, using immutable data structures allows for direct calls to library functions.
[0139] Because the special effects editing engine requires strong scalability to accommodate the creative demands of handling more AR scenarios beyond try-on and fitting, this embodiment adopts a data-driven protocol with a simple core that reduces external dependencies while providing plug-in expansion capabilities. Considering that the special effects editing engine is a typical complex editor type, it needs to deal with a large number of state changes and view refreshes, and needs to manage a large number of objects. To provide a good editing experience, it also needs to be able to save and load intermediate results, as well as support operations such as undo and rewind.
[0140] Generally, the undo / rollback function can be implemented based on commands or data. Command-based implementations require modeling each atomic operation and manually writing forward and reverse operation code, which is cumbersome and memory-intensive. In this embodiment, a data-based implementation is adopted, which simplifies the undo / rollback function. Only snapshots of the data before and after the edit need to be stored, and undoing / rolling back is equivalent to rolling back the data.
[0141] Each pluggable functional component 4222 is defined as a connectable object, which establishes a connection with the editing engine entity object and the special effect editing interface layer, and provides the editing engine entity object with at least one business function involved in the special effect production interaction, and is orthogonal to the business functions involved in other pluggable functional components.
[0142] In this embodiment, each pluggable functional component can be regarded as a connectable object, which is connected to both the lower layer and the upper layer. Specifically, the pluggable functional component establishes a connection with the editing engine entity object, and can provide the editing engine entity object with various business functions involved in the interaction of special effects production. For example, when the head model is moved, it is equivalent to changing the coordinate component and informing it that the coordinate has been adjusted, which can be analyzed and presented with what kind of results after analysis. In addition, each pluggable functional component 4222 establishes a connection with the special effects editing interface layer 421. The business functions involved in each pluggable functional component are independent of each other and do not interfere with each other. It can be understood that the business functions are orthogonal to each other. When new business needs to be added, it can be implemented by adding new pluggable functional components.
[0143] As you can see, pluggable functional components can implement various business functions. Each pluggable functional component is connected to the editing engine entity object, focuses only on the changes it is interested in, and responds to the resulting changes. Because pluggable functional components are orthogonal and mutually ignorant—one pluggable functional component does not depend on the type of another pluggable functional component—this ensures that the failure of any pluggable component will not cause the entire system to crash, but only a partial loss of functionality.
[0144] The above technical solution specifies the architectural mechanism of the special effects response support layer, including editing engine view objects and pluggable functional components. The special effects response support layer's responsiveness is implemented based on the editing engine entity objects and pluggable functional components. This is based on a data-driven driver protocol that utilizes an immutable data structure. This immutable data structure stores data in a tree-like structure, organized as tree nodes, ensuring data consistency during interactions with the special effects cloud platform and the special effects runtime engine. This immutable data structure utilizes an attribute structure, saving memory and improving the performance of the special effects production system. This underlying architecture design is well-suited for multi-person collaborative production when adding the special effects editing engine to support multi-person collaborative production. Furthermore, using an immutable data structure allows for direct calls to library functions. Furthermore, since the pluggable functional components are independent of each other, they can be added or removed. The number of pluggable components can be increased based on actual needs, achieving scalability.
[0145] Furthermore, the pluggable functional component 4222 is used to receive operation events of related business functions issued in the special effects editing interface layer, and generate associated pending response events after responding to the operation events, and transmit the pending response events to the editing engine entity object; the editing engine entity object 4221 is used to respond to the received pending response events, and change the data information of the associated nodes in the tree structure through the response results, and feed back the response results to the responding pluggable functional component 4222; the pluggable functional component 4222 is used to pass the received response results to the special effects editing interface layer, so that the special effects editing interface layer presents corresponding operation results for the operation events.
[0146] In this embodiment, when a special effects creator operates a function item in the special effects editing interface, the special effects editing interface layer 421 sends an operation event for the relevant business function to the pluggable function component 4222. After receiving the operation event for the relevant business function sent by the special effects editing interface layer, the pluggable function component 4222 processes the operation event and generates an event readable by the editing engine entity object, which in this embodiment is recorded as a pending response event. The pluggable function component 4222 transmits the pending response event to the editing engine entity object 4221.
[0147] Continuing with the above description, after the editing engine entity object 4221 receives the event to be responded to, it responds to the event to be responded to and generates a response result. The data information of the associated nodes in the tree structure is changed through the response result, and the response result is fed back to the corresponding pluggable functional component 4222. It can be seen that when changing information, only the data information of the associated nodes needs to be changed. After receiving the response result, the pluggable functional component 4222 will pass the response result to the special effect editing interface layer 4221, so that the special effect editing interface layer 4221 presents the corresponding operation result for the operation event. For example, if the operation event is a texture change, coordinate movement, etc., then the corresponding operation result presented will also be a change in texture and coordinates.
[0148] This technical solution embodies the interaction between pluggable functional components and editing engine entities, enabling event-based operations to present corresponding operation results in the special effects editing interface layer. When making information changes, only the data of the associated nodes needs to be modified, not the entire data. This saves memory space and improves system performance.
[0149] Furthermore, the architectural mechanism of the special effect response support layer 422 also includes a stream object 4223 for event communication, which includes at least one first stream function node for subscribing to a pluggable functional component, and a second stream function node that communicates with the editing engine entity object; the pluggable functional component is used to pass the event to be responded to or the request to communicate with other pluggable functional components to the editing engine entity object through the subscribed first stream function node and the second stream function node; and is also used to receive the response results fed back by the editing engine entity object through the second stream function node and the subscribed first stream function node, or the communication content requested by other pluggable functional components.
[0150] In this embodiment, the pluggable functional components 4222 need to communicate with each other, and there must be some mechanism to implement this capability. Therefore, the architectural mechanism of the special effect response support layer 422 also includes a stream object 4223 for event communication. The stream object 4223 is used to implement communication and interaction between the pluggable functional component 4222 and the editing engine entity object 4221. Specifically, the stream object 4223 includes a stream function node that is subscribed to by the pluggable functional component, which is recorded as the first stream function node. The first stream function node can be understood as a leaf node. It also includes a stream function node that communicates with the editing engine entity object, which is recorded as the second stream function node. The second stream function node can be understood as a root node. It should be noted that in this embodiment, the data is not broadcast unconditionally to all subscribers, but first reaches the editing engine entity object 4221 at the other end, and then the editing engine entity object 4221 decides whether to broadcast it to each pluggable functional component 4222.
[0151] In this embodiment, the pluggable functional component 4222 can pass the pending response event to the editing engine entity object 4221 through the first stream function flow node and the second stream function node. Similarly, communication between pluggable functional components 4222 also passes through the subscribed first stream function node, and the request to communicate with other pluggable functional components is passed to the editing engine entity object 4221 through the second stream function node. It should be noted that in this embodiment, the pluggable functional control data is not broadcast unconditionally to all subscribers. Instead, it first reaches the editing engine entity object 4221 at the other end, and then the editing engine entity object 4221 decides whether to broadcast it to each pluggable functional component 4222.
[0152] In response to the response event, the editing engine entity object 4221 will feedback the response result through the second stream function node and the subscribed first stream function node. Correspondingly, the pluggable functional component 4222 can also receive the response result fed back by the editing engine entity object through the second stream function node and the subscribed first stream function node.
[0153] Similarly, as a response to a request to communicate with other pluggable functional components, the editing engine entity object 4221 will feed back the communication content requested by other pluggable functional components through the second stream function node and the subscribed first stream function node. Correspondingly, the pluggable functional component 4222 can also receive the communication content requested by other pluggable functional components fed back by the editing engine entity object through the second stream function node and the subscribed first stream function node.
[0154] Exemplarily, Figure 7 is an interaction example diagram of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure. As shown in Figure 7, the architectural mechanism of the special effect response support layer 422 includes an editing engine entity object 4221, a pluggable functional component 4222 and a stream object 4223. The stream object 4223 includes a first stream function node and a second function stream node. It can be seen that the interaction method of the editing engine entity object 4221, the pluggable functional component 4222 and the stream object 4223 is: the pluggable functional component 4222 passes the event to be responded to to the editing engine entity object through the subscribed first stream function node and the second stream function node; it can also communicate and interact with other pluggable functional components through the subscribed first stream function node.
[0155] The above technical solution adds a special effect response support layer that also includes a stream object for event communication. The stream object for event communication includes a first stream function node for pluggable functional components to subscribe to, and a second stream function node that communicates with the editing engine entity object. The pluggable functional component passes the event to be responded to to the editing engine entity object through the subscribed first stream function node and the second stream function node. Based on this event communication design, it can be ensured that all messages of the pluggable functional components will first reach the editing engine entity object, and then the editing engine entity object will decide whether to spread to the pluggable functional components. In addition, the pluggable functional component communicates and interacts with other pluggable functional components through the subscribed first stream function node.
[0156] Furthermore, the special effect editing engine 42 generates an application special effect package file of the special effect production content and publishes it to the special effect cloud platform in response to triggering the special effect publishing control on the special effect editing webpage;
[0157] The special effect cloud platform 41 stores the received application special effect package file and feeds back the special effect package storage address of the application special effect package file to the special effect editing engine;
[0158] The special effect editing engine 42 generates a special effect application link including the storage address of the special effect package, and presents the special effect application link on the special effect editing webpage.
[0159] Furthermore, when the special effect cloud platform 41 receives a special effect application access request including the special effect package storage address, it calls the application special effect package file according to the special effect package storage address and displays the third special effect content rendered by the application special effect package file in the special effect application window.
[0160] The special effect application access request is generated by accessing the special effect application link, and the third special effect content is the same as the first special effect content.
[0161] Furthermore, the special effect editing engine 42, in response to triggering the special effect download control on the special effect editing webpage, determines the set format special effect file selected in the pop-up download window relative to the special effect production content, and generates a special effect package download file based on the set format special effect file.
[0162] The special effects package download file is used to run on a third-party special effects development tool to display the fourth special effects content corresponding to the special effects production content; the fourth special effects content is the same as the first special effects content.
[0163] Furthermore, the special effect editing engine 42 exports a special effect project file corresponding to the special effect production content in response to triggering of a special effect export control on the special effect editing webpage;
[0164] After receiving the import operation of the special effect project file on the special effect editing webpage, the special effect editing engine 42 presents the special effect production content corresponding to the special effect project file on the special effect editing webpage.
[0165] Furthermore, the special effect editing engine 42 saves the production file corresponding to the special effect production content to the special effect cloud platform in response to triggering the special effect saving control on the special effect editing webpage.
[0166] The special effects production system provided by the embodiments of the present disclosure can execute the special effects production method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
[0167] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0168] FIG8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG8 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG8 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG8 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0169] As shown in FIG8 , the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 506. An edit / output (I / O) interface 505 is also connected to the bus 506.
[0170] Typically, the following devices may be connected to the I / O interface 506: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 500 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0171] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0172] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0173] The electronic device provided by the embodiment of the present disclosure and the special effects production method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0174] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the special effects production method provided in the above embodiment is implemented.
[0175] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0176] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0177] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0178] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0179] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: responds to the triggering of the displayed special effect production link through the special effect cloud platform in the special effect production system and runs the special effect editing engine in the special effect production system; presents the special effect editing webpage after running through the special effect editing engine, and responds to the special effect production operation generated on the special effect editing webpage, presents the special effect production content corresponding to the special effect production operation on the editing area of the special effect editing webpage; responds to the triggering of the real-time preview control on the special effect editing webpage through the special effect editing engine, calls the special effect production file of the special effect production content, and displays the first special effect content formed after rendering the special effect production file on the preview window containing the real-time picture frame, the preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by the image capture device.
[0180] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0181] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0182] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0183] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0184] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0185] According to one or more embodiments of the present disclosure, [Example 1] provides a special effect production method, which includes: responding to the triggering of a displayed special effect production link through a special effect cloud platform in a special effect production system, running a special effect editing engine in the special effect production system; presenting a special effect editing webpage after running through the special effect editing engine, and responding to the special effect production operation generated on the special effect editing webpage, presenting the special effect production content corresponding to the special effect production operation on the editing area of the special effect editing webpage; responding to the triggering of a real-time preview control on the special effect editing webpage, calling the special effect production file of the special effect production content through the special effect editing engine, and displaying the first special effect content formed after rendering the special effect production file on a preview window containing a real-time picture frame, the preview window being presented in the special effect editing webpage, and the real-time picture frame being captured by an image capture device.
[0186] According to one or more embodiments of the present disclosure, [Example 2] provides a special effects production method, which can be optimized to also include: through the special effects editing engine, in response to the triggering of the preview run control on the special effects editing webpage, generating a special effects preview link for the special effects production content, and presenting the special effects preview link on the special effects editing webpage; wherein, the special effects preview link includes a cache address of a preview special effects package file on the special effects cloud platform, and the preview special effects package file is generated corresponding to the special effects production content.
[0187] According to one or more embodiments of the present disclosure, [Example Three] provides a special effects production method, which can be optimized to further include: through the special effects editing engine, in response to the triggering of the special effects preview link, generating a preview access request containing a cache address and sending it to the special effects runtime engine included in the special effects production system; through the special effects runtime engine, according to the cache address in the preview access request, calling the preview special effects package file from the special effects cloud platform, and displaying the second special effects content formed after running the preview special effects package file in the preview running window, the preview running window is popped up by the special effects cloud platform, and the second special effects content is the same as the first special effects content.
[0188] According to one or more embodiments of the present disclosure, [Example Four] provides a special effects production method, which can be optimized to also include: through the special effects editing engine, in response to the triggering of the special effects publishing control on the special effects editing webpage, generating an application special effects package file of the special effects production content and publishing it to the special effects cloud platform; through the special effects cloud platform, storing the received application special effects package file, and feeding back the special effects package storage address of the application special effects package file to the special effects editing engine; through the special effects editing engine, generating a special effects application link containing the special effects package storage address, and presenting the special effects application link on the special effects editing webpage.
[0189] According to one or more embodiments of the present disclosure, [Example Five] provides a special effects production method, which can be optimized to also include: when a special effects application access request containing the special effects package storage address is received through the special effects cloud platform, the application special effects package file is called according to the special effects package storage address, and the third special effects content rendered by the application special effects package file is displayed in the special effects application window, wherein the special effects application access request is generated by accessing the special effects application link, and the third special effects content is the same as the first special effects content.
[0190] According to one or more embodiments of the present disclosure, [Example Six] provides a special effects production method, which can be optimized to also include: through the special effects editing engine, responding to the triggering of the special effects download control on the special effects editing webpage, determining the set format special effects file selected relative to the special effects production content in the pop-up download window, and generating a special effects package download file based on the set format special effects file, the special effects package download file is used to run on a third-party special effects development tool to display a fourth special effects content corresponding to the special effects production content; the fourth special effects content is the same as the first special effects content.
[0191] According to one or more embodiments of the present disclosure, [Example Seven] provides a special effects production method, which can be optimized to also include: exporting a special effects project file relative to the special effects production content in response to triggering a special effects export control on the special effects editing webpage through the special effects editing engine; and presenting the special effects production content corresponding to the special effects project file on the special effects editing webpage after receiving an import operation on the special effects project file on the special effects editing webpage through the special effects editing engine.
[0192] According to one or more embodiments of the present disclosure, [Example Eight] provides a special effects production method, which can be optimized to also include: through the special effects editing engine, in response to the triggering of the special effects save control on the special effects editing webpage, saving the production file corresponding to the special effects production content to the special effects cloud platform.
[0193] According to one or more embodiments of the present disclosure, [Example 9] provides a special effects production system, which executes the special effects production method described in any one of Examples 1 to 8 above. The system includes: a special effects cloud platform, a special effects editing engine, and a special effects runtime engine; the special effects cloud platform is used to respond to the triggering of the displayed special effects production link and run the special effects editing engine in the special effects production system; the special effects editing engine is used to present a special effects editing webpage after running, and respond to the special effects production operation generated on the special effects editing webpage, and present the special effects production content corresponding to the special effects production operation on the editing area of the special effects editing webpage; the special effects editing engine is also used to respond to the triggering of the real-time preview control on the special effects editing webpage, call the special effects production file of the special effects production content, and display the first special effects content formed after rendering the special effects production file on a real-time preview window containing a real-time picture frame, the real-time preview window is presented in the special effects editing webpage, and the real-time picture frame is captured by an image capture device.
[0194] According to one or more embodiments of the present disclosure, [Example 10] provides a special effects production system that can optimize a special effects editing engine and a special effects runtime engine. Specifically, the optimization can be as follows: the special effects editing engine is also used to respond to the triggering of a special effects preview link, generate a preview access request containing a preview access address and send it to the special effects runtime engine, the special effects preview link contains a cache address of a preview special effects package file on the special effects cloud platform, and the preview special effects package file is generated corresponding to the special effects production content; the special effects runtime engine is used to call the preview special effects package file from the special effects cloud platform according to the cache address in the preview access request, and display the second special effects content formed after running the preview special effects package file in the preview running window; the preview running window is popped up in association with the special effects cloud platform, and the second special effects content is the same as the first special effects content.
[0195] According to one or more embodiments of the present disclosure, [Example 11] provides a special effects production system that can optimize a special effects editing engine, and specifically can be optimized as follows: the engine architecture of the special effects editing engine includes: a special effects editing interface layer and a special effects response support layer; the special effects editing interface layer is used to form a special effects editing webpage according to a set interface layout, and after the function items for special effects production provided in the special effects editing webpage are triggered, the corresponding generated operation events are passed to the special effects response support layer, and the content after the special effects response support layer responds to the operation events is presented; the special effects response support layer is used to support the operation event responses involved in special effects production through a set architectural mechanism, and is also used to support interaction with the special effects cloud platform and the special effects runtime engine in special effects production.
[0196] According to one or more embodiments of the present disclosure, [Example 12] provides a special effects production system that can optimize the special effects response support layer, which can be specifically optimized as follows: the architectural mechanism of the special effects response support layer includes: an editing engine entity object and at least one pluggable functional component that the editing engine entity object depends on; the editing engine entity object is defined as an entity including a set of data-driven drive protocols, and the drive protocol adopts an immutable data structure, and the immutable data structure stores data in a tree structure in the form of tree nodes, which is used to maintain consistency in data in the interaction with the special effects cloud platform and the special effects runtime engine; each pluggable functional component is defined as a connectable object, which establishes a connection with the editing engine entity object and the special effects editing interface layer, and provides the editing engine entity object with at least one business function involved in the special effects production interaction, and is orthogonal to the business functions involved in other pluggable functional components.
[0197] According to one or more embodiments of the present disclosure, [Example 13] provides a special effects production system that can optimize pluggable functional components, editing engine entity objects and pluggable functional components. Specifically, it can be optimized as follows: the pluggable functional component is used to receive operation events of related business functions issued in the special effects editing interface layer, and generate associated pending response events after responding to the operation events, and transmit the pending response events to the editing engine entity object; the editing engine entity object is used to respond to the received pending response events, and change the data information of the associated nodes in the tree structure through the response results, and feed back the response results to the responding pluggable functional component; the pluggable functional component is used to pass the received response results to the special effects editing interface layer, so that the special effects editing interface layer presents corresponding operation results for the operation events.
[0198] According to one or more embodiments of the present disclosure, [Example 14] provides a special effects production system that can optimize the special effects response support layer, and specifically can be optimized as follows: the architectural mechanism of the special effects response support layer also includes a stream object for event communication, and the stream object includes at least one first stream function node for subscribing to a pluggable functional component, and a second stream function node that communicates with the editing engine entity object; the pluggable functional component is used to pass the event to be responded to or the request to communicate with other pluggable functional components to the editing engine entity object through the subscribed first stream function node and the second stream function node; and is also used to receive the response results fed back by the editing engine entity object through the second stream function node and the subscribed first stream function node, or the communication content requested by other pluggable functional components.
[0199] According to one or more embodiments of the present disclosure, [Example 15] provides an electronic device, which includes one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the special effects production method as described in any one of Examples 1 to 8 above.
[0200] According to one or more embodiments of the present disclosure, [Example 16] provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the special effects production method described in any one of Examples 1 to 8.
[0201] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0202] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0203] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A special effect production method, comprising: By means of a special effects cloud platform in the special effects production system, in response to triggering of the displayed special effects production link, a special effects editing engine in the special effects production system is run; By means of the special effect editing engine, a special effect editing webpage is presented after running, and in response to a special effect production operation generated on the special effect editing webpage, special effect production content corresponding to the special effect production operation is presented on an editing area of the special effect editing webpage; The special effect editing engine responds to the triggering of the real-time preview control on the special effect editing webpage, calls the special effect production file of the special effect production content, and displays the first special effect content formed after rendering the special effect production file on the preview window containing the real-time picture frame. The preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by an image capture device.
2. The method according to claim 1, further comprising: By means of the special effect editing engine, in response to triggering of the preview running control on the special effect editing webpage, a special effect preview link of the special effect production content is generated, and the special effect preview link is presented on the special effect editing webpage; Among them, the special effect preview link includes a cache address of a preview special effect package file on the special effect cloud platform, and the preview special effect package file is generated corresponding to the special effect production content.
3. The method according to claim 2, further comprising: By means of the special effect editing engine, in response to the triggering of the special effect preview link, a preview access request including a cache address is generated and sent to a special effect runtime engine included in the special effect production system; By means of the special effects runtime engine, according to the cache address in the preview access request, from the The special effect cloud platform calls the preview special effect package file, and displays the second special effect content formed after running the preview special effect package file in the preview running window. The preview running window is popped up in association with the special effect cloud platform, and the second special effect content is the same as the first special effect content.
4. The method according to claim 1, further comprising: By means of the special effect editing engine, in response to the triggering of the special effect publishing control on the special effect editing webpage, an application special effect package file of the special effect production content is generated and published to the special effect cloud platform; The received application special effects package file is stored through the special effects cloud platform, and the special effects package storage address of the application special effects package file is fed back to the special effects editing engine; A special effect application link including the storage address of the special effect package is generated through the special effect editing engine, and the special effect application link is presented on the special effect editing webpage.
5. The method according to claim 3, further comprising: When receiving a special effect application access request including the special effect package storage address through the special effect cloud platform, the application special effect package file is called according to the special effect package storage address, and the third special effect content rendered by the application special effect package file is displayed in the special effect application window, The special effect application access request is generated by accessing the special effect application link, and the third special effect content is the same as the first special effect content.
6. The method according to claim 1, further comprising: By means of the special effect editing engine, in response to the triggering of the special effect download control on the special effect editing webpage, a set format special effect file selected in the pop-up download window relative to the special effect production content is determined, and a special effect package download file is generated based on the set format special effect file, The special effects package download file is used to run and display the corresponding special effects on a third-party special effects development tool A fourth special effect content of the production content; the fourth special effect content is the same as the first special effect content.
7. The method according to claim 1, further comprising: By means of the special effects editing engine, in response to triggering of a special effects export control on the special effects editing webpage, a special effects project file exported relative to the special effects production content is exported; After receiving the import operation of the special effect project file on the special effect editing webpage, the special effect editing engine presents the special effect production content corresponding to the special effect project file on the special effect editing webpage.
8. The method according to claim 1, further comprising: Through the special effect editing engine, in response to the triggering of the special effect saving control on the special effect editing webpage, the production file corresponding to the special effect production content is saved on the special effect cloud platform.
9. A special effects production system, wherein it is used to execute the method according to any one of claims 1 to 8, comprising: Special effects cloud platform, special effects editing engine and special effects runtime engine; The special effects cloud platform is used to respond to the triggering of the displayed special effects production link and run the special effects editing engine in the special effects production system; The special effect editing engine is used to present a special effect editing webpage after running, and respond to a special effect production operation generated on the special effect editing webpage, and present the special effect production content corresponding to the special effect production operation on the editing area of the special effect editing webpage; The special effect editing engine is further used to respond to the triggering of the real-time preview control on the special effect editing webpage, call the special effect production file of the special effect production content, and display the first special effect content formed after rendering the special effect production file on the real-time preview window containing the real-time picture frame. The real-time preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by an image capture device.
10. The system of claim 9, wherein The special effect editing engine is further used to respond to the triggering of the special effect preview link, generate a preview access request including a cache address and send it to the special effect runtime engine, wherein the special effect preview link includes a cache address of a preview special effect package file on the special effect cloud platform, and the preview special effect package file is generated corresponding to the special effect production content; The special effect runtime engine is used to call the preview special effect package file from the special effect cloud platform according to the cache address in the preview access request, and display the second special effect content formed after running the preview special effect package file in the preview running window; The preview running window is popped up in association with the special effect cloud platform, and the second special effect content is the same as the first special effect content.
11. The system according to claim 9, wherein the engine architecture of the special effect editing engine comprises: Special effects editing interface layer and special effects response support layer; The special effect editing interface layer is used to form a special effect editing webpage according to a set interface layout, and after a function item for special effect production provided in the special effect editing webpage is triggered, transmit the corresponding generated operation event to the special effect response support layer, and present the content after the special effect response support layer responds to the operation event; The special effect response support layer is used to support the operation event response involved in special effect production through a set architecture mechanism, and is also used to support the interaction with the special effect cloud platform and the special effect runtime engine in special effect production.
12. The system according to claim 11, wherein the architecture mechanism of the special effect response support layer comprises: An editing engine entity object and at least one pluggable functional component that the editing engine entity object depends on; The editing engine entity object is defined as an entity including a set of data-driven driving protocols, wherein the driving protocols adopt an immutable data structure, and the immutable data structure stores data in a tree structure in the form of tree nodes, so as to maintain consistency of data in the interaction with the special effects cloud platform and the special effects runtime engine; Each pluggable functional component is defined as a connectable object, which establishes a connection with the editing engine entity object and the special effect editing interface layer, and provides the editing engine entity object with at least one business function involved in the special effect production interaction, and is orthogonal to the business functions involved in other pluggable functional components.
13. The system of claim 12, wherein The pluggable functional component is used to receive the operation event of the relevant business function issued by the special effect editing interface layer, generate the associated response event after responding to the operation event, and transmit the response event to the editing engine entity object; The editing engine entity object is used to respond to the received event to be responded to, and to change the data information of the associated node in the tree structure according to the response result, and to feed back the response result to the pluggable functional component of the response; The pluggable functional component is used to transfer the received response result to the special effect editing interface layer, so that the special effect editing interface layer presents the corresponding operation result for the operation event.
14. The system according to claim 13, wherein the architecture mechanism of the special effect response support layer further includes a stream object for event communication, wherein the stream object includes at least one first stream function node for pluggable functional components to subscribe to, and a second stream function node that communicates with the editing engine entity object; The pluggable functional component is used to pass through the subscribed first stream function node through the second stream The function node passes the events to be responded to or the requests to communicate with other pluggable functional components to the editing engine entity object; it is also used to receive the response results fed back by the editing engine entity object via the second stream function node and the subscribed first stream function node or the communication content requested by other pluggable functional components.
15. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects production method as described in any one of claims 1-8.
16. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the special effect production method according to any one of claims 1 to 8 when executed by a computer processor.
Citation Information
Patent Citations
Information processing method, device and system and storage medium
CN112905174A
Agile development method for action game skill special effect
CN113521744A
Special effect data packet generation method and device, image processing method and device, equipment and storage medium
CN113709549A
User interface editing method and device in game and storage medium
CN114201167A
Special effect prop processing method and device, electronic equipment and storage medium
CN116170627A