CN115658270B - Workflow execution method, device and equipment of vision system and storage medium - Google Patents
Workflow execution method, device and equipment of vision system and storage medium Download PDFInfo
- Publication number
- CN115658270B CN115658270B CN202211362698.2A CN202211362698A CN115658270B CN 115658270 B CN115658270 B CN 115658270B CN 202211362698 A CN202211362698 A CN 202211362698A CN 115658270 B CN115658270 B CN 115658270B
- Authority
- CN
- China
- Prior art keywords
- node
- execution
- round
- workflow
- function
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000006870 function Effects 0.000 claims description 87
- 238000002347 injection Methods 0.000 claims description 14
- 239000007924 injection Substances 0.000 claims description 14
- 239000000463 material Substances 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 description 10
- 238000001514 detection method Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000006378 damage Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Stored Programmes (AREA)
Abstract
The application relates to a workflow execution method of a vision system, which comprises the following steps: acquiring a workflow starting class, wherein the workflow starting class comprises node information of nodes required by a workflow and an execution sequence of the node class; creating a round container, creating node execution tasks according to the execution sequence, and injecting the round container, wherein the node execution tasks are associated with nodes corresponding to the node information; and sequentially instantiating node classes corresponding to the node execution tasks in the round container, and executing instantiation codes.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a workflow execution method and apparatus for a vision system, an electronic device, and a computer storage medium.
Background
The vision system is a system for detecting the quality of materials through computer vision, and the vision system acquires material images from various vision cameras through communication with various devices, extracts characteristics according to the material images, calculates the characteristics, and judges whether the materials are qualified according to calculation results. However, the detection workflow of the current visual system is difficult to split and reuse due to the complex business logic, and meanwhile, due to the large code quantity, when problems occur in the workflow, the code error positioning and repairing are difficult to carry out.
Disclosure of Invention
The application aims to overcome the defects and shortcomings of the prior art and provides a workflow execution method of a vision system, which can efficiently generate a workflow and is convenient to maintain.
The application is realized by the following technical scheme: a workflow execution method of a vision system, comprising the steps of:
acquiring a workflow starting class, wherein the workflow starting class comprises node information of nodes required by a workflow and an execution sequence of the node class;
creating a round container, creating node execution tasks according to the execution sequence, and injecting the round container, wherein the node execution tasks are associated with nodes corresponding to the node information;
and sequentially instantiating node classes corresponding to the node execution tasks in the round container, and executing instantiation codes.
Compared with the prior art, the workflow execution method of the vision system provided by the application splits each node of the workflow, describes each node and the conditional sequence relation among the nodes through the workflow execution starting class, and can restore the workflow and generate workflow codes according to the workflow execution starting class. Meanwhile, the application creates nodes of different detection rounds through the round container to execute tasks, carries out domain isolation on the different rounds, and is mutually independent and not mutually interfered, so that a vision system can detect a plurality of rounds at the same time, and the detection efficiency is improved.
Further, the workflow initiation class includes a new round flag;
creating a round container comprising the steps of: and creating a round container according to the new round mark.
Further, the workflow initiation class includes an execution condition of a node class;
creating nodes to execute tasks according to the execution sequence, and injecting the round container, wherein the method comprises the following steps:
if the execution conditions exist between the nodes adjacent to the execution sequence, executing a condition function corresponding to the execution conditions, creating a node execution task of the next node when the condition function returns to pass, and injecting the node execution task into the round container;
if no execution condition exists between the nodes adjacent to the execution sequence, directly creating a node execution task of the next node, and injecting the round container.
Further, sequentially instantiating node classes corresponding to the node execution tasks in the round container, and executing instantiation codes, including the steps of:
querying a cache space;
if node functions of node classes corresponding to the node execution tasks exist in the cache space, acquiring the node functions and parameters of the node functions;
if the node function of the node class corresponding to the node execution task does not exist in the cache space, acquiring the node function with the latest version from a node dictionary, and caching the node function into the cache space, wherein the node dictionary comprises the node functions of all versions of the node and parameters required by the node function;
instantiate the obtained node function and its parameters and execute the instantiation code.
Based on the same inventive concept, the present application also provides a workflow execution device of a vision system, comprising:
the workflow acquisition module is used for acquiring a workflow starting class which contains node information of nodes required by the workflow and the execution sequence of the node class;
the round creation module is used for creating a round container, creating node execution tasks according to the execution sequence, and injecting the round container, wherein the node execution tasks are related to the nodes corresponding to the node information;
and the execution module is used for sequentially instantiating node classes corresponding to the node execution tasks in the round container and executing the instantiation codes.
Further, the workflow initiation class includes a new round flag;
the round creation module comprises a container creation module for creating a round container according to the new round flag.
Further, the workflow initiation class includes an execution condition of a node class;
the round creation module comprises a first task injection module and a second task injection module,
the first task injection module is used for executing a conditional function corresponding to the execution condition if the execution condition exists between the nodes adjacent to the execution sequence, creating a node execution task of the next node when the conditional function returns to pass through, and injecting the node execution task into the round container;
and the second task injection module is used for directly creating a node execution task of the next node if no execution condition exists between the nodes adjacent in the execution sequence, and injecting the node execution task into the round container.
Further, the execution module includes:
the query module is used for querying the cache space;
the first function acquisition module is used for acquiring the node function and parameters of the node function if the node function of the node class corresponding to the node execution task exists in the cache space;
the second function obtaining module is used for obtaining the node function with the latest version from a node dictionary if the node function of the node class corresponding to the node execution task does not exist in the cache space, and caching the node function into the cache space, wherein the node dictionary comprises the node functions of all versions of the node and parameters required by the node function;
and the instantiation module is used for instantiating the acquired node function and the parameters thereof and executing the instantiation code.
Based on the same inventive concept, the present application also provides an electronic device, including:
a processor;
a memory for storing a computer program for execution by the processor;
wherein the processor, when executing the computer program, implements the steps of the above method.
Based on the same inventive concept, the present application also provides a computer storage medium having stored thereon a computer program which, when executed, implements the steps of the above-described method.
For a better understanding and implementation, the present application is described in detail below with reference to the drawings.
Drawings
FIG. 1 is a flow diagram of a workflow execution method of a vision system of one embodiment;
FIG. 2 is a user graphical interface of workflow initiation class editing for one embodiment;
FIG. 3 is an exemplary workflow operation monitoring user graphical interface;
fig. 4 is a schematic structural diagram of a workflow execution device of a vision system of an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims.
In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The vision system is a system for detecting whether the materials are qualified or not according to the images of the materials in production. For different materials and different detection projects, the vision system needs to start different workflows to detect. The workflow is configured according to the detection logic, and the workflow is composed of a plurality of nodes arranged according to the execution logic.
Please refer to fig. 1, which is a flowchart illustrating a workflow execution method of a vision system according to an embodiment. The method comprises the following steps:
s1: acquiring a workflow starting class;
s2: creating a round container, sequentially creating nodes to execute tasks according to the workflow starting class, and injecting the tasks into the round container;
s3: and sequentially instantiating node classes corresponding to the node execution tasks in the round container, and executing the instantiation codes.
In step S1, each workflow start class corresponds to a workflow, and the workflow start class describes node information contained in the corresponding workflow, and an execution order and an execution condition of each node. The node may be a node step or flow in the workflow, and specifically, the code of the node step or flow may be encapsulated into a node function, and further, the node function parameter and the node name may be encapsulated into a node class. In implementation, node information, such as node names, is recorded in the workflow initiation class, and the corresponding node class can be acquired through the node information. The execution sequence of the nodes is the step or flow sequence of the workflow. The node execution condition is usually a precondition of whether to execute the node, and the corresponding node can be executed only if the node execution condition is met. The node execution condition is not a precondition that the node must set, and when the node does not set the execution condition, the node may be directly executed.
Further, a workflow initiation class generation method is described below, the method comprising the steps of:
s11: acquiring node names of node classes to be executed, execution directions among the node classes and execution conditions;
s12: and generating a workflow starting class, wherein the workflow starting class comprises a starting node, node names of node classes to be executed, execution directions among the node classes and execution conditions.
The method comprises the steps of realizing a COM library packaged by a program set for objects and members of Visual Studio kernel automation through an EnvDTE technology, and generating a workflow starting class through a Roslyn technology. Referring to fig. 2, a workflow starts a user graphical interface for editing a class, through which a user may select a node class to be executed, and set an execution sequence and an execution condition of the node class through arrow connection lines according to an embodiment.
In step S2, the round container is a custom logic domain, and each time a round is detected for each material, a round container is created for each round, and is used for storing nodes implementing a workflow to execute tasks. The node execution task is created from the node names in the workflow initiation class, whereby the node execution task can retrieve the corresponding node class by the node names.
The round start message is pushed when the round container is created.
In an alternative embodiment, a new round flag may be set in the workflow initiation class, the new round flag having a sequential relationship with the node classes in the workflow initiation class, and a round container is created when the new round flag occurs. Alternatively, the round container may also be created based on whether the latest round container is complete: when the node execution tasks in the latest round container are all completed, a round container is created.
In another alternative embodiment, the method comprises the steps of: when the node execution tasks in the round container are all completed, destroying the round container and pushing the round result message.
The node execution task is associated with the node class by a node name, and when the node execution task is executed, a node function in the associated node class is executed. The method comprises the steps of creating nodes in sequence according to workflow starting classes to execute tasks, and injecting the tasks into a round container, and specifically comprises the following steps:
s21: if the execution conditions exist between the nodes adjacent to the execution sequence, executing a condition function corresponding to the execution conditions, creating a node execution task of the next node when the condition function returns to pass, and injecting the node execution task into a round container;
the conditional function is packaged with program codes for judging the execution condition to obtain a pass or fail result. The conditional function can be searched from a conditional dictionary, and the conditional dictionary is a set of conditional information acquired from a dynamic support library of the system when the system is started, wherein the conditional information comprises parameters required by the conditional function and the node function.
S22: if no execution condition exists between the nodes adjacent to the execution sequence, directly creating a node execution task of the next node, and injecting the node execution task into a round container.
In step S3, the node class corresponding to the task executed by the node in the round container is instantiated in sequence, and the instantiation code is executed, and further includes the steps of:
s31: querying a cache space;
the cache space is a storage space for storing node class information, and the storage space can be realized through a remote memory or a local memory.
S32: if node functions of node classes corresponding to the node execution tasks exist in the cache space, acquiring the node functions and parameters of the node functions;
the parameter types of the node function comprise temporary parameters, preset parameters and DI parameters, wherein the temporary parameters are parameters generated by the previous node; the preset parameters are parameters preset by workflow starting types; the DI parameters are system dependent injection parameters. The three parameters may be distinguished by setting a characteristic, e.g., temporary parameters do not set a characteristic; the preset parameter characteristic is set to [ FromParameters ]; the DI parameter characteristic is set to [ FromDI ]. The parameter names of the temporary parameters and the preset parameters are searched through attribute names in the source object; DI parameters are looked up by injection type.
S33: if the node function of the node class corresponding to the node execution task does not exist in the cache space, acquiring the node function with the latest version from the node dictionary, and caching the node function into the cache space;
the node dictionary is a collection of node class information obtained from a dynamic support library of the system when the system is started, and the node class information comprises node names, node functions of all versions and parameters required by the node functions. When the latest node function is obtained, automatic searching can be performed through the version number, and the target version number is reduced by one in sequence to perform inquiry until the node function corresponding to the target version number is found.
S34: instantiating the obtained node function and its parameters and executing the instantiated code
During instantiation, objects created by instantiation may inherit the null interface, injecting corresponding objects into different scopes of the round container according to the type of null interface. In an alternative implementation, the types of the null interfaces include an IScoped null interface and an ISingleton null interface, and the object inheriting the IScoped null interface is a round unique object, that is, a unique object special for each round container is created for each round container, and the round unique object is destroyed along with the destruction of the round container; the object inheriting the isilleton air interface is a globally unique object, i.e. only one unique object is created for all round containers, which is not destroyed with the round containers.
During the execution of the workflow, the running information of each node can be pushed to the client, for example, when the creation of the round container is completed, a round start message is pushed; pushing a round ending message when the node execution tasks in the round container are all completed; pushing a node pre-operation message when the node function is acquired and is ready to be executed; pushing the message after the node operation when the node function execution is completed; when the node execution result is wrong, pushing the node execution error message; pushing a link condition execution message when the inter-node execution condition starts to be executed; when the execution result of the inter-node execution condition is an error, pushing a connection condition execution error message. Referring to FIG. 3, an exemplary workflow execution monitor user graphical interface is shown. The service end pushes the operation information of each node of the workflow to the client end, and the operation information is displayed through the user graphical interface.
Compared with the prior art, the workflow execution method splits each node of the workflow, describes each node and the conditional sequence relation among the nodes through the workflow execution starting class, and can restore the workflow and generate workflow codes according to the workflow execution starting class. Meanwhile, the application creates nodes of different detection rounds through the round container to execute tasks, carries out domain isolation on the different rounds, and is mutually independent and not mutually interfered, so that a vision system can detect a plurality of rounds at the same time, and the detection efficiency is improved.
Based on the same inventive concept, the application provides a workflow execution device of a vision system. Referring to fig. 4, a schematic structural diagram of a workflow execution device of a vision system according to an embodiment includes: the system comprises a workflow acquisition module 10, a round creation module 20 and an execution module 30, wherein the workflow acquisition module 10 is used for acquiring a workflow starting class, and the workflow starting class comprises node information of nodes required by a workflow and an execution sequence of the node class; the round creation module 20 is configured to create a round container, create a node execution task according to an execution order, and inject the round container, where the node execution task is associated with a node corresponding to the node information; the execution module 30 is configured to sequentially instantiate node classes corresponding to the node execution tasks in the round container, and execute the instantiation code.
In an alternative embodiment, the round creation module 20 includes a container creation module 21, and the container creation module 21 is configured to create a round container according to the new round flag. And/or the container creation module 21 is configured to create a round container according to whether the latest round container is completed: when the node execution tasks in the latest round container are all completed, a round container is created.
In another optional embodiment, the workflow execution device further includes a destruction module, where the destruction module is configured to destroy the round container when the node execution tasks in the round container are all completed, and push the round result message at the same time.
In an alternative embodiment, the round creation module 20 includes a first task injection module 22 and a second task injection module 23, where the first task injection module 22 is configured to execute a conditional function corresponding to the execution condition if the execution condition exists between the nodes adjacent to each other in the execution order, and create a node of the next node to execute a task when the conditional function passes back, and inject the task into the round container; the second task injection module 23 is configured to directly create a node execution task of a next node if there is no execution condition between the nodes adjacent to each other in the execution order, and inject the task into the round container.
In an alternative embodiment, the execution module 30 includes a query module 31, a first function obtaining module 32, a second function obtaining module 33, and an instantiation module 34, where the query module 31 is configured to query the cache space; the first function obtaining module 32 is configured to obtain a node function of a node class corresponding to a node execution task and parameters of the node function if the node function exists in the cache space; the second function obtaining module 33 is configured to obtain, if there is no node function of a node class corresponding to a node execution task in the cache space, a node function with a latest version from a node dictionary, and cache the node function in the cache space, where the node dictionary includes node functions of each version of a node and parameters required by the node function; the instantiation module 34 is configured to instantiate the acquired node functions and parameters thereof and execute the instantiation code.
In an alternative embodiment, the workflow execution device further includes a workflow generation module 40, where the workflow generation module 40 includes a data acquisition module 41 and a generation module 42, and the data acquisition module 41 is configured to acquire a node name of a node class to be executed, an execution direction between the node classes, and an execution condition; the generating module 42 is configured to generate a workflow start class, where the workflow start class includes a start node, a node name of a node class to be executed, an execution direction between the node classes, and an execution condition.
For device embodiments, reference is made to the description of method embodiments for relevant details, since they substantially correspond to the method embodiments.
Based on the same inventive concept, the application also provides a vision system which comprises a camera, a light source, a PLC communication device, a controller and a display, wherein the camera is equipment with the functions of shooting and transmitting. The light source is a projection beam and is a device for detecting the brightness supplement of the material during imaging. The PLC communication module is used for carrying out data transmission between expansion equipment such as cameras, displays and the like and the controller. The controller may be a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). The controller comprises one or more processors and a memory, wherein the processors are used for executing a workflow execution method or a workflow start class generation method of the vision system of the program implementation method embodiment; the memory is used for storing a computer program executable by the processor. The display is used for carrying out data presentation of the workflow running process or editing of the workflow starting class generating process.
Based on the same inventive concept, the present application further provides a computer readable storage medium, corresponding to the embodiment of the workflow execution method of the vision system described above, having stored thereon a computer program, which when executed by a processor, implements the steps of the workflow execution method or workflow start class generation method of the vision system described in any of the embodiments described above.
The present application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, magnetic disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer-usable storage media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by the computing device.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the spirit of the application, and the application is intended to encompass such modifications and improvements.
Claims (8)
1. A workflow execution method of a vision system, comprising the steps of:
acquiring a workflow starting class, wherein the workflow starting class comprises node information of nodes required by a workflow, an execution sequence of the node class and a new round mark;
creating a round container according to the new round mark, creating a node execution task according to an execution sequence, and injecting the round container, wherein the node execution task is related to a node corresponding to the node information; the round container is a self-defined logic domain, each time each material is detected as one round, and each time one round is carried out, one round container is created and used for storing the node for realizing the workflow to execute tasks;
and sequentially instantiating node classes corresponding to the node execution tasks in the round container, and executing instantiation codes.
2. The method according to claim 1, characterized in that: the workflow start class comprises the execution condition of the node class;
creating nodes to execute tasks according to the execution sequence, and injecting the round container, wherein the method comprises the following steps:
if the execution conditions exist between the nodes adjacent to the execution sequence, executing a condition function corresponding to the execution conditions, creating a node execution task of the next node when the condition function returns to pass, and injecting the node execution task into the round container;
if no execution condition exists between the nodes adjacent to the execution sequence, directly creating a node execution task of the next node, and injecting the round container.
3. The method according to claim 1, wherein sequentially instantiating node classes corresponding to the node execution tasks in the round container and executing instantiation code comprises the steps of:
querying a cache space;
if node functions of node classes corresponding to the node execution tasks exist in the cache space, acquiring the node functions and parameters of the node functions;
if the node function of the node class corresponding to the node execution task does not exist in the cache space, acquiring the node function with the latest version from a node dictionary, and caching the node function into the cache space, wherein the node dictionary comprises the node functions of all versions of the node and parameters required by the node function;
instantiate the obtained node function and its parameters and execute the instantiation code.
4. A workflow execution apparatus of a vision system, comprising:
the workflow acquisition module is used for acquiring a workflow starting class which contains node information of nodes required by the workflow, the execution sequence of the node class and a new round mark;
the round creation module is used for creating a round container, creating node execution tasks according to the execution sequence, and injecting the round container, wherein the node execution tasks are related to the nodes corresponding to the node information; the round container is a self-defined logic domain, each time each material is detected as one round, and each time one round is carried out, one round container is created and used for storing the node for realizing the workflow to execute tasks;
the execution module is used for sequentially instantiating node classes corresponding to the node execution tasks in the round container and executing instantiation codes;
the round creation module comprises a container creation module for creating a round container according to the new round flag.
5. The apparatus according to claim 4, wherein: the workflow start class comprises the execution condition of the node class;
the round creation module comprises a first task injection module and a second task injection module,
the first task injection module is used for executing a conditional function corresponding to the execution condition if the execution condition exists between the nodes adjacent to the execution sequence, creating a node execution task of the next node when the conditional function returns to pass through, and injecting the node execution task into the round container;
and the second task injection module is used for directly creating a node execution task of the next node if no execution condition exists between the nodes adjacent in the execution sequence, and injecting the node execution task into the round container.
6. The apparatus of claim 4, wherein the execution module comprises:
the query module is used for querying the cache space;
the first function acquisition module is used for acquiring the node function and parameters of the node function if the node function of the node class corresponding to the node execution task exists in the cache space;
the second function obtaining module is used for obtaining the node function with the latest version from a node dictionary if the node function of the node class corresponding to the node execution task does not exist in the cache space, and caching the node function into the cache space, wherein the node dictionary comprises the node functions of all versions of the node and parameters required by the node function;
and the instantiation module is used for instantiating the acquired node function and the parameters thereof and executing the instantiation code.
7. An electronic device, comprising:
a processor;
a memory for storing a computer program for execution by the processor;
wherein the processor, when executing the computer program, implements the steps of the method of any of claims 1-3.
8. A computer storage medium on which a computer program is stored, characterized in that the computer program, when executed, carries out the steps of the method according to any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211362698.2A CN115658270B (en) | 2022-11-02 | 2022-11-02 | Workflow execution method, device and equipment of vision system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211362698.2A CN115658270B (en) | 2022-11-02 | 2022-11-02 | Workflow execution method, device and equipment of vision system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115658270A CN115658270A (en) | 2023-01-31 |
CN115658270B true CN115658270B (en) | 2023-08-25 |
Family
ID=84996224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211362698.2A Active CN115658270B (en) | 2022-11-02 | 2022-11-02 | Workflow execution method, device and equipment of vision system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115658270B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117634866B (en) * | 2024-01-25 | 2024-04-19 | 中国人民解放军国防科技大学 | Method, device, equipment and medium for processing data among nodes of workflow scheduling engine |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008265909A (en) * | 2007-04-18 | 2008-11-06 | Hitachi-Ge Nuclear Energy Ltd | Material storage position management system, and its method |
CN104809126A (en) * | 2014-01-26 | 2015-07-29 | 北京理工大学 | Business process engine system |
CN105243521A (en) * | 2015-11-20 | 2016-01-13 | 华润电力投资有限公司河南分公司 | Workflow management method and system |
CN106529917A (en) * | 2016-12-15 | 2017-03-22 | 平安科技(深圳)有限公司 | Workflow processing method and device |
CN110738389A (en) * | 2019-09-03 | 2020-01-31 | 深圳壹账通智能科技有限公司 | Workflow processing method and device, computer equipment and storage medium |
CN111382983A (en) * | 2018-12-27 | 2020-07-07 | 中国电信股份有限公司 | Workflow control method, workflow node and system |
CN114943751A (en) * | 2022-07-26 | 2022-08-26 | 北京科技大学 | Material tracking and positioning method and system based on direction vector in cloud PLC environment |
-
2022
- 2022-11-02 CN CN202211362698.2A patent/CN115658270B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008265909A (en) * | 2007-04-18 | 2008-11-06 | Hitachi-Ge Nuclear Energy Ltd | Material storage position management system, and its method |
CN104809126A (en) * | 2014-01-26 | 2015-07-29 | 北京理工大学 | Business process engine system |
CN105243521A (en) * | 2015-11-20 | 2016-01-13 | 华润电力投资有限公司河南分公司 | Workflow management method and system |
CN106529917A (en) * | 2016-12-15 | 2017-03-22 | 平安科技(深圳)有限公司 | Workflow processing method and device |
CN111382983A (en) * | 2018-12-27 | 2020-07-07 | 中国电信股份有限公司 | Workflow control method, workflow node and system |
CN110738389A (en) * | 2019-09-03 | 2020-01-31 | 深圳壹账通智能科技有限公司 | Workflow processing method and device, computer equipment and storage medium |
CN114943751A (en) * | 2022-07-26 | 2022-08-26 | 北京科技大学 | Material tracking and positioning method and system based on direction vector in cloud PLC environment |
Non-Patent Citations (1)
Title |
---|
基于Spring框架的分布式工作流引擎设计与实现;程松涛;《中国优秀硕士学位论文全文数据库信息科技辑(月刊)》(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115658270A (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7472378B2 (en) | Breakpoint management and reconciliation for embedded scripts in a business integration language specified program process | |
US7676474B2 (en) | Systems and methods for finding log files generated by a distributed computer | |
CN115658270B (en) | Workflow execution method, device and equipment of vision system and storage medium | |
US20090259455A1 (en) | Method and system for automatic tracking of a computerized process using a relationship model | |
CN112256318B (en) | Construction method and equipment for dependent product | |
CN112905441A (en) | Test case generation method, test method, device and equipment | |
CN114780563A (en) | Zipper surface processing method and equipment based on data lake | |
US9703848B2 (en) | Caching linked queries for optimized compliance management | |
CN113987044A (en) | Asset data import processing method and device and electronic equipment | |
CN113434194A (en) | Continuous integration and delivery system, method, electronic device and storage medium | |
CN108491457A (en) | A kind of method and apparatus for synchronizing public cloud resource | |
CN112612915B (en) | Picture labeling method and device | |
CN112346961B (en) | Method and device for debugging client | |
CN115718752A (en) | Document tracking method, device and medium | |
CN114564207A (en) | Software product processing method and device, computer equipment and storage medium | |
CN114115982A (en) | Code issuing method, device, equipment and storage medium | |
CN115048083A (en) | Visualization method and device for assembly, storage medium and electronic equipment | |
CN109062789B (en) | Continuous integration method, device and equipment and readable storage medium | |
CN111966460A (en) | Method, system, device and medium for optimizing display process information in container | |
CN112783750A (en) | Code vulnerability storage method and device, electronic equipment and storage medium | |
CN117371413B (en) | Organization information viewing method and system | |
CN115801579B (en) | Network equipment configuration checking method, equipment and medium based on SDN | |
CN116309940B (en) | Map information display method, equipment and medium based on animation popup window assembly | |
CN115102940B (en) | Method, device, system and equipment for creating digital collection | |
CN113434472B (en) | File generation method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 510000 3, building 9, two South Road, Dashi street, Dashi street, Guangzhou, Guangdong, Panyu District, China. Patentee after: Guangzhou Yihong Intelligent Equipment Co.,Ltd. Address before: 511449 101-301, building 3, No. 9, Huijiang Shinan Second Road, Dashi street, Panyu District, Guangzhou, Guangdong Patentee before: GUANGZHOU EHOLLY INTELLIGENT EQUIPMENT Co.,Ltd. |