Special effect production method, system and equipment and storage medium
Through the special effects cloud platform and special effects editing engine, AR special effects production on the web side is realized, solving the problems of complex and costly special effects production tools in the existing technology, and improving convenience and user experience.
Patent Information
- Application Number
- CN202311029855.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2025-02-21
AI Technical Summary
The existing AR special effects production tools require the installation of clients, which are complex to use, which increases production costs, which is not conducive to the popularization of AR special effects.
Provide a special effect production method, through the special effect cloud platform and the special effect editing engine, realize the special effect production on the web side, and avoid installing complex special effect production tool clients.
It improves the convenience of special effects production, reduces the cost of use, and enables special effects producers to produce special effects on the web side, realizes real-time preview of the created special effects, and improves the user experience.
Smart Images

Figure CN119493926A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of special effect production, and in particular, to a special effect production method, system, device and storage medium. Background Art
[0002] With the development of network technology, augmented reality (AR) technology is increasingly being used in various fields, such as live broadcast, short video, games, etc. AR technology often displays AR content in the form of AR special effects props. For example, the AR special effects props provided can enhance visual effects in the live broadcast interface or short video interface.
[0003] Generally, AR special effects props often need to be produced through special effects production tools. At present, the commonly used special effects production tools are mainly in the form of desktop applications, which require the installation of special effects production tool clients. Such special effects production tools are relatively complex in installation and use, requiring certain design capabilities, as well as investment in learning and use costs.
[0004] The above-mentioned method of realizing AR special effects production by using special effects production tool client is not conducive to the popularization of AR special effects, and also increases the investment in AR special effects production costs. Summary of the invention
[0005] The present invention 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.
[0006] In a first aspect, an embodiment of the present disclosure provides a special effect production method, the method comprising:
[0007] 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;
[0008] 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;
[0009] 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.
[0010] The preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by an image capture device.
[0011] In a second aspect, the embodiments of the present disclosure further provide a special effect production system, which is used to execute the method described in the embodiments of the first aspect, and the system includes: a special effect cloud platform, a special effect editing engine, and a special effect runtime engine;
[0012] 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;
[0013] 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;
[0014] 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.
[0015] 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.
[0016] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0017] one or more processors;
[0018] a storage device for storing one or more programs,
[0019] 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.
[0020] 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.
[0021] The disclosed embodiments provide a special effect production method, system, device and storage medium. Through the special effect production method, first, a special effect cloud platform in a special effect production system responds to the triggering of a displayed special effect production link and runs a special effect editing engine in the special effect production system; then, the special effect editing engine presents a special effect editing webpage after running, 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 the editing area of the special effect editing webpage; finally, the special effect editing engine responds to the triggering of a real-time preview control on the special effect editing webpage, calls a special effect production file of the special effect production content, and displays 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 is presented in the special effect editing webpage, and the real-time picture frame is captured by an image capture device. The above technical solution adds a special effect editing engine, which provides users with a visual special effect editing web page, so that special effect producers can produce special effects based on the Web, avoiding the installation of complex special effect production tool clients, improving the convenience of video production and reducing the cost of use. And by calling and rendering the special effect production file of the special effect production content, the corresponding presentation effect is presented in the preview window, realizing the preview of the special effect content that has been produced, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0023] Figure 1 A flowchart of a special effect production method provided by an embodiment of the present disclosure;
[0024] Figure 2 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;
[0025] Figure 3 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;
[0026] Figure 4 A structural schematic diagram of a special effects production system provided by an embodiment of the present disclosure;
[0027] Figure 5 A structural schematic diagram of a special effect editing engine in a special effect production system provided by an embodiment of the present disclosure;
[0028] Figure 6 A structural schematic diagram of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure;
[0029] Figure 7 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;
[0030] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0032] 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.
[0033] The term "including" and its variations used herein are open inclusions, 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"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0034] It should be noted that the concepts such as "first" and "second" mentioned in the present 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.
[0035] It should be noted that the modifications of "one" and "plurality" 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, it should be understood as "one or more".
[0036] 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.
[0037] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present 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.
[0038] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0039] As an optional but non-limiting implementation, in response to receiving an active request from the user, 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. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0040] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0041] It is known that with the development of network technology, augmented reality AR technology is increasingly being used in various fields, such as live broadcast, short video, 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 a very broad application prospect, 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 cooperation 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.
[0042] Generally, AR special effects props often need to be produced through special effects production tools. At present, the commonly used special effects production tools are mainly in the form of desktop applications, which require the installation of special effects production tool clients. Such special effects production tools are relatively complex in installation and use, requiring certain design capabilities, as well as investment in learning and use costs.
[0043] The above-mentioned method of realizing AR special effects production by using special effects production tool client is not conducive to the popularization of AR special effects, and also increases the investment in AR special effects production costs.
[0044] 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.
[0045] Specifically, Figure 1 A flow chart of a special effects production method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where special effects are produced through a Web terminal. 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 by an electronic device as an execution terminal, which can be a mobile terminal, a PC or a server, etc.
[0046] like Figure 1 As shown, a special effect production method provided by an embodiment of the present disclosure specifically includes the following operations:
[0047] S110. In response to triggering of the displayed special effect production link, a special effect editing engine in the special effect production system is run through the special effect cloud platform in the special effect production system.
[0048] In this embodiment, the special effects production system can be understood as a system provided to special effects producers for special effects production, and the special effects production system includes a special effects cloud platform and a special effects editing engine. The web-side 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 run, the special effects cloud platform will display a front-end webpage at the visualization level, and the front-end webpage will display a special effects production link.
[0049] Among them, the special effect production link can be understood as an address link, which is used to wake up the special effect production tool on the Web side. When the special effect producer wants to produce special effects through the special effect production tool on the Web side provided by this embodiment, the special effect production link can be triggered. After triggering the special effect production link, the special effect editing engine can be run. The special effect editing engine can be understood as a tool for special effect production on the Web side. It can be considered that the triggering operation of the special effect editing engine is started by starting the special effect production link.
[0050] Different from the prior art 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, thereby providing underlying support for subsequent special effects production.
[0051] S120. After running, the special effect editing engine presents a special effect editing webpage, and in response to a 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.
[0052] In this embodiment, after the special effect production link is triggered, the special effect editing engine is run. After the special effect editing engine is run, a new web page can be presented at the visualization level. This web page is a web page for special effect editing, which is recorded as the special effect editing web page in this embodiment. It should be noted that the underlying support of the special effect editing web page is independent of the special effect cloud platform and has its own independent architecture support. In this embodiment, the underlying architecture that supports the special effect editing function is recorded as the special effect editing engine.
[0053] Among them, the special effects editing webpage may include functional items or optional items related to special effects production, as well as operable controls, etc. The reason why the special effects editing webpage can provide editable items related to special effects production is that there is support for the special effects editing engine at the bottom. The special effects editing engine can be understood as a tool that responds to the actual production, which is equivalent to the special effects editing webpage being a presentation at the visual level. When operating on the special effects editing webpage, it is actually the special effects editing engine as an underlying architecture that responds accordingly.
[0054] In this embodiment, the special effect production operation is performed in this step. When the special effect production operation is performed on the special effect editing webpage, the special effect production operation will be responded to. In this embodiment, the content that responds to the special effect production operation is recorded as the special effect production content. After responding to the special effect production operation generated on the special effect editing webpage, the corresponding special effect production content will be presented in an area of the special effect editing webpage, which is recorded as the editing area. When triggered based on the special effect production link, the operation of the special effect editing engine can be triggered, so that the production and editing of special effects can be realized through the interactive operation between the special effect editing engine and the special effect editing webpage of the upper layer of the special effect editing engine.
[0055] In this embodiment, there is no specific restriction on the special effect production operation. A developer may develop a special effect editing engine according to actual needs, so that the special effect editing engine can support the special effect editing webpage to include various types of special effect production function items, such as deformation options, texture options, function options, model addition options, etc. The special effect producer may perform corresponding special effect production operations according to the needs of his own production. Regardless of what kind of special effect production operation the special effect producer performs, the special effect production content corresponding to the special effect production operation will be presented in the editing area. At this point, it can be considered that the relevant steps of special effect production have been completed.
[0056] S130. In response to triggering of a real-time preview control on the special effect editing webpage, the special effect production file of the special effect production content is called through the special effect editing engine, and a first special effect content formed after rendering the special effect production file is displayed on a preview window including 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.
[0057] After the special effects are produced, the produced special effects can also be displayed. This step is used to preview the special effects production content. In this embodiment, there is a preview control on the special effects editing webpage, which is recorded as a real-time preview control. By triggering the real-time preview control, the preview display of the special effects can be realized.
[0058] The real-time preview control may be 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 may be called, and the special effect production file may be rendered to form the special effect content, which is recorded as the first special effect content.
[0059] 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 should be presented by the produced special effects, that is, the first special effects content, can be presented on the real-time picture frame. Exemplarily, 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.
[0060] In this embodiment, in addition to previewing special effects on dynamic real-time picture frames, the preview window can also import materials (such as pictures) and present special effects on the imported materials. That is, the effect of the special effects content produced in real time on the real-time picture frame can be previewed in real time, which is equivalent to starting the image acquisition device to capture the real-time picture frame for special effects presentation. Special effects can also be presented on static imported materials.
[0061] The present embodiment provides a special effect production method, which first 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; then, after running, the special effect editing engine presents a special effect editing webpage, and responds to the special effect production operation generated on the special effect editing webpage, and presents the special effect production content corresponding to the special effect production operation on the editing area of the special effect editing webpage; finally, 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, and the preview window is presented in the special effect editing webpage, and the real-time picture frame is captured by the image capture device. The above technical solution adds a special effect editing engine, and provides users with a visual special effect editing webpage through the special effect editing engine, so that special effect producers can produce special effects based on the Web end, avoid installing complex special effect production tool clients, improve the convenience of video production, and reduce 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 that has been produced and improving the user experience.
[0062] The above embodiment describes the process of special effect production. Considering that after the special effect is produced, it is also necessary to realize the function of applying the produced special effect, based on the above embodiment, as a first optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0063] Through the special effects editing engine, in response to the triggering of 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.
[0064] In this embodiment, the special effect editing webpage also includes a preview run control. It can be understood that the special effect production content edited and produced based on the special effect editing engine can be given to the engine that can apply the produced special effects by triggering the preview run control on the special effect editing webpage. One implementation method is to obtain the produced preview special effect package file through the engine that applies the produced special effects, and then run the preview special effect package file and display the special effects in a window of the associated cloud platform.
[0065] Specifically, when the special effects producer triggers the preview run control on the special effects editing webpage, the special effects editing engine will respond to the triggering of the preview run control, thereby generating a special effects preview link corresponding to the special effects production content. In this embodiment, the file corresponding to the special effects production content is recorded as a preview special effects package file, and the preview special effects package file is generated based on the special effects production 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 the cache address.
[0066] After generating a special effect preview link for the special effect production content, the special effect preview link can be presented on the special effect editing interface. Based on the special effect preview link, the preview special effect package file on the special effect cloud platform can be called, and then combined with the engine used by the special effect, the corresponding special effect content can be displayed. Exemplarily, the special effect preview link 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.
[0067] 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.
[0068] Based on the above embodiment, as a second optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0069] a1) In response to the triggering of the special effect preview link, the special effect editing engine generates a preview access request including a cache address and sends the request to the special effect runtime engine included in the special effect production system.
[0070] 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.
[0071] b1) calling the preview special effect package file from the special effect cloud platform through the special effect runtime engine according to the cache address in the preview access request, and displaying the second special effect content formed after running the preview special effect package file in the preview running window,
[0072] 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.
[0073] Continuing with the above description, after receiving the preview access request, the special effect runtime engine can obtain the cache address in the preview access request and access the special effect cloud platform based on the cache address. Since the cache address is the cache address of the preview special effect package file on the special effect cloud platform, the preview special effect package file can be called and run to form special effect content, which is recorded as the second special effect content. The special effect cloud platform will pop up a preview run window, and then present the second special effect content in the preview run window.
[0074] In this embodiment, the special effect editing engine is connected to an existing platform or operating tool, so that the special effect production content produced can be applied on the existing platform or operating tool after forming a special effect production file. It should be noted that it is necessary to ensure that the content effect presented on the special effect editing webpage is consistent with the effect that can be displayed by applying the special effect, that is, the second special effect content is the same as the first special effect content.
[0075] The above technical solution not only provides the function of visual special effect production and editing, but also provides a special effect runtime engine, which can directly display the produced and edited special effect content on the special effect runtime engine. And when displaying the special effect content, the consistency between the displayed special effect content and the produced special effect content is guaranteed.
[0076] On the basis of the above second optional embodiment, as a third optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0077] a2) Through 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.
[0078] In this embodiment, the special effect editing webpage also includes a special effect publishing control, which is used to publish the special effect to the special effect cloud platform for use. If you want to use the produced special effect directly on the cloud platform, after completing the special effect production, the special effect producer can directly trigger the special effect publishing control on the special effect editing webpage.
[0079] When the special effect publishing control is triggered, the special effect editing engine can respond to the triggering of the special effect publishing control, thereby generating an application special effect package file of the special effect production content, and publishing the application special effect package file to the special effect cloud platform.
[0080] b2) 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.
[0081] Continuing with the above description, when the application special effect package file is published to the special effect cloud platform, the received application special effect package file can be stored through the special effect cloud platform. The storage address of the application special effect package file can be obtained and recorded as the special effect package storage address, and the special effect package storage address is further fed back to the special effect editing engine.
[0082] 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.
[0083] Specifically, the special effect editing engine generates a link containing the storage address of the special effect package, which is recorded as the special effect application link, and further presents the special effect application link on the special effect editing webpage. This is equivalent to triggering the special effect publishing control to publish the produced special effects to the special effect cloud platform.
[0084] 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.
[0085] The third optional embodiment described above adds a special effect publishing function, which enables the production and editing of special effect content to be published on the cloud platform for storage, so that the produced special effect content can be called later directly by accessing the special effect application link.
[0086] On the basis of the third optional embodiment described above, as a fourth optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0087] 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.
[0088] Specifically, when the special effect application link is presented on the special effect editing webpage, the special effect producer can access the special effect application link to generate a special effect application access request. Correspondingly, following the above description, after the special effect cloud platform receives the special effect application access request, it can obtain the special effect package storage address in the special effect application access request, and access the special effect cloud platform based on the special effect package storage address. Since the special effect package storage address is the special effect package storage address of the application special effect package file on the special effect cloud platform, the application special effect package file can be called and rendered to form special effect content, which is recorded as the third special effect content. The special effect cloud platform will pop up a special effect application window, and then present the third special effect content in the special effect application window.
[0089] What needs to be known is that it is necessary 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.
[0090] Based on this, it can be seen that the special effect production method provided in this embodiment can be used to display special effects through the special effect runtime engine; it can also be directly published to the special effect cloud platform and presented on the special effect cloud platform based on the special effect preview link. What is achieved is that no matter the special effect application effect displayed by the special effect runtime engine or the special effect application effect displayed on the special effect cloud platform, it is the same as the produced special effect effect.
[0091] 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.
[0092] Based on the above embodiment, as a fifth optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0093] 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, and the special effects package download file is used to run and display a fourth special effects content corresponding to the special effects production content on a third-party special effects development tool; the fourth special effects content is the same as the first special effects content.
[0094] 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, the special effects download control can be triggered. Correspondingly, in response to the triggering of the special effects download control, a download window will pop up through the special effects editing engine, and some set format special effects files will be selected from the download window relative to the special effects production content. The special effects file can be understood as the engineering file when performing special effects production. Then, based on these set format special effects files, a special effects package download file can be generated. After downloading, the special effects package download file can be applied to a third-party special effects development tool, and the third-party special effects development tool can be understood as an engine that supports special effects display.
[0095] Similarly, it is necessary to ensure that the content effect presented on the special effects editing webpage is 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.
[0096] The fifth optional embodiment adds a special effect download function. By triggering the special effect download control on the special effect editing webpage, a special effect package download file can be generated. The special effect package download file can be applied to a third-party special effect development tool to run and display the effects presented by the special effect production content. And when the special effect content is displayed on the third-party special effect development tool, the consistency of the displayed special effect content and the produced special effect content is guaranteed.
[0097] Based on the above embodiment, as a sixth optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0098] a3) exporting a special effect project file relative to the special effect production content in response to triggering of a special effect export control on the special effect editing webpage through the special effect editing engine.
[0099] In this embodiment, when special effects are produced or edited in the editing area, corresponding special effects engineering files will be generated in the corresponding stages. These special effects engineering files can be directly exported. Among them, the special effects editing webpage also includes a special effects export control. Specifically, when the special effects producer wants to export the special effects engineering files generated during the special effects production or editing process, the special effects export control can be triggered. Correspondingly, the special effects editing engine can respond to the triggering of the special effects export control, thereby exporting the special effects engineering files exported from the special effects production content.
[0100] 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.
[0101] In this embodiment, after the special effect production function is started, the special effect editing engine can be used to import the special effect project file. When the special effect producer wants to import the special effect project file, the special effect project file can be imported. Correspondingly, after the special effect editing engine receives the import operation of the special effect project file, the special effect production content corresponding to the special effect project file will be presented on the special effect editing webpage.
[0102] For example, assuming that special effects content is produced on device A, the special effects project file of the special effects content produced 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.
[0103] The sixth optional embodiment described above adds the functions of exporting and importing special effect project files, thereby realizing the export of special effect project files of produced special effect contents and the import of special effect project files to display the produced special effect contents.
[0104] Based on the above embodiment, as a seventh optional embodiment of this embodiment, the method can be optimized to further include the following steps:
[0105] 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.
[0106] In this embodiment, the special effect editing webpage also includes a special effect saving control. When the special effect producer wants to save the special effect content that has been produced or edited during the special effect production process, the special effect saving control can be triggered. Accordingly, through the special effect tagging engine, in response to the triggering of the special effect saving control, the production file corresponding to the special effect production content can be saved on the special effect cloud platform.
[0107] For example, the special effects maker can save the special effects as needed during the special effects production process, so that when the special effects maker enters the special effects editing interface again, he can continue to produce or edit the special effects saved previously.
[0108] The seventh optional embodiment described above adds a special effect saving function, which enables the special effects that have been produced or edited to be saved at any time during the special effect production process, so as to facilitate subsequent editing.
[0109] In order to more clearly characterize the special effects editing web page, for example, Figure 2 This is an example diagram of the effect of a special effect editing webpage during the execution of a special effect production method provided by an embodiment of the present disclosure. Figure 2As shown, by running the special effect editing engine, a special effect editing webpage 2 is presented after running, and the special effect 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 item 211 for real-time preview, the special effect content can be displayed on the preview window 21. The special effect editing webpage 2 also includes a preview run button 22, and by triggering the preview run button 22, the special effect content can be previewed. The special effect editing webpage 2 also includes a special effect publishing button 23, and by triggering the special effect publishing button 23, the special effect production content can be published on the special effect cloud platform. The special effect editing webpage 2 also includes a special effect download button 24, and by triggering the special effect download button 24, the relevant special effect files can be downloaded. The special effect editing webpage 2 also includes a special effect export control button 25, and by triggering the special effect export button 25, the special effect project file can be exported. The special effect editing webpage also includes a special effect saving button 26. By triggering the special effect saving button 26, the special effect production content can be saved.
[0110] Figure 3 This 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. Figure 2 The example is described as Figure 3 As shown, when the special effect producer triggers the preview run button 22 on the special effect editing webpage, the special effect editing engine will respond 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 in the form of a QR code on the special effect editing interface. By scanning the QR code, the special effect preview link can be accessed to obtain the preview special effect package file.
[0111] Figure 4 This is a schematic diagram of a special effects production system structure provided by an embodiment of the present disclosure. The special effects production system is used to execute the method described in the above embodiment. The embodiment of the present disclosure is applicable to the case where special effects are produced through a Web terminal. Figure 4As shown, the system includes: a special effect cloud platform 41, a special effect editing engine 42 and a special effect runtime engine 43; the special effect cloud platform 41 is used to respond to the triggering of the displayed special effect production link and run the special effect editing engine in the special effect production system; the special effect editing engine 42 is used to present the special effect editing webpage after running, and respond to the 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 42 is also 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 the image capture device.
[0112] In this embodiment, the special effect production system can be understood as a system provided to special effect producers for special effect production, and the special effect production system 4 includes a special effect cloud platform 41, a special effect editing engine 42 and a special effect runtime engine 43. The special effect cloud platform 41 is used to respond to the triggering of the displayed special effect production link and run the special effect editing engine in the special effect production system.
[0113] 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 running the special effects cloud platform 41 of the special effects production system, the special effects cloud platform 41 will display a front-end web page at the visualization 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 make special effects through the Web-side special effects production tool provided by this embodiment, 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 operation of the special effects editing engine is started by starting the special effects production link.
[0114] Different from the prior art 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, thereby providing underlying support for subsequent special effects production.
[0115] 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.
[0116] In this embodiment, after the special effect production link is triggered, the special effect editing engine 42 is run. After the special effect editing engine 42 is run, a new webpage can be presented at the visualization level. This webpage is a webpage for special effect editing, which is recorded as the special effect editing webpage in this embodiment. It should be noted that the underlying support of the special effect editing webpage is independent of the special effect cloud platform and has its own independent architecture support. In this embodiment, the underlying architecture supporting the special effect editing function is recorded as the special effect editing engine 42.
[0117] Among them, the special effect editing webpage may include function items or options related to special effect production, as well as operable controls, etc. The reason why the special effect editing webpage can provide editable items related to special effect production is that there is support from the special effect editing engine 42 at the bottom. The special effect editing engine 42 can be understood as a tool that responds to the actual production, which is equivalent to the special effect editing webpage being a presentation at the visual level. When operating on the special effect editing webpage, it is actually the special effect editing engine 42 as an underlying architecture that makes the corresponding response.
[0118] In this embodiment, the special effect production operation is performed based on the special effect editing engine 42. When the special effect production operation is performed on the special effect editing webpage, the special effect production operation will be responded to. In this embodiment, the content that responds to the special effect production operation is recorded as the special effect production content. After responding to the special effect production operation generated on the special effect editing webpage, the corresponding special effect production content will be presented in an area of the special effect editing webpage, which is recorded as the editing area. When triggered based on the special effect production link, the operation of the special effect editing engine 42 can be triggered, so that the production and editing of special effects can be realized through the interactive operation between the special effect editing engine 42 and the special effect editing webpage of the upper layer of the special effect editing engine 42.
[0119] In this embodiment, there is no specific restriction on the special effect production operation. The developer may develop the special effect editing engine 42 according to actual needs, so that the special effect editing engine 42 can support the special effect editing webpage to include various types of special effect production function items, such as deformation options, texture options, function options, model addition options, etc. The special effect producer may perform the corresponding special effect production operation according to the needs of his own production. No matter what kind of special effect production operation the special effect producer performs, the special effect production content corresponding to the special effect production operation will be presented in the editing area. So far, it can be considered that the relevant steps of special effect production have been completed.
[0120] 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 including 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.
[0121] After the special effects are produced, the produced special effects can also be displayed. The special effects editing engine 42 also supports previewing the special effects production content. In this embodiment, there is a control for previewing on the special effects editing webpage, which is recorded as a real-time preview control. By triggering the real-time preview control, the preview display of the special effects can be realized.
[0122] The real-time preview control may be 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 may be called, and the special effect production file may be rendered to form the special effect content, which is recorded as the first special effect content.
[0123] 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 starts 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 should be presented by the produced special effects, that is, the first special effects content, can be presented on the real-time picture frame. Exemplarily, 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.
[0124] In this embodiment, in addition to previewing special effects on dynamic real-time picture frames, the preview window can also import materials (such as pictures) and present special effects on the imported materials. That is, the effect of the special effects content produced in real time on the real-time picture frame can be previewed in real time, which is equivalent to starting the image acquisition device to capture the real-time picture frame for special effects presentation. Special effects can also be presented on static imported materials.
[0125] The above technical solution adds a special effect editing engine, which provides users with a visual special effect editing web page, so that special effect producers can produce special effects based on the Web, avoiding the installation of complex special effect production tool clients, improving the convenience of video production and reducing the cost of use. And by calling and rendering the special effect production file of the special effect production content, the corresponding presentation effect is presented in the preview window, realizing the preview of the special effect content that has been produced, and improving the user experience.
[0126] On the basis of the above embodiment, as a first optional embodiment of this embodiment, the function of the special effect editing engine can be optimized, and the special effect editing engine 42 is also used to respond to the triggering of the special effect preview link, generate a preview access request containing a cache address and send it to the special effect runtime engine 43, the special effect preview link contains the cache address of the 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 43 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.
[0127] In this embodiment, the special effect editing engine 42, in response to triggering the preview run control on the special effect editing webpage, generates a special effect preview link for the special effect production content, and presents the special effect preview link on the special effect editing webpage.
[0128] In this embodiment, the special effect editing webpage also includes a preview run control. It can be understood that the special effect production content edited and produced based on the special effect editing engine can be given to the engine that can apply the produced special effects by triggering the preview run control on the special effect editing webpage. One implementation method is to obtain the produced preview special effect package file through the engine that applies the produced special effects, and then run the preview special effect package file and display the special effects in a window of the associated cloud platform.
[0129] Specifically, when the special effects producer triggers the preview run control on the special effects editing webpage, the special effects editing engine will respond to the triggering of the preview run control, thereby generating a special effects preview link corresponding to the special effects production content. In this embodiment, the file corresponding to the special effects production content is recorded as a preview special effects package file, and the preview special effects package file is generated based on the special effects production 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 the cache address.
[0130] After generating a special effect preview link for the special effect production content, the special effect preview link can be presented on the special effect editing interface. Based on the special effect preview link, the preview special effect package file on the special effect cloud platform can be called, and then combined with the engine used by the special effect, the corresponding special effect content can be displayed. Exemplarily, the special effect preview link 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.
[0131] 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.
[0132] 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.
[0133] The special effect runtime engine 43 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.
[0134] Continuing with the above description, after receiving the preview access request, the special effect runtime engine can obtain the cache address in the preview access request and access the special effect cloud platform based on the cache address. Since the cache address is the cache address of the preview special effect package file on the special effect cloud platform, the preview special effect package file can be called and run to form special effect content, which is recorded as the second special effect content. The special effect cloud platform will pop up a preview run window, and then present the second special effect content in the preview run window.
[0135] In this embodiment, the special effect editing engine is connected to an existing platform or operating tool, so that the special effect production content produced can be applied on the existing platform or operating tool after forming a special effect production file. It should be noted that it is necessary to ensure that the content effect presented on the special effect editing webpage is consistent with the effect that can be displayed by applying the special effect, that is, the second special effect content is the same as the first special effect content.
[0136] The above technical solution provides a special effect runtime engine. By connecting the special effect runtime engine with the special effect editing engine and the special effect cloud platform, the edited special effect content can be directly displayed on the special effect runtime engine. And when displaying the special effect content, the consistency between the displayed special effect content and the produced special effect content is guaranteed.
[0137] Figure 5 A structural diagram of a special effect editing engine in a special effect production system provided by an embodiment of the present disclosure, such as Figure 5 As shown, further, the engine architecture of the special effects editing engine 42 can be 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 web page according to a set interface layout, and after the function items for special effects production provided in the special effects editing web page 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 architecture mechanism, and is also used to support the interaction with the special effects cloud platform and the special effects runtime engine in special effects production.
[0138] Among them, the engine architecture of the special effect editing engine 42 includes a special effect editing interface layer 421 and a special effect response support layer 422. The special effect editing interface layer 421 can be understood as a functional module that supports the presentation of the special effect editing web page. It can be considered that there are many layout-related methods, functions, components, etc. integrated in the special effect editing interface layer 421. These layout-related methods, functions, components, etc. can be considered as the set interface layout of the special effect editing interface layer 421. This ensures that when the special effect editing engine 42 is running, a special effect editing web page can be provided to present the set configured interface layout. Function items for special effect production are also provided in the special effect 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 effect response support layer 422.
[0139] Continuing with the above description, the special effect response support layer 422 will respond to the received operation event, and return the content after the operation event response to the special effect editing interface layer 421, and the special effect editing interface layer 421 presents the content. The special effect response support layer 422 can support the response to the operation events involved in the special effect production process through the set architecture mechanism. At the same time, the special effect response support layer 422 also supports the interaction with the special effect cloud platform and the special effect runtime engine in the special effect production.
[0140] 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.
[0141] Figure 6 A structural diagram of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure, such as Figure 6 As shown, 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 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.
[0142] Among them, the architecture mechanism of the special effect response support layer 422 includes an editing engine entity object 4221 and a pluggable functional component 4222. In this architecture, data and behavior are separated, and the editing engine entity object 4221 only stores data, while the function implementation is implemented by the pluggable functional component 4222. Based on this architecture that separates data from logic, it is very helpful to reduce code coupling and improve code cohesion. The entire special effect editing engine can be regarded as an editing engine entity object. For example, assuming that a head model is selected for editing, the head model can be regarded as an editing engine entity object. The pluggable functional component can be understood as the attribute information corresponding to the editing engine entity object. For example, the attribute information such as material, texture, and coordinate position can be represented in the form of a pluggable functional component. The material corresponds to a pluggable functional component, the texture corresponds to a pluggable functional component, and the coordinate position corresponds to a 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 some operation events in the upper layer adjust its attribute information, it will respond to the event to inform it of the changes in the attribute.
[0143] In this embodiment, one editing engine entity object corresponds to many pluggable functional components to support it. Since the pluggable functional components are independent of each other, the pluggable functional components can be added or deleted. The number of pluggable components can be increased according to actual needs, realizing the scalability of the pluggable components. After the pluggable functional components are added, the editing engine entity object can be supported to perform corresponding operations.
[0144] It should be clear that the special effects editing engine can respond to the special effects cloud platform and the special effects runtime engine because the three share a set of protocols, which can be considered as a data structure used when defining the entity objects of the editing engine, that is, defined as a drive protocol containing data drivers. The drive protocol is a foundation that runs through the entire entity object of the editing engine, and on the basis of the data drive protocol, it serves as data support for subsequent runtime.
[0145] 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 interacting with the special effects cloud platform and the special effects runtime engine.
[0146] Different from the traditional method in which after receiving the operation of the upper layer, the bottom layer has many functions to support the operation of the upper layer, the present embodiment does not adopt the method of writing many functions to support the operation of the upper layer, but adopts data-driven. The use of data-driven will save the data updates of the previous operation, and when a new operation is received, the previously saved data will be updated. Compared with saving all 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.
[0147] It should be clear that the immutable data structure uses an attribute structure, which saves memory space and improves the performance of the special effects production system. Based on the underlying architecture of this design, when it is necessary to add a special effects editing engine for multi-person collaborative production, it can be well compatible with the multi-person collaborative production function. And the library can be used to manage the state. In addition, when using an immutable data structure, the functions in the library can be called directly.
[0148] Since the special effects editing engine needs to have strong expansion capabilities to adapt to the creative demands of more AR scenes other than try-on, based on this consideration, the data-driven protocol is adopted in this embodiment, the core is simple enough, reducing external dependencies, and providing plug-in mechanism expansion capabilities. Considering that the special effects editing engine is a typical complex editor type, it needs to face a large number of state changes and view refreshes, and needs to manage a lot of objects. At the same time, in order to provide a good editing experience, it also needs to have the ability to save and load intermediate results, and support operations such as withdrawal and fallback.
[0149] Generally, the implementation of the undo and rollback function can be based on commands or data. For the command-based implementation, each atomic operation needs to be modeled and the forward and reverse operation codes need to be manually written, which is a cumbersome process and takes up memory. In this embodiment, the undo and rollback function is implemented based on data, which can ensure that the undo and rollback function is simpler. It only needs to store the data snapshots before and after the editing. The undo and rollback is the rollback of the data.
[0150] 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.
[0151] 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 special effect production interaction. For example, when the head model is moved, it is equivalent to changing the coordinate component, and informing him that the coordinate has been adjusted, which can be analyzed and presented with what kind of results after analysis. And each pluggable functional component 4222 establishes a connection with the special effect 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, which can be understood as orthogonal to each other. When a new business needs to be added, it can be achieved by adding a new pluggable functional component.
[0152] It can be known that pluggable functional components can realize various business functions. Each pluggable functional component is connected to the editing engine entity object, only pays attention to the changes it is interested in, and responds to the response results generated by the changes. Since pluggable functional components are orthogonal and ignorant of each other, that is, one pluggable functional component does not depend on any type of another pluggable functional component, it can be ensured that if any pluggable component is broken, it will not cause the entire system to crash, but only lose some functions.
[0153] The above technical solution specifies that the architecture mechanism of the special effect response support layer includes the editing engine view object and the pluggable functional component. The response function of the special effect response support layer is realized based on the editing engine entity object and the pluggable functional component. The driving protocol based on the data-driven driving protocol adopts an immutable data structure, and the immutable data structure stores data in the form of tree nodes in a tree structure, so as to ensure the consistency of data in the interaction with the special effect cloud platform and the special effect runtime engine. The immutable data structure adopts an attribute structure, which saves memory space and improves the performance of the special effect production system. Based on the underlying architecture of this design, when it is necessary to add a special effect editing engine for multi-person collaborative production, it can be well compatible with the multi-person collaborative production function. In addition, when the immutable data structure is used, the functions in the library can be called directly. And because the pluggable functional components are independent of each other, the pluggable functional components can be added or deleted. The number of pluggable components can be set according to actual needs, realizing the scalability of pluggable components.
[0154] Furthermore, the pluggable functional component 4222 is used to receive operation events of related business functions issued in the special effect 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 effect editing interface layer, so that the special effect editing interface layer presents the corresponding operation results for the operation events.
[0155] In this embodiment, when the special effect producer operates the function items of the special effect editing interface, the special effect editing interface layer 421 will send the operation event of the relevant business function to the pluggable function component 4222. After receiving the operation event of the relevant business function sent by the special effect editing interface layer, the pluggable function component 4222 will process the operation event and generate an event readable by the editing engine entity object, which is recorded as a response event in this embodiment. The pluggable function component 4222 transmits the response event to the editing engine entity object 4221.
[0156] 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 the 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. Exemplarily, if the operation event is a texture change, coordinate movement, etc., then the presentation of the corresponding operation result will also be a change in the texture and coordinates.
[0157] The above technical solution specifies the interaction between the pluggable functional components and the editing engine entity objects, and realizes the presentation of corresponding operation results in the special effects editing interface layer based on event operations. When changing information, only the data information of the associated nodes needs to be changed, and there is no need to change the entire data, which saves data memory space and improves system performance.
[0158] Furthermore, the architectural mechanism of the special effect response support layer 422 also includes a stream object 4223 for event communication, wherein 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.
[0159] In this embodiment, the pluggable functional components 4222 need to communicate with each other, and there must be some mechanism to realize this capability. Therefore, the architecture 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 realize the communication interaction between the pluggable functional component 4222 and the editing engine entity object 4221. Specifically, the stream object 4223 includes a stream function node 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, and 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 known that in this embodiment, the data is not broadcast unconditionally to all subscribers, but first reaches the editing engine entity object 4221 at the opposite end, and then the editing engine entity object 4221 decides whether to broadcast to each pluggable functional component 4222.
[0160] In this embodiment, the pluggable function component 4222 can pass the event to be responded to to the editing engine entity object 4221 through the first stream function flow node and the second stream function node. Similarly, the communication between the pluggable function components 4222 is also through the subscribed first stream function node, and the request for communication with other pluggable function 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 function control data is not broadcast unconditionally to all subscribers, but first reaches the editing engine entity object 4221 at the opposite end, and then the editing engine entity object 4221 decides whether to broadcast to each pluggable function component 4222.
[0161] In response to the event to be responded to, 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.
[0162] Similarly, as a response to a request to communicate with other pluggable functional components, the editing engine entity object 4221 will feedback 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.
[0163] For example, Figure 7 This is an example diagram of an interaction of a special effect response support layer in a special effect production system provided by an embodiment of the present disclosure, such as Figure 7 As shown, 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 mode of the editing engine entity object 4221, the pluggable functional component 4222 and the stream object 4223 is: the pluggable functional component 4222, through the subscribed first stream function node, passes the event to be responded to to the editing engine entity object via the second stream function node; it can also communicate and interact with other pluggable functional components through the subscribed first stream function node.
[0164] 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 function components to subscribe to, and a second stream function node that communicates with the editing engine entity object; the pluggable function 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 design of event communication, it can be ensured that the messages of all pluggable function components will first arrive at the editing engine entity object, and then the editing engine entity object decides whether to spread to the pluggable function component. And the pluggable function component communicates and interacts with other pluggable function components through the subscribed first stream function node.
[0165] Furthermore, the special effect editing engine 42, in response to triggering the special effect publishing control on the special effect editing webpage, generates an application special effect package file of the special effect production content and publishes it to the special effect cloud platform;
[0166] 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;
[0167] 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.
[0168] Furthermore, when the special effect cloud platform 41 receives the 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.
[0169] 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.
[0170] 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.
[0171] The special effect package download file is used to run and display the fourth special effect content corresponding to the special effect production content on a third-party special effect development tool; the fourth special effect content is the same as the first special effect content.
[0172] Further, the special effect editing engine 42, in response to triggering of the special effect export control on the special effect editing webpage, exports a special effect project file exported relative to the special effect production content;
[0173] 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.
[0174] Furthermore, the special effect editing engine 42, in response to triggering of the special effect saving control on the special effect editing webpage, saves the production file corresponding to the special effect production content on the special effect cloud platform.
[0175] 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.
[0176] 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.
[0177] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 8 It shows an electronic device (eg, Figure 8The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook 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. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0178] like Figure 8 As shown, 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. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. 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.
[0179] Typically, the following devices may be connected to the I / O interface 506: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication devices 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0180] 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 contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a 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 executed.
[0181] 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.
[0182] The electronic device provided in the embodiment of the present disclosure and the special effects production method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0183] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the special effect production method provided in the above embodiments is implemented.
[0184] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit 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 of the above.
[0185] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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 future developed network.
[0186] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0187] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0188] 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.
[0189] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).
[0190] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0191] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0192] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0193] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 may 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.
[0194] According to one or more embodiments of the present disclosure, [Example 1] provides a special effect production method, the method comprising: through a special effect cloud platform in a special effect production system, responding to the triggering of a displayed special effect production link, running a special effect editing engine in the special effect production system; through the special effect editing engine, presenting a special effect editing webpage after running, and in response 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 the editing area of the special effect editing webpage; through the special effect editing engine, responding to the triggering of a real-time preview control on the special effect editing webpage, calling a special effect production file of the special effect production content, 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.
[0195] 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.
[0196] According to one or more embodiments of the present disclosure, [Example Three] 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 preview link, generating a preview access request including 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 in association with the special effects cloud platform, and the second special effects content is the same as the first special effects content.
[0197] 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.
[0198] According to one or more embodiments of the present disclosure, [Example Five] provides a special effect production method, which can be optimized to also include: 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.
[0199] 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.
[0200] 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.
[0201] According to one or more embodiments of the present disclosure, [Example Eight] provides a special effect production method, which can be optimized to also include: through the special effect editing engine, in response to the triggering of the special effect save control on the special effect editing webpage, saving the production file corresponding to the special effect production content to the special effect cloud platform.
[0202] According to one or more embodiments of the present disclosure, [Example 9] provides a special effect production system, which executes the special effect production method described in any one of Examples 1 to 8 above. The system includes: a special effect cloud platform, a special effect editing engine, and a special effect runtime engine; the special effect cloud platform is used to respond to the triggering of the displayed special effect production link and run the special effect editing engine in the special effect production system; the special effect editing engine is used to present a special effect editing webpage after running, and respond to the 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 also 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 a real-time preview window containing a real-time picture frame, and 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.
[0203] 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 including a preview access address and send it to the special effects runtime engine, 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; 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 a second special effects content formed after running the preview special effects package file in a 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.
[0204] 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 web page according to a set interface layout, and after a function item for special effects production provided in the special effects editing web page is triggered, the corresponding generated operation event is passed to the special effects response support layer, and the content after the special effects response support layer responds to the operation event is presented; the special effects response support layer is used to support the operation event response involved in special effects production through a set architecture mechanism, and is also used to support interaction with the special effects cloud platform and the special effects runtime engine in special effects production.
[0205] 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.
[0206] 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 the corresponding operation results for the operation events.
[0207] 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.
[0208] 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, 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.
[0209] 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 a special effects production method as described in any one of Examples 1 to 8.
[0210] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. 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 a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0211] 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 are 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.
[0212] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A special effect production method, characterized in that: include: 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, characterized in that Also includes: 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, characterized in that Also includes: 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; The special effect runtime engine calls the preview special effect package file from the special effect cloud platform according to the cache address in the preview access request, 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, characterized in that: Also includes: 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, characterized in that: Also includes: 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, characterized in that Also includes: 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 effect package download file is used to run and display the fourth special effect content corresponding to the special effect production content on a third-party special effect development tool; the fourth special effect content is the same as the first special effect content.
7. The method according to claim 1, characterized in that Also includes: 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, characterized in that Also includes: 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, characterized in that: Used to execute the method described in any one of claims 1 to 8, comprising: 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 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 according to claim 9, characterized in that 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, characterized in that The engine architecture of the special effect editing engine includes: a special effect editing interface layer and a special effect 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, characterized in that The architecture mechanism of the special effect 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 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 according to claim 12, characterized in that 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, characterized in that The architecture mechanism of the special effect response support layer also includes a stream object for event communication, wherein the stream object includes at least one first stream function node for subscription by the pluggable functional component and a second stream function node communicating with the editing engine entity object; The pluggable functional component is used to pass the events to be responded to or the requests 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; it 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.
15. An electronic device, characterized in that: The electronic device comprises: 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 containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the special effect production method as described in any one of claims 1-8 when executed by a computer processor.