Image workflow processing method and device and electronic terminal

By displaying and configuring the data configuration items of the workflow in the graphical user interface, the processing flow of the workflow is simplified, the problems of operation complexity and low efficiency in the existing technology are solved, and the processing efficiency and information security of the workflow are improved. .

CN118963628APending Publication Date: 2024-11-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410986791.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The operating threshold of existing workflow processing methods is high, which makes it difficult for users to enter and adjust parameters in the pipeline interface, is inefficient, and has omissions in data filling and information security risks.

Method used

Provides a graphical user interface to display pre-created image workflows. By selecting processing nodes to display and configure data configuration items in designated areas, simplifies node adjustment and operation process, reduces operation complexity, and improves intuitiveness and convenience.

Benefits of technology

By simplifying the interface and intuitive operations, the understanding and learning costs of workflow configuration are reduced, processing efficiency is improved, operation steps and time costs are reduced, and information security is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963628A_ABST
    Figure CN118963628A_ABST
Patent Text Reader

Abstract

The invention provides an image workflow processing method and device and an electronic terminal, relates to the technical field of data processing, and solves the technical problem of low workflow processing efficiency. The method comprises the following steps: in response to a selection operation for a target processing node in a plurality of processing nodes, displaying a target data configuration item for the target processing node in a specified area in the graphical user interface; in response to a configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, and obtaining and displaying the adjusted target processing node in the graphical user interface; at least one adjusted target processing node forms an adjusted image workflow; and in response to a running operation for the adjusted image workflow, generating a target image by running the adjusted image workflow.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a method, device and electronic terminal for processing an image workflow. Background Art

[0002] Workflow refers to a method of automating the processing of part or all of a business process in a computer application environment. It realizes the transfer and execution of documents, information or tasks between different executors through the abstract and general description of the business rules between the workflow and its various operation steps to achieve a certain purpose. For example, a series of automatic transfers and executions of the data input into the workflow are performed to obtain the final image result. It can be seen that the workflow can format the business logic code according to the specified process, that is, the task process that can be completed directly with the code can be formatted and visualized in a standard way with the help of workflow tools.

[0003] At present, common workflow programs are generally node-based workflows. For example, in the ComfyUI workflow program, a processing node has interfaces with different functions. By using a connection, the interface can be connected to the corresponding interface of another processing node. Each processing node can be connected to each other so that multiple processing nodes are strung together. In this way, the workflow creator can build a pipeline and save the workflow file corresponding to the pipeline. Then, after the workflow user imports the existing workflow file, he can enter and adjust the parameters in the pipeline, and finally get the final processing result by running the workflow corresponding to the adjusted pipeline.

[0004] However, for workflow users, the technical threshold for understanding, using and adjusting pipelines is high, making it difficult for workflow users to input and adjust parameters in the pipeline, resulting in low efficiency in processing workflows. Summary of the invention

[0005] The purpose of the present disclosure is to provide a method, device and electronic terminal for processing an image workflow, so as to alleviate the technical problem of low efficiency in processing the workflow.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for processing an image workflow, wherein a graphical user interface is provided through a terminal device, wherein a pre-created image workflow is displayed in the graphical user interface, wherein the image workflow includes processing nodes corresponding to several stages of image generation, and each processing node corresponds to a data configuration item; the method includes:

[0007] In response to a selection operation on a target processing node among the plurality of processing nodes, displaying a target data configuration item for the target processing node in a designated area of ​​the graphical user interface;

[0008] In response to a configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow;

[0009] In response to a running operation on the adjusted image workflow, a target image is generated by running the adjusted image workflow.

[0010] In a second aspect, a device for processing an image workflow is provided, wherein a graphical user interface is provided through a terminal device, wherein a pre-created image workflow is displayed in the graphical user interface, wherein the image workflow includes processing nodes corresponding to several stages of image generation, and each processing node corresponds to a data configuration item; the device includes:

[0011] A display module, configured to display target data configuration items for a target processing node among the plurality of processing nodes in a designated area of ​​the graphical user interface in response to a selection operation for the target processing node;

[0012] an adjustment module, configured to respond to a configuration operation for the target data configuration item, adjust the target processing node according to the configuration operation, obtain and display the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow;

[0013] The running module is used for generating a target image by running the adjusted image workflow in response to a running operation on the adjusted image workflow.

[0014] In a third aspect, an embodiment of the present disclosure provides an electronic terminal, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.

[0015] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method described in the first aspect.

[0016] The embodiments of the present disclosure bring the following beneficial effects:

[0017] An image workflow processing method, device and electronic terminal provided by the embodiments of the present disclosure include processing nodes corresponding to several stages of image generation in a pre-created image workflow, and a data configuration item corresponds to each of the processing nodes. The method can respond to a selection operation on a target processing node among the several processing nodes, display a target data configuration item for the target processing node in a designated area of ​​the graphical user interface, respond to a configuration operation on the target data configuration item, adjust the target processing node according to the configuration operation, obtain and display the adjusted target processing node in the graphical user interface, at least one of the adjusted target processing nodes forms an adjusted image workflow, and respond to a running operation on the adjusted image workflow, generate a target image by running the adjusted image workflow. In this solution, by selecting a processing node in an image workflow, all data configuration items for the selected processing node can be presented in a specified area in a more common data configuration item presentation form. Workflow users can find required data configuration items more quickly in the specified area, and perform simple and convenient configuration of the selected processing node in the specified area through simple and easy-to-understand data configuration items alone. Workflow users can understand and operate data configuration items more easily, and no longer need to perform adjustment operations with high technical thresholds on the pipeline interface area, making the configuration operations of each processing node in the image workflow more intuitive, simple and convenient, reducing the understanding cost and learning cost of configuration operations of each processing node in the image workflow, thereby improving the processing efficiency of the workflow and alleviating the technical problem of low processing efficiency of the workflow.

[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific 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 any creative work.

[0020] Figure 1 A schematic diagram of a workflow adjustment interface in the prior art is shown;

[0021] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present disclosure is shown;

[0022] Figure 3 A schematic diagram of the structure of a terminal device provided by an embodiment of the present disclosure is shown;

[0023] Figure 4 A flowchart of a method for processing an image workflow provided by an embodiment of the present disclosure;

[0024] Figure 5 A schematic diagram of a graphic user interface provided by an embodiment of the present disclosure is shown;

[0025] Figure 6 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0026] Figure 7 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0027] Figure 8 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0028] Fig. 9 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0029] Fig.10 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0030] Fig.11 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0031] Fig.12 A schematic diagram showing another image user interface provided by an embodiment of the present disclosure is shown;

[0032] Fig.13 A schematic diagram of the structure of an image workflow processing device provided by an embodiment of the present disclosure;

[0033] Fig.14 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0035] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0036] Currently, by directly embedding the ComfyUI workflow program, workflow creators can build pipelines and save workflow files in the pipeline interface. Image producers (i.e. workflow users) can import existing workflow files, enter and adjust parameters in the pipeline interface, and then run to generate images. For example, the process of entering and adjusting parameters can be done in Figure 1 It is carried out in the pipeline interface shown in the figure. It should be noted that ComfyUI is a node-based Stable Diffusion operation interface, which allows users to build an image generation workflow by connecting different nodes, so that users can achieve complex and diverse image generation tasks. ComfyUI can also be understood as a node-based workflow, where a node has interfaces with different functions, and then a line is used to connect this interface to the corresponding interface of another node, and each node is connected and strung together.

[0037] However, for image producers, the above-mentioned workflow processing method requires image producers to have the thinking of developers. The use, understanding and operation thresholds of pipelines are relatively high. It is difficult for image producers to input and adjust parameters in the pipeline interface, resulting in low efficiency in workflow processing. Moreover, there are many node parameter items, the positions are placed randomly, the pipeline interface is chaotic, there are problems with missing data, and the use efficiency is low. Furthermore, for workflow creators, there are many unnecessary display items, it is difficult to convey the core operations of the workflow to users, and the interface customization capabilities are limited. In addition, since all parameters are exposed, it will be difficult to protect the information security of the author's work if the file is leaked.

[0038] Based on this, the embodiments of the present disclosure provide a method, device and electronic terminal for processing an image workflow, through which the technical problem of low workflow processing efficiency can be alleviated.

[0039] In one embodiment of the present disclosure, the image workflow processing method can be run on a local terminal device or a server. When the image workflow processing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0040] In a possible implementation, an embodiment of the present disclosure provides a method for processing an image workflow, providing a graphical user interface through a terminal device, wherein the terminal device may be the local terminal device mentioned above, or may be a client device in the cloud interaction system mentioned above.

[0041] For example, Figure 2 As shown, Figure 2 Schematic diagram of an application scenario provided by an embodiment of the present disclosure. The application scenario may include a terminal device 102 and a server 101, and the terminal device may communicate with the server 101 via a wired network or a wireless network. The terminal device is used to run a virtual desktop, and through the virtual desktop, it can interact with the server 101 to edit and adjust the content in the server 101.

[0042] For example, Figure 3 As shown, the terminal device 102 may include a radio frequency (RF) circuit 110, a memory 120, a display screen 130, a processor 140 and other components. Those skilled in the art will appreciate that Figure 3 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. Those skilled in the art will understand that the display screen 130 belongs to the user interface (UI), and the terminal device 102 may include more or fewer user interfaces than shown in the figure.

[0043] The RF circuit 110 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobilecommunication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0044] The memory 120 can be used to store software programs and modules. The processor 140 executes various functional applications and data processing of the terminal device 102 by running the software programs and modules stored in the memory 120. The memory 120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the terminal device 102, etc. In addition, the memory 120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0045] The display screen 130 can be used to display a graphical user interface. Specifically, the display screen 130 can be a touch screen, which can include a display panel and a touch panel. The display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can collect the user's contact or non-contact operation on or near it, and generate a pre-set operation instruction. In addition, the touch panel may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and posture, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into information that the processor can process, and then sends it to the processor 140, and can receive and execute commands sent by the processor 140. In addition, the touch panel can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves, and any technology developed in the future can also be used to implement the touch panel. Furthermore, the touch panel may cover the display panel, and the user may operate on or near the touch panel covered on the display panel according to the graphical user interface displayed on the display panel. After the touch panel detects the operation on or near it, it transmits it to the processor 140 to determine the user input, and then the processor 140 provides corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be implemented as two independent components or integrated.

[0046] The processor 140 is the control center of the terminal device 102. It uses various interfaces and lines to connect the various parts of the entire terminal device. It executes various functions of the terminal device 102 and processes data by running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, thereby monitoring the terminal device as a whole.

[0047] The embodiments of the present disclosure are further described below in conjunction with the accompanying drawings.

[0048] Figure 4 A flowchart of a method for processing an image workflow provided by an embodiment of the present disclosure is provided.

[0049] The method can be applied to a terminal device capable of presenting a graphical user interface, wherein the graphical user interface is provided by the terminal device, and a pre-created image workflow is displayed in the graphical user interface. The image workflow includes processing nodes corresponding to several stages of image generation, and each processing node has a corresponding data configuration item. Figure 4 As shown, the method includes:

[0050] Step S410 , in response to a selection operation on a target processing node among a plurality of processing nodes, displaying target data configuration items for the target processing node in a designated area of ​​a graphical user interface.

[0051] The data configuration items may include configuration items of various data aspects, making the configurable data more comprehensive and flexible. Exemplarily, the data configuration items include any one or more of the following: node parameter configuration items, node annotation configuration items, node title configuration items, and node viewing permission configuration items.

[0052] As an optional implementation, the data configuration item may be in the form of a control, and the configuration control representing the data configuration item may be a relatively large area on the graphical user interface, or a relatively small area on the graphical user interface. The configuration control may be square, rectangular, frame-shaped, or may be other shapes (e.g., circular, etc.). The content presented by the graphical user interface may include all of the configuration controls, or may be a portion of a content hotspot. For example, when the configuration control is enlarged and displayed in the graphical user interface, the local content of the content hotspot is displayed on the graphical user interface of the terminal device. The configuration control may be displayed in the upper left, upper right, or other locations in the graphical user interface, and this exemplary embodiment is not limited thereto. For example, Figure 5 As shown, configuration controls for various types of data can be set in the right area (specified area) in the graphical user interface.

[0053] In practical applications, before converting various forms of data such as images and text descriptions input into the image workflow into the image generation process, the parameters and configurations of the processing nodes in the existing image workflow can be parsed and processed through algorithm data parsing, logical judgment and other processes to obtain multiple data configuration items for each processing node, so that the front end can Figure 5 The data configuration items are displayed in the right area in the form of a form list according to the preset front-end style.

[0054] Step S420 , in response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface.

[0055] In the disclosed embodiment, at least one adjusted target processing node forms an adjusted image workflow. Since the workflow user can adjust multiple processing nodes in the image workflow, multiple adjusted target processing nodes can form an adjusted image workflow.

[0056] Step S430 : in response to the running operation on the adjusted image workflow, generating a target image by running the adjusted image workflow.

[0057] For example, Figure 6 As shown in the figure, after the image workflow translation process is completed, you can click to publish it online. After publishing it online, the running interface of the image workflow can only display the interface of each data configuration item and the image generation interface. For example, after the workflow user fills in the data into the input item, he can click the run control to run the adjusted image workflow. The generated image can be displayed in the following example: Figure 6 The display is loaded in the middle right area.

[0058] By selecting a processing node in an image workflow, all data configuration items for the selected processing node can be presented in a specified area in a more common data configuration item presentation form. Workflow users (image producers) can find the required data configuration items more quickly in the specified area, and perform simple and convenient configuration of the selected processing node in the specified area through simple and easy-to-understand data configuration items. Workflow users can understand and operate data configuration items more easily, and no longer need to perform adjustment operations with high technical barriers to operation in the pipeline interface area (such as using the ComfyUI workflow program to adjust the workflow, and the more difficult ComfyUI workflow program can only be used by the workflow creator). The ComfyUI node adjustment method is translated into freely manageable and simpler data configuration items, making the configuration operations of each processing node in the image workflow more intuitive, simple and convenient, reducing the understanding cost and learning cost of the configuration operations of each processing node in the image workflow, thereby improving the processing efficiency of the workflow.

[0059] In the disclosed embodiments, through improved methods of interface simplification and intuitive operation, unnecessary display items and complex node parameters in the pipeline interface are removed, and the position and placement of node parameter items are redesigned to the designated area, which is more in line with the user's intuitive operating habits and enhances the user experience of workflow users.

[0060] The above steps are described in detail below.

[0061] In some embodiments, the configuration parameters of the processing nodes can be freely, flexibly and conveniently input in a designated area, thereby reducing the adjustment steps and time cost of the image workflow and improving the processing efficiency of the image workflow. As an example, the data configuration item includes the node parameter configuration item; the above step S420 may include the following steps:

[0062] In response to a first selection operation on a target node parameter configuration item, a parameter input area for a target processing node is displayed in a designated area; wherein the target node parameter configuration item is a node parameter configuration item for the target processing node;

[0063] In response to a first input operation on the parameter input area, a target parameter of the target processing node is determined according to input content of the first input operation, and the parameter of the target processing node in the image workflow is set as the target parameter.

[0064] In practical applications, for image producers, they can simplify the interface (such as Figure 5 ) and optimize the layout and position of node parameter items to simplify configuration operations. Figure 5 The parameter settings on the nodes in the left area are changed to the parameter input settings in the specified area on the right, and the parameters can be customized. For example, you can first select the node to be configured from the left, and the configuration parameter options of the node and the edit box for inputting parameters will be displayed in the specified area on the right.

[0065] In the disclosed embodiment, the configuration parameters for the processing nodes can be freely, flexibly and conveniently input in a designated area separately, thereby reducing the adjustment steps and time cost of the image workflow and improving the processing efficiency of the image workflow.

[0066] In some embodiments, the option of hiding parameters can reduce unnecessary display items, optimize the display content in the interface, and make the interface clearer and more intuitive. As an example, after setting the parameters of the target processing node in the image workflow as the target parameters, the method can also include the following steps:

[0067] Displaying a parameter display or not option for the target processing node in the designated area; in response to a second selection operation for the parameter display or not option, hiding or displaying the target parameter at a corresponding position of the target processing node in the image workflow according to the second selection operation.

[0068] For example, Figure 7As shown, you can choose to display or hide the node parameters in the "Display Parameters" item. By hiding the function to reduce unnecessary display items, the display content in the interface can be optimized, the core operations of the image workflow can be highlighted, the customization ability of the interface can be improved, the interface can be made clearer and more intuitive, and confusion and data omissions can be reduced, the use threshold can be lowered, and image producers can use it more easily. It also makes the interface easier to understand and improves the user experience.

[0069] In addition, when creating a workflow, the workload creator can also select the information items that need to be displayed or hidden, and then set the permissions for workflow users to view or edit these sensitive information. This improves the security and privacy of the interface and further protects the creation information.

[0070] In some embodiments, the annotation content for the processing node can be freely, flexibly and conveniently input in a designated area, which helps workflow users understand and operate each processing node in the image workflow and improves the processing efficiency of the image workflow. As an example, the data configuration item includes the node annotation configuration item; the above step S420 may include the following steps:

[0071] In response to a third selection operation on a target node annotation configuration item, a annotation input area for adding annotations is displayed in a designated area; wherein the target node annotation configuration item is a node annotation configuration item for a target processing node; in response to a second input operation on the annotation input area, annotation content for the target processing node is determined based on input content of the second input operation; in response to a first designation operation on a target processing node in an image workflow, the annotation content is displayed at a corresponding position of the target processing node in a graphical user interface.

[0072] As an optional implementation, Figure 7 , Figure 8 , Fig. 9 and Fig.10 As shown in the figure, you can customize the announcement text for the image workflow to help users understand the image workflow. Figure 7 The right area in the middle adds node announcements or annotations to the selected node. The input of node annotations, announcements, etc. can be freely, flexibly and conveniently entered in the right area separately. It should be noted that the announcement can be an announcement prompt for the entire workflow, and the node annotation can be a content annotation for a single processing node.

[0073] For the process of adding an announcement, an example is as follows: Figure 7 and Fig.10 As shown, click the Add Announcement control in the right input node panel, and the following will appear: Figure 8 The pop-up window shown above will display the title and content of the announcement. Click OK and the content will be displayed. Fig. 9 The display shown is at the top of the interface.

[0074] For the process of adding annotations, for example, Figure 7 and Fig.10 As shown, you can click the text "Please add comments" on the right to display the comment input box, in which you can add comments for the node. After clicking outside the input box, the entered comments take effect. For the added comments and labels, through reasonable layout and clear identification, users can find the required parameter items more quickly.

[0075] In the disclosed embodiment, annotation content for processing nodes can be freely, flexibly and conveniently input in a designated area separately, which helps workflow users understand and operate each processing node in the image workflow and improves the processing efficiency of the image workflow.

[0076] In some embodiments, the title modification of the processing node can be freely, flexibly and conveniently input in a designated area to improve the processing efficiency of each node in the image workflow. As an example, the data configuration item includes the node title configuration item; the above step S420 may include the following steps:

[0077] In response to a fourth selection operation on a target node title configuration item, a title input area for a node title is displayed in a designated area; wherein the target node title configuration item is a node title configuration item for a target processing node;

[0078] In response to a third input operation on the title input area, a new node title is determined according to the input content of the third input operation, and the node title displayed corresponding to the target processing node in the image workflow is modified to the new node title.

[0079] For example, the title of the processing node can be double-clicked, such as directly double-clicking the processing node, to modify the title text. In the disclosed embodiment, inputs such as title modification of the processing node can be freely, flexibly and conveniently input in a designated area separately, thereby improving the processing efficiency of each node in the image workflow.

[0080] In some embodiments, the viewing permissions of certain information can be configured by adjusting the data display range, thereby improving the security and privacy of sensitive information. As an example, the data configuration item includes a node viewing permission configuration item; the above step S420 may include the following steps:

[0081] In response to a fifth selection operation for a target node viewing permission configuration item, displaying a data display range for the target processing node in a designated area; wherein the target node viewing permission configuration item is a node viewing permission configuration item for the target processing node;

[0082] In response to the adjustment operation on the data display range, the data display content of the target processing node is determined according to the data display range adjusted by the adjustment operation, and the target processing node is displayed in the image workflow according to the data display content.

[0083] As a possible implementation, Fig.10 As shown, by clicking the setting control in the specified area, the content display data range in a processing node can be set, that is, the user can set the corresponding management in the list in the specified area, for example, the display or hiding options of the setting items, and the corresponding viewing permissions of the processing node, etc.

[0084] In the disclosed embodiment, by adjusting the data display range, sensitive information can be displayed or hidden, and the viewing permissions of sensitive information can be edited, thereby improving the security and privacy of sensitive information.

[0085] In some embodiments, the setting of data display content can be more comprehensive and flexible. As an example, the data display content includes any one or more of the following: node title display content, node parameter display content, and node annotation display content.

[0086] The viewing permission settings for the node title display content, node parameter display content, and node comment display content of the processing node can be freely, flexibly and conveniently entered in the specified area separately, making the setting of data display content more convenient, comprehensive and flexible.

[0087] In some embodiments, a processing node may be directly deleted in a designated area to reduce the display of unnecessary processing nodes. As an example, the data configuration item includes a node deletion configuration item; the above step S420 may include the following steps:

[0088] In response to the sixth selection operation for the target node deletion configuration item, a deletion option for the target processing node is displayed in the designated area; wherein the target node deletion configuration item is a node deletion configuration item for the target processing node; in response to the operation for the deletion option, the target processing node is deleted in the image workflow.

[0089] In the disclosed embodiment, the deletion configuration for the processing node can be freely, flexibly and conveniently set in a designated area separately, thereby reducing the adjustment operation steps and adjustment time cost of the image workflow, improving the processing efficiency of the image workflow, and also reducing unnecessary display node items.

[0090] In some embodiments, a processing node can be added to a node type through a more targeted operation to make the configuration of the node type more flexible and convenient. As an example, multiple node types are displayed in the specified area; the method can also include the following steps:

[0091] In response to a second designation operation for a target processing node among several processing nodes, an Add to target node type option is displayed at a corresponding position of the target processing node in the graphical user interface; in response to a seventh selection operation for the Add to target node type option, the target processing node is added to a target node type among multiple node types, and the target processing node is displayed at a corresponding position of the target node type in a designated area; wherein the target node type is a node type corresponding to the Add to target node type option.

[0092] For example, the adding operation flow of a certain type of processing node is as follows: Fig.11 and Fig.12 As shown, if the node that needs to input parameters is defined as an input node, select a processing node and right-click to display the operation floating option panel, select the option to add to the input node, and after selecting, the node will be displayed as a simple interface in the list of input nodes on the right. It should be noted that the node that outputs the image result can be defined as an output node, and the process of adding an output node is the same as that of an input node.

[0093] In the disclosed embodiment, the selected processing node of the pipeline interface can be added to the specified node type through a more targeted operation method, so that the configuration operation of the node type is more flexible and convenient.

[0094] In some embodiments, the position and layout of the data configuration items can be flexibly designed and the interface can be simplified by dragging the display position of each data configuration item, making the interface clearer and more intuitive. As an example, the number of target data configuration items is multiple; after the above step S410, the method can also include the following steps:

[0095] In response to a drag operation on a first target data configuration item among the multiple target data configuration items, a display position of the first target data configuration item among the multiple target data configuration items is adjusted according to the drag operation.

[0096] In practical applications, such as Fig.10As shown, you can reorder the various data configuration items by dragging, that is, by dragging various setting options (data configuration items), you can adjust the sorting layout order of each setting option in the specified area, so that workflow users can customize and adjust data configuration items according to their own needs, thereby more flexibly optimizing the layout and position of node parameter items. Moreover, by dragging and redesigning the position and layout of node parameter items, you can customize the layout and edit node parameter items, making the interface clearer and more intuitive.

[0097] In the disclosed embodiment, by dragging the display position of each data configuration item, the position and layout of the node parameter items can be redesigned, the node parameter layout and position can be optimized more flexibly, and the interface can be simplified to make the interface clearer and more intuitive.

[0098] In some embodiments, the dragged data configuration item can be simplified and shrunk for display, so that the workflow user can adjust the position of the data configuration item more accurately and conveniently, improving the adaptability of the position adjustment operation and the accuracy of the adjustment object. As an example, in response to the drag operation on the first target data configuration item among the multiple target data configuration items, the process of adjusting the display position of the first target data configuration item among the multiple target data configuration items according to the drag operation may include the following steps:

[0099] In response to a drag operation on a first target data configuration item among multiple target data configuration items, the first target data configuration item is displayed in a preset simplified style, and the shrunk first target data configuration item is moved according to the drag operation; in response to the end of the drag operation, the display position of the first target data configuration item among the multiple target data configuration items is adjusted according to the end position of the drag operation.

[0100] For example, Fig.10 As shown, the card being dragged (the first target data configuration item) is shrunk to only the main title (the first target data configuration item is shrunk and displayed in a preset simplified style). When it is dragged between two cards (data configuration items), the card is automatically moved and a placeholder image is displayed. After releasing it (the dragging operation ends), it is placed in the corresponding position (the operation end position).

[0101] By introducing the functions of manually setting data configuration items and simplifying the shrinking display of data configuration items, workflow users can adjust the position of data configuration items more accurately and conveniently, improving the accuracy, flexibility and adaptability of position adjustment operations.

[0102] In some embodiments, at least two data configuration items can be combined and displayed through a combination control, so that the data configuration items associated with the corresponding setting functions are combined and displayed, which is convenient for workflow users to understand and use the data configuration items. As an example, the number of target data configuration items is multiple; after the above step S410, the method can also include the following steps:

[0103] In response to an eighth selection operation for at least two second target data configuration items among multiple target data configuration items, a combination control for the at least two second target data configuration items is displayed in a designated area; in response to an operation on the combination control, at least two second target data configuration items are displayed in a combined form in the designated area.

[0104] In actual applications, workflow users can customize the combination of data configuration items. For example, they can select two or more data configuration items, such as two related data configuration items, and then click the control to create a group to combine them, that is, set the two or more selected data configuration items as a group.

[0105] For example, Fig.10 As shown, the corresponding setting functions of the "seed" data configuration item and the "extend other external lora effects" data configuration item are related, and both are configuration items of the effect display class. The "seed" data configuration item and the "extend other external lora effects" data configuration item can be grouped together.

[0106] In the disclosed embodiment, at least two data configuration items are displayed in combination through a combination control, so that the data configuration items associated with the corresponding setting functions can be displayed in combination, which can facilitate workflow users to understand and use the data configuration items.

[0107] In some embodiments, the parameters and configurations of the processing nodes in the image workflow can be parsed and processed through algorithmic data parsing, logical judgment and other processes to obtain and display multiple data configuration items for each processing node in a list form, so that the displayed data configuration items can be displayed accurately and clearly. As an example, the generation process of the data configuration items corresponding to each processing node may include:

[0108] For each processing node in the image workflow, the parameters and configuration of the processing node are parsed through a data parsing algorithm to obtain several data configuration items of the processing node; the several data configuration items are translated into preset display styles and the data configuration items under the preset display styles are displayed in the form of a list.

[0109] For example, after adding a workflow node, the parameters and configuration of the node can be parsed and processed through algorithm data parsing, logical judgment and other technologies, and then the information of the processing result (multiple data configuration items for each processing node) is transmitted to the front end, and the front end translates the information of the processing result into a preset front end style (in a preset display style), such as Figure 5 and Figure 7 As shown, it is then presented in the specified area in the form of a list or form according to the preset front-end style.

[0110] In the disclosed embodiment, after the parameters and configurations of the processing nodes in the image workflow are parsed and processed through algorithmic data analysis, logical judgment and other processes, multiple data configuration items for each processing node are obtained and displayed in a list form, so that the displayed data configuration items can be displayed accurately and clearly.

[0111] Fig.13 A schematic diagram of the structure of an image workflow processing device is provided. A graphical user interface is provided through a terminal device, and a pre-created image workflow is displayed in the graphical user interface. The image workflow includes processing nodes corresponding to several stages of image generation, and each processing node corresponds to a data configuration item. Fig.13 As shown, the image workflow processing device 1300 includes:

[0112] A first display module 1301 is configured to display target data configuration items for a target processing node in a designated area of ​​the graphical user interface in response to a selection operation for the target processing node among the plurality of processing nodes;

[0113] A first adjustment module 1302 is used for adjusting the target processing node according to the configuration operation in response to the configuration operation for the target data configuration item, obtaining and displaying the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow;

[0114] The running module 1303 is used to generate a target image by running the adjusted image workflow in response to a running operation on the adjusted image workflow.

[0115] Through the above method, by selecting a processing node in the image workflow, all data configuration items for the selected processing node can be presented in a specified area in a more common data configuration item form. The workflow user can find the required data configuration items more quickly in the specified area, and perform simple and convenient configuration of the selected processing node in the specified area through simple and easy-to-understand data configuration items alone. The workflow user can understand and operate the data configuration items more easily, and no longer needs to perform adjustment operations with high technical thresholds on the pipeline interface area, making the operation of configuring each processing node in the image workflow more intuitive, simple and convenient, reducing the understanding cost and learning cost of the configuration operation of each processing node in the image workflow, thereby improving the processing efficiency of the workflow and alleviating the technical problem of low processing efficiency of the workflow.

[0116] In a feasible implementation scheme, the data configuration items include any one or more of the following:

[0117] Node parameter configuration items, node comment configuration items, node title configuration items, and node viewing permission configuration items.

[0118] In a feasible implementation scheme, the data configuration items include node parameter configuration items; the adjustment module is specifically used for:

[0119] In response to a first selection operation on a target node parameter configuration item, displaying a parameter input area for the target processing node in the designated area; wherein the target node parameter configuration item is a node parameter configuration item for the target processing node;

[0120] In response to a first input operation on the parameter input area, a target parameter of the target processing node is determined according to input content of the first input operation, and the parameter of the target processing node in the image workflow is set as the target parameter.

[0121] In a feasible embodiment, the device further comprises:

[0122] A second display module, configured to display a parameter display or non-display option for the target processing node in the designated area after the parameter of the target processing node in the image workflow is set as the target parameter;

[0123] The hiding module is used for responding to a second selection operation on the parameter display or not option, and hiding or displaying the target parameter at a corresponding position of the target processing node in the image workflow according to the second selection operation.

[0124] In a feasible implementation scheme, the data configuration item includes a node annotation configuration item; the adjustment module is specifically used for:

[0125] In response to a third selection operation on a target node annotation configuration item, displaying an annotation input area for adding annotations in the designated area; wherein the target node annotation configuration item is a node annotation configuration item for the target processing node;

[0126] In response to a second input operation on the comment input area, determining the comment content for the target processing node according to the input content of the second input operation;

[0127] In response to a first designated operation on the target processing node in the image workflow, the annotation content is displayed at a corresponding position of the target processing node in the graphical user interface.

[0128] In a feasible implementation scheme, the data configuration item includes a node title configuration item; the adjustment module is specifically used for:

[0129] In response to a fourth selection operation on a target node title configuration item, displaying a title input area for a node title in the designated area; wherein the target node title configuration item is a node title configuration item for the target processing node;

[0130] In response to a third input operation on the title input area, a new node title is determined according to the input content of the third input operation, and the node title displayed corresponding to the target processing node in the image workflow is modified to the new node title.

[0131] In a feasible implementation scheme, the data configuration item includes a node viewing permission configuration item; the adjustment module is specifically used to:

[0132] In response to a fifth selection operation for a target node viewing permission configuration item, displaying a data display range for the target processing node in the designated area; wherein the target node viewing permission configuration item is a node viewing permission configuration item for the target processing node;

[0133] In response to an adjustment operation on the data display range, the data display content of the target processing node is determined according to the data display range adjusted by the adjustment operation, and the target processing node is displayed in the image workflow according to the data display content.

[0134] In a feasible implementation scheme, the data display content includes any one or more of the following:

[0135] Node title display content, node parameter display content, and node comment display content.

[0136] In a feasible implementation scheme, the data configuration item includes a node deletion configuration item; the adjustment module is specifically used to:

[0137] In response to a sixth selection operation for a target node deletion configuration item, a deletion option for the target processing node is displayed in the designated area; wherein the target node deletion configuration item is a node deletion configuration item for the target processing node;

[0138] In response to an operation on the delete option, the target processing node is deleted in the image workflow.

[0139] In a feasible implementation manner, a plurality of node types are displayed in the designated area; the device further comprises:

[0140] a third display module, configured to display an option of adding to target node type at a corresponding position of a target processing node among the plurality of processing nodes in the graphical user interface in response to a second designation operation on the target processing node among the plurality of processing nodes;

[0141] An adding module is used to add the target processing node to the target node type among the multiple node types in response to the seventh selection operation for the Add to target node type option, and display the target processing node at the corresponding position of the target node type in the designated area; wherein the target node type is the node type corresponding to the Add to target node type option.

[0142] In a feasible implementation scheme, the number of the target data configuration items is multiple; the device also includes:

[0143] A second adjustment module is used for, after the target data configuration item for the target processing node is displayed in the designated area in the graphical user interface in response to the selection operation for the target processing node among the several processing nodes, and then, in response to the dragging operation for the first target data configuration item among the multiple target data configuration items, adjusting the display position of the first target data configuration item among the multiple target data configuration items according to the dragging operation.

[0144] In a feasible implementation scheme, the second adjustment module is specifically used for:

[0145] In response to a drag operation on a first target data configuration item among the plurality of target data configuration items, shrinking and displaying the first target data configuration item in a preset simplified style, and controlling the movement of the shrunken and displayed first target data configuration item according to the drag operation;

[0146] In response to the end of the drag operation, a display position of the first target data configuration item among the plurality of target data configuration items is adjusted according to an end position of the drag operation.

[0147] In a feasible implementation scheme, the number of the target data configuration items is multiple; the device also includes:

[0148] a fourth display module, configured to display, in the designated area in the graphical user interface, a combination control for at least two second target data configuration items in response to an eighth selection operation for at least two second target data configuration items among the plurality of target data configuration items, after the target data configuration item for the target processing node is displayed in the designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of the target data configuration items;

[0149] A fifth display module is used to display the at least two second target data configuration items in a combined form in the designated area in response to an operation on the combined control.

[0150] In a feasible implementation scheme, the process of generating the data configuration item corresponding to each processing node includes:

[0151] For each of the processing nodes in the image workflow, the parameters and configurations of the processing node are parsed by a data parsing algorithm to obtain a number of data configuration items of the processing node;

[0152] The plurality of data configuration items are translated into a preset display style and the plurality of data configuration items in the preset display style are displayed in the form of a list.

[0153] The image workflow processing device provided in the embodiment of the present disclosure has the same technical features as the image workflow processing method provided in the above embodiment, and therefore can solve the same technical problems and achieve the same technical effects.

[0154] Fig.14 The structure diagram of an electronic device provided by an embodiment of the present disclosure is shown, including: a memory 1401, a processor 1402 and a bus 1403, wherein the memory 1401 stores machine-readable instructions executable by the processor 1402. When the electronic device runs an image workflow processing method in the embodiment, the processor 1402 communicates with the memory 1401 through the bus 1403, and the processor 1402 executes the machine-readable instructions. The processor 1402 executes the preamble of the method item to perform the following steps:

[0155] In response to a selection operation on a target processing node among the plurality of processing nodes, displaying a target data configuration item for the target processing node in a designated area of ​​the graphical user interface;

[0156] In response to a configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow;

[0157] In response to a running operation on the adjusted image workflow, a target image is generated by running the adjusted image workflow.

[0158] In a feasible implementation scheme, the data configuration items include any one or more of the following:

[0159] Node parameter configuration items, node comment configuration items, node title configuration items, and node viewing permission configuration items.

[0160] In a feasible implementation scheme, the data configuration items include node parameter configuration items;

[0161] In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises:

[0162] In response to a first selection operation on a target node parameter configuration item, displaying a parameter input area for the target processing node in the designated area; wherein the target node parameter configuration item is a node parameter configuration item for the target processing node;

[0163] In response to a first input operation on the parameter input area, a target parameter of the target processing node is determined according to input content of the first input operation, and the parameter of the target processing node in the image workflow is set as the target parameter.

[0164] In a feasible implementation manner, after setting the parameter of the target processing node in the image workflow to the target parameter, the processor is further configured to:

[0165] Displaying in the designated area an option of displaying or not displaying parameters for the target processing node;

[0166] In response to a second selection operation on the parameter display or not option, the target parameter is hidden or displayed at a corresponding position of the target processing node in the image workflow according to the second selection operation.

[0167] In a feasible implementation, the data configuration item includes a node annotation configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0168] In response to a third selection operation on a target node annotation configuration item, displaying an annotation input area for adding annotations in the designated area; wherein the target node annotation configuration item is a node annotation configuration item for the target processing node;

[0169] In response to a second input operation on the comment input area, determining the comment content for the target processing node according to the input content of the second input operation;

[0170] In response to a first designated operation on the target processing node in the image workflow, the annotation content is displayed at a corresponding position of the target processing node in the graphical user interface.

[0171] In a feasible implementation manner, the data configuration item includes a node title configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, the processor is specifically used to:

[0172] In response to a fourth selection operation on a target node title configuration item, displaying a title input area for a node title in the designated area; wherein the target node title configuration item is a node title configuration item for the target processing node;

[0173] In response to a third input operation on the title input area, a new node title is determined according to the input content of the third input operation, and the node title displayed corresponding to the target processing node in the image workflow is modified to the new node title.

[0174] In a feasible implementation manner, the data configuration item includes a node viewing permission configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0175] In response to a fifth selection operation for a target node viewing permission configuration item, displaying a data display range for the target processing node in the designated area; wherein the target node viewing permission configuration item is a node viewing permission configuration item for the target processing node;

[0176] In response to an adjustment operation on the data display range, the data display content of the target processing node is determined according to the data display range adjusted by the adjustment operation, and the target processing node is displayed in the image workflow according to the data display content.

[0177] In a feasible implementation scheme, the data display content includes any one or more of the following:

[0178] Node title display content, node parameter display content, and node comment display content.

[0179] In a feasible implementation manner, the data configuration item includes a node deletion configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0180] In response to a sixth selection operation for a target node deletion configuration item, a deletion option for the target processing node is displayed in the designated area; wherein the target node deletion configuration item is a node deletion configuration item for the target processing node;

[0181] In response to an operation on the delete option, the target processing node is deleted in the image workflow.

[0182] In a feasible implementation manner, the designated area displays multiple node types; the processor is further configured to:

[0183] In response to a second designation operation on a target processing node among the plurality of processing nodes, displaying an option of adding to target node type at a corresponding position of the target processing node in the graphical user interface;

[0184] In response to the seventh selection operation for the Add to target node type option, the target processing node is added to the target node types among the multiple node types, and the target processing node is displayed at the corresponding position of the target node type in the designated area; wherein the target node type is the node type corresponding to the Add to target node type option.

[0185] In a feasible implementation manner, the number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the processor is further configured to:

[0186] In response to a drag operation on a first target data configuration item among the multiple target data configuration items, a display position of the first target data configuration item among the multiple target data configuration items is adjusted according to the drag operation.

[0187] In a feasible implementation manner, when the processor executes a response to a drag operation on a first target data configuration item among the multiple target data configuration items and adjusts the display position of the first target data configuration item among the multiple target data configuration items according to the drag operation, it is specifically configured to:

[0188] In response to a drag operation on a first target data configuration item among the plurality of target data configuration items, shrinking and displaying the first target data configuration item in a preset simplified style, and controlling the movement of the shrunken and displayed first target data configuration item according to the drag operation;

[0189] In response to the end of the drag operation, a display position of the first target data configuration item among the plurality of target data configuration items is adjusted according to an end position of the drag operation.

[0190] In a feasible implementation manner, the number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the processor is further configured to:

[0191] In response to an eighth selection operation on at least two second target data configuration items among the plurality of target data configuration items, displaying a combination control for the at least two second target data configuration items in the designated area;

[0192] In response to an operation on the combined control, the at least two second target data configuration items are displayed in the designated area in a combined form.

[0193] In a feasible implementation scheme, the process of generating the data configuration item corresponding to each processing node includes:

[0194] For each of the processing nodes in the image workflow, the parameters and configurations of the processing node are parsed by a data parsing algorithm to obtain a number of data configuration items of the processing node;

[0195] The plurality of data configuration items are translated into a preset display style and the plurality of data configuration items in the preset display style are displayed in the form of a list.

[0196] Through the above method, by selecting a processing node in the image workflow, all data configuration items for the selected processing node can be presented in a specified area in a more common data configuration item form. The workflow user can find the required data configuration items more quickly in the specified area, and perform simple and convenient configuration of the selected processing node in the specified area through simple and easy-to-understand data configuration items alone. The workflow user can understand and operate the data configuration items more easily, and no longer needs to perform adjustment operations with high technical thresholds on the pipeline interface area, making the operation of configuring each processing node in the image workflow more intuitive, simple and convenient, reducing the understanding cost and learning cost of the configuration operation of each processing node in the image workflow, thereby improving the processing efficiency of the workflow and alleviating the technical problem of low processing efficiency of the workflow.

[0197] In practical applications, the memory 1401 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1404 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0198] The bus 1403 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0199] Among them, the memory 1401 is used to store programs, and the processor 1402 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present disclosure can be applied to the processor 1402 or implemented by the processor 1402.

[0200] The processor 1402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1402. The above processor 1402 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1401, and the processor 1402 reads the information in the memory 1401 and completes the steps of the above method in combination with its hardware.

[0201] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is running, and the processor performs the following steps:

[0202] In response to a selection operation on a target processing node among the plurality of processing nodes, displaying a target data configuration item for the target processing node in a designated area of ​​the graphical user interface;

[0203] In response to a configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow;

[0204] In response to a running operation on the adjusted image workflow, a target image is generated by running the adjusted image workflow.

[0205] In a feasible implementation scheme, the data configuration items include any one or more of the following:

[0206] Node parameter configuration items, node comment configuration items, node title configuration items, and node viewing permission configuration items.

[0207] In a feasible implementation scheme, the data configuration items include node parameter configuration items;

[0208] In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises:

[0209] In response to a first selection operation on a target node parameter configuration item, displaying a parameter input area for the target processing node in the designated area; wherein the target node parameter configuration item is a node parameter configuration item for the target processing node;

[0210] In response to a first input operation on the parameter input area, a target parameter of the target processing node is determined according to input content of the first input operation, and the parameter of the target processing node in the image workflow is set as the target parameter.

[0211] In a feasible implementation manner, after setting the parameter of the target processing node in the image workflow to the target parameter, the processor is further configured to:

[0212] Displaying in the designated area an option of displaying or not displaying parameters for the target processing node;

[0213] In response to a second selection operation on the parameter display or not option, the target parameter is hidden or displayed at a corresponding position of the target processing node in the image workflow according to the second selection operation.

[0214] In a feasible implementation, the data configuration item includes a node annotation configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0215] In response to a third selection operation on a target node annotation configuration item, displaying an annotation input area for adding annotations in the designated area; wherein the target node annotation configuration item is a node annotation configuration item for the target processing node;

[0216] In response to a second input operation on the comment input area, determining the comment content for the target processing node according to the input content of the second input operation;

[0217] In response to a first designated operation on the target processing node in the image workflow, the annotation content is displayed at a corresponding position of the target processing node in the graphical user interface.

[0218] In a feasible implementation manner, the data configuration item includes a node title configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, the processor is specifically used to:

[0219] In response to a fourth selection operation on a target node title configuration item, displaying a title input area for a node title in the designated area; wherein the target node title configuration item is a node title configuration item for the target processing node;

[0220] In response to a third input operation on the title input area, a new node title is determined according to the input content of the third input operation, and the node title displayed corresponding to the target processing node in the image workflow is modified to the new node title.

[0221] In a feasible implementation manner, the data configuration item includes a node viewing permission configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0222] In response to a fifth selection operation for a target node viewing permission configuration item, displaying a data display range for the target processing node in the designated area; wherein the target node viewing permission configuration item is a node viewing permission configuration item for the target processing node;

[0223] In response to an adjustment operation on the data display range, the data display content of the target processing node is determined according to the data display range adjusted by the adjustment operation, and the target processing node is displayed in the image workflow according to the data display content.

[0224] In a feasible implementation scheme, the data display content includes any one or more of the following:

[0225] Node title display content, node parameter display content, and node comment display content.

[0226] In a feasible implementation manner, the data configuration item includes a node deletion configuration item; when the processor executes a configuration operation in response to the target data configuration item, adjusts the target processing node according to the configuration operation, obtains and displays the adjusted target processing node in the graphical user interface, specifically for:

[0227] In response to a sixth selection operation for a target node deletion configuration item, a deletion option for the target processing node is displayed in the designated area; wherein the target node deletion configuration item is a node deletion configuration item for the target processing node;

[0228] In response to an operation on the delete option, the target processing node is deleted in the image workflow.

[0229] In a feasible implementation manner, the designated area displays multiple node types; the processor is further configured to:

[0230] In response to a second designation operation on a target processing node among the plurality of processing nodes, displaying an option of adding to target node type at a corresponding position of the target processing node in the graphical user interface;

[0231] In response to the seventh selection operation for the Add to target node type option, the target processing node is added to the target node types among the multiple node types, and the target processing node is displayed at the corresponding position of the target node type in the designated area; wherein the target node type is the node type corresponding to the Add to target node type option.

[0232] In a feasible implementation manner, the number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the processor is further configured to:

[0233] In response to a drag operation on a first target data configuration item among the multiple target data configuration items, a display position of the first target data configuration item among the multiple target data configuration items is adjusted according to the drag operation.

[0234] In a feasible implementation manner, when the processor executes a response to a drag operation on a first target data configuration item among the multiple target data configuration items and adjusts the display position of the first target data configuration item among the multiple target data configuration items according to the drag operation, it is specifically configured to:

[0235] In response to a drag operation on a first target data configuration item among the plurality of target data configuration items, shrinking and displaying the first target data configuration item in a preset simplified style, and controlling the movement of the shrunken and displayed first target data configuration item according to the drag operation;

[0236] In response to the end of the drag operation, a display position of the first target data configuration item among the plurality of target data configuration items is adjusted according to an end position of the drag operation.

[0237] In a feasible implementation manner, the number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the processor is further configured to:

[0238] In response to an eighth selection operation on at least two second target data configuration items among the plurality of target data configuration items, displaying a combination control for the at least two second target data configuration items in the designated area;

[0239] In response to an operation on the combined control, the at least two second target data configuration items are displayed in the designated area in a combined form.

[0240] In a feasible implementation scheme, the process of generating the data configuration item corresponding to each processing node includes:

[0241] For each of the processing nodes in the image workflow, the parameters and configurations of the processing node are parsed by a data parsing algorithm to obtain a number of data configuration items of the processing node;

[0242] The plurality of data configuration items are translated into a preset display style and the plurality of data configuration items in the preset display style are displayed in the form of a list.

[0243] Through the above method, by selecting a processing node in the image workflow, all data configuration items for the selected processing node can be presented in a specified area in a more common data configuration item form. The workflow user can find the required data configuration items more quickly in the specified area, and perform simple and convenient configuration of the selected processing node in the specified area through simple and easy-to-understand data configuration items alone. The workflow user can understand and operate the data configuration items more easily, and no longer needs to perform adjustment operations with high technical thresholds on the pipeline interface area, making the operation of configuring each processing node in the image workflow more intuitive, simple and convenient, reducing the understanding cost and learning cost of the configuration operation of each processing node in the image workflow, thereby improving the processing efficiency of the workflow and alleviating the technical problem of low processing efficiency of the workflow.

[0244] In the embodiments of the present disclosure, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiments. For the specific execution method steps and principles, please refer to the description of the embodiments, which will not be repeated here.

[0245] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0246] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a 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 alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0247] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0248] In addition, each functional unit in the embodiments provided in the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0249] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the image workflow processing method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0250] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0251] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims

1. A method for processing an image workflow, characterized in that: A graphical user interface is provided through a terminal device, wherein a pre-created image workflow is displayed in the graphical user interface, wherein the image workflow includes processing nodes corresponding to several stages of image generation, and each processing node corresponds to a data configuration item; the method includes: In response to a selection operation on a target processing node among the plurality of processing nodes, displaying a target data configuration item for the target processing node in a designated area of ​​the graphical user interface; In response to a configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow; In response to a running operation on the adjusted image workflow, a target image is generated by running the adjusted image workflow.

2. The method according to claim 1, characterized in that The data configuration items include any one or more of the following: Node parameter configuration items, node comment configuration items, node title configuration items, and node viewing permission configuration items.

3. The method according to claim 1, characterized in that The data configuration items include node parameter configuration items; In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises: In response to a first selection operation on a target node parameter configuration item, displaying a parameter input area for the target processing node in the designated area; wherein the target node parameter configuration item is a node parameter configuration item for the target processing node; In response to a first input operation on the parameter input area, a target parameter of the target processing node is determined according to input content of the first input operation, and the parameter of the target processing node in the image workflow is set as the target parameter.

4. The method according to claim 3, characterized in that After setting the parameter of the target processing node in the image workflow to the target parameter, the method further includes: Displaying in the designated area an option of displaying or not displaying parameters for the target processing node; In response to a second selection operation on the parameter display or not option, the target parameter is hidden or displayed at a corresponding position of the target processing node in the image workflow according to the second selection operation.

5. The method according to claim 1, characterized in that The data configuration items include node annotation configuration items; In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises: In response to a third selection operation on a target node annotation configuration item, displaying an annotation input area for adding annotations in the designated area; wherein the target node annotation configuration item is a node annotation configuration item for the target processing node; In response to a second input operation on the comment input area, determining the comment content for the target processing node according to the input content of the second input operation; In response to a first designated operation on the target processing node in the image workflow, the annotation content is displayed at a corresponding position of the target processing node in the graphical user interface.

6. The method according to claim 1, characterized in that The data configuration items include node title configuration items; In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises: In response to a fourth selection operation on a target node title configuration item, displaying a title input area for a node title in the designated area; wherein the target node title configuration item is a node title configuration item for the target processing node; In response to a third input operation on the title input area, a new node title is determined according to the input content of the third input operation, and the node title displayed corresponding to the target processing node in the image workflow is modified to the new node title.

7. The method according to claim 1, characterized in that The data configuration items include node viewing permission configuration items; In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises: In response to a fifth selection operation for a target node viewing permission configuration item, displaying a data display range for the target processing node in the designated area; wherein the target node viewing permission configuration item is a node viewing permission configuration item for the target processing node; In response to an adjustment operation on the data display range, the data display content of the target processing node is determined according to the data display range adjusted by the adjustment operation, and the target processing node is displayed in the image workflow according to the data display content.

8. The method according to claim 7, characterized in that The data display content includes any one or more of the following: Node title display content, node parameter display content, and node comment display content.

9. The method according to claim 1, characterized in that: The data configuration items include node deletion configuration items; In response to the configuration operation for the target data configuration item, adjusting the target processing node according to the configuration operation, obtaining and displaying the adjusted target processing node in the graphical user interface, comprises: In response to a sixth selection operation for a target node deletion configuration item, a deletion option for the target processing node is displayed in the designated area; wherein the target node deletion configuration item is a node deletion configuration item for the target processing node; In response to an operation on the delete option, the target processing node is deleted in the image workflow.

10. The method according to claim 1, characterized in that The designated area displays a plurality of node types; the method further comprises: In response to a second designation operation on a target processing node among the plurality of processing nodes, displaying an option of adding to target node type at a corresponding position of the target processing node in the graphical user interface; In response to the seventh selection operation for the Add to target node type option, the target processing node is added to the target node types among the multiple node types, and the target processing node is displayed at the corresponding position of the target node type in the designated area; wherein the target node type is the node type corresponding to the Add to target node type option.

11. The method according to claim 1, characterized in that: The number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the method further includes: In response to a drag operation on a first target data configuration item among the multiple target data configuration items, a display position of the first target data configuration item among the multiple target data configuration items is adjusted according to the drag operation.

12. The method according to claim 11, characterized in that In response to a drag operation on a first target data configuration item among the plurality of target data configuration items, adjusting a display position of the first target data configuration item among the plurality of target data configuration items according to the drag operation includes: In response to a drag operation on a first target data configuration item among the plurality of target data configuration items, shrinking and displaying the first target data configuration item in a preset simplified style, and controlling the movement of the shrunken and displayed first target data configuration item according to the drag operation; In response to the end of the drag operation, a display position of the first target data configuration item among the plurality of target data configuration items is adjusted according to an end position of the drag operation.

13. The method according to claim 1, characterized in that The number of the target data configuration items is multiple; after the target data configuration items for the target processing node are displayed in a designated area in the graphical user interface in response to the selection operation for the target processing node among the plurality of processing nodes, the method further includes: In response to an eighth selection operation on at least two second target data configuration items among the plurality of target data configuration items, displaying a combination control for the at least two second target data configuration items in the designated area; In response to an operation on the combined control, the at least two second target data configuration items are displayed in the designated area in a combined form.

14. The method according to claim 1, characterized in that The process of generating the data configuration item corresponding to each processing node includes: For each of the processing nodes in the image workflow, the parameters and configurations of the processing node are parsed by a data parsing algorithm to obtain a number of data configuration items of the processing node; The plurality of data configuration items are translated into a preset display style and the plurality of data configuration items in the preset display style are displayed in the form of a list.

15. A device for processing image workflow, characterized in that: A graphical user interface is provided through a terminal device, wherein a pre-created image workflow is displayed in the graphical user interface, wherein the image workflow includes processing nodes corresponding to several stages of image generation, and each processing node corresponds to a data configuration item; the apparatus comprises: A display module, configured to display target data configuration items for a target processing node among the plurality of processing nodes in a designated area of ​​the graphical user interface in response to a selection operation for the target processing node; an adjustment module, configured to respond to a configuration operation for the target data configuration item, adjust the target processing node according to the configuration operation, obtain and display the adjusted target processing node in the graphical user interface; at least one of the adjusted target processing nodes forms an adjusted image workflow; The running module is used for generating a target image by running the adjusted image workflow in response to a running operation on the adjusted image workflow.

16. An electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 14 are implemented.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method according to any one of claims 1 to 14.

Citation Information

Cited By

  • Task scheme determination method and device, electronic equipment, program product and medium

    CN120106529A

  • Method and apparatus for presenting node graph, device, storage medium, and product

    WO2026143733A1