WO2023142451A1 - Workflow generation methods and apparatuses, and electronic device - Google Patents

Workflow generation methods and apparatuses, and electronic device Download PDF

Info

Publication number
WO2023142451A1
WO2023142451A1 PCT/CN2022/113402 CN2022113402W WO2023142451A1 WO 2023142451 A1 WO2023142451 A1 WO 2023142451A1 CN 2022113402 W CN2022113402 W CN 2022113402W WO 2023142451 A1 WO2023142451 A1 WO 2023142451A1
Authority
WO
WIPO (PCT)
Prior art keywords
workflow
information
meta
template
rendering operation
Prior art date
Application number
PCT/CN2022/113402
Other languages
French (fr)
Chinese (zh)
Inventor
李金麒
施恩
胡鸣人
钱正宇
袁正雄
Original Assignee
北京百度网讯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2023142451A1 publication Critical patent/WO2023142451A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Definitions

  • the present disclosure relates to the field of computer technology, in particular to the field of artificial intelligence technology development, and in particular to a workflow generation method, device, electronic equipment, storage medium and computer program product.
  • Artificial intelligence is a discipline that studies the use of computers to simulate certain human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level.
  • Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, and machine learning, Deep learning, big data processing technology, knowledge map technology and other major directions.
  • the disclosure provides a workflow generation method, device, electronic equipment, storage medium and computer program product.
  • a workflow generation method including: receiving a workflow generation request, wherein the workflow generation request carries workflow description information; determining workflow nodes according to the description information; processing The workflow node obtains workflow meta-information based on the processing result; and generates a target workflow according to the workflow meta-information.
  • a workflow generation method including: receiving a workflow description request, wherein the workflow description request carries scenario information; determining workflow description information that matches the scenario information; The workflow description information is used to generate a workflow generation request; the workflow generation request is provided to the workflow producer to trigger the workflow producer to generate a target workflow according to the workflow generation request.
  • a workflow generation device including: a first receiving module, configured to receive a workflow generation request, wherein the workflow generation request carries workflow description information; the first determination A module, configured to determine a workflow node according to the description information; a first processing module, configured to process the workflow node, and obtain workflow meta information based on the processing result; and a first generating module, configured to obtain workflow meta information based on the workflow meta information , to generate the target workflow.
  • a workflow generating device including: a second receiving module, configured to receive a workflow description request, wherein the workflow description request carries scene information; a second determining module, configured to to determine the description information of the workflow matching the scene information; the second generation module is used to generate a workflow generation request according to the description information of the workflow; the second processing module is used to provide the workflow generation request to the workflow production Party, to trigger the workflow producer to generate the target workflow according to the workflow generation request.
  • an electronic device including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by At least one processor executes, so that at least one processor can execute the workflow generation method according to the first aspect, or execute the workflow generation method according to the second aspect.
  • a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to make a computer execute the workflow generation method as in the first aspect, or perform the work as in the second aspect Stream generation method.
  • a computer program product including a computer program.
  • the computer program When the computer program is executed by a processor, it implements the steps of the workflow generation method according to the first aspect, or executes the workflow according to the second aspect. The steps to generate the method.
  • FIG. 1 is a flow chart of a workflow generation method according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a workflow generation method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a workflow development platform according to an embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
  • Fig. 6 is a block diagram of a workflow generation device according to an embodiment of the present disclosure.
  • Fig. 7 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • Fig. 8 is a block diagram of a workflow generation device according to an embodiment of the present disclosure.
  • Fig. 9 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • Fig. 10 shows a schematic block diagram of an example electronic device for implementing the workflow generation method of the embodiment of the present disclosure.
  • Fig. 1 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
  • the execution subject of the workflow generation method in this embodiment is a workflow generation device, which can be implemented by software and/or hardware, and which can be configured in an electronic device, and the electronic device can include But not limited to terminals, servers, etc.
  • Embodiments of the present disclosure relate to the field of artificial intelligence technology development.
  • AI artificial intelligence
  • AI the English abbreviation is AI. It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
  • artificial intelligence technology development refers to the completion of corresponding technology development tasks based on artificial intelligence technology combined with actual business application scenarios, for example, developing an easy-to-use development framework, an out-of-the-box development environment, rich artificial intelligence
  • the intelligent skills market and cloud management platform also support a series of development tasks such as the development of artificial intelligence applications such as vision and hearing, and the online deployment of artificial intelligence models.
  • the workflow generation method includes:
  • S101 Receive a workflow generation request, wherein the workflow generation request carries workflow description information.
  • the request for triggering the generation of the workflow may be referred to as a workflow generation request, and the workflow request may include: description information of the workflow.
  • workflow description information the information used to describe the flow logic, execution order, execution task information, node type, etc. between different workflow nodes in the workflow
  • workflow description information the information used to describe the flow logic, execution order, execution task information, node type, etc. between different workflow nodes in the workflow
  • workflow description information It may also be, for example, the description information of the function of the workflow, the description information of the storage location of the workflow, etc., which are not limited.
  • the workflow refers to the automation of part and/or the overall process of the business operation process in the computer application environment, that is, it can rely on the pre-built workflow to realize the automatic completion of the corresponding business operation process in the computer application environment, Therefore, based on the workflow, the execution cost of the corresponding business operation process can be effectively reduced, and the execution efficiency of the corresponding business process can be effectively improved.
  • the specific process can be, for example, an image recognition process, a model training process, etc., without limitation.
  • the workflow in the embodiments of the present disclosure may specifically be a workflow in artificial intelligence AI, which is not limited.
  • the workflow generation method described in the embodiments of the present disclosure may be applied to a workflow producer, without limitation.
  • the producer of the workflow can be an electronic device on the producer side who is proficient in the workflow development process.
  • the electronic device on the producer side generates various adaptations according to the needs of different users for the workflow in actual business scenarios.
  • the workflow producer can also support the popularization of workflow functions and applicable scenarios to users who use workflows, so that users can call workflows according to their own needs.
  • receiving the workflow generation request may be that the workflow producer provides the corresponding Application Programming Interface (Application Programming Interface, API) in advance, and then receives the workflow generation request via the API, or, To receive the workflow generation request, it is also possible to pre-configure the corresponding monitoring device for the workflow producer, and monitor the workflow generation request of different users through the monitoring device, so as to trigger the subsequent steps according to the workflow generation request, and do not do this limit.
  • API Application Programming Interface
  • a complete AI creation process can include basic information selection nodes, initiation training nodes, effect evaluation nodes, model Deployment nodes, batch prediction nodes and other types of nodes are not limited.
  • determining the workflow node may be based on the description information of the workflow, comparing the corresponding multiple nodes in the artificial intelligence AI workflow creation process, so as to determine the work flow node from the multiple nodes.
  • the description information of the flow corresponds to the workflow node.
  • multiple workflow nodes may have corresponding execution order and data flow logic, and multiple workflow nodes jointly form a complete workflow that can be used in actual production according to the corresponding execution data and data flow logic.
  • the workflow node is determined according to the description information, or the workflow description information can be analyzed and processed, and the candidate workflow node corresponding to the description information is determined, and then according to the execution sequence of the requirements in the description information Configure the execution order of the candidate workflow nodes, configure the data flow logic of the candidate workflow nodes according to the required data flow logic in the description information, and obtain the workflow nodes, or use any other possible way to realize the determination based on the description information Workflow nodes, there is no restriction on this.
  • meta-information is information about information, which is used to describe the structure, semantics, purpose and usage of information, etc.
  • the information used to describe the structure, semantics, purpose, and usage of the workflow can be called workflow meta-information, which can be, for example, the functional information of the workflow, identification information of the workflow, etc. For this No restrictions.
  • the processing of workflow nodes may be to sequentially splicing multiple workflow nodes after determining multiple workflow nodes to obtain corresponding processing results, or it may also be the user according to the actual business scenario According to the workflow development requirements, the execution order of multiple workflow nodes is determined, and then the multiple workflow nodes are spliced according to the aforementioned execution order to obtain corresponding processing results.
  • the corresponding workflow meta-information can be obtained based on the processing result, that is, the corresponding processing result can be parsed to obtain the corresponding parsing and processing result, and the The foregoing analysis and processing results are used as workflow meta-information.
  • to analyze and process the corresponding processing results may be to input the corresponding processing results into the pre-trained deep learning model after the corresponding processing workflow node generates the corresponding processing results, and the corresponding processing results are processed by the deep learning model
  • the results are parsed and processed, and the corresponding parsing and processing results are output, and the parsing and processing results are used as workflow metadata, or any other possible method can be used to parse and process the corresponding processing results, such as semantic parsing, There is no limitation on the manner of feature analysis and the like.
  • the aforementioned workflow can be processed according to the workflow meta-information (that is, the information describing the structure, semantics, purpose, usage, etc. of the workflow).
  • the flow node performs description and configuration processing, and takes the workflow obtained from the foregoing description and configuration processing as the target workflow.
  • generating the target workflow may be parsing the workflow meta-information (that is, information describing the structure, semantics, usage, usage, etc. of the workflow) to obtain the corresponding parsing file, and then use the parsed file to edit and configure the workflow nodes to obtain the target workflow.
  • the workflow meta-information that is, information describing the structure, semantics, usage, usage, etc. of the workflow
  • generating the target workflow according to the workflow meta-information may be to determine the business scenario adapted to the workflow node corresponding to the workflow meta-information according to the workflow meta-information, and compare the business scenario with the user's current When the actual business scenario matches, the workflow node corresponding to the workflow meta-information is taken as the target workflow.
  • any other possible manner may be used to generate the target workflow according to the workflow meta-information, which is not limited.
  • the description information in the embodiment of the present disclosure can describe the type, quantity, execution sequence, and data flow logic of the workflow nodes required by the business, so as to determine the matching workflow nodes based on the description information.
  • the artificial intelligence AI workflow can be effectively adapted to the description information of the workflow, and the personalized description and adjustment of the workflow nodes can be realized based on different description information, which can effectively meet the workflow of different users Customized needs.
  • the workflow generation request carries the description information of the workflow, and according to the description information
  • the workflow node is determined
  • the workflow node is processed
  • the workflow is obtained based on the processing result meta-information
  • the workflow node is determined according to the description information of the workflow, and the workflow node is integrated to generate the target workflow, so that the target workflow can It effectively adapts the description information of the workflow, supports the personalized description and adjustment of the workflow nodes, can effectively meet the workflow customization needs of different users, and effectively improves the flexibility and applicability of the workflow generation method.
  • Fig. 2 is a flowchart of a workflow generating method according to an embodiment of the present disclosure.
  • the workflow generation method includes:
  • S201 Receive a workflow generation request, wherein the workflow generation request carries workflow description information.
  • the workflow producer and workflow user can work together with the workflow development platform to complete the creation process of the target workflow.
  • the workflow user needs to use specific artificial intelligence AI technology to enable production, he only needs to follow the instructions for using the artificial intelligence AI workflow given by the workflow producer to select the appropriate workflow , which can meet its workflow requirements in actual business scenarios.
  • FIG. 3 is a schematic structural diagram of a workflow development platform according to an embodiment of the disclosure. Including: workflow generation service module, workflow management service module, workflow node meta-information warehouse, workflow template warehouse, front-end page and development platform back-end.
  • workflow generation service module workflow management service module
  • workflow node meta-information warehouse workflow template warehouse
  • front-end page front-end page
  • development platform back-end The specific functions of each module are as follows:
  • the workflow template repository refers to a database for storing workflow templates, which can be used to store workflow templates.
  • the workflow management service module can be used to manage the workflow templates stored in the workflow template warehouse, and provide workflow startup, shutdown, query and other functions.
  • the workflow node meta-information warehouse refers to a database for storing workflow nodes, which can be used to store the most fine-grained workflow nodes.
  • the workflow generation service module can be used to receive the workflow generation request created by the workflow producer, determine the workflow node according to the description information in the workflow generation request, and process the workflow node to form a workflow template, and then store the workflow template In the workflow template repository.
  • the front-end page refers to the user interaction page, on which the workflow user can select the required workflow and develop the corresponding workflow.
  • the backend of the development platform is the platform for workflow operation. It integrates the data required for workflow operation, the interface for obtaining models, and the interfaces required for initiating model training and model prediction. It can provide the basis for workflow operation. To assist in completing a complete workflow production work.
  • receiving a workflow generation request may be a workflow generation request received by the workflow generation service module through the API interface, and made by the workflow producer according to actual business needs.
  • the workflow request may have the corresponding following:
  • the description information of the workflow described in JavaScript Object Notation (JSON) format is not limited.
  • the workflow generation service module can analyze and process the description information of the workflow described in JSON format, and then determine the corresponding workflow node according to the aforementioned analysis and processing results , for details, please refer to the following examples.
  • the workflow node corresponding to the description information can be determined from the multiple workflow nodes stored in the workflow node meta-information warehouse according to the description information. Workflow node.
  • S203 Process the workflow nodes to form a workflow template.
  • a workflow template refers to a workflow that exists in the form of a template and can be used to execute a specific workflow.
  • the workflow template can be, for example, an object detection process template, an image classification process template, a text recognition process template, etc. This is not limited.
  • processing a workflow node may be to integrate multiple workflow nodes in the form of a template to obtain a workflow template, or call a template configuration file to process multiple workflow nodes according to the template configuration file , to form a workflow template, which is not limited.
  • workflow nodes are processed to form workflow templates, which can support workflow users to directly call workflow templates, thereby effectively improving the utilization efficiency of workflow templates.
  • processing workflow nodes to form a workflow template may be to determine the node meta-information corresponding to each workflow node, and perform splicing processing on multiple workflow nodes according to the node meta-information to form a workflow template .
  • the meta information refers to the information used to describe the structure, semantics, purpose and usage of the information corresponding to the meta information, and correspondingly, the information used to describe the structure, semantics, purpose and usage of the workflow nodes, namely It may be referred to as node meta information, and the node meta information may specifically include, for example, the storage location of the workflow node in the node meta information warehouse, the function information of the workflow node, etc., without limitation.
  • multiple workflow nodes can be stored in the node meta-information warehouse, which can be a database for storing the most fine-grained workflow nodes, and the workflow node can be, for example, a data merge process Nodes, image segmentation process nodes, batch prediction process nodes, etc., are not limited.
  • determining the node meta-information corresponding to the workflow node may be determining the storage location of the workflow node in the node meta-information warehouse, the functional information of the workflow node, etc., and using the above-mentioned determined information together as the The node meta-information corresponding to the workflow node is not limited.
  • multiple workflow nodes can be spliced according to the node meta-information and in combination with the node work order among multiple workflow nodes Since not all workflow nodes support splicing to obtain corresponding workflow templates, it is possible to effectively filter out workflow nodes that do not support splicing processing during the splicing process of multiple workflow nodes, thereby It can effectively improve the usability of the workflow template obtained by splicing.
  • it in the process of splicing workflows, it can also support adaptive adjustment of the order of workflow nodes, so that the workflow obtained by the aforementioned splicing processing
  • the workflow nodes of the template can effectively adapt to the workflow requirements of different users.
  • workflow processing when processing workflow nodes to form a workflow template, it can also support verification processing on the workflow template (verification processing means that it can be judged whether the workflow template has logic error, whether it is an available workflow template), that is, the workflow generation service module in the workflow development platform shown in Figure 3 above can verify the workflow template, and pass the workflow template verification (passing the verification means that the workflow template has no logical errors and is a usable workflow template), store the workflow template that passes the verification process in the workflow template warehouse, and refer to the subsequent embodiments for details.
  • verification processing means that it can be judged whether the workflow template has logic error, whether it is an available workflow template
  • the workflow generation service module in the workflow development platform shown in Figure 3 above can verify the workflow template, and pass the workflow template verification (passing the verification means that the workflow template has no logical errors and is a usable workflow template), store the workflow template that passes the verification process in the workflow template warehouse, and refer to the subsequent embodiments for details.
  • meta-information is information about information, which is used to describe the structure, semantics, purpose and usage of information, etc.
  • workflow meta-information can specifically be, for example, the storage location of workflow templates Information, function information of the workflow template, identification information of the workflow template, etc., are not limited.
  • the storage location information of the workflow template, the function information of the workflow template, the identification information of the workflow template and other information can be determined, and the All or part of the above-mentioned determined information is used as workflow meta-information, which is not limited.
  • obtaining the workflow meta-information according to the workflow template may be storing the workflow template in the workflow template warehouse, and determining the storage location information of the workflow template in the workflow template warehouse, And store location information as workflow meta information.
  • the workflow template after the workflow nodes are processed to form the workflow template, the workflow template can be stored in the workflow template warehouse, thus, in the execution process of the subsequent workflow generation method, the workflow template warehouse can be realized , directly call the corresponding workflow template, which can effectively assist in improving the efficiency of workflow template acquisition.
  • the information used to describe the storage location of the workflow template in the workflow template warehouse can be referred to as storage location information, and the storage location information can specifically be, for example, the storage address information of the workflow template in the workflow template warehouse, There is no restriction on this.
  • the storage address information of the workflow template in the workflow template warehouse can be determined, and the storage address information can be used as the workflow template in the Storage location information in the workflow template repository.
  • the storage location information can be used as the workflow meta-information, and then the subsequent workflow generation method can be executed based on the workflow meta-information. For details, see Subsequent examples.
  • the workflow template is first stored in the workflow template warehouse, and the storage location information of the workflow template in the workflow template warehouse is determined, and the storage location information is used as the workflow metadata, so that Effectively improve the comprehensiveness and referenceability of the workflow meta-information, and can also directly call the corresponding workflow template from the workflow template warehouse based on the workflow meta-information during the execution of the subsequent workflow generation method , so that the reusability of the workflow template can be effectively improved, and the time for generating the workflow template by splicing the workflow nodes can be effectively saved, thereby effectively assisting in improving the efficiency of workflow template acquisition.
  • the workflow meta-information is obtained according to the workflow template, and the node meta-information may also be used as the workflow meta-information.
  • the node meta-information corresponding to each workflow node determined above can be used as the workflow meta-information, and then, based on the workflow meta-information , to generate a target workflow, for details, refer to subsequent embodiments.
  • the workflow element information can be fed back to the workflow producer. Since the workflow element information is fed back to the workflow producer, it can effectively facilitate the workflow producer to The acquisition of meta-information enables the work producer to quickly capture the workflow meta-information, and based on the workflow meta-information, effectively assists in improving the workflow production efficiency of the workflow producer.
  • S206 In response to the workflow management request, acquire the workflow template from the workflow template warehouse according to the storage location information.
  • the request for triggering workflow management may be referred to as a workflow management request.
  • the workflow management request can be received through the instruction interface provided by the workflow development platform, and then the workflow management service module can respond to the workflow management request and determine the workflow template according to the storage location information The storage location in the workflow template warehouse, and obtain the workflow template corresponding to the storage location.
  • the workflow template after the workflow template is obtained from the workflow template warehouse according to the storage location information, the workflow template can be described according to the node meta-information to obtain the described and processed workflow, which can be called The workflow to be rendered can be rendered, and then the workflow to be rendered can be rendered to obtain an interactive interface for user operations corresponding to the workflow, and then the corresponding interactive processing operation can be performed on the workflow to be rendered based on the user interface, so as to The target workflow is obtained, for details, please refer to the subsequent embodiments.
  • describing the workflow template refers to the workflow management service module of the workflow development platform shown in FIG. 3 above, which performs functional operations such as starting, closing, and querying the workflow template.
  • the workflow management service module of the workflow development platform can start, close, and Query and other operations to obtain the corresponding workflow to be rendered, there is no limit to this.
  • the workflow template is obtained from the workflow template warehouse according to the storage location information in response to the workflow management request, the corresponding workflow template can be quickly captured from the workflow template warehouse based on the storage location information , so that the workflow template can be described according to the node meta-information, the workflow to be rendered can be obtained, and when the target workflow is generated according to the workflow to be rendered, it can effectively assist in improving the generation efficiency of the target workflow.
  • the information describes and processes the workflow template to obtain the target workflow, so that the generation effect of the target workflow can be effectively improved.
  • generating the target workflow can determine whether the workflow to be rendered meets the user's requirements, and when the workflow to be rendered meets the user's requirements, directly use the workflow to be rendered as the target workflow.
  • a target workflow is generated according to the workflow to be rendered. It may be that the workflow to be rendered is provided to the workflow user's terminal, and the rendering operation information fed back by the terminal is received, wherein the rendering operation information is obtained by analyzing the rendering operation instruction in response to the rendering operation instruction, and according to the rendering operation The information is rendered to the workflow to be rendered to obtain the target workflow. Since the rendering operation information is obtained through the interaction between the user and the front-end page, the rendering operation information fed back by the terminal is used to render the workflow to be rendered, so that the rendering can be obtained.
  • the target workflow can be more adapted to the needs of the user's actual business scenario, and thus can effectively improve the generation effect of the workflow.
  • the terminal of the workflow user may specifically be, for example, a computer device or a processor on the workflow user side, which is not limited.
  • the instruction for triggering the rendering operation processing of the workflow to be rendered may be referred to as a rendering operation instruction.
  • the information used to perform rendering operation processing on the workflow to be rendered may be referred to as rendering operation information
  • the rendering operation information may specifically include, for example: actual application scene information of the workflow, usage information of the workflow, etc., or,
  • the rendering operation information can also be the terminal of the workflow user.
  • the artificial intelligence AI model corresponding to the workflow to be rendered the defined artificial intelligence AI model interface information, interface call relationship information, and artificial intelligence AI model input and/or output data type information, etc., without limitation.
  • the rendering process refers to the front-end page of the workflow development platform, according to the rendering operation information of the workflow (artificial intelligence AI model interface information, interface call relationship information, artificial intelligence AI model input and/or output data type information, etc. ) renders an interactive page that can be operated by the user, and then the user can interact with the workflow to be rendered on the interactive interface obtained by the aforementioned rendering process to obtain the target workflow.
  • the rendering operation information of the workflow artificial intelligence AI model interface information, interface call relationship information, artificial intelligence AI model input and/or output data type information, etc.
  • the terminal of the workflow user after providing the workflow to be rendered to the terminal of the workflow user and receiving the rendering operation information fed back by the terminal of the workflow user, the terminal of the workflow user
  • the workflow to be rendered and the rendering operation instruction can be provided to the terminal of the workflow user together, and the terminal of the workflow user will receive the rendering operation instruction , get the corresponding rendering operation information from the rendering operation instruction, and feed back the rendering operation information to the workflow producer.
  • the workflow producer can treat the rendering work according to the rendering operation information on the front-end page of the workflow development platform.
  • the flow is rendered to obtain the user-operated interactive interface corresponding to the workflow to be rendered, and then the user can interact with the workflow to be rendered on the interactive interface obtained by the aforementioned rendering processing to obtain the target workflow .
  • the workflow node by receiving the workflow generation request, and according to the description information, determine the workflow node, and then process the workflow node to form a workflow template, and obtain the workflow metadata according to the workflow template, so that the work can be effectively improved.
  • the comprehensiveness and referenceability of the flow element information can also directly call the corresponding workflow template from the workflow template warehouse based on the workflow element information during the execution of the subsequent workflow generation method, so as to effectively It can greatly improve the reusability of workflow templates, and can also effectively save the time to generate workflow templates by splicing workflow nodes, thereby effectively assisting in improving the efficiency of workflow template acquisition, and then feeding back workflow meta-information To the workflow producer, because the workflow meta information is fed back to the workflow producer, it can effectively facilitate the workflow producer to obtain the workflow meta information, so that the work producer can quickly grasp the workflow meta information Based on the workflow meta-information, it effectively assists in improving the workflow production efficiency of the workflow producer, and then responds to the workflow management request, obtains the workflow template from the workflow template warehouse according to the storage location information,
  • Fig. 4 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
  • the execution subject of the workflow generation method in this embodiment is a workflow generation device, which can be implemented by software and/or hardware, and which can be configured in an electronic device, and the electronic device can include But not limited to terminals, servers, etc.
  • the workflow generation method includes:
  • S401 Receive a workflow description request, where the workflow description request carries scene information.
  • the request for triggering the description of the workflow to obtain the description information of the workflow may be referred to as a workflow description request.
  • the information used to describe the business scenario for workflow adaptation can be called scenario information, and the scenario information can be specifically, for example, the identification information of the scenario, the attribute information of the scenario, etc., for This is not limited.
  • receiving the workflow description request may be that the terminal of the workflow user provides a corresponding Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) interface in advance, and receives the workflow description request via the HTTP interface, or, It is also possible to pre-configure the corresponding monitoring device for the terminal of the workflow user, and request the user's workflow description via the monitoring device. Of course, any other possible way can also be used to receive the workflow description request. Do limit.
  • HTTP Hyper Text Transfer Protocol
  • S402 Determine the description information of the workflow matching the scenario information.
  • the scenario information for different business scenarios can correspond to the description information of different workflows, so that when determining the scenario After the information is obtained, the description information of the workflow matching the scene information can be determined.
  • determining the description information of the workflow matching the scenario information may be parsing and processing the scenario information to determine the workflow matching the scenario information, and adding the description of the workflow corresponding to the workflow The information is used as the description information of the workflow matched with the scene information.
  • the description information of the workflow may include scenario information corresponding to a scenario adapted to the workflow.
  • determining the description information of the workflow that matches the scene information can also be to compare the scene information with the description information of multiple workflows, for example, it is possible to determine multiple similarities between the scene information and the description information of the workflow degrees, and use the description information of the workflow corresponding to the maximum similarity among the multiple similarities as the description information of the workflow matching the scene information, or, any other possible way can also be used to determine the workflow matching scene information Descriptive information, without limitation.
  • S403 Generate a workflow generation request according to the description information of the workflow.
  • the description information of the workflow matching the scene information may be packaged, and the description information obtained through the packaging process may be converted into a corresponding workflow generation request.
  • a workflow generation request is generated according to the description information of the workflow, or the description information of the workflow can be provided to the terminal of the workflow user, and the terminal of the workflow user combines its own requirements for the workflow and workflow description information to generate a workflow generation request, or any other possible manner may be used to generate a workflow generation request according to the workflow description information, which is not limited.
  • S404 Provide the workflow generation request to the workflow producer, so as to trigger the workflow producer to generate the target workflow according to the workflow generation request.
  • the workflow generation request may be provided to a workflow producer, so as to trigger the workflow producer to generate a target workflow according to the workflow generation request.
  • the workflow description request by receiving the workflow description request, wherein the workflow description request carries scene information, and determining the description information of the workflow matching the scene information, and then generating the workflow generation request according to the description information of the workflow , and provide the workflow generation request to the workflow producer to trigger the workflow producer to generate the target workflow according to the workflow generation request, since the workflow generation request is generated according to the description information of the workflow matching the scene information,
  • the workflow generation request can accurately represent the scene information, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of the user's actual business scenario.
  • the target workflow enables the target workflow to effectively meet the individual needs in actual workflow application scenarios.
  • Fig. 5 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
  • the workflow generation method includes:
  • S501 Receive a workflow description request, where the workflow description request carries scene information.
  • S502 Determine the description information of the workflow matching the scenario information.
  • S503 Generate a workflow generation request according to the description information of the workflow.
  • S504 Provide the workflow generation request to the workflow producer, so as to trigger the workflow producer to generate the target workflow according to the workflow generation request.
  • workflow currently to be rendered provided by the workflow producer may be referred to as a workflow to be rendered.
  • the workflow to be rendered provided by the workflow producer can be obtained, and then based on To render the workflow, execute the subsequent workflow generation method, for details, refer to the subsequent embodiments.
  • S506 In response to the rendering operation instruction, parse the rendering operation instruction to obtain rendering operation information, where the rendering operation information is used to perform rendering processing on the workflow to be rendered.
  • the instruction used to trigger the rendering operation of the workflow to be rendered can be called a rendering operation instruction.
  • the rendering operation instruction can specifically, for example, pre-configure a corresponding instruction interface for the workflow development platform, and based on the instruction interface Receive rendering operation instructions.
  • the terminal of the workflow user can parse and process the rendering operation instruction to obtain the corresponding rendering operation information, and then based on the rendering operation information Trigger next steps.
  • the terminal of the workflow user parses the rendering operation instruction to obtain the rendering operation information, it can provide the rendering operation information to the workflow producer, and then the workflow producer can convert the rendering operation
  • the front-end page provided to the workflow development platform is used to trigger the front-end page to render the workflow to be rendered according to the rendering operation information, so as to generate the target workflow.
  • the rendering operation instruction is analyzed to obtain the rendering operation information, so that the rendering operation information obtained by the analysis can be accurately adapted to For the workflow to be rendered, it effectively guarantees the referenceability of the rendering operation information, so that when the rendering operation information is provided to the workflow producer, the workflow producer can effectively ensure the smoothness of the rendering operation logic based on the rendering operation information Execution, so as to effectively improve the rendering effect of the workflow to be rendered, and then effectively assist in improving the generation effect of the target workflow.
  • the workflow generation request by receiving the workflow description request, determine the description information of the workflow matching the scene information, and generate a workflow generation request according to the description information of the workflow, and then provide the workflow generation request to the workflow production to trigger the workflow producer to generate the target workflow according to the workflow generation request. Since the workflow generation request is generated according to the description information of the workflow matching the scene information, the workflow generation request can accurately match the scene information. To perform characterization, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of a target workflow that is adapted to the user's actual business scenario.
  • the workflow to be rendered and in response to the rendering operation instruction, parse the rendering operation instruction to obtain the rendering operation information, so that the rendering operation information obtained by parsing can be accurately adapted to the workflow to be rendered, effectively ensuring the integrity of the rendering operation information Reference, so that when the rendering operation information is provided to the workflow producer, the workflow producer can effectively ensure the smooth execution of the rendering operation logic based on the rendering operation information, thereby effectively improving the rendering of the workflow to be rendered Effect, and then effectively assist in improving the generation effect of the target workflow.
  • Fig. 6 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • the workflow generating device 60 includes:
  • the first receiving module 601 is configured to receive a workflow generation request, wherein the workflow generation request carries workflow description information;
  • the first determining module 602 is configured to determine the workflow node according to the description information
  • the first processing module 603 is configured to process workflow nodes, and obtain workflow meta-information based on the processing results;
  • the first generation module 604 is configured to generate a target workflow according to workflow meta-information.
  • FIG. 7 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • the workflow generating device 70 includes: a first receiving module 701, a first determining module 702.
  • the processing sub-module 7031 is used to process workflow nodes to form a workflow template
  • the first acquiring sub-module 7032 is configured to acquire workflow meta-information according to the workflow template.
  • the first obtaining submodule 7032 is also used to:
  • the number of workflow nodes is multiple;
  • processing sub-module 7031 is also used for:
  • multiple workflow nodes are spliced to form a workflow template
  • the first acquisition sub-module 7032 is also used for:
  • the workflow generation device 70 further includes:
  • the feedback module 705 is configured to feed back the workflow meta-information to the workflow producer, wherein the workflow generation request is triggered by the workflow producer.
  • the first generating module 704 includes:
  • the second obtaining sub-module 7041 is configured to obtain the workflow template from the workflow template warehouse according to the storage location information in response to the workflow management request;
  • the management sub-module 7042 is used to describe the workflow template according to the node meta-information, and obtain the workflow to be rendered;
  • the generating sub-module 7043 is configured to generate a target workflow according to the workflow to be rendered.
  • the generating submodule 7043 is also used to:
  • the workflow generation device 70 in Fig. 7 of this embodiment is the same as the workflow generation device 60 in the above embodiment, the first receiving module 701 and the first receiving module 601 in the above embodiment, the first determination The module 702 and the first determination module 602 in the above embodiment, the first processing module 703 and the first processing module 603 in the above embodiment, and the first generation module 704 and the first generation module 604 in the above embodiment may have Same function and structure.
  • the workflow generation request carries the description information of the workflow, and according to the description information
  • the workflow node is determined
  • the workflow node is processed
  • the workflow is obtained based on the processing result meta-information
  • the workflow node is determined according to the description information of the workflow, and the workflow node is integrated to generate the target workflow, so that the target workflow can It effectively adapts the description information of the workflow, supports the personalized description and adjustment of the workflow nodes, can effectively meet the workflow customization needs of different users, and effectively improves the flexibility and applicability of the workflow generation method.
  • Fig. 8 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • the workflow generating device 80 includes:
  • the second receiving module 801 is configured to receive a workflow description request, wherein the workflow description request carries scene information;
  • the second determination module 802 is configured to determine the description information of the workflow matching the scene information
  • the second generation module 803 is configured to generate a workflow generation request according to the description information of the workflow
  • the second processing module 804 is configured to provide a workflow generation request to the workflow producer, so as to trigger the workflow producer to generate a target workflow according to the workflow generation request.
  • FIG. 9 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
  • the workflow generating device 90 includes: a second receiving module 901, a second determining module 902, the second generation module 903, the second processing module 904, wherein, the workflow generation device 90 further includes:
  • An acquisition module 905, configured to acquire the workflow to be rendered provided by the workflow producer after the workflow generation request is provided to the workflow producer;
  • the parsing module 906 is configured to parse the rendering operation instruction to obtain rendering operation information in response to the rendering operation instruction, wherein the rendering operation information is used to perform rendering processing on the workflow to be rendered;
  • a providing module 907 configured to provide the rendering operation information to the workflow producer.
  • the workflow generating device 90 in Fig. 9 of this embodiment is the same as the workflow generating device 80 in the above embodiment
  • the second receiving module 901 is the same as the second receiving module 801 in the above embodiment
  • the second determination The module 902 and the second determination module 802 in the above embodiment, the second generation module 903 and the second generation module 803 in the above embodiment, and the second processing module 904 and the second processing module 804 in the above embodiment may have Same function and structure.
  • the workflow description request by receiving the workflow description request, wherein the workflow description request carries scene information, and determining the description information of the workflow matching the scene information, and then generating the workflow generation request according to the description information of the workflow , and provide the workflow generation request to the workflow producer to trigger the workflow producer to generate the target workflow according to the workflow generation request, since the workflow generation request is generated according to the description information of the workflow matching the scene information,
  • the workflow generation request can accurately represent the scene information, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of the user's actual business scenario.
  • the target workflow enables the target workflow to effectively meet the individual needs in actual workflow application scenarios.
  • the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
  • Fig. 10 shows a schematic block diagram of an example electronic device for implementing the workflow generation method of the embodiment of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • the device 1000 includes a computing unit 1001 that can be executed according to a computer program stored in a read-only memory (ROM) 1002 or loaded from a storage unit 1008 into a random-access memory (RAM) 1003. Various appropriate actions and treatments. In the RAM 1003, various programs and data necessary for the operation of the device 1000 can also be stored.
  • the computing unit 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004.
  • An input/output (I/O) interface 1005 is also connected to the bus 1004 .
  • the I/O interface 1005 includes: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a magnetic disk, an optical disk, etc. ; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 1009 allows the device 1000 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 1001 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 1001 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc.
  • the calculation unit 1001 executes various methods and processes described above, such as a workflow generation method.
  • the workflow generation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1008 .
  • part or all of the computer program may be loaded and/or installed on the device 1000 via the ROM 1002 and/or the communication unit 1009.
  • the computer program When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the workflow generation method described above can be performed.
  • the computing unit 1001 may be configured in any other appropriate way (for example, by means of firmware) to execute the workflow generation method.
  • Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOC system of systems
  • CPLD load programmable logic device
  • computer hardware firmware, software, and/or combinations thereof.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or a trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: local area networks (LANs), wide area networks (WANs), the Internet, and blockchain networks.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and virtual private server (Virtual Private Server, referred to as VPS) services.
  • VPS Virtual Private Server
  • the management is difficult and the business scalability is weak.
  • the server can also be a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Abstract

The present disclosure provides workflow generation methods and apparatuses, an electronic device, a storage medium and a computer program product, and relates to the technical field of computers, in particular to the field of artificial intelligence technical development. A specific implementation solution is as follows: receiving a workflow generation request, the workflow generation request carrying description information of a workflow; according to the description information, determining workflow nodes; processing the workflow nodes, and acquiring workflow meta-information on the basis of a processing result; and according to the workflow meta-information, generating a target workflow. Since the workflow nodes are determined according to the description information of the workflow and are integrated to generate the target workflow, the target workflow can effectively adapt to the description information of the workflow. The individual description and adjustment of workflow nodes are supported, workflow customization requirements of different users can be effectively met, and the flexibility and applicability of a workflow generation method are effectively improved.

Description

工作流生成方法、装置、电子设备Workflow generation method, device, electronic device
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202210113007.9、申请日为2022年1月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202210113007.9 and a filing date of January 29, 2022, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及人工智能技术开发领域,具体涉及一种工作流生成方法、装置、电子设备、存储介质和计算机程序产品。The present disclosure relates to the field of computer technology, in particular to the field of artificial intelligence technology development, and in particular to a workflow generation method, device, electronic equipment, storage medium and computer program product.
背景技术Background technique
人工智能是研究使计算机来模拟人的某些思维过程和智能行为(如学习、推理、思考、规划等)的学科,既有硬件层面的技术也有软件层面的技术。人工智能硬件技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理等技术;人工智能软件技术主要包括计算机视觉技术、语音识别技术、自然语言处理技术,以及机器学习、深度学习、大数据处理技术、知识图谱技术等几大方向。Artificial intelligence is a discipline that studies the use of computers to simulate certain human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, and machine learning, Deep learning, big data processing technology, knowledge map technology and other major directions.
相关技术中,人工智能AI工作流的生成便捷性和适配性不佳。In related technologies, the generation convenience and adaptability of artificial intelligence AI workflow are not good.
发明内容Contents of the invention
本公开提供了一种工作流生成方法、装置、电子设备、存储介质以及计算机程序产品。The disclosure provides a workflow generation method, device, electronic equipment, storage medium and computer program product.
根据本公开的第一方面,提供了一种工作流生成方法,包括:接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息;根据描述信息,确定工作流节点;处理所述工作流节点,并基于处理结果获取工作流元信息;以及根据工作流元信息,生成目标工作流。According to the first aspect of the present disclosure, a workflow generation method is provided, including: receiving a workflow generation request, wherein the workflow generation request carries workflow description information; determining workflow nodes according to the description information; processing The workflow node obtains workflow meta-information based on the processing result; and generates a target workflow according to the workflow meta-information.
根据本公开的第二方面,提供了一种工作流生成方法,包括:接收工作流描述请求,其中,工作流描述请求中携带有场景信息;确定与场景信息匹配的工作流的描述信息;根据工作流的描述信息,生成工作流生成请求;将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。According to the second aspect of the present disclosure, a workflow generation method is provided, including: receiving a workflow description request, wherein the workflow description request carries scenario information; determining workflow description information that matches the scenario information; The workflow description information is used to generate a workflow generation request; the workflow generation request is provided to the workflow producer to trigger the workflow producer to generate a target workflow according to the workflow generation request.
根据本公开的第三方面,提供了一种工作流生成装置,包括:第一接收模块,用于接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息;第一确定模块,用于根据描述信息,确定工作流节点;第一处理模块,用于处理所述工作流节点,并基于处理结果获取工作流元信息;以及第一生成模块,用于根据工作流元信息,生成目标工作流。According to a third aspect of the present disclosure, a workflow generation device is provided, including: a first receiving module, configured to receive a workflow generation request, wherein the workflow generation request carries workflow description information; the first determination A module, configured to determine a workflow node according to the description information; a first processing module, configured to process the workflow node, and obtain workflow meta information based on the processing result; and a first generating module, configured to obtain workflow meta information based on the workflow meta information , to generate the target workflow.
根据本公开的第四方面,提供了一种工作流生成装置,包括:第二接收模块,用于接收工作流描述请求,其中,工作流描述请求中携带有场景信息;第二确定模块,用于确定与场景信息匹配的工作流的描述信息;第二生成模块,用于根据工作流的描述信息,生成工作流生成请求;第二处理模块,用于将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。According to a fourth aspect of the present disclosure, a workflow generating device is provided, including: a second receiving module, configured to receive a workflow description request, wherein the workflow description request carries scene information; a second determining module, configured to to determine the description information of the workflow matching the scene information; the second generation module is used to generate a workflow generation request according to the description information of the workflow; the second processing module is used to provide the workflow generation request to the workflow production Party, to trigger the workflow producer to generate the target workflow according to the workflow generation request.
根据本公开的第五方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信 连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第一方面的工作流生成方法,或者执行如第二方面的工作流生成方法。According to a fifth aspect of the present disclosure, an electronic device is provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by At least one processor executes, so that at least one processor can execute the workflow generation method according to the first aspect, or execute the workflow generation method according to the second aspect.
根据本公开的第六方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行如第一方面的工作流生成方法,或者执行如第二方面的工作流生成方法。According to a sixth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to make a computer execute the workflow generation method as in the first aspect, or perform the work as in the second aspect Stream generation method.
根据本公开的第七方面,提供了一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现如第一方面的工作流生成方法的步骤,或者执行如第二方面的工作流生成方法的步骤。According to a seventh aspect of the present disclosure, there is provided a computer program product, including a computer program. When the computer program is executed by a processor, it implements the steps of the workflow generation method according to the first aspect, or executes the workflow according to the second aspect. The steps to generate the method.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其他特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be easily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution, and do not constitute a limitation to the present disclosure. in:
图1是根据本公开实施例的工作流生成方法的流程图;FIG. 1 is a flow chart of a workflow generation method according to an embodiment of the present disclosure;
图2是根据本公开实施例的工作流生成方法的流程图;FIG. 2 is a flowchart of a workflow generation method according to an embodiment of the present disclosure;
图3是根据本公开实施例的工作流开发平台的结构示意图;FIG. 3 is a schematic structural diagram of a workflow development platform according to an embodiment of the present disclosure;
图4是根据本公开实施例的工作流生成方法的流程图;FIG. 4 is a flowchart of a workflow generation method according to an embodiment of the present disclosure;
图5是根据本公开实施例的工作流生成方法的流程图;5 is a flowchart of a workflow generation method according to an embodiment of the present disclosure;
图6是根据本公开实施例的工作流生成装置的框图;Fig. 6 is a block diagram of a workflow generation device according to an embodiment of the present disclosure;
图7是根据本公开实施例的工作流生成装置的框图;Fig. 7 is a block diagram of a workflow generating device according to an embodiment of the present disclosure;
图8是根据本公开实施例的工作流生成装置的框图;Fig. 8 is a block diagram of a workflow generation device according to an embodiment of the present disclosure;
图9是根据本公开实施例的工作流生成装置的框图;Fig. 9 is a block diagram of a workflow generating device according to an embodiment of the present disclosure;
图10示出了用来实施本公开实施例的工作流生成方法的示例电子设备的示意性框图。Fig. 10 shows a schematic block diagram of an example electronic device for implementing the workflow generation method of the embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
图1是根据本公开实施例的工作流生成方法的流程图。Fig. 1 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
其中,需要说明的是,本实施例的工作流生成方法的执行主体为工作流生成装置,该装置可以由软件和/或硬件的方式实现,该装置可以配置在电子设备中,电子设备可以包括但不限于终端、服务器端等。Wherein, it should be noted that the execution subject of the workflow generation method in this embodiment is a workflow generation device, which can be implemented by software and/or hardware, and which can be configured in an electronic device, and the electronic device can include But not limited to terminals, servers, etc.
本公开实施例涉及人工智能技术开发领域。Embodiments of the present disclosure relate to the field of artificial intelligence technology development.
其中,人工智能(Artificial Intelligence),英文缩写为AI。它是研究、开发用于模拟、延伸和扩展人的智能的理论、方法、技术及应用系统的一门新的技术科学。Among them, artificial intelligence (Artificial Intelligence), the English abbreviation is AI. It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
其中,人工智能技术开发,指的是基于人工智能技术,结合实际业务的应用场景,完成相应的技术开发任务,例如,开发简单易用的开发框架、开箱即用的开发环境、丰富的人工智能技能市场 和云上管理平台,还支持视觉及听觉等人工智能应用开发、人工智能模型的在线部署等一系列开发任务。Among them, artificial intelligence technology development refers to the completion of corresponding technology development tasks based on artificial intelligence technology combined with actual business application scenarios, for example, developing an easy-to-use development framework, an out-of-the-box development environment, rich artificial intelligence The intelligent skills market and cloud management platform also support a series of development tasks such as the development of artificial intelligence applications such as vision and hearing, and the online deployment of artificial intelligence models.
如图1所示,该工作流生成方法,包括:As shown in Figure 1, the workflow generation method includes:
S101:接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息。S101: Receive a workflow generation request, wherein the workflow generation request carries workflow description information.
其中,用于触发生成工作流的请求,即可以被称为工作流生成请求,该工作流请求中可以包括:工作流的描述信息。Wherein, the request for triggering the generation of the workflow may be referred to as a workflow generation request, and the workflow request may include: description information of the workflow.
其中,用于对工作流中不同工作流节点之间的流转逻辑、执行顺序、执行任务信息、节点类型等进行描述的信息,即可以被称为工作流的描述信息,而工作流的描述信息还可以例如是:工作流的功能描述信息,工作流的存储位置描述信息等,对此不做限制。Among them, the information used to describe the flow logic, execution order, execution task information, node type, etc. between different workflow nodes in the workflow can be called workflow description information, and workflow description information It may also be, for example, the description information of the function of the workflow, the description information of the storage location of the workflow, etc., which are not limited.
其中,工作流是指,业务操作过程的部分和/或整体流程在计算机应用环境下的自动化,即可以依托预先构建的工作流,实现在计算机应用环境下,自动化的完成相应的业务操作流程,从而能够基于工作流,有效地降低相应业务操作流程的执行成本,有效地提升相应业务流程的执行效率,而该流程可以具体例如为,图像识别流程,模型训练流程等,对此不做限制。Among them, the workflow refers to the automation of part and/or the overall process of the business operation process in the computer application environment, that is, it can rely on the pre-built workflow to realize the automatic completion of the corresponding business operation process in the computer application environment, Therefore, based on the workflow, the execution cost of the corresponding business operation process can be effectively reduced, and the execution efficiency of the corresponding business process can be effectively improved. The specific process can be, for example, an image recognition process, a model training process, etc., without limitation.
本公开实施例中的工作流,可以具体是人工智能AI中的工作流,对此不做限制。The workflow in the embodiments of the present disclosure may specifically be a workflow in artificial intelligence AI, which is not limited.
本公开实施例描述的工作流生成方法,可以应用于工作流生产方,对此不做限制。The workflow generation method described in the embodiments of the present disclosure may be applied to a workflow producer, without limitation.
其中,该工作流的生产方,可以是精通工作流开发流程的生产者侧的电子设备,由生产者侧的电子设备根据不同用户在实际业务场景中对工作流的需求,生成各种适配于不同用户需求的工作流,此外,工作流生产方还可以支持向使用工作流的用户普及工作流的功能及适用场景,以便利用户根据自身的需求对工作流进行调用。Among them, the producer of the workflow can be an electronic device on the producer side who is proficient in the workflow development process. The electronic device on the producer side generates various adaptations according to the needs of different users for the workflow in actual business scenarios. In addition, the workflow producer can also support the popularization of workflow functions and applicable scenarios to users who use workflows, so that users can call workflows according to their own needs.
也即是说,本公开实施例中,接收工作流生成请求,可以是工作流生产方预先提供相应的应用程序编程接口(Application Programming Interface,API),而后经由API接收工作流生成请求,或者,接收工作流生成请求,还可以是针对工作流生产方预先配置相应的监听装置,并经由该监听装置监听不同用户的工作流生成请求,从而根据工作流生成请求,触发后续步骤,对此不做限制。That is to say, in the embodiment of the present disclosure, receiving the workflow generation request may be that the workflow producer provides the corresponding Application Programming Interface (Application Programming Interface, API) in advance, and then receives the workflow generation request via the API, or, To receive the workflow generation request, it is also possible to pre-configure the corresponding monitoring device for the workflow producer, and monitor the workflow generation request of different users through the monitoring device, so as to trigger the subsequent steps according to the workflow generation request, and do not do this limit.
S102:根据描述信息,确定工作流节点。S102: Determine the workflow node according to the description information.
其中,创建人工智能AI工作流的过程中所涉及的各类任务节点,即可以被称为工作流节点,一个完整的AI创建流程可以包括基础信息选择节点,发起训练节点,效果评估节点,模型部署节点,批量预测节点等各类节点,对此不做限制。Among them, all kinds of task nodes involved in the process of creating artificial intelligence AI workflow can be called workflow nodes. A complete AI creation process can include basic information selection nodes, initiation training nodes, effect evaluation nodes, model Deployment nodes, batch prediction nodes and other types of nodes are not limited.
一些实施例中,根据描述信息,确定工作流节点可以是根据工作流的描述信息,对人工智能AI工作流创建流程中相应的多个节点进行比对处理,以从多个节点中确定与工作流的描述信息相应的工作流节点。In some embodiments, according to the description information, determining the workflow node may be based on the description information of the workflow, comparing the corresponding multiple nodes in the artificial intelligence AI workflow creation process, so as to determine the work flow node from the multiple nodes. The description information of the flow corresponds to the workflow node.
本公开实施例中,多个工作流节点可以具有相应的执行顺序和数据流向逻辑,多个工作流节点按照相应的执行数据和数据流向逻辑,共同组成一个完整的,可用于实际生产的工作流。In the embodiment of the present disclosure, multiple workflow nodes may have corresponding execution order and data flow logic, and multiple workflow nodes jointly form a complete workflow that can be used in actual production according to the corresponding execution data and data flow logic. .
本公开实施例中,根据描述信息,确定工作流节点,还可以是对工作流的描述信息进行解析处理,并确定与该描述信息相应的候选工作流节点,再根据描述信息中需求的执行顺序配置候选工作流节点的执行顺序,根据描述信息中需求的数据流向逻辑配置候选工作流节点的数据流向逻辑,得到工作流节点,或者,也可以采用其他任意可能的方式,实现根据描述信息,确定工作流节点,对 此不做限制。In the embodiment of the present disclosure, the workflow node is determined according to the description information, or the workflow description information can be analyzed and processed, and the candidate workflow node corresponding to the description information is determined, and then according to the execution sequence of the requirements in the description information Configure the execution order of the candidate workflow nodes, configure the data flow logic of the candidate workflow nodes according to the required data flow logic in the description information, and obtain the workflow nodes, or use any other possible way to realize the determination based on the description information Workflow nodes, there is no restriction on this.
S103:处理工作流节点,并基于处理结果获取工作流元信息。S103: Process the workflow nodes, and obtain workflow meta-information based on the processing results.
其中,元信息是关于信息的信息,用于描述信息的结构、语义、用途和用法等。相应的,用于对工作流进行结构、语义、用途和用法等描述的信息,即可以被称为工作流元信息,具体可以例如为工作流的功能信息,工作流的标识信息等,对此不做限制。Among them, meta-information is information about information, which is used to describe the structure, semantics, purpose and usage of information, etc. Correspondingly, the information used to describe the structure, semantics, purpose, and usage of the workflow can be called workflow meta-information, which can be, for example, the functional information of the workflow, identification information of the workflow, etc. For this No restrictions.
一些实施例中,处理工作流节点,可以是在确定多个工作流节点后,对多个工作流节点进行顺序拼接处理,以得到相应的处理结果,或者,还可以是用户根据其实际业务场景的工作流开发需求,确定多个工作流节点执行顺序,再按照前述执行顺序对多个工作流节点进行拼接处理,以得到相应的处理结果。In some embodiments, the processing of workflow nodes may be to sequentially splicing multiple workflow nodes after determining multiple workflow nodes to obtain corresponding processing results, or it may also be the user according to the actual business scenario According to the workflow development requirements, the execution order of multiple workflow nodes is determined, and then the multiple workflow nodes are spliced according to the aforementioned execution order to obtain corresponding processing results.
本公开实施例在处理工作流节点,以得到相应的处理结果后,可以基于处理结果获取相应的工作流元信息,即可以对相应处理结果进行解析处理,以得到相应的解析处理结果,并将前述解析处理结果作为工作流元信息。In the embodiment of the present disclosure, after processing the workflow node to obtain the corresponding processing result, the corresponding workflow meta-information can be obtained based on the processing result, that is, the corresponding processing result can be parsed to obtain the corresponding parsing and processing result, and the The foregoing analysis and processing results are used as workflow meta-information.
举例而言,对相应处理结果进行解析处理,可以是在处理工作流节点生成相应的解析处理结果后,将相应的处理结果输入至预先训练的深度学习模型之中,由深度学习模型对相应处理结果进行解析处理,并输出相应的解析处理结果,并将该解析处理结果作为工作流元信息,或者,还可以采用其他任意可能的方法,对相应处理结果进行解析处理,例如语义解析的方式,特征解析的方式等,对此不做限制。For example, to analyze and process the corresponding processing results may be to input the corresponding processing results into the pre-trained deep learning model after the corresponding processing workflow node generates the corresponding processing results, and the corresponding processing results are processed by the deep learning model The results are parsed and processed, and the corresponding parsing and processing results are output, and the parsing and processing results are used as workflow metadata, or any other possible method can be used to parse and process the corresponding processing results, such as semantic parsing, There is no limitation on the manner of feature analysis and the like.
S104:根据工作流元信息,生成目标工作流。S104: Generate a target workflow according to the workflow meta-information.
本公开实施例在处理工作流节点,并基于处理结果获取工作流元信息后,可以根据工作流元信息(即,对工作流进行结构、语义、用途和用法等描述的信息),对前述工作流节点进行描述与配置处理,并将前述描述与配置处理得到的工作流作为目标工作流。In the embodiments of the present disclosure, after processing the workflow nodes and obtaining the workflow meta-information based on the processing results, the aforementioned workflow can be processed according to the workflow meta-information (that is, the information describing the structure, semantics, purpose, usage, etc. of the workflow). The flow node performs description and configuration processing, and takes the workflow obtained from the foregoing description and configuration processing as the target workflow.
一些实施例中,根据工作流元信息,生成目标工作流可以是对工作流元信息(即,对工作流进行结构、语义、用途和用法等描述的信息)进行解析处理,以得到相应的解析文件,而后采用该解析文件对工作流节点进行编辑和配置处理,以得到目标工作流。In some embodiments, according to the workflow meta-information, generating the target workflow may be parsing the workflow meta-information (that is, information describing the structure, semantics, usage, usage, etc. of the workflow) to obtain the corresponding parsing file, and then use the parsed file to edit and configure the workflow nodes to obtain the target workflow.
本公开实施例中,不同的工作流可以分别适配于不同的业务场景。In the embodiments of the present disclosure, different workflows can be respectively adapted to different business scenarios.
相应地,根据工作流元信息,生成目标工作流,可以是根据工作流元信息,确定与该工作流元信息相应的工作流节点所适配的业务场景,并在该业务场景与用户当前的实际业务场景相匹配时,将与该工作流元信息相应的工作流节点作为目标工作流。Correspondingly, generating the target workflow according to the workflow meta-information may be to determine the business scenario adapted to the workflow node corresponding to the workflow meta-information according to the workflow meta-information, and compare the business scenario with the user's current When the actual business scenario matches, the workflow node corresponding to the workflow meta-information is taken as the target workflow.
或者,也可以采用其他任意可能的方式,实现根据工作流元信息,生成目标工作流,对此不做限制。Alternatively, any other possible manner may be used to generate the target workflow according to the workflow meta-information, which is not limited.
也即是说,本公开实施例中的描述信息,可以对业务需求的工作流节点的类型、数量、执行顺序、数据流向逻辑进行描述,从而基于该描述信息确定相适配的工作流节点,再生成目标工作流时,使得人工智能AI工作流能够有效地适配工作流的描述信息,基于不同描述信息可以实现对工作流节点的个性化描述和调整,能够有效地满足不同用户的工作流定制需求。That is to say, the description information in the embodiment of the present disclosure can describe the type, quantity, execution sequence, and data flow logic of the workflow nodes required by the business, so as to determine the matching workflow nodes based on the description information. When regenerating the target workflow, the artificial intelligence AI workflow can be effectively adapted to the description information of the workflow, and the personalized description and adjustment of the workflow nodes can be realized based on different description information, which can effectively meet the workflow of different users Customized needs.
本实施例中,通过接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息,并根据描述信息,确定工作流节点,再处理工作流节点,并基于处理结果获取工作流元信息,以及根据工作流元 信息,生成目标工作流,由于是根据工作流的描述信息确定了工作流节点,并对该工作流节点进行整合处理,以生成目标工作流,使得目标工作流能够有效地适配工作流的描述信息,支持对工作流节点的个性化描述和调整,能够有效地满足不同用户的工作流定制需求,有效地提升工作流生成方法的灵活性和适用性。In this embodiment, by receiving a workflow generation request, wherein the workflow generation request carries the description information of the workflow, and according to the description information, the workflow node is determined, the workflow node is processed, and the workflow is obtained based on the processing result meta-information, and generate the target workflow based on the workflow meta-information, because the workflow node is determined according to the description information of the workflow, and the workflow node is integrated to generate the target workflow, so that the target workflow can It effectively adapts the description information of the workflow, supports the personalized description and adjustment of the workflow nodes, can effectively meet the workflow customization needs of different users, and effectively improves the flexibility and applicability of the workflow generation method.
图2是根据本公开实施例的工作流生成方法的流程图。Fig. 2 is a flowchart of a workflow generating method according to an embodiment of the present disclosure.
如图2所示,该工作流生成方法,包括:As shown in Figure 2, the workflow generation method includes:
S201:接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息。S201: Receive a workflow generation request, wherein the workflow generation request carries workflow description information.
本公开实施例中,工作流生产方、工作流使用方可以和工作流开发平台共同完成目标工作流的创建过程,其中,工作流使用方可以是企业内部需要使用工作流去赋能生产的使用者侧的电子设备,当工作流使用方需要使用特定的人工智能AI技术去赋能生产时,只需要按照工作流生产方给出的人工智能AI工作流的使用说明,去挑选合适的工作流,即可满足其在实际业务场景中的工作流需求。In the embodiment of the present disclosure, the workflow producer and workflow user can work together with the workflow development platform to complete the creation process of the target workflow. When the workflow user needs to use specific artificial intelligence AI technology to enable production, he only needs to follow the instructions for using the artificial intelligence AI workflow given by the workflow producer to select the appropriate workflow , which can meet its workflow requirements in actual business scenarios.
本公开实施例中,可以一并结合图3对本公开实施例做具体的解释说明,如图3所示,图3是根据本公开实施例的工作流开发平台的结构示意图,该工作流开发平台包括:工作流生成服务模块、工作流管理服务模块、工作流节点元信息仓库、工作流模板仓库、前端页面以及开发平台后端,各个模块的具体功能如下:In the embodiment of the present disclosure, the embodiment of the present disclosure can be explained in combination with FIG. 3 , as shown in FIG. 3 , which is a schematic structural diagram of a workflow development platform according to an embodiment of the disclosure. Including: workflow generation service module, workflow management service module, workflow node meta-information warehouse, workflow template warehouse, front-end page and development platform back-end. The specific functions of each module are as follows:
工作流模板仓库,是指用于存储工作流模板的数据库,其可以用于对工作流模板进行存储。The workflow template repository refers to a database for storing workflow templates, which can be used to store workflow templates.
工作流管理服务模块,可以用来管理工作流模板仓库中保存的工作流模板,并提供工作流启动、关闭、查询等功能。The workflow management service module can be used to manage the workflow templates stored in the workflow template warehouse, and provide workflow startup, shutdown, query and other functions.
工作流节点元信息仓库,是指用于存储工作流节点的数据库,其可以用于存储最细粒度的工作流节点。The workflow node meta-information warehouse refers to a database for storing workflow nodes, which can be used to store the most fine-grained workflow nodes.
工作流生成服务模块,可以用于接收工作流生产方创建工作流生成请求,根据工作流生成请求中的描述信息确定工作流节点,并处理工作流节点形成工作流模板,再将工作流模板存储在工作流模板仓库中。The workflow generation service module can be used to receive the workflow generation request created by the workflow producer, determine the workflow node according to the description information in the workflow generation request, and process the workflow node to form a workflow template, and then store the workflow template In the workflow template repository.
前端页面,是指用户交互页面,工作流使用方可以在该页面上选取所需的工作流后进行相应的工作流开发。The front-end page refers to the user interaction page, on which the workflow user can select the required workflow and develop the corresponding workflow.
开发平台后端,是工作流运行的平台,其内部集成了工作流运行时需要的数据、模型的获取接口,以及发起模型训练、模型预测所需的接口,其可以为工作流提供运行基础,以辅助完成一次完整的工作流生产工作。The backend of the development platform is the platform for workflow operation. It integrates the data required for workflow operation, the interface for obtaining models, and the interfaces required for initiating model training and model prediction. It can provide the basis for workflow operation. To assist in completing a complete workflow production work.
本公开实施例中,接收工作流生成请求,可以是工作流生成服务模块通过API接口接收,由工作流生产方根据实际业务需求,作出的工作流生成请求,该工作流请求可以具有相应的以脚本语言对象简谱(JavaScript Object Notation,JSON)格式描述的工作流的描述信息,对此不做限制。In the embodiments of the present disclosure, receiving a workflow generation request may be a workflow generation request received by the workflow generation service module through the API interface, and made by the workflow producer according to actual business needs. The workflow request may have the corresponding following: The description information of the workflow described in JavaScript Object Notation (JSON) format is not limited.
本公开实施例中,工作流生成服务模块在接收到工作流生成请求后,可以对以JSON格式描述的工作流的描述信息进行解析处理,而后可以根据前述解析处理结果,确定相应的工作流节点,具体可以参见后续实施例。In the embodiment of the present disclosure, after receiving the workflow generation request, the workflow generation service module can analyze and process the description information of the workflow described in JSON format, and then determine the corresponding workflow node according to the aforementioned analysis and processing results , for details, please refer to the following examples.
S202:根据描述信息,确定工作流节点。S202: Determine the workflow node according to the description information.
本公开实施例在从工作流生成请求中解析得到相应的工作流的描述信息后,可以根据描述信息,从 工作流节点元信息仓库存储的多个工作流节点中,确定与该描述信息相应的工作流节点。In the embodiment of the present disclosure, after parsing and obtaining the description information of the corresponding workflow from the workflow generation request, the workflow node corresponding to the description information can be determined from the multiple workflow nodes stored in the workflow node meta-information warehouse according to the description information. Workflow node.
S203:处理工作流节点形成工作流模板。S203: Process the workflow nodes to form a workflow template.
其中,工作流模板是指以模板形式存在的可以用于执行某种具体工作流程的工作流,该工作流模板可以具体例如为物体检测流程模板、图像分类流程模板、文字识别流程模板等,对此不做限制。Wherein, a workflow template refers to a workflow that exists in the form of a template and can be used to execute a specific workflow. The workflow template can be, for example, an object detection process template, an image classification process template, a text recognition process template, etc. This is not limited.
一些实施例中,处理工作流节点,可以是对多个工作流节点以模板的方式进行集成处理,得到工作流模板,或者,还可以调用模板配置文件,根据模板配置文件处理多个工作流节点,以形成工作流模板,对此不做限制。In some embodiments, processing a workflow node may be to integrate multiple workflow nodes in the form of a template to obtain a workflow template, or call a template configuration file to process multiple workflow nodes according to the template configuration file , to form a workflow template, which is not limited.
本公开实施例中处理工作流节点形成工作流模板,可以支持工作流使用方对工作流模板进行直接调用,进而可以有效地提升工作流模板的利用效率。In the embodiments of the present disclosure, workflow nodes are processed to form workflow templates, which can support workflow users to directly call workflow templates, thereby effectively improving the utilization efficiency of workflow templates.
可选地,一些实施例中,处理工作流节点形成工作流模板,可以是确定各个工作流节点对应的节点元信息,并根据节点元信息对多个工作流节点进行拼接处理,形成工作流模板。Optionally, in some embodiments, processing workflow nodes to form a workflow template may be to determine the node meta-information corresponding to each workflow node, and perform splicing processing on multiple workflow nodes according to the node meta-information to form a workflow template .
其中,元信息是指用于对元信息相应的信息的结构、语义、用途和用法进行描述的信息,相应的,用于对工作流节点进行结构、语义、用途和用法等描述的信息,即可以被称为节点元信息,该节点元信息可以具体例如为,工作流节点在节点元信息仓库中的存储位置,工作流节点的功能信息等,对此不做限制。Among them, the meta information refers to the information used to describe the structure, semantics, purpose and usage of the information corresponding to the meta information, and correspondingly, the information used to describe the structure, semantics, purpose and usage of the workflow nodes, namely It may be referred to as node meta information, and the node meta information may specifically include, for example, the storage location of the workflow node in the node meta information warehouse, the function information of the workflow node, etc., without limitation.
本公开实施例中,多个工作流节点可以存储在节点元信息仓库中,该节点元信息仓库可以是用于存储最细粒度的工作流节点的数据库,而工作流节点可以例为数据合并流程节点、图像分割流程节点、批量预测流程节点等,对此不做限制。In the embodiment of the present disclosure, multiple workflow nodes can be stored in the node meta-information warehouse, which can be a database for storing the most fine-grained workflow nodes, and the workflow node can be, for example, a data merge process Nodes, image segmentation process nodes, batch prediction process nodes, etc., are not limited.
本公开实施例中,确定工作流节点对应的节点元信息可以是确定工作流节点在节点元信息仓库中的存储位置,工作流节点的功能信息等,并把前述确定的多种信息共同作为与工作流节点对应的节点元信息,对此不做限制。In the embodiment of the present disclosure, determining the node meta-information corresponding to the workflow node may be determining the storage location of the workflow node in the node meta-information warehouse, the functional information of the workflow node, etc., and using the above-mentioned determined information together as the The node meta-information corresponding to the workflow node is not limited.
也即是说,本公开实施例中,在确定各个工作流节点对应的节点元信息后,可以根据节点元信息,结合多个工作流节点之间的节点工作顺序对多个工作流节点进行拼接处理,由于不是所有的工作流节点都支持拼接得到相应的工作流模板,因此,可以在对多个工作流节点进行拼接处理的过程中,有效地过滤掉不支持拼接处理的工作流节点,从而能够有效地提升拼接得到的工作流模板的可用性,另外,在对工作流进行拼接处理的过程中,还可以支持对工作流节点的顺序进行自适应调整,从而能够使得前述拼接处理得到的工作流模板的工作流节点,能够有效地适配于不同用户的工作流需求。That is to say, in the embodiment of the present disclosure, after determining the node meta-information corresponding to each workflow node, multiple workflow nodes can be spliced according to the node meta-information and in combination with the node work order among multiple workflow nodes Since not all workflow nodes support splicing to obtain corresponding workflow templates, it is possible to effectively filter out workflow nodes that do not support splicing processing during the splicing process of multiple workflow nodes, thereby It can effectively improve the usability of the workflow template obtained by splicing. In addition, in the process of splicing workflows, it can also support adaptive adjustment of the order of workflow nodes, so that the workflow obtained by the aforementioned splicing processing The workflow nodes of the template can effectively adapt to the workflow requirements of different users.
另一些实施例中,在处理工作流节点形成工作流模板时,还可以支持对工作流模板进行校验处理(校验处理是指,可以根据工作流的描述信息,判断该工作流模板是否具有逻辑错误,是否为可用的工作流模板),即可以由上述图3所示的工作流开发平台中的工作流生成服务模块,对工作流模板进行校验处理,并在工作流模板校验通过(校验通过是指,工作流模板不具有逻辑错误,是可用的工作流模板)时,将通过校验处理的工作流模板存储在工作流模板仓库中,具体可以参见后续实施例。In some other embodiments, when processing workflow nodes to form a workflow template, it can also support verification processing on the workflow template (verification processing means that it can be judged whether the workflow template has logic error, whether it is an available workflow template), that is, the workflow generation service module in the workflow development platform shown in Figure 3 above can verify the workflow template, and pass the workflow template verification (passing the verification means that the workflow template has no logical errors and is a usable workflow template), store the workflow template that passes the verification process in the workflow template warehouse, and refer to the subsequent embodiments for details.
S204:根据工作流模板,获取工作流元信息。S204: Obtain workflow meta information according to the workflow template.
其中,元信息是关于信息的信息,用于描述信息的结构、语义、用途和用法等。Among them, meta-information is information about information, which is used to describe the structure, semantics, purpose and usage of information, etc.
本公开实施例中,用于对工作流模板进行结构、语义、用途和用法等描述的信息,即可以被称为工作流元信息,而工作流元信息可以具体例如为工作流模板的存储位置信息,工作流模板的功能信息,工作流模板的标识信息等,对此不做限制。In the embodiments of the present disclosure, the information used to describe the structure, semantics, purpose, and usage of workflow templates can be called workflow meta-information, and workflow meta-information can specifically be, for example, the storage location of workflow templates Information, function information of the workflow template, identification information of the workflow template, etc., are not limited.
也即是说,本公开实施例中,在处理工作流节点形成工作流模板后,可以确定工作流模板的存储位置信息,工作流模板的功能信息,工作流模板的标识信息等信息,并将前述确定的信息的全部或者部分作为工作流元信息,对此不做限制。That is to say, in the embodiment of the present disclosure, after the workflow nodes are processed to form the workflow template, the storage location information of the workflow template, the function information of the workflow template, the identification information of the workflow template and other information can be determined, and the All or part of the above-mentioned determined information is used as workflow meta-information, which is not limited.
可选地,一些实施例中,根据工作流模板,获取工作流元信息,可以是将工作流模板存储至工作流模板仓库中,并确定工作流模板在工作流模板仓库中的存储位置信息,以及将存储位置信息作为工作流元信息。Optionally, in some embodiments, obtaining the workflow meta-information according to the workflow template may be storing the workflow template in the workflow template warehouse, and determining the storage location information of the workflow template in the workflow template warehouse, And store location information as workflow meta information.
本公开实施例在处理工作流节点形成工作流模板后,可以将工作流模板存储至工作流模板仓库中,由此,可以在后续的工作流生成方法的执行过程中,实现从工作流模板仓库中,直接调用相应的工作流模板,从而能够有效地辅助提升工作流模板获取效率。In the embodiment of the present disclosure, after the workflow nodes are processed to form the workflow template, the workflow template can be stored in the workflow template warehouse, thus, in the execution process of the subsequent workflow generation method, the workflow template warehouse can be realized , directly call the corresponding workflow template, which can effectively assist in improving the efficiency of workflow template acquisition.
其中,用于描述工作流模板在工作流模板仓库中存储位置的信息,即可以被称为存储位置信息,而存储位置信息可以具体例如为工作流模板在工作流模板仓库中的存储地址信息,对此不做限制。Wherein, the information used to describe the storage location of the workflow template in the workflow template warehouse can be referred to as storage location information, and the storage location information can specifically be, for example, the storage address information of the workflow template in the workflow template warehouse, There is no restriction on this.
也即是说,本公开实施例在将工作流模板存储在工作流模板仓库中后,可以确定工作流模板在工作流模板仓库中的存储地址信息,并将该存储地址信息作为工作流模板在工作流模板仓库中的存储位置信息。That is to say, after the workflow template is stored in the workflow template warehouse in the embodiment of the present disclosure, the storage address information of the workflow template in the workflow template warehouse can be determined, and the storage address information can be used as the workflow template in the Storage location information in the workflow template repository.
本公开实施例在确定工作流模板在工作流模板仓库中的存储位置信息后,可以将存储位置信息作为工作流元信息,而后可以基于工作流元信息执行后续的工作流生成方法,具体可以参见后续实施例。In the embodiment of the present disclosure, after determining the storage location information of the workflow template in the workflow template warehouse, the storage location information can be used as the workflow meta-information, and then the subsequent workflow generation method can be executed based on the workflow meta-information. For details, see Subsequent examples.
本公开实施例中,由于是先将工作流模板存储在工作流模板仓库中,并确定工作流模板在工作流模板仓库中的存储位置信息,并将存储位置信息作为工作流元信息,从而能够有效地提升工作流元信息的全面性和可参考性,还能够在后续的工作流生成方法的执行过程中,基于工作流元信息,实现从工作流模板仓库中,直接调用相应的工作流模板,从而能够有效地提升工作流模板的复用性,还能够有效地节约因对工作流节点进行拼接而生成得到工作流模板的时间,从而能够有效地辅助提升工作流模板获取效率。In the embodiment of the present disclosure, because the workflow template is first stored in the workflow template warehouse, and the storage location information of the workflow template in the workflow template warehouse is determined, and the storage location information is used as the workflow metadata, so that Effectively improve the comprehensiveness and referenceability of the workflow meta-information, and can also directly call the corresponding workflow template from the workflow template warehouse based on the workflow meta-information during the execution of the subsequent workflow generation method , so that the reusability of the workflow template can be effectively improved, and the time for generating the workflow template by splicing the workflow nodes can be effectively saved, thereby effectively assisting in improving the efficiency of workflow template acquisition.
可选地,另一些实施例中,根据工作流模板,获取工作流元信息,还可以是将节点元信息作为工作流元信息。Optionally, in some other embodiments, the workflow meta-information is obtained according to the workflow template, and the node meta-information may also be used as the workflow meta-information.
也即是说,本公开实施例中,在处理工作流节点形成工作流模板后,可以将前述确定的各个工作流节点对应的节点元信息作为工作流元信息,而后,可以基于工作流元信息,生成目标工作流,具体可以参见后续实施例。That is to say, in the embodiment of the present disclosure, after the workflow nodes are processed to form the workflow template, the node meta-information corresponding to each workflow node determined above can be used as the workflow meta-information, and then, based on the workflow meta-information , to generate a target workflow, for details, refer to subsequent embodiments.
S205:将工作流元信息反馈至工作流生产方。S205: Feedback the workflow meta-information to the workflow producer.
本公开实施例在确定工作流元信息后,可以将工作流元信息反馈至工作流生产方,由于是将工作流元信息反馈至工作流生产方,能够有效地便利工作流生产方对工作流元信息的获取,从而使得工作生产者可以快速对工作流元信息进行抓取,并基于工作流元信息,有效地辅助提升工作流生产方的工作流生产效率。In the embodiment of the present disclosure, after the workflow element information is determined, the workflow element information can be fed back to the workflow producer. Since the workflow element information is fed back to the workflow producer, it can effectively facilitate the workflow producer to The acquisition of meta-information enables the work producer to quickly capture the workflow meta-information, and based on the workflow meta-information, effectively assists in improving the workflow production efficiency of the workflow producer.
S206:响应于工作流管理请求,根据存储位置信息从工作流模板仓库中获取工作流模板。S206: In response to the workflow management request, acquire the workflow template from the workflow template warehouse according to the storage location information.
其中,用于触发对工作流进行管理的请求,即可以被称为工作流管理请求。Wherein, the request for triggering workflow management may be referred to as a workflow management request.
也即是说,本公开实施例中,可以经由工作流开发平台提供的指令接口接收工作流管理请求,而后,工作流管理服务模块可以响应于工作流管理请求,根据存储位置信息确定工作流模板在工作流模板仓库中的存储位置,并获取与该存储位置对应工作流模板。That is to say, in the embodiment of the present disclosure, the workflow management request can be received through the instruction interface provided by the workflow development platform, and then the workflow management service module can respond to the workflow management request and determine the workflow template according to the storage location information The storage location in the workflow template warehouse, and obtain the workflow template corresponding to the storage location.
S207:根据节点元信息描述工作流模板,得到待渲染工作流。S207: Describe the workflow template according to the node meta-information, and obtain the workflow to be rendered.
本公开实施例中,在根据存储位置信息从工作流模板仓库中获取工作流模板后,可以根据节点元信息描述工作流模板,以得到描述处理后的工作流,该工作流即可以被称为待渲染工作流,而后,可以对待渲染工作流进行渲染处理,以得到与该工作流相应的供用户操作的交互界面,而后可以基于该用户交互界面对待渲染工作流进行相应的交互处理操作,以得到目标工作流,具体可以参见后续实施例。In the embodiment of the present disclosure, after the workflow template is obtained from the workflow template warehouse according to the storage location information, the workflow template can be described according to the node meta-information to obtain the described and processed workflow, which can be called The workflow to be rendered can be rendered, and then the workflow to be rendered can be rendered to obtain an interactive interface for user operations corresponding to the workflow, and then the corresponding interactive processing operation can be performed on the workflow to be rendered based on the user interface, so as to The target workflow is obtained, for details, please refer to the subsequent embodiments.
其中,描述工作流模板,是指上述图3所示的工作流开发平台的工作流管理服务模块,对工作流模板进行启动、关闭、查询等功能操作。Wherein, describing the workflow template refers to the workflow management service module of the workflow development platform shown in FIG. 3 above, which performs functional operations such as starting, closing, and querying the workflow template.
也即是说,本公开实施例中,在根据存储位置信息从工作流模板仓库中获取工作流模板后,可以由工作流开发平台的工作流管理服务模块,对工作流模板进行启动、关闭、查询等操作,以得到相应的待渲染工作流,对此不做限制。That is to say, in the embodiment of the present disclosure, after the workflow template is obtained from the workflow template warehouse according to the storage location information, the workflow management service module of the workflow development platform can start, close, and Query and other operations to obtain the corresponding workflow to be rendered, there is no limit to this.
S208:根据待渲染工作流,生成目标工作流。S208: Generate a target workflow according to the workflow to be rendered.
本实施例中,由于是响应于工作流管理请求,根据存储位置信息从工作流模板仓库中获取工作流模板,从而可以基于存储位置信息实现从工作流模板仓库快速抓取到相应的工作流模板,从而能够根据节点元信息描述工作流模板,得到待渲染工作流,并根据待渲染工作流,生成目标工作流时,能够有效地辅助提升目标工作流的生成效率,此外,由于是根据节点元信息对工作流模板进行描述处理,以得到目标工作流,从而能够有效地提升目标工作流的生成效果。In this embodiment, because the workflow template is obtained from the workflow template warehouse according to the storage location information in response to the workflow management request, the corresponding workflow template can be quickly captured from the workflow template warehouse based on the storage location information , so that the workflow template can be described according to the node meta-information, the workflow to be rendered can be obtained, and when the target workflow is generated according to the workflow to be rendered, it can effectively assist in improving the generation efficiency of the target workflow. In addition, because it is based on the node element The information describes and processes the workflow template to obtain the target workflow, so that the generation effect of the target workflow can be effectively improved.
一些实施例中,根据待渲染工作流,生成目标工作流可以判断待渲染工作流是否符合用户的需求,并在待渲染工作流符合用户需求时,直接将待渲染工作流作为目标工作流。In some embodiments, according to the workflow to be rendered, generating the target workflow can determine whether the workflow to be rendered meets the user's requirements, and when the workflow to be rendered meets the user's requirements, directly use the workflow to be rendered as the target workflow.
可选地,一些实施例中,根据待渲染工作流,生成目标工作流。可以是将待渲染工作流提供至工作流使用方的终端,并接收终端反馈的渲染操作信息,其中,渲染操作信息,由终端响应于渲染操作指令,对渲染操作指令解析得到,以及根据渲染操作信息对待渲染工作流进行渲染处理,以得到目标工作流,由于渲染操作信息是用户和前端页面进行交互得到的,从而在结合终端反馈的渲染操作信息对待渲染工作流进行渲染处理,能够使得渲染得到的目标工作流能够更加适配于用户实际业务场景的需求,进而能够有效地提升工作流的生成效果。Optionally, in some embodiments, a target workflow is generated according to the workflow to be rendered. It may be that the workflow to be rendered is provided to the workflow user's terminal, and the rendering operation information fed back by the terminal is received, wherein the rendering operation information is obtained by analyzing the rendering operation instruction in response to the rendering operation instruction, and according to the rendering operation The information is rendered to the workflow to be rendered to obtain the target workflow. Since the rendering operation information is obtained through the interaction between the user and the front-end page, the rendering operation information fed back by the terminal is used to render the workflow to be rendered, so that the rendering can be obtained. The target workflow can be more adapted to the needs of the user's actual business scenario, and thus can effectively improve the generation effect of the workflow.
工作流使用方的终端,可以具体例如为工作流使用方侧的计算机设备,处理器等,对此不做限制。The terminal of the workflow user may specifically be, for example, a computer device or a processor on the workflow user side, which is not limited.
其中,用于触发对待渲染工作流进行渲染操作处理的指令,即可以被称为渲染操作指令。Wherein, the instruction for triggering the rendering operation processing of the workflow to be rendered may be referred to as a rendering operation instruction.
其中,用于对待渲染工作流进行渲染操作处理的信息,即可以被称为渲染操作信息,而渲染操作信息可以具体例如为:工作流的实际应用场景信息,工作流的使用信息等,或者,该渲染操作信息还可以是工作流使用方的终端,根据与待渲染工作流相应的人工智能AI模型的使用需求,所定义的人工智能AI模型接口信息、接口调用关系信息、人工智能AI模型输入和/或输出的数据类型信息等,对此不做限制。Wherein, the information used to perform rendering operation processing on the workflow to be rendered may be referred to as rendering operation information, and the rendering operation information may specifically include, for example: actual application scene information of the workflow, usage information of the workflow, etc., or, The rendering operation information can also be the terminal of the workflow user. According to the use requirements of the artificial intelligence AI model corresponding to the workflow to be rendered, the defined artificial intelligence AI model interface information, interface call relationship information, and artificial intelligence AI model input and/or output data type information, etc., without limitation.
其中,渲染处理,指的是工作流开发平台的前端页面,根据工作流的渲染操作信息(人工智能AI模型接口信息、接口调用关系信息、人工智能AI模型输入和/或输出的数据类型信息等)渲染出一个可供用户操作的交互页面,而后,用户可以在前述渲染处理所得到的交互界面上,与待渲染工作流进行交互,以得到目标工作流。Among them, the rendering process refers to the front-end page of the workflow development platform, according to the rendering operation information of the workflow (artificial intelligence AI model interface information, interface call relationship information, artificial intelligence AI model input and/or output data type information, etc. ) renders an interactive page that can be operated by the user, and then the user can interact with the workflow to be rendered on the interactive interface obtained by the aforementioned rendering process to obtain the target workflow.
也即是说,本公开实施例中,在将待渲染工作流提供至工作流使用方的终端,并接收工作流使用方的终端反馈的渲染操作信息后,工作流使用方的终端根据与待渲染工作流相应的人工智能AI模型的使用需 求,所定义的人工智能AI模型接口信息、接口调用关系信息、人工智能AI模型输入输出的数据类型信息等渲染操作信息对待渲染工作流进行渲染处理,以得到目标工作流。That is to say, in the embodiment of the present disclosure, after providing the workflow to be rendered to the terminal of the workflow user and receiving the rendering operation information fed back by the terminal of the workflow user, the terminal of the workflow user The use requirements of the artificial intelligence AI model corresponding to the rendering workflow, the rendering operation information such as the defined artificial intelligence AI model interface information, interface call relationship information, artificial intelligence AI model input and output data type information, etc. to get the target workflow.
另一些实施例中,在得到待渲染工作流后,可以将待渲染工作流和渲染操作指令一并提供至工作流使用方的终端,工作流使用方的终端会在接收到待渲染操作指令后,从渲染操作指令中解析得到相应的渲染操作信息,并将渲染操作信息反馈至工作流生产方,工作流生产方可以基于工作流开发平台中的前端页面上,实现根据渲染操作信息对待渲染工作流进行渲染处理,以得到与该待渲染工作流相应的供用户操作的交互界面,而后,用户可以在前述渲染处理所得到的交互界面上,与待渲染工作流进行交互,以得到目标工作流。In other embodiments, after obtaining the workflow to be rendered, the workflow to be rendered and the rendering operation instruction can be provided to the terminal of the workflow user together, and the terminal of the workflow user will receive the rendering operation instruction , get the corresponding rendering operation information from the rendering operation instruction, and feed back the rendering operation information to the workflow producer. The workflow producer can treat the rendering work according to the rendering operation information on the front-end page of the workflow development platform. The flow is rendered to obtain the user-operated interactive interface corresponding to the workflow to be rendered, and then the user can interact with the workflow to be rendered on the interactive interface obtained by the aforementioned rendering processing to obtain the target workflow .
本实施例中,通过接收工作流生成请求,并根据描述信息,确定工作流节点,再处理工作流节点形成工作流模板,并根据工作流模板,获取工作流元信息,从而能够有效地提升工作流元信息的全面性和可参考性,还能够在后续的工作流生成方法的执行过程中,基于工作流元信息,实现从工作流模板仓库中,直接调用相应的工作流模板,从而能够有效地提升工作流模板的复用性,还能够有效地节约因对工作流节点进行拼接而生成得到工作流模板的时间,从而能够有效地辅助提升工作流模板获取效率,再将工作流元信息反馈至工作流生产方,由于是将工作流元信息反馈至工作流生产方,能够有效地便利工作流生产方对工作流元信息的获取,从而使得工作生产者可以快速对工作流元信息进行抓取,并基于工作流元信息,有效地辅助提升工作流生产方的工作流生产效率,再响应于工作流管理请求,根据存储位置信息从工作流模板仓库中获取工作流模板,并根据节点元信息描述工作流模板,得到待渲染工作流,再根据待渲染工作流,生成目标工作流,从而能够有效地满足不同用户的工作流定制需求,有效地提升工作流生成方法的灵活性和适用性。In this embodiment, by receiving the workflow generation request, and according to the description information, determine the workflow node, and then process the workflow node to form a workflow template, and obtain the workflow metadata according to the workflow template, so that the work can be effectively improved. The comprehensiveness and referenceability of the flow element information can also directly call the corresponding workflow template from the workflow template warehouse based on the workflow element information during the execution of the subsequent workflow generation method, so as to effectively It can greatly improve the reusability of workflow templates, and can also effectively save the time to generate workflow templates by splicing workflow nodes, thereby effectively assisting in improving the efficiency of workflow template acquisition, and then feeding back workflow meta-information To the workflow producer, because the workflow meta information is fed back to the workflow producer, it can effectively facilitate the workflow producer to obtain the workflow meta information, so that the work producer can quickly grasp the workflow meta information Based on the workflow meta-information, it effectively assists in improving the workflow production efficiency of the workflow producer, and then responds to the workflow management request, obtains the workflow template from the workflow template warehouse according to the storage location information, and based on the node meta-information The information describes the workflow template, obtains the workflow to be rendered, and then generates the target workflow according to the workflow to be rendered, so as to effectively meet the workflow customization needs of different users, and effectively improve the flexibility and applicability of the workflow generation method .
图4是根据本公开实施例的工作流生成方法的流程图。Fig. 4 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
其中,需要说明的是,本实施例的工作流生成方法的执行主体为工作流生成装置,该装置可以由软件和/或硬件的方式实现,该装置可以配置在电子设备中,电子设备可以包括但不限于终端、服务器端等。Wherein, it should be noted that the execution subject of the workflow generation method in this embodiment is a workflow generation device, which can be implemented by software and/or hardware, and which can be configured in an electronic device, and the electronic device can include But not limited to terminals, servers, etc.
如图4所示,该工作流生成方法,包括:As shown in Figure 4, the workflow generation method includes:
S401:接收工作流描述请求,其中,工作流描述请求中携带有场景信息。S401: Receive a workflow description request, where the workflow description request carries scene information.
其中,用于触发对工作流进行描述以得到工作流的描述信息的请求,即可以被称为工作流描述请求。Wherein, the request for triggering the description of the workflow to obtain the description information of the workflow may be referred to as a workflow description request.
其中,工作流描述请求中,用于对工作流适配的业务场景进行描述的信息,即可以被称为场景信息,而场景信息可以具体例如为场景的标识信息,场景的属性信息等,对此不做限制。Among them, in the workflow description request, the information used to describe the business scenario for workflow adaptation can be called scenario information, and the scenario information can be specifically, for example, the identification information of the scenario, the attribute information of the scenario, etc., for This is not limited.
本公开实施例中接收工作流描述请求,可以是工作流使用方的终端预先提供相应的超文本传输协议(Hyper Text Transfer Protocol,HTTP)接口,并经由该HTTP接口接收工作流描述请求,或者,还可以是针对工作流使用方的终端预先配置相应的监听装置,并经由该监听装置对用户的工作流描述请求,当然,也可以采用其他任意可能的方式,接收工作流描述请求,对此不做限制。In the embodiment of the present disclosure, receiving the workflow description request may be that the terminal of the workflow user provides a corresponding Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) interface in advance, and receives the workflow description request via the HTTP interface, or, It is also possible to pre-configure the corresponding monitoring device for the terminal of the workflow user, and request the user's workflow description via the monitoring device. Of course, any other possible way can also be used to receive the workflow description request. Do limit.
S402:确定与场景信息匹配的工作流的描述信息。S402: Determine the description information of the workflow matching the scenario information.
本公开实施例中,在不同的业务场景中,可以分别适配于不同的工作流,相应地,不同的业务场景对于的场景信息可以分别对应不同的工作流的描述信息,由此在确定场景信息后,可以确定与场景信息匹配的工作流的描述信息。In the embodiments of the present disclosure, in different business scenarios, they can be respectively adapted to different workflows. Correspondingly, the scenario information for different business scenarios can correspond to the description information of different workflows, so that when determining the scenario After the information is obtained, the description information of the workflow matching the scene information can be determined.
一些实施例中,确定与场景信息匹配的工作流的描述信息,可以是对场景信息进行解析处理,以确定 与该场景信息适配的工作流,并将与该工作流相应的工作流的描述信息作为与场景信息匹配的工作流的描述信息。In some embodiments, determining the description information of the workflow matching the scenario information may be parsing and processing the scenario information to determine the workflow matching the scenario information, and adding the description of the workflow corresponding to the workflow The information is used as the description information of the workflow matched with the scene information.
本公开实施例中,工作流的描述信息可以包括与该工作流适配的场景相应的场景信息。In the embodiment of the present disclosure, the description information of the workflow may include scenario information corresponding to a scenario adapted to the workflow.
由此,确定与场景信息匹配的工作流的描述信息,还可以是将场景信息与多个工作流的描述信息进行比对,例如,可以分别确定场景信息与工作流的描述信息的多个相似度,并将多个相似度中最大相似度相应的工作流的描述信息作为与场景信息匹配的工作流的描述信息,或者,还可以采用其他任意可能的方式确定与场景信息匹配的工作流的描述信息,对此不做限制。Therefore, determining the description information of the workflow that matches the scene information can also be to compare the scene information with the description information of multiple workflows, for example, it is possible to determine multiple similarities between the scene information and the description information of the workflow degrees, and use the description information of the workflow corresponding to the maximum similarity among the multiple similarities as the description information of the workflow matching the scene information, or, any other possible way can also be used to determine the workflow matching scene information Descriptive information, without limitation.
S403:根据工作流的描述信息,生成工作流生成请求。S403: Generate a workflow generation request according to the description information of the workflow.
本公开实施例中,在确定与场景信息匹配的工作流的描述信息后,可以对工作流的描述信息进行打包处理,并将打包处理得到的描述信息转化为相应的工作流生成请求。In the embodiment of the present disclosure, after the description information of the workflow matching the scene information is determined, the description information of the workflow may be packaged, and the description information obtained through the packaging process may be converted into a corresponding workflow generation request.
一些实施例中,根据工作流的描述信息,生成工作流生成请求,还可以是将工作流的描述信息提供至工作流使用方的终端,经由工作流使用方的终端结合自身对工作流的需求和工作流的描述信息,生成工作流生成请求,或者,也可以采用其他任意可能的方式,实现根据工作流的描述信息,生成工作流生成请求,对此不做限制。In some embodiments, a workflow generation request is generated according to the description information of the workflow, or the description information of the workflow can be provided to the terminal of the workflow user, and the terminal of the workflow user combines its own requirements for the workflow and workflow description information to generate a workflow generation request, or any other possible manner may be used to generate a workflow generation request according to the workflow description information, which is not limited.
S404:将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。S404: Provide the workflow generation request to the workflow producer, so as to trigger the workflow producer to generate the target workflow according to the workflow generation request.
本公开实施例在根据工作流的描述信息,生成工作流生成请求后,可以将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。In the embodiments of the present disclosure, after a workflow generation request is generated according to workflow description information, the workflow generation request may be provided to a workflow producer, so as to trigger the workflow producer to generate a target workflow according to the workflow generation request.
本实施例中,通过接收工作流描述请求,其中,工作流描述请求中携带有场景信息,并确定与场景信息匹配的工作流的描述信息,再根据工作流的描述信息,生成工作流生成请求,以及将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流,由于是根据与场景信息相匹配的工作流的描述信息生成工作流生成请求,使得工作流生成请求能够准确地的对场景信息进行表征,从而能够在将工作流生成请求提供至工作流生产方时,实现基于工作流生成请求,准确地触发生成适配于用户实际业务场景的目标工作流,使得目标工作流能够有效满足实际工作流应用场景中的个性化需求。In this embodiment, by receiving the workflow description request, wherein the workflow description request carries scene information, and determining the description information of the workflow matching the scene information, and then generating the workflow generation request according to the description information of the workflow , and provide the workflow generation request to the workflow producer to trigger the workflow producer to generate the target workflow according to the workflow generation request, since the workflow generation request is generated according to the description information of the workflow matching the scene information, The workflow generation request can accurately represent the scene information, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of the user's actual business scenario. The target workflow enables the target workflow to effectively meet the individual needs in actual workflow application scenarios.
图5是根据本公开实施例的工作流生成方法的流程图。Fig. 5 is a flowchart of a workflow generation method according to an embodiment of the present disclosure.
如图5所示,该工作流生成方法,包括:As shown in Figure 5, the workflow generation method includes:
S501:接收工作流描述请求,其中,工作流描述请求中携带有场景信息。S501: Receive a workflow description request, where the workflow description request carries scene information.
S502:确定与场景信息匹配的工作流的描述信息。S502: Determine the description information of the workflow matching the scenario information.
S503:根据工作流的描述信息,生成工作流生成请求。S503: Generate a workflow generation request according to the description information of the workflow.
S504:将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。S504: Provide the workflow generation request to the workflow producer, so as to trigger the workflow producer to generate the target workflow according to the workflow generation request.
S501-S504的描述说明可以具体参见上述实施例,在此不再赘述。For descriptions of S501-S504, reference may be made to the above-mentioned embodiments, and details are not repeated here.
S505:获取工作流生产方提供的待渲染工作流。S505: Obtain the workflow to be rendered provided by the workflow producer.
其中,工作流生产方提供的当前待对其进行渲染处理的工作流,即可以被称为待渲染工作流。Wherein, the workflow currently to be rendered provided by the workflow producer may be referred to as a workflow to be rendered.
本公开实施例在将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求 生成目标工作流后,可以获取工作流生产方提供的待渲染工作流,而后可以基于待渲染工作流,执行后续的工作流生成方法,具体可以参见后续实施例。In the embodiment of the present disclosure, after the workflow generation request is provided to the workflow producer to trigger the workflow producer to generate the target workflow according to the workflow generation request, the workflow to be rendered provided by the workflow producer can be obtained, and then based on To render the workflow, execute the subsequent workflow generation method, for details, refer to the subsequent embodiments.
S506:响应于渲染操作指令,对渲染操作指令解析得到渲染操作信息,其中,渲染操作信息用于对待渲染工作流进行渲染处理。S506: In response to the rendering operation instruction, parse the rendering operation instruction to obtain rendering operation information, where the rendering operation information is used to perform rendering processing on the workflow to be rendered.
其中,用于触发对待渲染工作流进行渲染操作的指令,即可以被称为渲染操作指令,该渲染操作指令,可以具体例如是针对工作流开发平台预先配置相应的指令接口,并基于该指令接口接收渲染操作指令。Wherein, the instruction used to trigger the rendering operation of the workflow to be rendered can be called a rendering operation instruction. The rendering operation instruction can specifically, for example, pre-configure a corresponding instruction interface for the workflow development platform, and based on the instruction interface Receive rendering operation instructions.
本公开实施例中,工作流使用方的终端在接收到由工作流生成方发送的渲染操作指令后,可以对渲染操作指令进行解析处理,以得到相应的渲染操作信息,而后可以基于渲染操作信息触发后续步骤。In the embodiment of the present disclosure, after receiving the rendering operation instruction sent by the workflow generator, the terminal of the workflow user can parse and process the rendering operation instruction to obtain the corresponding rendering operation information, and then based on the rendering operation information Trigger next steps.
S507:将渲染操作信息提供至工作流生产方。S507: Provide the rendering operation information to the workflow producer.
本公开实施例中,工作流使用方的终端在对渲染操作指令进行解析处理,以得到渲染操作信息后,可以将渲染操作信息提供至工作流生产方,而后工作流生产方可以将渲染操作想提供至工作流开发平台的前端页面,以触发前端页面根据渲染操作信息,对待渲染工作流进行渲染处理,以生成目标工作流。In the embodiment of the present disclosure, after the terminal of the workflow user parses the rendering operation instruction to obtain the rendering operation information, it can provide the rendering operation information to the workflow producer, and then the workflow producer can convert the rendering operation The front-end page provided to the workflow development platform is used to trigger the front-end page to render the workflow to be rendered according to the rendering operation information, so as to generate the target workflow.
本实施例中,由于是获取工作流生产方提供的待渲染工作流,并响应于渲染操作指令,对渲染操作指令解析得到渲染操作信息,从而能够使得解析得到的渲染操作信息能够准确地适配于待渲染工作流,有效地保障渲染操作信息的可参考性,从而在将渲染操作信息提供给工作流生产方时,使得工作流生产方能够基于渲染操作信息,有效地保障渲染操作逻辑的顺利执行,从而能够有效地提升对待渲染工作流的渲染效果,进而有效地辅助提升目标工作流的生成效果。In this embodiment, because the workflow to be rendered provided by the workflow producer is obtained, and in response to the rendering operation instruction, the rendering operation instruction is analyzed to obtain the rendering operation information, so that the rendering operation information obtained by the analysis can be accurately adapted to For the workflow to be rendered, it effectively guarantees the referenceability of the rendering operation information, so that when the rendering operation information is provided to the workflow producer, the workflow producer can effectively ensure the smoothness of the rendering operation logic based on the rendering operation information Execution, so as to effectively improve the rendering effect of the workflow to be rendered, and then effectively assist in improving the generation effect of the target workflow.
本实施例中,通过接收工作流描述请求,再确定与场景信息匹配的工作流的描述信息,并根据工作流的描述信息,生成工作流生成请求,再将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流,由于是根据与场景信息相匹配的工作流的描述信息生成工作流生成请求,使得工作流生成请求能够准确地的对场景信息进行表征,从而能够在将工作流生成请求提供至工作流生产方时,实现基于工作流生成请求,准确地触发生成适配于用户实际业务场景的目标工作流,由于是获取工作流生产方提供的待渲染工作流,并响应于渲染操作指令,对渲染操作指令解析得到渲染操作信息,从而能够使得解析得到的渲染操作信息能够准确地适配于待渲染工作流,有效地保障渲染操作信息的可参考性,从而在将渲染操作信息提供给工作流生产方时,使得工作流生产方能够基于渲染操作信息,有效地保障渲染操作逻辑的顺利执行,从而能够有效地提升对待渲染工作流的渲染效果,进而有效地辅助提升目标工作流的生成效果。In this embodiment, by receiving the workflow description request, determine the description information of the workflow matching the scene information, and generate a workflow generation request according to the description information of the workflow, and then provide the workflow generation request to the workflow production to trigger the workflow producer to generate the target workflow according to the workflow generation request. Since the workflow generation request is generated according to the description information of the workflow matching the scene information, the workflow generation request can accurately match the scene information. To perform characterization, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of a target workflow that is adapted to the user's actual business scenario. The workflow to be rendered, and in response to the rendering operation instruction, parse the rendering operation instruction to obtain the rendering operation information, so that the rendering operation information obtained by parsing can be accurately adapted to the workflow to be rendered, effectively ensuring the integrity of the rendering operation information Reference, so that when the rendering operation information is provided to the workflow producer, the workflow producer can effectively ensure the smooth execution of the rendering operation logic based on the rendering operation information, thereby effectively improving the rendering of the workflow to be rendered Effect, and then effectively assist in improving the generation effect of the target workflow.
图6是根据本公开实施例的工作流生成装置的框图。Fig. 6 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
如图6所示,该工作流生成装置60,包括:As shown in Figure 6, the workflow generating device 60 includes:
第一接收模块601,用于接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息;The first receiving module 601 is configured to receive a workflow generation request, wherein the workflow generation request carries workflow description information;
第一确定模块602,用于根据描述信息,确定工作流节点;The first determining module 602 is configured to determine the workflow node according to the description information;
第一处理模块603,用于处理工作流节点,并基于处理结果获取工作流元信息;以及The first processing module 603 is configured to process workflow nodes, and obtain workflow meta-information based on the processing results; and
第一生成模块604,用于根据工作流元信息,生成目标工作流。The first generation module 604 is configured to generate a target workflow according to workflow meta-information.
在本公开的一些实施例中,如图7所示,图7是根据本公开实施例的工作流生成装置的框图,该工作流生成装置70,包括:第一接收模块701、第一确定模块702、第一处理模块703,第一生成模块704, 其中,第一处理模块703包括:In some embodiments of the present disclosure, as shown in FIG. 7, FIG. 7 is a block diagram of a workflow generating device according to an embodiment of the present disclosure. The workflow generating device 70 includes: a first receiving module 701, a first determining module 702. The first processing module 703, the first generating module 704, wherein the first processing module 703 includes:
处理子模块7031,用于处理工作流节点形成工作流模板;The processing sub-module 7031 is used to process workflow nodes to form a workflow template;
第一获取子模块7032,用于根据工作流模板,获取工作流元信息。The first acquiring sub-module 7032 is configured to acquire workflow meta-information according to the workflow template.
在本公开的一些实施例中,第一获取子模块7032,还用于:In some embodiments of the present disclosure, the first obtaining submodule 7032 is also used to:
将工作流模板存储至工作流模板仓库中;Store workflow templates in the workflow template repository;
确定工作流模板在工作流模板仓库中的存储位置信息;以及determine the storage location information of the workflow template in the workflow template repository; and
将存储位置信息作为工作流元信息。Store location information as workflow meta information.
在本公开的一些实施例中,工作流节点的数量为多个;In some embodiments of the present disclosure, the number of workflow nodes is multiple;
其中,处理子模块7031,还用于:Wherein, the processing sub-module 7031 is also used for:
确定各个工作流节点对应的节点元信息;Determine the node meta information corresponding to each workflow node;
根据节点元信息对多个工作流节点进行拼接处理,形成工作流模板;According to the node meta-information, multiple workflow nodes are spliced to form a workflow template;
其中,第一获取子模块7032,还用于:Among them, the first acquisition sub-module 7032 is also used for:
将节点元信息作为工作流元信息。Use node meta information as workflow meta information.
在本公开的一些实施例中,工作流生成装置70,还包括:In some embodiments of the present disclosure, the workflow generation device 70 further includes:
反馈模块705,用于将工作流元信息反馈至工作流生产方,其中,工作流生成请求由工作流生产方触发生成。The feedback module 705 is configured to feed back the workflow meta-information to the workflow producer, wherein the workflow generation request is triggered by the workflow producer.
在本公开的一些实施例中,其中,第一生成模块704,包括:In some embodiments of the present disclosure, the first generating module 704 includes:
第二获取子模块7041,用于响应于工作流管理请求,根据存储位置信息从工作流模板仓库中获取工作流模板;The second obtaining sub-module 7041 is configured to obtain the workflow template from the workflow template warehouse according to the storage location information in response to the workflow management request;
管理子模块7042,用于根据节点元信息描述工作流模板,得到待渲染工作流;以及The management sub-module 7042 is used to describe the workflow template according to the node meta-information, and obtain the workflow to be rendered; and
生成子模块7043,用于根据待渲染工作流,生成目标工作流。The generating sub-module 7043 is configured to generate a target workflow according to the workflow to be rendered.
在本公开的一些实施例中,其中,生成子模块7043,还用于:In some embodiments of the present disclosure, the generating submodule 7043 is also used to:
将待渲染工作流提供至工作流使用方的终端;Provide the workflow to be rendered to the terminal of the workflow consumer;
接收终端反馈的渲染操作信息,其中,渲染操作信息由终端响应于渲染操作指令对渲染操作指令解析得到;以及receiving rendering operation information fed back by the terminal, wherein the rendering operation information is obtained by the terminal parsing the rendering operation instruction in response to the rendering operation instruction; and
根据渲染操作信息对待渲染工作流进行渲染处理,以得到目标工作流。Perform rendering processing on the workflow to be rendered according to the rendering operation information to obtain the target workflow.
可以理解的是,本实施例附图7中的工作流生成装置70与上述实施例中的工作流生成装置60,第一接收模块701与上述实施例中的第一接收模块601,第一确定模块702与上述实施例中的第一确定模块602,第一处理模块703与上述实施例中的第一处理模块603,第一生成模块704与上述实施例中的第一生成模块604,可以具有相同的功能和结构。It can be understood that the workflow generation device 70 in Fig. 7 of this embodiment is the same as the workflow generation device 60 in the above embodiment, the first receiving module 701 and the first receiving module 601 in the above embodiment, the first determination The module 702 and the first determination module 602 in the above embodiment, the first processing module 703 and the first processing module 603 in the above embodiment, and the first generation module 704 and the first generation module 604 in the above embodiment may have Same function and structure.
需要说明的是,前述对工作流生成方法的解释说明也适用于本实施例工作流生成装置。It should be noted that the foregoing explanations of the workflow generation method are also applicable to the workflow generation device of this embodiment.
本实施例中,通过接收工作流生成请求,其中,工作流生成请求中携带有工作流的描述信息,并根据描述信息,确定工作流节点,再处理工作流节点,并基于处理结果获取工作流元信息,以及根据工作流元信息,生成目标工作流,由于是根据工作流的描述信息确定了工作流节点,并对该工作流节点进行整合处理,以生成目标工作流,使得目标工作流能够有效地适配工作流的描述信息,支持对工作流节点的个性化描述和调整,能够有效地满足不同用户的工作流定制需求,有效地提升工作流生成方法的灵活性和适用 性。In this embodiment, by receiving a workflow generation request, wherein the workflow generation request carries the description information of the workflow, and according to the description information, the workflow node is determined, the workflow node is processed, and the workflow is obtained based on the processing result meta-information, and generate the target workflow based on the workflow meta-information, because the workflow node is determined according to the description information of the workflow, and the workflow node is integrated to generate the target workflow, so that the target workflow can It effectively adapts the description information of the workflow, supports the personalized description and adjustment of the workflow nodes, can effectively meet the workflow customization needs of different users, and effectively improves the flexibility and applicability of the workflow generation method.
图8是根据本公开实施例的工作流生成装置的框图。Fig. 8 is a block diagram of a workflow generating device according to an embodiment of the present disclosure.
如图8所示,该工作流生成装置80,包括:As shown in Figure 8, the workflow generating device 80 includes:
第二接收模块801,用于接收工作流描述请求,其中,工作流描述请求中携带有场景信息;The second receiving module 801 is configured to receive a workflow description request, wherein the workflow description request carries scene information;
第二确定模块802,用于确定与场景信息匹配的工作流的描述信息;The second determination module 802 is configured to determine the description information of the workflow matching the scene information;
第二生成模块803,用于根据工作流的描述信息,生成工作流生成请求;The second generation module 803 is configured to generate a workflow generation request according to the description information of the workflow;
第二处理模块804,用于将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流。The second processing module 804 is configured to provide a workflow generation request to the workflow producer, so as to trigger the workflow producer to generate a target workflow according to the workflow generation request.
在本公开的一些实施例中,如图9所示,图9是根据本公开实施例的工作流生成装置的框图,该工作流生成装置90,包括:第二接收模块901,第二确定模块902,第二生成模块903,第二处理模块904,其中,工作流生成装置90,还包括:In some embodiments of the present disclosure, as shown in FIG. 9, FIG. 9 is a block diagram of a workflow generating device according to an embodiment of the present disclosure. The workflow generating device 90 includes: a second receiving module 901, a second determining module 902, the second generation module 903, the second processing module 904, wherein, the workflow generation device 90 further includes:
获取模块905,用于在将工作流生成请求提供至工作流生产方之后,获取工作流生产方提供的待渲染工作流;An acquisition module 905, configured to acquire the workflow to be rendered provided by the workflow producer after the workflow generation request is provided to the workflow producer;
解析模块906,用于响应于渲染操作指令,对渲染操作指令解析得到渲染操作信息,其中,渲染操作信息用于对待渲染工作流进行渲染处理;The parsing module 906 is configured to parse the rendering operation instruction to obtain rendering operation information in response to the rendering operation instruction, wherein the rendering operation information is used to perform rendering processing on the workflow to be rendered;
提供模块907,用于将渲染操作信息提供至工作流生产方。A providing module 907, configured to provide the rendering operation information to the workflow producer.
可以理解的是,本实施例附图9中的工作流生成装置90与上述实施例中的工作流生成装置80,第二接收模块901与上述实施例中的第二接收模块801,第二确定模块902与上述实施例中的第二确定模块802,第二生成模块903与上述实施例中的第二生成模块803,第二处理模块904与上述实施例中的第二处理模块804,可以具有相同的功能和结构。It can be understood that the workflow generating device 90 in Fig. 9 of this embodiment is the same as the workflow generating device 80 in the above embodiment, the second receiving module 901 is the same as the second receiving module 801 in the above embodiment, and the second determination The module 902 and the second determination module 802 in the above embodiment, the second generation module 903 and the second generation module 803 in the above embodiment, and the second processing module 904 and the second processing module 804 in the above embodiment may have Same function and structure.
需要说明的是,前述对工作流生成方法的解释说明也适用于本实施例工作流生成装置。It should be noted that the foregoing explanations of the workflow generation method are also applicable to the workflow generation device of this embodiment.
本实施例中,通过接收工作流描述请求,其中,工作流描述请求中携带有场景信息,并确定与场景信息匹配的工作流的描述信息,再根据工作流的描述信息,生成工作流生成请求,以及将工作流生成请求提供至工作流生产方,以触发工作流生产方根据工作流生成请求生成目标工作流,由于是根据与场景信息相匹配的工作流的描述信息生成工作流生成请求,使得工作流生成请求能够准确地的对场景信息进行表征,从而能够在将工作流生成请求提供至工作流生产方时,实现基于工作流生成请求,准确地触发生成适配于用户实际业务场景的目标工作流,使得目标工作流能够有效满足实际工作流应用场景中的个性化需求。In this embodiment, by receiving the workflow description request, wherein the workflow description request carries scene information, and determining the description information of the workflow matching the scene information, and then generating the workflow generation request according to the description information of the workflow , and provide the workflow generation request to the workflow producer to trigger the workflow producer to generate the target workflow according to the workflow generation request, since the workflow generation request is generated according to the description information of the workflow matching the scene information, The workflow generation request can accurately represent the scene information, so that when the workflow generation request is provided to the workflow producer, it can be based on the workflow generation request and accurately trigger the generation of the user's actual business scenario. The target workflow enables the target workflow to effectively meet the individual needs in actual workflow application scenarios.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
图10示出了用来实施本公开实施例的工作流生成方法的示例电子设备的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其他适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其他类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Fig. 10 shows a schematic block diagram of an example electronic device for implementing the workflow generation method of the embodiment of the present disclosure. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图10所示,设备1000包括计算单元1001,其可以根据存储在只读存储器(ROM)1002中的计算机程序或者从存储单元1008加载到随机访问存储器(RAM)1003中的计算机程序,来执行各种适当的 动作和处理。在RAM 1003中,还可存储设备1000操作所需的各种程序和数据。计算单元1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10 , the device 1000 includes a computing unit 1001 that can be executed according to a computer program stored in a read-only memory (ROM) 1002 or loaded from a storage unit 1008 into a random-access memory (RAM) 1003. Various appropriate actions and treatments. In the RAM 1003, various programs and data necessary for the operation of the device 1000 can also be stored. The computing unit 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004. An input/output (I/O) interface 1005 is also connected to the bus 1004 .
设备1000中的多个部件连接至I/O接口1005,包括:输入单元1006,例如键盘、鼠标等;输出单元1007,例如各种类型的显示器、扬声器等;存储单元1008,例如磁盘、光盘等;以及通信单元1009,例如网卡、调制解调器、无线通信收发机等。通信单元1009允许设备1000通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 1000 are connected to the I/O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a magnetic disk, an optical disk, etc. ; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 1009 allows the device 1000 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
计算单元1001可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元1001的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元1001执行上文所描述的各个方法和处理,例如工作流生成方法。例如,在一些实施例中,工作流生成方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元1008。在一些实施例中,计算机程序的部分或者全部可以经由ROM 1002和/或通信单元1009而被载入和/或安装到设备1000上。当计算机程序加载到RAM 1003并由计算单元1001执行时,可以执行上文描述的工作流生成方法的一个或多个步骤。备选地,在其他实施例中,计算单元1001可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行工作流生成方法。The computing unit 1001 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 1001 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The calculation unit 1001 executes various methods and processes described above, such as a workflow generation method. For example, in some embodiments, the workflow generation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1008 . In some embodiments, part or all of the computer program may be loaded and/or installed on the device 1000 via the ROM 1002 and/or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the workflow generation method described above can be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured in any other appropriate way (for example, by means of firmware) to execute the workflow generation method.
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置 (例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其他种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、互联网及区块链网络。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: local area networks (LANs), wide area networks (WANs), the Internet, and blockchain networks.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与虚拟专用服务器(Virtual Private Server,简称VPS)服务中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and virtual private server (Virtual Private Server, referred to as VPS) services. The management is difficult and the business scalability is weak. The server can also be a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims (21)

  1. 一种工作流生成方法,所述方法包括:A workflow generation method, the method comprising:
    接收工作流生成请求,其中,所述工作流生成请求中携带有工作流的描述信息;receiving a workflow generation request, wherein the workflow generation request carries workflow description information;
    根据所述描述信息,确定工作流节点;Determine workflow nodes according to the description information;
    处理所述工作流节点,并基于处理结果获取工作流元信息;和processing the workflow node, and obtaining workflow meta-information based on the processing result; and
    根据所述工作流元信息,生成目标工作流。A target workflow is generated according to the workflow meta-information.
  2. 根据权利要求1所述的方法,其中,所述处理所述工作流节点,并基于处理结果获取工作流元信息,包括:The method according to claim 1, wherein said processing said workflow node and acquiring workflow meta-information based on a processing result comprises:
    处理所述工作流节点形成工作流模板;和processing said workflow nodes to form a workflow template; and
    根据所述工作流模板,获取所述工作流元信息。According to the workflow template, the workflow meta-information is acquired.
  3. 根据权利要求2所述的方法,其中,所述处理所述工作流节点形成工作流模板,包括:The method according to claim 2, wherein said processing said workflow node to form a workflow template comprises:
    确定多个工作流节点中各个工作流节点对应的节点元信息;和determining node meta information corresponding to each workflow node in the plurality of workflow nodes; and
    根据所述节点元信息对多个所述工作流节点进行拼接处理,形成所述工作流模板。The multiple workflow nodes are spliced according to the node meta-information to form the workflow template.
  4. 根据权利要求2或3所述的方法,其中,所述根据所述工作流模板,获取所述工作流元信息,包括:The method according to claim 2 or 3, wherein said acquiring said workflow meta-information according to said workflow template comprises:
    将所述工作流模板存储至工作流模板仓库中;storing the workflow template in a workflow template repository;
    确定所述工作流模板在所述工作流模板仓库中的存储位置信息;和determining storage location information of the workflow template in the workflow template warehouse; and
    将所述存储位置信息作为所述工作流元信息;using the storage location information as the workflow meta-information;
    or
    将所述节点元信息作为所述工作流元信息。The node meta information is used as the workflow meta information.
  5. 根据权利要求1至4中任一项所述的方法,还包括:The method according to any one of claims 1 to 4, further comprising:
    将所述工作流元信息反馈至工作流生产方,其中,所述工作流生成请求由所述工作流生产方触发生成。The workflow meta-information is fed back to a workflow producer, wherein the workflow generation request is triggered by the workflow producer.
  6. 根据权利要求4所述的方法,其中,所述根据所述工作流元信息,生成目标工作流,包括:The method according to claim 4, wherein said generating a target workflow according to said workflow meta-information comprises:
    响应于工作流管理请求,根据所述存储位置信息从所述工作流模板仓库中获取所述工作流模板;Responding to a workflow management request, acquiring the workflow template from the workflow template warehouse according to the storage location information;
    根据所述节点元信息描述所述工作流模板,得到待渲染工作流;和Describe the workflow template according to the node meta information to obtain a workflow to be rendered; and
    根据所述待渲染工作流,生成所述目标工作流。Generate the target workflow according to the workflow to be rendered.
  7. 根据权利要求6所述的方法,其中,所述根据所述待渲染工作流,生成所述目标工作流,包括:The method according to claim 6, wherein said generating said target workflow according to said workflow to be rendered comprises:
    将所述待渲染工作流提供至工作流使用方的终端;providing the workflow to be rendered to a terminal of a workflow user;
    接收所述终端反馈的渲染操作信息,其中,所述渲染操作信息由所述终端响应于渲染操作指令对所述渲染操作指令解析得到;和receiving rendering operation information fed back by the terminal, wherein the rendering operation information is obtained by the terminal parsing the rendering operation instruction in response to the rendering operation instruction; and
    根据所述渲染操作信息对所述待渲染工作流进行渲染处理,以得到所述目标工作流。Perform rendering processing on the workflow to be rendered according to the rendering operation information to obtain the target workflow.
  8. 一种工作流生成方法,所述方法包括:A workflow generation method, the method comprising:
    接收工作流描述请求,其中,所述工作流描述请求中携带有场景信息;receiving a workflow description request, wherein the workflow description request carries scene information;
    确定与所述场景信息匹配的工作流的描述信息;Determining the description information of the workflow matching the scenario information;
    根据所述工作流的描述信息,生成工作流生成请求;和generating a workflow generation request according to the description information of the workflow; and
    将所述工作流生成请求提供至工作流生产方,以触发所述工作流生产方根据所述工作流生成请求生成目标工作流。The workflow generation request is provided to a workflow producer to trigger the workflow producer to generate a target workflow according to the workflow generation request.
  9. 根据权利要求8所述的方法,在所述将所述工作流生成请求提供至工作流生产方之后,还包括:The method according to claim 8, after the workflow generation request is provided to the workflow producer, further comprising:
    获取所述工作流生产方提供的待渲染工作流;Obtain the workflow to be rendered provided by the workflow producer;
    响应于渲染操作指令,对所述渲染操作指令解析得到渲染操作信息,其中,所述渲染操作信息用于对所述待渲染工作流进行渲染处理;和Responding to a rendering operation instruction, parsing the rendering operation instruction to obtain rendering operation information, wherein the rendering operation information is used to perform rendering processing on the workflow to be rendered; and
    将所述渲染操作信息提供至所述工作流生产方。The rendering operation information is provided to the workflow producer.
  10. 一种工作流生成装置,所述装置包括:A workflow generation device, the device comprising:
    第一接收模块,用于接收工作流生成请求,其中,所述工作流生成请求中携带有工作流的描述信息;The first receiving module is configured to receive a workflow generation request, wherein the workflow generation request carries workflow description information;
    第一确定模块,用于根据所述描述信息,确定工作流节点;A first determining module, configured to determine a workflow node according to the description information;
    第一处理模块,用于处理所述工作流节点,并基于处理结果获取工作流元信息;和A first processing module, configured to process the workflow node, and obtain workflow meta-information based on the processing result; and
    第一生成模块,用于根据所述工作流元信息,生成目标工作流。The first generating module is configured to generate a target workflow according to the workflow meta-information.
  11. 根据权利要求10所述的装置,其中,所述第一处理模块,包括:The device according to claim 10, wherein the first processing module comprises:
    处理子模块,用于处理所述工作流节点形成工作流模板;和a processing submodule, configured to process the workflow nodes to form a workflow template; and
    第一获取子模块,用于根据所述工作流模板,获取所述工作流元信息。The first acquiring submodule is configured to acquire the workflow meta-information according to the workflow template.
  12. 根据权利要求11所述的装置,其中,所述处理子模块,还用于:The device according to claim 11, wherein the processing submodule is further configured to:
    确定多个工作流节点中各个工作流节点对应的节点元信息;和determining node meta information corresponding to each workflow node in the plurality of workflow nodes; and
    根据所述节点元信息对多个所述工作流节点进行拼接处理,形成所述工作流模板。The multiple workflow nodes are spliced according to the node meta-information to form the workflow template.
  13. 根据权利要求11或12所述的装置,其中,所述第一获取子模块,还用于:The device according to claim 11 or 12, wherein the first acquisition submodule is further configured to:
    将所述工作流模板存储至工作流模板仓库中;storing the workflow template in a workflow template repository;
    确定所述工作流模板在所述工作流模板仓库中的存储位置信息;和determining storage location information of the workflow template in the workflow template warehouse; and
    将所述存储位置信息作为所述工作流元信息;using the storage location information as the workflow meta-information;
    or
    将所述节点元信息作为所述工作流元信息。The node meta information is used as the workflow meta information.
  14. 根据权利要求10至13中任一项所述的装置,还包括:Apparatus according to any one of claims 10 to 13, further comprising:
    反馈模块,用于将所述工作流元信息反馈至工作流生产方,其中,所述工作流生成请求由所述工作流生产方触发生成。A feedback module, configured to feed back the workflow meta-information to a workflow producer, wherein the workflow generation request is triggered by the workflow producer.
  15. 根据权利要求13所述的装置,其中,所述第一生成模块,包括:The device according to claim 13, wherein the first generating module comprises:
    第二获取子模块,用于响应于工作流管理请求,根据所述存储位置信息从所述工作流模板仓库中获取所述工作流模板;The second acquiring submodule is configured to acquire the workflow template from the workflow template warehouse according to the storage location information in response to the workflow management request;
    管理子模块,用于根据所述节点元信息描述所述工作流模板,得到待渲染工作流;和a management submodule, configured to describe the workflow template according to the node meta information, and obtain a workflow to be rendered; and
    生成子模块,用于根据所述待渲染工作流,生成所述目标工作流。The generation sub-module is used to generate the target workflow according to the workflow to be rendered.
  16. 根据权利要求15所述的装置,其中,所述生成子模块,还用于:The device according to claim 15, wherein the generating submodule is also used for:
    将所述待渲染工作流提供至工作流使用方的终端;providing the workflow to be rendered to a terminal of a workflow user;
    接收所述终端反馈的渲染操作信息,其中,所述渲染操作信息由所述终端响应于渲染操作指令对所 述渲染操作指令解析得到;和receiving rendering operation information fed back by the terminal, wherein the rendering operation information is obtained by the terminal parsing the rendering operation instruction in response to the rendering operation instruction; and
    根据所述渲染操作信息对所述待渲染工作流进行渲染处理,以得到所述目标工作流。Perform rendering processing on the workflow to be rendered according to the rendering operation information to obtain the target workflow.
  17. 一种工作流生成装置,所述装置包括:A workflow generation device, the device comprising:
    第二接收模块,用于接收工作流描述请求,其中,所述工作流描述请求中携带有场景信息;The second receiving module is configured to receive a workflow description request, wherein the workflow description request carries scene information;
    第二确定模块,用于确定与所述场景信息匹配的工作流的描述信息;A second determining module, configured to determine the description information of the workflow matching the scenario information;
    第二生成模块,用于根据所述工作流的描述信息,生成工作流生成请求;和A second generation module, configured to generate a workflow generation request according to the description information of the workflow; and
    第二处理模块,用于将所述工作流生成请求提供至工作流生产方,以触发所述工作流生产方根据所述工作流生成请求生成目标工作流。The second processing module is configured to provide the workflow generation request to a workflow producer, so as to trigger the workflow producer to generate a target workflow according to the workflow generation request.
  18. 根据权利要求17所述的装置,还包括:The apparatus of claim 17, further comprising:
    获取模块,用于在所述将所述工作流生成请求提供至工作流生产方之后,获取所述工作流生产方提供的待渲染工作流;An acquisition module, configured to acquire the workflow to be rendered provided by the workflow producer after the workflow generation request is provided to the workflow producer;
    解析模块,用于响应于渲染操作指令,对所述渲染操作指令解析得到渲染操作信息,其中,所述渲染操作信息用于对所述待渲染工作流进行渲染处理;和A parsing module, configured to, in response to a rendering operation instruction, parse the rendering operation instruction to obtain rendering operation information, wherein the rendering operation information is used to perform rendering processing on the workflow to be rendered; and
    提供模块,用于将所述渲染操作信息提供至所述工作流生产方。A module is provided for providing the rendering operation information to the workflow producer.
  19. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-9中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1-9. Methods.
  20. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-9中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.
  21. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-9中任一项所述方法的步骤。A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1-9.
PCT/CN2022/113402 2022-01-29 2022-08-18 Workflow generation methods and apparatuses, and electronic device WO2023142451A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210113007.9A CN114445047A (en) 2022-01-29 2022-01-29 Workflow generation method and device, electronic equipment and storage medium
CN202210113007.9 2022-01-29

Publications (1)

Publication Number Publication Date
WO2023142451A1 true WO2023142451A1 (en) 2023-08-03

Family

ID=81371462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113402 WO2023142451A1 (en) 2022-01-29 2022-08-18 Workflow generation methods and apparatuses, and electronic device

Country Status (2)

Country Link
CN (1) CN114445047A (en)
WO (1) WO2023142451A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117151449A (en) * 2023-10-30 2023-12-01 国网浙江省电力有限公司 Data platform chain type information interaction method based on full scene linkage

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium
CN115934086A (en) * 2022-12-28 2023-04-07 苏州峰之鼎信息科技有限公司 Information sharing method, device, equipment and medium for blueprint and page design

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644286A (en) * 2017-08-15 2018-01-30 上海艾融软件股份有限公司 Workflow processing method and device
US20200202273A1 (en) * 2018-12-20 2020-06-25 Sap Se Task derivation for workflows
CN111881154A (en) * 2020-07-29 2020-11-03 北京浪潮数据技术有限公司 ETL task processing method, device and related equipment
CN112162843A (en) * 2020-10-19 2021-01-01 腾讯科技(深圳)有限公司 Workflow execution method, device, equipment and storage medium
CN112905270A (en) * 2021-02-19 2021-06-04 北京百度网讯科技有限公司 Workflow implementation method, device, platform, electronic equipment and storage medium
CN113298331A (en) * 2020-02-21 2021-08-24 北京金山云网络技术有限公司 Work order processing method, device and system and electronic equipment
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050004893A1 (en) * 2003-07-02 2005-01-06 Sangroniz James M. Workflow management devices and systems, and workflow assignment and management methods
US8838951B1 (en) * 2011-03-07 2014-09-16 Raytheon Company Automated workflow generation
CN108665129A (en) * 2017-03-31 2018-10-16 华为软件技术有限公司 A kind of Workflow Custom method and device
CN109669690B (en) * 2018-09-25 2024-01-16 平安科技(深圳)有限公司 Business workflow generation method, device, equipment and computer readable storage medium
CN109389299B (en) * 2018-09-26 2023-10-31 中国平安人寿保险股份有限公司 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium
EP3942835A4 (en) * 2019-03-21 2022-09-28 Nokia Technologies Oy Network based media processing control
CN111667199A (en) * 2020-06-30 2020-09-15 腾讯科技(深圳)有限公司 Workflow construction method and device, computer equipment and storage medium
CN111949170B (en) * 2020-07-17 2022-04-29 上海淇馥信息技术有限公司 Method and device for configuring task flow and electronic equipment
CN112202899B (en) * 2020-09-30 2022-10-25 北京百度网讯科技有限公司 Workflow processing method and device, intelligent workstation and electronic equipment
CN113704665B (en) * 2021-08-30 2023-10-13 康键信息技术(深圳)有限公司 Dynamic service release method and device, electronic equipment and storage medium
CN113988795A (en) * 2021-10-27 2022-01-28 北京百度网讯科技有限公司 Task flow processing method, device, equipment, storage medium and program product
CN113961332A (en) * 2021-11-11 2022-01-21 中国建设银行股份有限公司 Method and device for realizing workflow engine, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644286A (en) * 2017-08-15 2018-01-30 上海艾融软件股份有限公司 Workflow processing method and device
US20200202273A1 (en) * 2018-12-20 2020-06-25 Sap Se Task derivation for workflows
CN113298331A (en) * 2020-02-21 2021-08-24 北京金山云网络技术有限公司 Work order processing method, device and system and electronic equipment
CN111881154A (en) * 2020-07-29 2020-11-03 北京浪潮数据技术有限公司 ETL task processing method, device and related equipment
CN112162843A (en) * 2020-10-19 2021-01-01 腾讯科技(深圳)有限公司 Workflow execution method, device, equipment and storage medium
CN112905270A (en) * 2021-02-19 2021-06-04 北京百度网讯科技有限公司 Workflow implementation method, device, platform, electronic equipment and storage medium
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117151449A (en) * 2023-10-30 2023-12-01 国网浙江省电力有限公司 Data platform chain type information interaction method based on full scene linkage
CN117151449B (en) * 2023-10-30 2024-02-06 国网浙江省电力有限公司 Data platform chain type information interaction method based on full scene linkage

Also Published As

Publication number Publication date
CN114445047A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
JP6751122B2 (en) Page control method and apparatus
WO2023142451A1 (en) Workflow generation methods and apparatuses, and electronic device
KR20210037619A (en) Multimodal content processing method, apparatus, device and storage medium
US8825533B2 (en) Intelligent dialogue amongst competitive user applications
EP3128439A1 (en) Text classification and transformation based on author
US10678682B2 (en) Intelligent batch job testing
WO2021218069A1 (en) Dynamic scenario configuration-based interactive processing method and apparatus, and computer device
JP2021197133A (en) Meaning matching method, device, electronic apparatus, storage medium, and computer program
CN113657100B (en) Entity identification method, entity identification device, electronic equipment and storage medium
CN109032731B (en) Voice interaction method and system based on semantic understanding and oriented to operating system
US20210326524A1 (en) Method, apparatus and device for quality control and storage medium
CN114595686B (en) Knowledge extraction method, and training method and device of knowledge extraction model
CN115982376A (en) Method and apparatus for training models based on text, multimodal data and knowledge
CN116756564A (en) Training method and using method of task solution-oriented generation type large language model
US11226832B2 (en) Dynamic generation of user interfaces based on dialogue
CN113656546A (en) Multimodal search method, apparatus, device, storage medium, and program product
CN114118049B (en) Information acquisition method, device, electronic equipment and storage medium
CN113190154B (en) Model training and entry classification methods, apparatuses, devices, storage medium and program
CN114880498A (en) Event information display method and device, equipment and medium
CN112632241A (en) Method, device, equipment and computer readable medium for intelligent conversation
CN114416931A (en) Label generation method and device and related equipment
CN114501112B (en) Method, apparatus, device, medium, and article for generating video notes
US20210109960A1 (en) Electronic apparatus and controlling method thereof
CN113111658B (en) Method, device, equipment and storage medium for checking information
CN114492456B (en) Text generation method, model training method, device, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22923255

Country of ref document: EP

Kind code of ref document: A1