Special effect generation method, device and equipment, computer readable storage medium and product
By displaying the parameter setting area and the effect display area in the parameter generation page, users can quickly determine and view the preview image of the special effect parameters, solving the problems of cumbersome and long cycles of special effect content development in the existing technology, and achieving efficient special effect content package generation.
Patent Information
- Application Number
- CN202311175633.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2025-03-14
AI Technical Summary
In the prior art, special effects content development operations are cumbersome and the development cycle is long.
By displaying parameter generation page, including parameter setting areas and effect display areas, users can quickly determine the special effect parameters and intuitively view the preview image of the effect parameters. After the user is satisfied with the special effect parameters, the generated operation occurs to generate the special effect content package.
It improves the generation efficiency of special effect content packages, simplifies the special effect content development process, and shortens the development cycle.
Smart Images

Figure CN119620899A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of interface interaction technology, and in particular, to a special effect generation method, device, equipment, computer-readable storage medium and product. Background Art
[0002] Currently, various application programs (Application, APP for short) provide users with special effect contents, so that users can generate media contents based on the special effect contents.
[0003] In the related art, the development of special effect content is generally carried out by programming. However, the development of special effect content by the above method is often complicated. In addition, since there are many configuration parameters associated with the special effect content, the development cycle of the special effect content is long. Summary of the invention
[0004] The embodiments of the present disclosure provide a special effect generation method, device, equipment, computer-readable storage medium and product, which are used to solve the technical problems that the existing special effect content development operation is relatively cumbersome and the development cycle is long.
[0005] In a first aspect, an embodiment of the present disclosure provides a special effect generation method, comprising:
[0006] In response to a preset trigger operation of the user, a parameter generation page is displayed, wherein the parameter generation page includes a parameter setting area and an effect display area;
[0007] Acquire the special effect parameters and the test image determined by the user in the parameter setting area, and display a preview image generated based on the special effect parameters and the test image in the effect display area;
[0008] In response to the user triggering an operation of a preset confirmation control in the parameter generation page, displaying a preset special effect display page, and displaying special effect parameters in the special effect display page;
[0009] In response to a generation operation triggered by the user in the special effect display page, a special effect content package is generated based on the special effect parameters.
[0010] In a second aspect, an embodiment of the present disclosure provides a special effect generating device, including:
[0011] A display module, used to display a parameter generation page in response to a preset trigger operation of a user, wherein the parameter generation page includes a parameter setting area and an effect display area;
[0012] An acquisition module, used to acquire the special effect parameters and the test image determined by the user in the parameter setting area, and to display a preview image generated based on the special effect parameters and the test image in the effect display area;
[0013] A confirmation module, configured to display a preset special effect display page in response to a triggering operation of a confirmation control preset in the parameter generation page by the user, and to display special effect parameters in the special effect display page;
[0014] A generation module is used to generate a special effect content package based on the special effect parameters in response to a generation operation triggered by the user in the special effect display page.
[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
[0016] The memory stores computer-executable instructions;
[0017] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the special effects generating method described in the first aspect and various possible designs of the first aspect.
[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the special effects generation method described in the first aspect and various possible designs of the first aspect is implemented.
[0019] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the special effects generation method described in the first aspect and various possible designs of the first aspect.
[0020] The special effect generation method, device, equipment, computer-readable storage medium and product provided in this embodiment, by responding to the preset trigger operation of the user, displays the parameter generation page, and displays the parameter setting area and the effect display area in the parameter generation page, so that the user can quickly determine the expected test image of the special effect parameters in the parameter setting area, and can intuitively view the effect of the current special effect parameters in the effect display area. When the current special effect parameters meet the actual needs, in response to the user's triggering operation of the preset confirmation control in the parameter generation page, the preset special effect display page is displayed, and the special effect parameters are displayed in the special effect display page, so that the user can trigger the generation operation in the special effect display page, quickly realize the generation operation of the special effect content package, and improve the generation efficiency of the special effect content package. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 A schematic diagram of a flow chart of a special effect generation method provided in an embodiment of the present disclosure;
[0023] Figure 2 A schematic diagram of a display interface provided in an embodiment of the present disclosure;
[0024] Figure 3 A schematic diagram of interface interaction provided by an embodiment of the present disclosure;
[0025] Figure 4 A schematic diagram of another display interface provided by an embodiment of the present disclosure;
[0026] Figure 5 A flowchart of a special effect generation method provided by another embodiment of the present disclosure;
[0027] Figure 6 A schematic diagram of the structure of a special effect generating device provided in an embodiment of the present disclosure;
[0028] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] In order to solve the technical problem that the existing special effect content development cycle is long, the present disclosure provides a technical solution to the existing special effect content development operation being relatively cumbersome and having a long development cycle.
[0035] It should be noted that the special effects generation method, device, equipment, computer-readable storage medium and product provided by the present disclosure can be applied to any application scenario of special effects content package generation.
[0036] In the related technologies, developers are generally required to perform coding according to actual needs to generate special effect content packages. However, the operation is often cumbersome, the special effect development takes a long time, and the professional requirements of developers are high.
[0037] In the process of solving the above technical problems, the inventors found through research that in order to shorten the development difficulty and development time of the special effect content package, a parameter setting area and an effect display area can be displayed in the parameter generation page. The parameter setting area may include multiple parameter setting controls, wherein the parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control. Thus, the user can quickly perform the generation operation of the special effect parameters based on the parameter setting control. In addition, the user can also view the effect of the currently determined special effect parameters in the effect display area. Thus, when the special effect parameters meet the actual application requirements, the preset special effect display page can be displayed by triggering the preset confirmation control, and the special effect parameters can be displayed in the special effect display page, so that the user can trigger the generation operation in the special effect display page and generate the special effect content package based on the special effect parameters.
[0038] Figure 1 A flow chart of a special effect generation method provided in an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the method includes:
[0039] Step 101: In response to a preset trigger operation of a user, a parameter generation page is displayed, wherein the parameter generation page includes a parameter setting area and an effect display area.
[0040] The execution subject of this embodiment is a special effect generation device. The special effect generation device can be coupled to a server. The server can be connected to a cloud server for communication, so that the preview image and preview video can be generated through the cloud server.
[0041] In this embodiment, in response to the preset trigger operation of the user, a parameter generation page can be displayed, wherein the parameter generation page includes a parameter setting area and an effect display area. The parameter setting area is used to generate special effect parameters and determine the test image. The effect display area is used to display a preview image obtained after processing the test image based on the special effect parameters.
[0042] Optionally, the preset trigger operation may be a trigger operation of a preset editing control by a user.
[0043] Step 102: Acquire the special effect parameters and the test image determined by the user in the parameter setting area, and display a preview image generated based on the special effect parameters and the test image in the effect display area.
[0044] In this embodiment, after displaying the parameter generation page, the user can determine the special effect parameters and the test image based on the interactive operation in the parameter setting area. For example, the parameter setting area may include multiple parameter setting controls, and the user can generate special effect parameters by triggering the parameter setting controls. Among them, the special effect parameters include but are not limited to one or more of text description parameters, style parameters, text intensity parameters, and image quality parameters. In addition, the parameter setting area may also be provided with an image determination control. Thus, the user can upload and / or collect the test image based on the image determination control.
[0045] Further, after obtaining the special effect parameters and the test image, a preview image may be generated based on the special effect parameters and the test image. In order to allow the user to more intuitively view the effect of the currently determined special effect parameters, a preview image generated based on the special effect parameters and the test image may be displayed in the effect display area.
[0046] Optionally, the preview image may be generated by a preset cloud server. After obtaining the special effect parameters and the test image, the special effect parameters and the test image may be sent to the cloud server, so that the special effect processing algorithm preset in the cloud server generates a preview image based on the special effect parameters and the test image. The preview image is obtained and displayed in the effect display area. Alternatively, the preview image may be generated by the special effect generation device based on a built-in special effect processing algorithm, which is not limited in the present disclosure.
[0047] Step 103 , in response to the user triggering an operation of a preset confirmation control in the parameter generation page, displaying a preset special effect display page, and displaying special effect parameters in the special effect display page.
[0048] In this embodiment, the parameter generation page includes a preset confirmation control. After the preview image is displayed in the effect display area, if the user determines that the current special effect parameters meet the current expectations, the confirmation control can be triggered. In response to the trigger operation, a preset special effect display page can be displayed, and the special effect parameters can be displayed in the special effect display page.
[0049] Step 104: In response to a generation operation triggered by the user in the special effect display page, a special effect content package is generated based on the special effect parameters.
[0050] In this embodiment, the user can trigger a generation operation based on the special effect parameters in the special effect display page. The user can trigger the generation operation by triggering a preset generation control in the special effect display page. In response to the generation operation, a special effect content package can be generated based on the special effect parameters.
[0051] Through the above interactive operation, the special effect content package can be quickly generated, which improves the efficiency of generating the special effect content package. Therefore, the user can quickly perform batch production of the special effect content package based on the above method.
[0052] Figure 2 A schematic diagram of a display interface provided by an embodiment of the present disclosure, such as Figure 2 As shown, the parameter generation page 21 includes a parameter setting area 22 and an effect display area 23. The parameter setting area 22 includes a plurality of parameter setting controls 24, and the parameter setting controls 24 include at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control. The effect display area 23 is used to display a preview image 25 generated based on special effect parameters and a test image.
[0053] The special effect generation method provided in this embodiment displays a parameter generation page in response to a preset trigger operation of the user, and displays a parameter setting area and an effect display area in the parameter generation page, so that the user can quickly determine the expected test image of the special effect parameters in the parameter setting area, and can intuitively view the effect of the current special effect parameters in the effect display area. When the current special effect parameters meet the actual needs, in response to the user's triggering operation of the preset confirmation control in the parameter generation page, the preset special effect display page is displayed, and the special effect parameters are displayed in the special effect display page, so that the user can trigger the generation operation in the special effect display page, quickly realize the generation operation of the special effect content package, and improve the generation efficiency of the special effect content package.
[0054] Optionally, based on any of the above embodiments, the special effect content package includes a preset interaction logic script and a communication logic script.
[0055] Step 102 includes:
[0056] The interactive operation of the user in the parameter setting area is captured through the interactive logic script, and the special effect parameters and test images determined based on the interactive operation are obtained.
[0057] After step 102, the method further includes:
[0058] The special effect parameters and the test image are sent to a preset cloud server through the communication logic script, so that the special effect processing algorithm preset in the cloud server generates the preview image based on the special effect parameters and the test image.
[0059] The preview image sent by the cloud server is obtained through the communication logic script.
[0060] In this embodiment, an interactive logic script and a communication logic script may be pre-set. The interactive logic script is used to capture the user's interactive operations in the display interface, and the communication logic script is used to perform interactive operations with other devices. When the user determines the special effect parameters and generates a special effect content package based on the special effect parameters, the interactive logic script and the communication logic script may be packaged in the special effect content package.
[0061] Optionally, during the special effect parameter generation process, the user can perform parameter setting operations in the parameter setting area by human-computer interaction, so that the user's interactive operations in the parameter setting area can be captured by the interactive logic script, and the special effect parameters and test images determined based on the interactive operations can be obtained.
[0062] Furthermore, after obtaining the special effect parameters and the test image, the special effect parameters and the test image can be sent to a preset cloud server through a communication logic script. The cloud server can be pre-set with a special effect processing algorithm. Thus, after sending the special effect parameters and the test image to the cloud server, the special effect processing algorithm preset in the cloud server can perform special effect processing on the test image based on the special effect parameters to generate a preview image. In addition, the preview image sent by the cloud server can also be obtained through a communication logic script. Thus, after obtaining the preview image, the preview image can be displayed in the effect display area.
[0063] The special effect generation method provided in this embodiment can accurately capture the user's interactive operations on the display interface by presetting the interactive logic script and the communication logic script, and determine the special effect parameters and test images based on the interactive operations. In addition, the data transmission operation can be implemented through the communication logic script to achieve the generation and acquisition of the preview image. This allows the user to more intuitively view the display effect of the current special effect parameters in the parameter generation page, so as to generate special effect parameters that better meet personalized needs.
[0064] Further, based on any of the above embodiments, step 101 includes:
[0065] A special effect display page is displayed, wherein the special effect display page includes a parameter display area, and the parameter display area includes at least one parameter item and a preset editing control.
[0066] In response to the user's triggering operation on the editing control, a parameter generation page is displayed.
[0067] In this embodiment, in order to realize the generation operation of the special effect content package, the special effect display page can be displayed first. The special effect display page includes a parameter display area, and the parameter display area includes at least one parameter item and a preset editing control. The parameter items include but are not limited to text content items, style items, text strength items, etc.
[0068] The user can trigger the editing control according to actual needs to adjust the parameters displayed in the current parameter display area. In response to the trigger operation, the parameter generation page can be displayed, so that the user can quickly generate special effect parameters in the parameter generation page.
[0069] Figure 3 A schematic diagram of the interface interaction provided by the embodiment of the present disclosure, such as Figure 3As shown, the special effect display page 31 includes a parameter display area 32 and a preset editing control 33. In response to the user's triggering operation on the editing control 33, a parameter generation page 34 can be displayed. Among them, the parameter generation page 34 includes a parameter setting area 35 and an effect display area 36. The parameter setting area 35 includes a plurality of parameter setting controls 37, and the effect display area 36 is used to display a preview image 38 generated based on the special effect parameters and the test image.
[0070] The special effect generation method provided in this embodiment displays a parameter generation page in response to the user's triggering operation on the editing control in the special effect display page, thereby enriching the display content and interaction mode in the special effect display page. In addition, through the above-mentioned page jump operation, the user can quickly realize the generation of special effect parameters in the parameter generation page.
[0071] Optionally, based on any of the above embodiments, the parameter setting area includes a plurality of parameter setting controls and a preset image determination control. Step 102 includes:
[0072] In response to the user's triggering operation on a plurality of parameter setting controls, obtaining the special effect parameters generated by the user.
[0073] In response to the user's triggering operation on the image determination control, a test image captured or uploaded by the user in real time is acquired.
[0074] The parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control.
[0075] In this embodiment, the parameter setting area includes a plurality of parameter setting controls. The parameter setting controls include at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control. The parameter setting controls may include an input box, an adjustment slider, a selection control, and the like. By displaying the plurality of parameter setting controls, the user can quickly and accurately generate special effect parameters through the parameter setting controls.
[0076] In addition, the parameter setting area also includes a preset image determination control through which the user can determine the test image.
[0077] Optionally, the image determination control may be an upload control, so that the user can select and upload a test image in a preset storage path based on a trigger operation of the upload control. And / or, the image determination control may be a capture control, so that the user can capture a test image in real time based on a trigger operation of the capture control. The present disclosure does not limit the method for determining the test image.
[0078] The special effect generation method provided in this embodiment displays multiple parameter setting controls and a preset image determination control in the parameter setting area, so that the user can quickly obtain the special effect parameters by triggering the parameter setting control. In addition, by triggering the image determination control, a test image that meets the user's personalized needs can be obtained. The display content and interaction methods in the parameter generation page are enriched, and the generation speed of special effect content is improved.
[0079] Further, based on any of the above embodiments, the parameter setting area includes a preset image generation control. Step 102 includes:
[0080] In response to the user triggering the image generation control in the parameter setting area, a preview image generated based on the special effect parameters and the test image is displayed in the effect display area.
[0081] In this embodiment, the parameter setting area includes a preset image generation control. After the user completes the special effect parameters and the test image generation operation in the parameter setting area, the image generation control can be triggered. In response to the trigger operation, a preview image generated based on the special effect parameters and the test image can be displayed in the effect display area.
[0082] Optionally, in response to a user triggering operation on an image generation control, the special effect parameters and the test image can be sent to a preset cloud server, so that a preset special effect processing algorithm in the cloud server generates a preview image based on the special effect parameters and the test image. The special effect generation device can obtain the preview image and display it in the effect display area.
[0083] Alternatively, the special effects generating device may have a built-in special effects processing algorithm, so that in response to the user's triggering operation on the image generation control, the special effects processing algorithm may be directly used to generate a preview image based on special effects parameters and a test image, and the preview image may be displayed in the effect display area.
[0084] The special effect generation method provided in this embodiment responds to the user's triggering operation on the image generation control in the parameter setting area, and displays a preview image generated based on the special effect parameters and the test image in the effect display area, so that based on simple interactive operations, the user can more intuitively view the effects of the currently generated special effect parameters, so that the user can adjust the special effect parameters, so that the generated special effect parameters are more in line with the user's actual needs, and the generation speed of the special effect content is improved.
[0085] Further, based on any of the above embodiments, the parameter generation page also includes a history generation list, and the history generation list displays the generation records corresponding to the user's multiple historical parameter editing operations in a preset time sequence. The method also includes:
[0086] In response to the user's triggering operation on any generation record, the historical parameter information and historical test images corresponding to the generation record are displayed in the parameter setting area, and the historical preview image generated based on the historical parameter information and historical test image is displayed in the effect display area.
[0087] In this embodiment, the user can perform multiple editing operations on the special effect parameters in the parameter generation page. In order to facilitate the user to review the historical parameter editing operations, a historical generation list can be displayed in the parameter generation page, and the generation records corresponding to the user's multiple historical parameter editing operations can be displayed in the historical generation list in a preset time order.
[0088] By displaying the historical generation list, users can view the generation records according to actual needs. In response to the user's triggering operation on any generation record, the historical parameter information and historical test images corresponding to the generation record can be displayed in the parameter setting area, and the historical preview images generated based on the historical parameter information and historical test images can be displayed in the effect display area.
[0089] Optionally, the user can adjust the historical parameter information and / or historical test image according to actual needs. In response to the generation operation triggered by the user, a preview image can be generated based on the adjusted historical parameter information and / or historical test image, and the preview image can be displayed in the effect display area. After the preview image is generated, a new generation record can be generated based on the adjusted historical parameter information and / or historical test image and the preview image, and displayed in the historical generation list.
[0090] Figure 4 Another display interface diagram provided by the embodiment of the present disclosure is as follows: Figure 4 As shown, the parameter generation page 41 includes a historical generation list 42, and the historical generation list 42 displays generation records 43 corresponding to the user's multiple historical parameter editing operations in a preset time sequence. In response to the user's triggering operation on any generation record, the historical parameter information and historical test images corresponding to the generation record are displayed in the parameter setting area, and the historical preview image generated based on the historical parameter information and historical test images is displayed in the effect display area.
[0091] The special effect generation method provided in this embodiment displays the generation records corresponding to the user's multiple historical parameter editing operations in a historical generation list in a preset time sequence, so that the user can view the historical parameter information and historical test images generated according to actual needs without manually setting the historical parameter information. This enriches the interaction mode within the parameter generation page and improves the generation efficiency of special effect content.
[0092] Further, based on any of the above embodiments, the special effect display page includes a preset preview area and a parameter display area. After step 103, it also includes:
[0093] The special effect parameters are displayed in the parameter display area, and the preview video is displayed in the preview area, wherein the preview video is obtained by performing special effect rendering on a preset test video based on the special effect parameters.
[0094] In this embodiment, in order to enable the user to have a more intuitive understanding of the currently generated special effect parameters, multiple test videos can be pre-set. The user can select the test video in the special effect display page.
[0095] The special effect display page includes a preset preview area and a parameter display area. After the special effect parameters are generated in the parameter generation page, the special effect parameters can be displayed in the parameter display area. In addition, the special effect rendering operation can be performed on the test video currently selected by the user based on the special effect parameters to obtain a preview video. The preview video is displayed in the preview area, so that the user can adjust the current special effect parameters according to actual needs.
[0096] The special effect generation method provided in this embodiment displays the special effect parameters in the parameter display area and displays the preview video in the preview area, so that the user can have a more intuitive understanding of the currently generated special effect parameters, thereby facilitating the user to adjust the special effect parameters.
[0097] Figure 5 A flowchart of a special effect generation method provided by another embodiment of the present disclosure is provided. Based on any of the above embodiments, Figure 5 As shown, after step 104, the following steps are also included:
[0098] Step 501: Obtain a special effect calling request sent by a terminal device, wherein the special effect calling request includes a special effect identifier.
[0099] Step 502: Send the special effect content package corresponding to the special effect identifier to the terminal device according to the special effect calling request.
[0100] In this embodiment, after the special effect content package is generated, the special effect content package can be sent to the terminal device for content collection operation.
[0101] Optionally, the user can perform a special effect content selection operation on the terminal device. In response to the user's selection operation on any special effect content, a special effect call request can be sent to the special effect generating device based on the selection operation, wherein the special effect call request includes the special effect identifier currently selected by the user.
[0102] Accordingly, the special effect generating device can obtain the special effect calling request, and send the special effect content package corresponding to the special effect identifier to the terminal device based on the special effect calling request, wherein the special effect content package includes special effect parameters, preset interactive logic scripts and communication logic scripts.
[0103] Therefore, after the terminal device obtains the special effect content package, the interactive logic script can capture the user's interactive operations on the terminal device and determine the image generated or uploaded by the user based on the interactive operations. The image generated or uploaded by the user and the special effect parameters are sent to the preset cloud server based on the communication logic script. The special effect processing algorithm preset in the cloud server can perform image processing on the image generated or uploaded by the user based on the special effect parameters to obtain a special effect rendering result. The communication logic script can also obtain the special effect rendering result, so that the special effect rendering result can be displayed on the terminal device to realize content collection.
[0104] The special effect generation method provided in this embodiment sends a special effect content package corresponding to the special effect identifier to the terminal device according to a special effect call request sent by the terminal device, so that after the terminal device obtains the special effect content package, it can perform content acquisition operations based on the special effect content package.
[0105] Figure 6 A schematic diagram of the structure of a special effect generating device provided in an embodiment of the present disclosure, such as Figure 6 As shown, the device includes: a display module 61, an acquisition module 62, a confirmation module 63 and a generation module 64. The display module 61 is used to display a parameter generation page in response to a preset trigger operation of a user, wherein the parameter generation page includes a parameter setting area and an effect display area. The acquisition module 62 is used to obtain the special effect parameters and the test image determined by the user in the parameter setting area, and display a preview image generated based on the special effect parameters and the test image in the effect display area. The confirmation module 63 is used to display a preset special effect display page in response to the user's trigger operation on the preset confirmation control in the parameter generation page, and display the special effect parameters in the special effect display page. The generation module 64 is used to generate a special effect content package based on the special effect parameters in response to the generation operation triggered by the user in the special effect display page.
[0106] Further, based on any of the above embodiments, the display module is used to: display a special effect display page, the special effect display page includes a parameter display area, the parameter display area includes at least one parameter item and a preset editing control. In response to the user triggering the editing control, a parameter generation page is displayed.
[0107] Further, based on any of the above embodiments, the parameter setting area includes a plurality of parameter setting controls and a preset image determination control. The acquisition module is used to: in response to the user's triggering operation on the plurality of parameter setting controls, acquire the special effect parameters generated by the user. In response to the user's triggering operation on the image determination control, acquire the test image collected or uploaded by the user in real time. The parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control.
[0108] Further, based on any of the above embodiments, the parameter setting area includes a preset image generation control. The acquisition module is used to: in response to the user triggering the image generation control in the parameter setting area, display a preview image generated based on the special effect parameters and the test image in the effect display area.
[0109] Further, based on any of the above embodiments, the parameter generation page also includes a historical generation list, in which the generation records corresponding to the user's multiple historical parameter editing operations are displayed in a preset time sequence. The device also includes: a display module, which is used to respond to the user's triggering operation on any generation record, display the historical parameter information and historical test image corresponding to the generation record in the parameter setting area, and display the historical preview image generated based on the historical parameter information and historical test image in the effect display area.
[0110] Further, based on any of the above embodiments, the special effect display page includes a preset preview area and a parameter display area. The device also includes: a display module, which is used to display the special effect parameters in the parameter display area and display a preview video in the preview area, wherein the preview video is obtained by performing special effect rendering on a preset test video based on the special effect parameters.
[0111] Further, based on any of the above embodiments, the apparatus further comprises: an acquisition module, configured to acquire a special effect call request sent by a terminal device, wherein the special effect call request includes a special effect identifier; and a sending module, configured to send a special effect content package corresponding to the special effect identifier to the terminal device according to the special effect call request.
[0112] Further, based on any of the above embodiments, the special effects content package includes a preset interactive logic script and a communication logic script. The acquisition module is used to: capture the user's interactive operation in the parameter setting area through the interactive logic script, and obtain the special effects parameters and test images determined based on the interactive operation. The device also includes: a sending module, which is used to send the special effects parameters and test images to a preset cloud server through the communication logic script, so that the special effects processing algorithm preset in the cloud server generates the preview image based on the special effects parameters and the test image. The preview image sent by the cloud server is obtained through the communication logic script.
[0113] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0114] In order to implement the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the special effects generation method described in any of the above embodiments is implemented.
[0115] In order to implement the above embodiments, the embodiments of the present disclosure further provide a computer program product, including a computer program, which implements the special effect generation method as described in any of the above embodiments when executed by a processor.
[0116] In order to implement the above embodiment, the embodiment of the present disclosure further provides an electronic device, including: a processor and a memory;
[0117] The memory stores computer-executable instructions;
[0118] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the special effect generation method described in any of the above embodiments.
[0119] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, such as Figure 7As shown, the electronic device 700 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (Portable Media Players, PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 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.
[0120] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 to a random access memory (RAM) 703. Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0121] Typically, the following devices may be connected to the I / O interface 705: input devices 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709. The communication devices 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 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.
[0122] 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 computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0123] 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.
[0124] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0125] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0126] 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 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 an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via 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., via the Internet using an Internet service provider).
[0127] 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.
[0128] 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".
[0129] 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.
[0130] 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.
[0131] In a first aspect, according to one or more embodiments of the present disclosure, a special effect generation method is provided, comprising:
[0132] In response to a preset trigger operation of the user, a parameter generation page is displayed, wherein the parameter generation page includes a parameter setting area and an effect display area;
[0133] Acquire the special effect parameters and the test image determined by the user in the parameter setting area, and display a preview image generated based on the special effect parameters and the test image in the effect display area;
[0134] In response to the user triggering an operation of a preset confirmation control in the parameter generation page, displaying a preset special effect display page, and displaying special effect parameters in the special effect display page;
[0135] In response to a generation operation triggered by the user in the special effect display page, a special effect content package is generated based on the special effect parameters.
[0136] According to one or more embodiments of the present disclosure, the displaying of the parameter generation page in response to a preset trigger operation of the user includes:
[0137] Displaying a special effect display page, wherein the special effect display page includes a parameter display area, and the parameter display area includes at least one parameter item and a preset editing control;
[0138] In response to the user's triggering operation on the editing control, a parameter generation page is displayed.
[0139] According to one or more embodiments of the present disclosure, the parameter setting area includes a plurality of parameter setting controls and a preset image determination control;
[0140] The obtaining of the special effect parameters and the test image determined by the user in the parameter setting area includes:
[0141] In response to a triggering operation of the user on a plurality of parameter setting controls, obtaining special effect parameters generated by the user;
[0142] In response to the user's triggering operation on the image determination control, acquiring a test image captured or uploaded by the user in real time;
[0143] The parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control.
[0144] According to one or more embodiments of the present disclosure, the parameter setting area includes a preset image generation control;
[0145] The displaying of the preview image generated based on the special effect parameters and the test image in the effect display area includes:
[0146] In response to the user triggering the image generation control in the parameter setting area, a preview image generated based on the special effect parameters and the test image is displayed in the effect display area.
[0147] According to one or more embodiments of the present disclosure, the parameter generation page further includes a history generation list, in which generation records corresponding to the user's multiple historical parameter editing operations are displayed in a preset time sequence; the method further includes:
[0148] In response to the user's triggering operation on any generation record, the historical parameter information and historical test images corresponding to the generation record are displayed in the parameter setting area, and the historical preview image generated based on the historical parameter information and historical test image is displayed in the effect display area.
[0149] According to one or more embodiments of the present disclosure, the special effect display page includes a preset preview area and a parameter display area;
[0150] After displaying the preset special effect display page, the method further includes:
[0151] The special effect parameters are displayed in the parameter display area, and the preview video is displayed in the preview area, wherein the preview video is obtained by performing special effect rendering on a preset test video based on the special effect parameters.
[0152] According to one or more embodiments of the present disclosure, after generating the special effect content package based on the special effect parameters, the method further includes:
[0153] Obtaining a special effect calling request sent by a terminal device, wherein the special effect calling request includes a special effect identifier;
[0154] The special effect content package corresponding to the special effect identifier is sent to the terminal device according to the special effect calling request.
[0155] According to one or more embodiments of the present disclosure, the special effect content package includes a preset interaction logic script and a communication logic script;
[0156] The obtaining of the special effect parameters and the test image determined by the user in the parameter setting area includes:
[0157] Capturing the user's interactive operation in the parameter setting area through the interactive logic script, and acquiring special effect parameters and a test image determined based on the interactive operation;
[0158] After obtaining the special effect parameters and the test image determined by the user in the parameter setting area, the method further includes:
[0159] The special effect parameters and the test image are sent to a preset cloud server through the communication logic script, so that a special effect processing algorithm preset in the cloud server generates the preview image based on the special effect parameters and the test image;
[0160] The preview image sent by the cloud server is obtained through the communication logic script.
[0161] In a second aspect, according to one or more embodiments of the present disclosure, a special effect generation device is provided, comprising:
[0162] A display module, used to display a parameter generation page in response to a preset trigger operation of a user, wherein the parameter generation page includes a parameter setting area and an effect display area;
[0163] An acquisition module, used to acquire the special effect parameters and the test image determined by the user in the parameter setting area, and to display a preview image generated based on the special effect parameters and the test image in the effect display area;
[0164] A confirmation module, configured to display a preset special effect display page in response to a triggering operation of a confirmation control preset in the parameter generation page by the user, and to display special effect parameters in the special effect display page;
[0165] A generation module is used to generate a special effect content package based on the special effect parameters in response to a generation operation triggered by the user in the special effect display page.
[0166] According to one or more embodiments of the present disclosure, the display module is used to:
[0167] Displaying a special effect display page, wherein the special effect display page includes a parameter display area, and the parameter display area includes at least one parameter item and a preset editing control;
[0168] In response to the user's triggering operation on the editing control, a parameter generation page is displayed.
[0169] According to one or more embodiments of the present disclosure, the parameter setting area includes a plurality of parameter setting controls and a preset image determination control;
[0170] The acquisition module is used to:
[0171] In response to a triggering operation of the user on a plurality of parameter setting controls, obtaining special effect parameters generated by the user;
[0172] In response to the user's triggering operation on the image determination control, acquiring a test image captured or uploaded by the user in real time;
[0173] The parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control.
[0174] According to one or more embodiments of the present disclosure, the parameter setting area includes a preset image generation control;
[0175] The acquisition module is used to:
[0176] In response to the user triggering the image generation control in the parameter setting area, a preview image generated based on the special effect parameters and the test image is displayed in the effect display area.
[0177] According to one or more embodiments of the present disclosure, the parameter generation page further includes a history generation list, in which generation records corresponding to the user's multiple historical parameter editing operations are displayed in a preset time sequence; the device further includes:
[0178] A display module is used to respond to the user's triggering operation on any generation record, display the historical parameter information and historical test images corresponding to the generation record in the parameter setting area, and display the historical preview image generated based on the historical parameter information and historical test image in the effect display area.
[0179] According to one or more embodiments of the present disclosure, the special effect display page includes a preset preview area and a parameter display area;
[0180] The device also includes:
[0181] A display module is used to display the special effect parameters in the parameter display area and to display a preview video in the preview area, wherein the preview video is obtained by performing special effect rendering on a preset test video based on the special effect parameters.
[0182] According to one or more embodiments of the present disclosure, the device further includes:
[0183] An acquisition module, used for acquiring a special effect calling request sent by a terminal device, wherein the special effect calling request includes a special effect identifier;
[0184] A sending module is used to send the special effect content package corresponding to the special effect identifier to the terminal device according to the special effect calling request.
[0185] According to one or more embodiments of the present disclosure, the special effect content package includes a preset interaction logic script and a communication logic script;
[0186] The acquisition module is used to:
[0187] Capturing the user's interactive operation in the parameter setting area through the interactive logic script, and acquiring special effect parameters and a test image determined based on the interactive operation;
[0188] The device also includes:
[0189] A sending module, used to send the special effect parameters and the test image to a preset cloud server through the communication logic script, so that the special effect processing algorithm preset in the cloud server generates the preview image based on the special effect parameters and the test image;
[0190] The preview image sent by the cloud server is obtained through the communication logic script.
[0191] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;
[0192] The memory stores computer-executable instructions;
[0193] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the special effects generating method described in the first aspect and various possible designs of the first aspect.
[0194] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the special effects generation method described in the first aspect and various possible designs of the first aspect is implemented.
[0195] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the special effects generation method described in the first aspect and various possible designs of the first aspect.
[0196] 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.
[0197] 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.
[0198] 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 generation method, characterized in that: include: In response to a preset trigger operation of the user, a parameter generation page is displayed, wherein the parameter generation page includes a parameter setting area and an effect display area; Acquire the special effect parameters and the test image determined by the user in the parameter setting area, and display a preview image generated based on the special effect parameters and the test image in the effect display area; In response to the user triggering an operation of a preset confirmation control in the parameter generation page, displaying a preset special effect display page, and displaying special effect parameters in the special effect display page; In response to a generation operation triggered by the user in the special effect display page, a special effect content package is generated based on the special effect parameters.
2. The method according to claim 1, characterized in that The displaying of the parameter generation page in response to the preset triggering operation of the user includes: Displaying a special effect display page, wherein the special effect display page includes a parameter display area, and the parameter display area includes at least one parameter item and a preset editing control; In response to the user's triggering operation on the editing control, a parameter generation page is displayed.
3. The method according to claim 1, characterized in that The parameter setting area includes a plurality of parameter setting controls and a preset image determination control; The obtaining of the special effect parameters and the test image determined by the user in the parameter setting area includes: In response to a triggering operation of the user on a plurality of parameter setting controls, obtaining special effect parameters generated by the user; In response to the user's triggering operation on the image determination control, acquiring a test image captured or uploaded by the user in real time; The parameter setting control includes at least one of a style setting control, a description information input control, an information strength control, an image generation control, and a preview image quantity adjustment control.
4. The method according to claim 1, characterized in that: The parameter setting area includes a preset image generation control; The displaying of the preview image generated based on the special effect parameters and the test image in the effect display area includes: In response to the user triggering the image generation control in the parameter setting area, a preview image generated based on the special effect parameters and the test image is displayed in the effect display area.
5. The method according to claim 1, characterized in that The parameter generation page also includes a history generation list, in which generation records corresponding to the user's multiple historical parameter editing operations are displayed in a preset time sequence; the method also includes: In response to the user's triggering operation on any generation record, the historical parameter information and historical test images corresponding to the generation record are displayed in the parameter setting area, and the historical preview image generated based on the historical parameter information and historical test images is displayed in the effect display area.
6. The method according to any one of claims 1 to 5, characterized in that: The special effect display page includes a preset preview area and a parameter display area; After displaying the preset special effect display page, the method further includes: The special effect parameters are displayed in the parameter display area, and the preview video is displayed in the preview area, wherein the preview video is obtained by performing special effect rendering on a preset test video based on the special effect parameters.
7. The method according to any one of claims 1 to 5, characterized in that: After generating the special effect content package based on the special effect parameters, the method further includes: Obtaining a special effect calling request sent by a terminal device, wherein the special effect calling request includes a special effect identifier; The special effect content package corresponding to the special effect identifier is sent to the terminal device according to the special effect calling request.
8. The method according to any one of claims 1 to 5, characterized in that: The special effect content package includes a preset interactive logic script and a communication logic script; The obtaining of the special effect parameters and the test image determined by the user in the parameter setting area includes: Capturing the user's interactive operation in the parameter setting area through the interactive logic script, and acquiring special effect parameters and a test image determined based on the interactive operation; After obtaining the special effect parameters and the test image determined by the user in the parameter setting area, the method further includes: The special effect parameters and the test image are sent to a preset cloud server through the communication logic script, so that a special effect processing algorithm preset in the cloud server generates the preview image based on the special effect parameters and the test image; The preview image sent by the cloud server is obtained through the communication logic script.
9. A special effect generating device, characterized in that: include: A display module, used to display a parameter generation page in response to a preset trigger operation of a user, wherein the parameter generation page includes a parameter setting area and an effect display area; An acquisition module, used to acquire the special effect parameters and the test image determined by the user in the parameter setting area, and to display a preview image generated based on the special effect parameters and the test image in the effect display area; A confirmation module, configured to display a preset special effect display page in response to a triggering operation of a confirmation control preset in the parameter generation page by the user, and to display special effect parameters in the special effect display page; A generation module is used to generate a special effect content package based on the special effect parameters in response to a generation operation triggered by the user in the special effect display page.
10. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the special effect generation method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the special effect generation method according to any one of claims 1 to 8 is implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the special effect generation method according to any one of claims 1 to 8 is implemented.