[go: up one dir, main page]

CN114356462A - A flow chart-based visual inspection method, device, equipment and medium - Google Patents

A flow chart-based visual inspection method, device, equipment and medium Download PDF

Info

Publication number
CN114356462A
CN114356462A CN202111659869.3A CN202111659869A CN114356462A CN 114356462 A CN114356462 A CN 114356462A CN 202111659869 A CN202111659869 A CN 202111659869A CN 114356462 A CN114356462 A CN 114356462A
Authority
CN
China
Prior art keywords
target
plug
candidate
process unit
interface
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.)
Granted
Application number
CN202111659869.3A
Other languages
Chinese (zh)
Other versions
CN114356462B (en
Inventor
张永生
时广军
周钟海
姚毅
杨艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luster LightTech Co Ltd
Suzhou Luster Vision Intelligent Device Co Ltd
Suzhou Lingyunguang Industrial Intelligent Technology Co Ltd
Original Assignee
Luster LightTech Co Ltd
Suzhou Luster Vision Intelligent Device Co Ltd
Suzhou Lingyunguang Industrial Intelligent Technology Co Ltd
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 Luster LightTech Co Ltd, Suzhou Luster Vision Intelligent Device Co Ltd, Suzhou Lingyunguang Industrial Intelligent Technology Co Ltd filed Critical Luster LightTech Co Ltd
Priority to CN202111659869.3A priority Critical patent/CN114356462B/en
Publication of CN114356462A publication Critical patent/CN114356462A/en
Application granted granted Critical
Publication of CN114356462B publication Critical patent/CN114356462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a visual detection method, a device, equipment and a medium based on a flow chart. The method comprises the following steps: acquiring a target flow chart to be executed; selecting a target process unit to be executed from the at least two candidate process units according to the connection relation; and selecting a target plug-in from candidate plug-ins according to the unit attribute information of the target flow unit, and calling the target plug-in to realize the visual detection function corresponding to the target flow unit. The embodiment of the invention can improve the realization efficiency and the expansion capability of the visual detection function.

Description

一种基于流程图的视觉检测方法、装置、设备及介质A flow chart-based visual inspection method, device, equipment and medium

技术领域technical field

本发明实施例涉及计算机技术,尤其涉及一种基于流程图的视觉检测方法、装置、设备及介质。Embodiments of the present invention relate to computer technology, and in particular, to a flowchart-based visual inspection method, apparatus, device, and medium.

背景技术Background technique

视觉缺陷检测作为一种高效率、高精度、无损害的检测方法应用越来越广泛。随着技术的发展,电子产品的研发与迭代越来越快。针对每一种新产品,视觉检测设备供应商都要对软件做定制开发。As a high-efficiency, high-precision, non-destructive detection method, visual defect detection is more and more widely used. With the development of technology, the research and development and iteration of electronic products are getting faster and faster. For each new product, visual inspection equipment suppliers have to develop custom software.

传统的软件定制开发方法效率比较低下,且由于开发需要一定的周期,相对于产品的快速更新迭代,存在不可避免的滞后性。The traditional software customization development method is relatively inefficient, and because the development requires a certain cycle, there is an inevitable lag compared with the rapid update and iteration of the product.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种基于流程图的视觉检测方法、装置、设备及介质,可以提高视觉检测功能的实现效率和扩展能力。Embodiments of the present invention provide a flowchart-based visual detection method, device, device, and medium, which can improve the realization efficiency and expansion capability of the visual detection function.

第一方面,本发明实施例提供了一种基于流程图的视觉检测方法,该方法包括:In a first aspect, an embodiment of the present invention provides a flowchart-based visual detection method, the method comprising:

获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;Acquiring a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and the connection relationship between different candidate process units;

根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;According to the connection relationship, the target process unit to be executed is selected from the at least two candidate process units;

根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。According to the unit attribute information of the target process unit, a target plug-in is selected from the candidate plug-ins, and the target plug-in is invoked to implement the visual detection function corresponding to the target process unit.

第二方面,本发明实施例还提供了一种基于流程图的视觉检测装置,该装置包括:In a second aspect, an embodiment of the present invention further provides a flow chart-based visual inspection device, the device comprising:

流程获取模块,用于获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;a process acquisition module, configured to acquire a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and a connection relationship between different candidate process units;

流程确定模块,用于根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;a process determination module, configured to select a target process unit to be executed from the at least two candidate process units according to the connection relationship;

功能实现模块,用于根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。A function implementation module, configured to select a target plug-in from candidate plug-ins according to the unit attribute information of the target process unit, and call the target plug-in to implement the visual detection function corresponding to the target process unit.

第三方面,本发明实施例还提供了一种电子设备,该设备包括:In a third aspect, an embodiment of the present invention further provides an electronic device, the device comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例提供的基于流程图的视觉检测方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the flowchart-based visual inspection method provided by any embodiment of the present invention.

第四方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,其上存储有计算机可执行指令,该计算机可执行指令被计算机处理器执行时实现本发明任意实施例提供的基于流程图的视觉检测方法。In a fourth aspect, an embodiment of the present invention also provides a storage medium containing computer-executable instructions, on which computer-executable instructions are stored. Flowchart-based visual inspection method.

本发明通过根据目标流程图的候选流程单元和连接关系,得到目标流程单元,并根据目标流程单元的单元属性信息调用目标插件来实现视觉检测功能,无需软件定制开发来实现视觉检测功能,提高了视觉检测功能的实现效率;由于插件可以与任意硬件、软件模块或第三方软件进行交互,给视觉检测功能留下了较高的扩展能力。The present invention obtains the target process unit according to the candidate process units and the connection relationship of the target process flow, and invokes the target plug-in according to the unit attribute information of the target process unit to realize the visual detection function, without the need for software customized development to realize the visual detection function, and improves the performance of the visual detection. The realization efficiency of the visual inspection function; since the plug-in can interact with any hardware, software module or third-party software, it leaves a high expansion capability for the visual inspection function.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1A是根据本发明一实施例提供的一种基于流程图的视觉检测方法的示意图;1A is a schematic diagram of a flowchart-based visual inspection method provided according to an embodiment of the present invention;

图1B是根据本发明一实施例提供的一种目标流程图的示意图;1B is a schematic diagram of a target flow chart provided according to an embodiment of the present invention;

图1C是根据本发明一实施例提供的一种软件建模及执行方案框架示意图;1C is a schematic diagram of a software modeling and execution solution framework according to an embodiment of the present invention;

图2A是根据本发明又一实施例提供的一种基于流程图的视觉检测方法的示意图;2A is a schematic diagram of a flowchart-based visual detection method provided according to another embodiment of the present invention;

图2B是根据本发明又一实施例提供的一种插件接口描述文件更新流程的示意图;2B is a schematic diagram of a plug-in interface description file update process provided according to another embodiment of the present invention;

图3是根据本发明又一实施例提供的一种基于流程图的视觉检测装置的结构示意图;3 is a schematic structural diagram of a flow chart-based visual inspection apparatus provided according to another embodiment of the present invention;

图4是用来实现本发明实施例的一种电子设备的框图。FIG. 4 is a block diagram of an electronic device used to implement an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

在介绍具体实施例之前,需要对本发明实施例的应用场景和技术思路进行补充说明,来明确本发明的技术方案。Before introducing the specific embodiments, it is necessary to provide supplementary descriptions on the application scenarios and technical ideas of the embodiments of the present invention to clarify the technical solutions of the present invention.

对软件通用性有影响的因素主要包含:1)工站数量、布置及通讯;2)相机种类、数量、采图数量、采图时机、采图频率等;3)PLC通讯;4)光源控制;5)数据库种类。The factors that affect the versatility of the software mainly include: 1) the number, layout and communication of the workstations; 2) the type, quantity, number of pictures taken, the timing of taking pictures, the frequency of taking pictures, etc.; 3) PLC communication; 4) light source control ; 5) Database types.

用户可以在流程图绘制界面进行可视化建模,流程建模软件由以下部分组成:1)工站配置:实现工站数量、工站ID、网络IP、数据端口等的配置;2)场景建模:实现每个工站的硬件资源、网络资源、线程资源等的配置;3)流程图建模:通过流程图的不同可视化绘制方式实现检测软件不同模块与工站内相机、PLC、网络等外界资源的灵活交互。Users can perform visual modeling on the flowchart drawing interface. The process modeling software consists of the following parts: 1) Workstation configuration: realize the configuration of the number of workstations, workstation ID, network IP, data port, etc.; 2) Scenario modeling : Realize the configuration of hardware resources, network resources, thread resources, etc. of each workstation; 3) Flowchart modeling: Realize different modules of the detection software and external resources such as cameras, PLCs, and networks in the workstation through different visual drawing methods of flowcharts flexible interaction.

其中,工站配置与场景建模用于描述与当前软件交互的硬件的初始化参数,其建模方式可以使用普通数据录入方式。工站配置与场景建模中的初始化参数格式为通用流程单元数据格式,在初始化流程中会将这些参数传递给特定的插件进行硬件初始化。而流程图建模方法如下:1)从工具箱中拖动不同流程图单元到主绘图区;2)将流程图单元按顺序进行连线;3)配置流程图单元参数。用户可以创建多个流程,流程之间可以互相调用,允许插件内部在特定实际调用绘制的流程。Among them, the workstation configuration and scene modeling are used to describe the initialization parameters of the hardware interacting with the current software, and the modeling method can use the common data entry method. The format of initialization parameters in the workstation configuration and scene modeling is the general process unit data format, and these parameters will be passed to a specific plug-in for hardware initialization during the initialization process. The flowchart modeling method is as follows: 1) Drag different flowchart units from the toolbox to the main drawing area; 2) Connect the flowchart units in sequence; 3) Configure the flowchart unit parameters. Users can create multiple processes, and the processes can call each other, allowing the plug-in to actually call the drawn process in a specific way.

为了实现视觉检测软件的业务灵活性和易用性,引入流程模型化、功能组态化等概念。本发明提出一种图形化方式生成检测设备所需要的软件动作的流程模型,用户根据具体应用场景、软硬件类型、数据形式、交互方式等用可视化流程图绘制方式实现个性化软件的定制。流程执行模块根据用户绘制的流程图调用不同插件的不同接口,实现检测软件各模块与外界资源的灵活交互。本发明的基本实现原理如下:In order to realize the business flexibility and ease of use of the visual inspection software, concepts such as process modeling and function configuration are introduced. The invention proposes a process model for generating software actions required by the detection device in a graphical manner, and the user realizes the customization of the personalized software according to specific application scenarios, software and hardware types, data forms, interaction methods, etc. The process execution module calls different interfaces of different plug-ins according to the flow chart drawn by the user, so as to realize the flexible interaction between each module of the detection software and external resources. The basic realization principle of the present invention is as follows:

将需要实现的功能进行精细化分类,且在每个分类中进一步抽象出与外部进行数据交互功能单元及不涉及外部数据交互的操作单元,清楚划分每个单元的职能边界并开发出一系列单一职能的操作接口,根据分类归整形成一套包含若干接口的软件开发插件包。此插件包为视觉检测软件平台中提供其接口,通过流程调度模块的组装和调用实现接口的功能。The functions that need to be implemented are refined and classified, and in each classification, the functional units for data interaction with the outside and the operation units that do not involve external data interaction are further abstracted, the functional boundaries of each unit are clearly divided and a series of single The functional operation interface is organized into a set of software development plug-in packages containing several interfaces according to the classification. This plug-in package provides its interface for the visual inspection software platform, and realizes the function of the interface through the assembly and invocation of the process scheduling module.

图1A为本发明一实施例提供的一种基于流程图的视觉检测方法的流程图,本实施例可适用于通过流程图来实现视觉检测功能的情况,该方法可以由基于流程图的视觉检测装置来执行,该装置可以采用软件和/或硬件的方式来实现。该装置可配置于具备相应数据处理能力的电子设备中,该方法具体包括:FIG. 1A is a flowchart of a flowchart-based visual inspection method provided by an embodiment of the present invention. This embodiment is applicable to the case where the visual inspection function is realized through a flowchart. The method can be implemented by a flowchart-based visual inspection method. The device can be implemented by means of software and/or hardware. The device can be configured in an electronic device with corresponding data processing capabilities, and the method specifically includes:

步骤110、获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系。Step 110: Obtain a target flow chart to be executed; wherein, the target flow chart includes at least two candidate flow units and connection relationships between different candidate flow units.

其中,目标流程图通过流程图绘制软件生成,目标流程图中绘制了一个完整的建模流程,从而可以实现设置在目标流程图中的视觉检测功能,相比于软件定制开发来实现目标功能,构建流程图效率更高,且操作更加简单,由于无需编程,减少了用户的作业负担。流程图在绘制时,用户从流程图绘制软件中选择自己所需的流程单元,并使用连接线来描述流程单元之间的连接关系,流程单元作为单一职能单元,用于实现某一特定的基础功能。图1B是本发明实施例提供的一种目标流程图的示意图。在该目标流程图中,存在多个流程单元,分别用于实现不同的基础功能,连接线用于表明流程单元之间的连接关系。Among them, the target flow chart is generated by the flow chart drawing software, and a complete modeling process is drawn in the target flow chart, so that the visual inspection function set in the target flow chart can be realized. Compared with the custom development of software to achieve the target function, Constructing flow charts is more efficient and easier to operate. Since no programming is required, the workload of users is reduced. When the flowchart is drawn, the user selects the required process unit from the flowchart drawing software, and uses the connecting line to describe the connection relationship between the process units. The process unit is used as a single functional unit to realize a specific foundation. Function. FIG. 1B is a schematic diagram of a target flow chart provided by an embodiment of the present invention. In the target flowchart, there are multiple process units, which are respectively used to realize different basic functions, and the connecting lines are used to indicate the connection relationship between the process units.

具体的,目标流程图可以以通用格式(例如XML格式)的流程数据呈现,获取目标流程图对应的流程数据,流程开始执行时先加载获取目标流程图对应的流程数据,流程数据中记载了目标流程图存在哪些流程单元,以及流程单元之间连接线所对应的连接关系。Specifically, the target flow chart can be presented in a general format (for example, XML format), and the flow data corresponding to the target flow chart is obtained. When the flow starts to execute, the flow data corresponding to the target flow chart is loaded and obtained, and the target flow data is recorded in the flow data. Which process units exist in the flowchart, and the connection relationship corresponding to the connection lines between the process units.

步骤120、根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元。Step 120: Select a target process unit to be executed from the at least two candidate process units according to the connection relationship.

其中,所述目标流程单元是目标流程图中用于实现该流程目标功能的流程单元。Wherein, the target process unit is a process unit in the target flowchart for realizing the target function of the process.

具体的,目标流程图在设计时为了保证目标流程单元的正常实现,一般设置会相应的初始化,数据采集等与目标流程单元配套使用的候选流程单元。在确定连接关系后,根据流程单元之间的连接关系,确定待执行的目标流程单元。Specifically, in order to ensure the normal realization of the target process unit during the design of the target flow chart, the candidate process units that are used in conjunction with the target process unit, such as initialization, data collection, etc., are generally set. After the connection relationship is determined, the target process unit to be executed is determined according to the connection relationship between the process units.

S130、根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。S130. Select a target plug-in from candidate plug-ins according to the unit attribute information of the target process unit, and invoke the target plug-in to implement a visual detection function corresponding to the target process unit.

其中,单元属性信息是目标流程图的对应的字段内容,候选流程单元可以有其对应的单元属性信息。单元属性信息可以包括下述内容:1)目标流程单元所属的目标插件名:用于根据该字段将目标流程单元的单元数据分发给目标插件执行;2)与目标流程单元关联的目标接口名:用于目标插件根据该字段执行特定接口操作数据类型,例如输入、输出、只读等;3)数据格式:指明当前流程图单元中数据的格式,如整型、浮点型、数组、结构体、类等;4)目标数据内容:流程单元的实际内容,使用该数据的模块根据数据格式字段解析和访问数据内容。Wherein, the unit attribute information is the corresponding field content of the target flowchart, and the candidate process unit may have its corresponding unit attribute information. The unit attribute information may include the following content: 1) the target plug-in name to which the target process unit belongs: for distributing the unit data of the target process unit to the target plug-in for execution according to this field; 2) the target interface name associated with the target process unit: Used by the target plug-in to perform specific interface operations according to this field. Data types, such as input, output, read-only, etc.; 3) Data format: Indicate the format of the data in the current flow chart unit, such as integer, floating-point, array, structure , class, etc.; 4) Target data content: the actual content of the process unit, the module using this data parses and accesses the data content according to the data format field.

具体的,在确定目标流程单元之后,读取该目标流程单元对应的单元属性信息,从而得到实现该目标流程单元所需的插件名称,并在候选插件查询得到该插件名称,并通过该插件来进行对应的目标操作从而实现该功能。Specifically, after the target process unit is determined, the unit attribute information corresponding to the target process unit is read, so as to obtain the plug-in name required to realize the target process unit, and the name of the plug-in is obtained by querying the candidate plug-in, and the plug-in is used to obtain the name of the plug-in. Perform the corresponding target operation to achieve this function.

示例性的,图1C是本发明提供的一种软件建模及执行方案框架示意图。其中,预先设置了可以实现不同功能的插件,作为候选插件,候选插件的信息可以存储在插件接口描述文件中,以在分别在流程绘制和执行时,调用相同的插件接口描述文件。流程单元在被执行时,可读取其单元属性信息,从而得到实现该流程单元所需的插件和对应接口,并根据该插件和该插件下的对应接口,对单元属性信息中记载的具体的执行数据进行执行,从而实现流程单元对应的功能。Exemplarily, FIG. 1C is a schematic diagram of a software modeling and execution solution framework provided by the present invention. Among them, plug-ins that can implement different functions are preset. As candidate plug-ins, the information of the candidate plug-ins can be stored in the plug-in interface description file, so that the same plug-in interface description file can be called when the process is drawn and executed respectively. When the process unit is executed, its unit attribute information can be read, so as to obtain the plug-in and corresponding interface required to realize the process unit, and according to the plug-in and the corresponding interface under the plug-in, the specific information recorded in the unit attribute information can be obtained. The execution data is executed to realize the function corresponding to the process unit.

本发明实施例通过根据目标流程图的候选流程单元和连接关系,得到目标流程单元,并根据目标流程单元的单元属性信息调用目标插件来实现视觉检测功能,无需软件定制开发来实现视觉检测功能,提高了视觉检测功能的实现效率;由于插件可以与任意硬件、软件模块或第三方软件进行交互,给视觉检测功能留下了较高的扩展能力。In the embodiment of the present invention, the target process unit is obtained according to the candidate process units and the connection relationship of the target process flow chart, and the target plug-in is invoked according to the unit attribute information of the target process unit to realize the visual detection function, and no software customization development is required to realize the visual detection function. The realization efficiency of the visual inspection function is improved; since the plug-in can interact with any hardware, software module or third-party software, it leaves a high expansion capability for the visual inspection function.

图2为本发明又一实施例提供的一种流程图的视觉检测方法的流程图,本实施例在上述各实施例的基础上进行了优化改进。具体的,参见图2该方法可以包括:FIG. 2 is a flowchart of a visual detection method of a flowchart according to another embodiment of the present invention. This embodiment is optimized and improved on the basis of the foregoing embodiments. Specifically, referring to FIG. 2, the method may include:

S210、获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系。S210. Acquire a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and connection relationships between different candidate process units.

S220、根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元。S220. Select a target process unit to be executed from the at least two candidate process units according to the connection relationship.

S230、若所述目标流程单元为子流程图,则将所述子流程图作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。S230. If the target process unit is a sub-flow chart, use the sub-flow chart as a new target flow chart to be executed, and trigger visual inspection according to the new target flow chart.

其中,子流程图为可以目标流程图之外的其他流程图。The sub-flow charts are other flow charts than the target flow chart.

具体的,可以为每一流程图设置唯一标识的流程ID,用户在目标流程图中绘制目标流程单元时,可以将子流程图的流程ID的设置为目标流程单元的目标数据内容,可以通过目标流程单元对应的插件和接口,对子流程图进行执行。在这一过程中,子流程图可以与目标流程图中目标流程单元之后的其余候选流程单元一起执行;也可以在执行子流程图执行结束之后,再执行目标流程图中目标流程单元之后的其余候选流程单元。本发明既支持调用子流程,在流程内的任一位置插入调用子流程接口,实现子流程调用,也支持独立线程内执行流程,可以在流程内的任一位置插入独立线程执行子流程接口,实现独立线程内执行指定流程功能。通过对子流程的调用,无需对功能相同的流程进行反复建模,再次简化了工作人员的工作量,提高了建模效率。Specifically, a uniquely identified process ID can be set for each flowchart. When the user draws the target process unit in the target flowchart, the user can set the process ID of the sub-flowchart as the target data content of the target process unit. The plug-in and interface corresponding to the process unit executes the sub-flowchart. In this process, the sub-flow chart can be executed together with the remaining candidate flow units after the target flow unit in the target flow chart; it is also possible to execute the remaining candidate flow units after the target flow unit in the target flow chart after the execution of the sub-flow chart is completed. Candidate process unit. The present invention not only supports calling a sub-process, inserting a calling sub-process interface at any position in the process to realize sub-process calling, but also supports executing a process in an independent thread, and can insert an independent thread executing a sub-process interface at any position in the process, Implements the function of executing the specified process in an independent thread. By calling the sub-process, there is no need to repeatedly model the process with the same function, which simplifies the workload of the staff again and improves the modeling efficiency.

S230、所述目标流程单元的单元属性信息包括目标流程单元所属的目标插件名、与目标流程单元关联的目标接口名和目标数据内容;S230, the unit attribute information of the target process unit includes the target plug-in name to which the target process unit belongs, the target interface name associated with the target process unit, and the target data content;

根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;According to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins;

向所述目标插件发送所述目标接口名和所述目标数据内容,用于指示所述目标插件根据所述目标接口名从目标插件中选择目标插件接口,且调用所述目标插件接口对所述目标数据内容进行处理,以实现所述目标流程单元对应的视觉检测功能。Send the target interface name and the target data content to the target plug-in, which is used to instruct the target plug-in to select a target plug-in interface from the target plug-ins according to the target interface name, and call the target plug-in interface to the target plug-in interface. The data content is processed to realize the visual detection function corresponding to the target process unit.

其中,每个候选插件对应多个不同的接口,用于实现不同的功能,例如数据的上传、下载、验证等。Among them, each candidate plug-in corresponds to multiple different interfaces, which are used to implement different functions, such as data uploading, downloading, and verification.

具体的,对目标流程单元的单元属性数据进行解析,得到其记载字段中的目标流程单元所属的目标插件名、与目标流程单元关联的目标接口名和目标数据内容。在预选设置多个候选插件中,确定实现目标功能所必需的目标插件。目标插件中存储有接口与功能之间的对应关系,根据接收到的目标接口名和目标数据内容,调用其对应的目标接口,来对目标数据内容进行处理,并实现该接口对应的视觉检测功能。Specifically, the unit attribute data of the target process unit is parsed to obtain the target plug-in name to which the target process unit belongs, the target interface name associated with the target process unit, and the target data content in the record field. Among the plurality of candidate plug-ins in the pre-selection setting, target plug-ins necessary to achieve the target functionality are determined. The corresponding relationship between interfaces and functions is stored in the target plug-in. According to the received target interface name and target data content, the corresponding target interface is called to process the target data content and realize the visual detection function corresponding to the interface.

S240、监测是否存在所述目标插件的回调触发事件;S240, monitoring whether there is a callback trigger event of the target plug-in;

若存在,则将目标插件的回调流程作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。If it exists, the callback process of the target plug-in is used as the new target flowchart to be executed, and visual inspection is triggered according to the new target flowchart.

其中,回调触发事件可以以回调触发流程单元的形式部署于在目标流程图中。The callback-triggered event may be deployed in the target flowchart in the form of a callback-triggered process unit.

具体的,当执行到回调触发流程单元时,确定检测到对应的回调触发事件。回调触发流程单元的目标数据内容中存储有相应的回调ID,该回调ID可以对应的一个预选设定的回调流程。通过回调触发流程单元得知触发回调流程时,获取目标数据来得到回调ID,进而确定对应的回调流程,并申请执行对应的回调流程。通过对流程回调的实现,可以以新的部署参数来实现视觉检测功能,从而针对工作场景做出适应性修改,提高了流程建模的调整能力。Specifically, when the callback triggering process unit is executed, it is determined that a corresponding callback triggering event is detected. A corresponding callback ID is stored in the target data content of the callback triggering process unit, and the callback ID may correspond to a preselected set callback process. When the callback triggering process unit is informed that the callback process is triggered, the target data is obtained to obtain the callback ID, the corresponding callback process is determined, and the corresponding callback process is applied for execution. Through the realization of the process callback, the visual detection function can be implemented with new deployment parameters, so as to make adaptive modifications to the work scene and improve the adjustment ability of the process modeling.

本发明实施例通过子流程的调用和流程的回调,无需对功能相同的流程进行反复建模,进一步简化了工作人员的工作量,提高了流程建模的效率和调整能力。In the embodiment of the present invention, through the invocation of the sub-process and the callback of the process, there is no need to repeatedly model the process with the same function, which further simplifies the workload of the staff and improves the efficiency and adjustment ability of process modeling.

可选的,所述根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件,包括:Optionally, selecting a target plug-in from candidate plug-ins according to the target plug-in name to which the target process unit belongs, including:

基于插件接口描述文件,根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;其中,所述插件接口描述文件包括候选插件中的接口数据格式;所述插件接口描述文件根据对候选插件和/或候选插件中接口的编辑操作更新。Based on the plug-in interface description file, the target plug-in is selected from the candidate plug-ins according to the target plug-in name to which the target process unit belongs; wherein the plug-in interface description file includes the interface data format in the candidate plug-in; the plug-in interface description file is based on Edit operation updates to candidate plugins and/or interfaces in candidate plugins.

其中,所有的接口数据格式均存放在插件接口描述文件中,流程图建模软件、流程调度模块以及各插件均根据该描述文件工作。一个插件增减接口、修改接口内容或者增减插件时只需要修改插件本身以及插件接口描述文件,其他插件、流程图建模软件和流程调度模块均不受影响。流程图绘制软件和执行软件都可以继续通过插件接口描述文件确定流程单元、插件和接口三者的对应关系Among them, all interface data formats are stored in the plug-in interface description file, and the flowchart modeling software, the process scheduling module and each plug-in all work according to the description file. When a plug-in adds or subtracts interfaces, modifies interface content, or adds or removes plug-ins, only the plug-in itself and the plug-in interface description file need to be modified, and other plug-ins, flowchart modeling software, and process scheduling modules are not affected. Both the flowchart drawing software and the execution software can continue to determine the correspondence between the process unit, the plug-in and the interface through the plug-in interface description file

具体的,基于插件接口描述文件,可以得知目标流程图在绘制时所使用到的插件和接口,即候选插件。在确定单元属性信息的目标插件名之后,从候选插件中确定目标插件。Specifically, based on the plug-in interface description file, the plug-ins and interfaces used when the target flowchart is drawn, that is, candidate plug-ins, can be known. After the target plug-in name of the unit attribute information is determined, the target plug-in is determined from the candidate plug-ins.

示例性的,附图2B是本发明提供的一种插件接口描述文件更新流程的示意图。当前检测到对对候选插件和/或候选插件中接口的编辑完整后,对插件接口描述文件进行更新,并进一步创建脚本模型后执行流程脚本。通过在插件或接口后对接口描述文件进行更新,保证了功能更新的过程中和过程后,流程图建模和流程执行均不受影响。Exemplarily, FIG. 2B is a schematic diagram of an update process of a plug-in interface description file provided by the present invention. After it is detected that the editing of the candidate plug-in and/or the interface in the candidate plug-in is complete, the plug-in interface description file is updated, and the script model is further created, and then the process script is executed. By updating the interface description file after the plug-in or interface, it is ensured that the process flow diagram modeling and process execution are not affected during and after the function update process.

图3为本发明又一实施例提供的一种流程图的视觉检测装置的结构框图,本实施例可适用于通过流程建模来实现视觉检测功能的情况,该装置可以采用软件和/或硬件的方式来实现。该装置可配置于具备相应数据处理能力的电子设备中。如图3所示,该装置可以包括:FIG. 3 is a structural block diagram of a visual inspection device with a flowchart according to another embodiment of the present invention. This embodiment is applicable to the case where the visual inspection function is realized by process modeling, and the device can use software and/or hardware. way to achieve. The device can be configured in electronic equipment with corresponding data processing capability. As shown in Figure 3, the device may include:

流程获取模块310,用于获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;The process acquisition module 310 is configured to acquire the target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and the connection relationship between different candidate process units;

流程确定模块320,用于根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;a process determination module 320, configured to select a target process unit to be executed from the at least two candidate process units according to the connection relationship;

功能实现模块330,用于根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。The function implementation module 330 is configured to select a target plug-in from candidate plug-ins according to the unit attribute information of the target process unit, and call the target plug-in to implement the visual detection function corresponding to the target process unit.

该装置和模块可执行本发明任意实施例所提供的基于流程图的视觉检测方法,具备执行方法相应的功能模块和有益效果。The apparatus and module can execute the flowchart-based visual inspection method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method.

可选的,所述目标流程单元的单元属性信息包括目标流程单元所属的目标插件名、与目标流程单元关联的目标接口名和目标数据内容;所述功能实现模块,具体用于:Optionally, the unit attribute information of the target process unit includes the target plug-in name to which the target process unit belongs, the target interface name and target data content associated with the target process unit; the function implementation module is specifically used for:

根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;According to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins;

向所述目标插件发送所述目标接口名和所述目标数据内容,用于指示所述目标插件根据所述目标接口名从目标插件中选择目标插件接口,且调用所述目标插件接口对所述目标数据内容进行处理,以实现所述目标流程单元对应的视觉检测功能。Send the target interface name and the target data content to the target plug-in, which is used to instruct the target plug-in to select a target plug-in interface from the target plug-ins according to the target interface name, and call the target plug-in interface to the target plug-in interface. The data content is processed to realize the visual detection function corresponding to the target process unit.

可选的,所述功能实现模块包括插件选取单元,用于:Optionally, the function implementation module includes a plug-in selection unit for:

基于插件接口描述文件,根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;其中,所述插件接口描述文件包括候选插件中的接口数据格式;所述插件接口描述文件根据对候选插件和/或候选插件中接口的编辑操作更新。Based on the plug-in interface description file, the target plug-in is selected from the candidate plug-ins according to the target plug-in name to which the target process unit belongs; wherein the plug-in interface description file includes the interface data format in the candidate plug-in; the plug-in interface description file is based on Edit operation updates to candidate plugins and/or interfaces in candidate plugins.

可选的,所述装置还包括流程回调模块,用于:Optionally, the apparatus further includes a process callback module for:

监测是否存在所述目标插件的回调触发事件;Monitoring whether there is a callback trigger event of the target plug-in;

若存在,则将目标插件的回调流程作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。If it exists, the callback process of the target plug-in is used as the new target flowchart to be executed, and visual inspection is triggered according to the new target flowchart.

可选的,所述装置还包括子流程调用模块,用于:Optionally, the device further includes a sub-process invocation module for:

若所述目标流程单元为子流程图,则将所述子流程图作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。If the target flow chart is a sub-flow chart, the sub-flow chart is regarded as a new target flow chart to be executed, and visual inspection is triggered according to the new target flow chart.

进一步说明后的装置和模块可执行本发明任意实施例所提供的基于流程图的视觉检测方法,具备执行方法相应的功能模块和有益效果。The apparatus and module described further can execute the flowchart-based visual inspection method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method.

图4为本发明又一实施例提供的一种电子的结构示意图,如图4所示,该设备包括处理器40、存储器41、输入装置42和输出装置43;设备中处理器40的数量可以是一个或多个,图4以一个处理器40为例;设备的处理器40、存储器41、输入装置42和输出装置43可以通过总线或其他方式连接,图4中以通过总线连接为例。FIG. 4 is a schematic structural diagram of an electronic device provided by another embodiment of the present invention. As shown in FIG. 4 , the device includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device can be is one or more, FIG. 4 takes a processor 40 as an example; the processor 40, memory 41, input device 42 and output device 43 of the device can be connected through a bus or other means, and FIG. 4 takes the connection through a bus as an example.

存储器41作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的基于流程图的视觉检测方法对应的程序指令/模块(例如,流程图的视觉检测装置中的流程获取模块310、流程确定模块320和功能实现模块330)。处理器40通过运行存储在存储器41中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的基于流程图的视觉检测方法。As a computer-readable storage medium, the memory 41 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the flowchart-based visual inspection method in the embodiment of the present invention (for example, the The process acquisition module 310, the process determination module 320 and the function implementation module 330 in the visual inspection device). The processor 40 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 41 , that is, to implement the above-mentioned flowchart-based visual inspection method.

存储器41可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器41可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器41可进一步包括相对于处理器40远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. In addition, memory 41 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, memory 41 may further include memory located remotely from processor 40, which may be connected to the device through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

输入装置42可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置43可包括显示屏等显示设备。The input device 42 may be used to receive input numerical or character information and to generate key signal input related to user settings and function control of the device. The output device 43 may include a display device such as a display screen.

本发明又一实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种流程图的视觉检测方法,该方法包括:Yet another embodiment of the present invention also provides a storage medium containing computer-executable instructions, the computer-executable instructions, when executed by a computer processor, are used to execute a flow chart visual inspection method, the method comprising:

获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;Acquiring a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and the connection relationship between different candidate process units;

根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;According to the connection relationship, the target process unit to be executed is selected from the at least two candidate process units;

根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。According to the unit attribute information of the target process unit, a target plug-in is selected from the candidate plug-ins, and the target plug-in is invoked to implement the visual detection function corresponding to the target process unit.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本发明任意实施例所提供的流程图的视觉检测方法中的相关操作.Of course, a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions of which are not limited to the above-mentioned method operations, and can also perform visual inspection of the flowchart provided by any embodiment of the present invention. related operations in the method.

通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be realized by software and necessary general-purpose hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment . Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in a computer-readable storage medium, such as a floppy disk of a computer , read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the methods described in the various embodiments of the present invention.

值得注意的是,上述搜索装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that, in the above embodiments of the search device, the units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, each function The specific names of the units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种基于流程图的视觉检测方法,其特征在于,包括:1. a visual detection method based on a flowchart, is characterized in that, comprises: 获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;Acquiring a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and the connection relationship between different candidate process units; 根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;According to the connection relationship, the target process unit to be executed is selected from the at least two candidate process units; 根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。According to the unit attribute information of the target process unit, a target plug-in is selected from the candidate plug-ins, and the target plug-in is invoked to implement the visual detection function corresponding to the target process unit. 2.根据权利要求1所述的方法,其特征在于,所述目标流程单元的单元属性信息包括目标流程单元所属的目标插件名、与目标流程单元关联的目标接口名和目标数据内容;2. The method according to claim 1, wherein the unit attribute information of the target process unit comprises the target plug-in name to which the target process unit belongs, the target interface name associated with the target process unit and the target data content; 所述根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能,包括:According to the unit attribute information of the target process unit, selecting a target plug-in from candidate plug-ins, and calling the target plug-in to implement the visual detection function corresponding to the target process unit, including: 根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;According to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins; 向所述目标插件发送所述目标接口名和所述目标数据内容,用于指示所述目标插件根据所述目标接口名从目标插件中选择目标插件接口,且调用所述目标插件接口对所述目标数据内容进行处理,以实现所述目标流程单元对应的视觉检测功能。Send the target interface name and the target data content to the target plug-in, which is used to instruct the target plug-in to select a target plug-in interface from the target plug-ins according to the target interface name, and call the target plug-in interface to the target plug-in interface. The data content is processed to realize the visual detection function corresponding to the target process unit. 3.根据权利要求2所述的方法,其特征在于,所述根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件,包括:3. The method according to claim 2, wherein selecting a target plug-in from candidate plug-ins according to the target plug-in name to which the target process unit belongs, comprising: 基于插件接口描述文件,根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;Based on the plug-in interface description file, according to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins; 其中,所述插件接口描述文件包括候选插件中的接口数据格式;所述插件接口描述文件根据对候选插件和/或候选插件中接口的编辑操作更新。Wherein, the plug-in interface description file includes the interface data format in the candidate plug-in; the plug-in interface description file is updated according to the editing operation on the candidate plug-in and/or the interface in the candidate plug-in. 4.根据权利要求1所述的方法,其特征在于,所述调用所述目标插件实现所述目标流程单元对应的视觉检测功能之后,还包括:4. The method according to claim 1, wherein after the calling the target plug-in to realize the visual detection function corresponding to the target process unit, the method further comprises: 监测是否存在所述目标插件的回调触发事件;Monitoring whether there is a callback trigger event of the target plug-in; 若存在,则将目标插件的回调流程作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。If it exists, the callback process of the target plug-in is used as the new target flowchart to be executed, and visual inspection is triggered according to the new target flowchart. 5.根据权利要求1所述的方法,其特征在于,所述根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元之后,还包括:5. The method according to claim 1, wherein after selecting the target process unit to be executed from the at least two candidate process units according to the connection relationship, the method further comprises: 若所述目标流程单元为子流程图,则将所述子流程图作为待执行的新目标流程图,并触发根据新的目标流程图进行视觉检测。If the target flow chart is a sub-flow chart, the sub-flow chart is regarded as a new target flow chart to be executed, and visual inspection is triggered according to the new target flow chart. 6.一种基于流程图的视觉检测装置,其特征在于,包括:6. A visual detection device based on a flowchart, characterized in that, comprising: 流程获取模块,用于获取待执行的目标流程图;其中,所述目标流程图中包括至少两个候选流程单元和不同所述候选流程单元之间的连接关系;a process acquisition module, configured to acquire a target flowchart to be executed; wherein, the target flowchart includes at least two candidate process units and a connection relationship between different candidate process units; 流程确定模块,用于根据所述连接关系,从所述至少两个候选流程单元中选择待执行的目标流程单元;a process determination module, configured to select a target process unit to be executed from the at least two candidate process units according to the connection relationship; 功能实现模块,用于根据所述目标流程单元的单元属性信息,从候选插件中选择目标插件,并调用所述目标插件实现所述目标流程单元对应的视觉检测功能。A function implementation module, configured to select a target plug-in from candidate plug-ins according to the unit attribute information of the target process unit, and call the target plug-in to implement the visual detection function corresponding to the target process unit. 7.根据权利要求6所述的装置,其特征在于,所述目标流程单元的单元属性信息包括目标流程单元所属的目标插件名、与目标流程单元关联的目标接口名和目标数据内容;所述功能实现模块,具体用于:7. The device according to claim 6, wherein the unit attribute information of the target process unit includes the target plug-in name to which the target process unit belongs, the target interface name associated with the target process unit and the target data content; the function Implementation modules, specifically for: 根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;According to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins; 向所述目标插件发送所述目标接口名和所述目标数据内容,用于指示所述目标插件根据所述目标接口名从目标插件中选择目标插件接口,且调用所述目标插件接口对所述目标数据内容进行处理,以实现所述目标流程单元对应的视觉检测功能。Send the target interface name and the target data content to the target plug-in, which is used to instruct the target plug-in to select a target plug-in interface from the target plug-ins according to the target interface name, and call the target plug-in interface to the target plug-in interface. The data content is processed to realize the visual detection function corresponding to the target process unit. 8.根据权利要求7所述的装置,其特征在于,所述功能实现模块包括插件选取单元,用于:8. device according to claim 7, is characterized in that, described function realization module comprises plug-in selection unit, is used for: 基于插件接口描述文件,根据所述目标流程单元所属的目标插件名,从候选插件中选择目标插件;Based on the plug-in interface description file, according to the target plug-in name to which the target process unit belongs, a target plug-in is selected from the candidate plug-ins; 其中,所述插件接口描述文件包括候选插件中的接口数据格式;所述插件接口描述文件根据对候选插件和/或候选插件中接口的编辑操作更新。Wherein, the plug-in interface description file includes the interface data format in the candidate plug-in; the plug-in interface description file is updated according to the editing operation on the candidate plug-in and/or the interface in the candidate plug-in. 9.一种电子设备,其特征在于,所述设备包括:9. An electronic device, characterized in that the device comprises: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序,storage means for storing one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-5中任一所述的基于流程图的视觉检测方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the flowchart-based visual inspection method according to any one of claims 1-5. 10.一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-5中任一所述的基于流程图的视觉检测方法。10. A storage medium containing computer-executable instructions, when executed by a computer processor, for performing the flowchart-based visual inspection method of any of claims 1-5.
CN202111659869.3A 2021-12-30 2021-12-30 A visual inspection method, device, equipment and medium based on flowchart Active CN114356462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111659869.3A CN114356462B (en) 2021-12-30 2021-12-30 A visual inspection method, device, equipment and medium based on flowchart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111659869.3A CN114356462B (en) 2021-12-30 2021-12-30 A visual inspection method, device, equipment and medium based on flowchart

Publications (2)

Publication Number Publication Date
CN114356462A true CN114356462A (en) 2022-04-15
CN114356462B CN114356462B (en) 2025-08-29

Family

ID=81104956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111659869.3A Active CN114356462B (en) 2021-12-30 2021-12-30 A visual inspection method, device, equipment and medium based on flowchart

Country Status (1)

Country Link
CN (1) CN114356462B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115145562A (en) * 2022-06-07 2022-10-04 联宝(合肥)电子科技有限公司 Visual detection system, method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506366A (en) * 2020-04-17 2020-08-07 咪咕文化科技有限公司 Plug-in calling method, device, electronic device and storage medium
CN112099768A (en) * 2020-08-04 2020-12-18 北京奇艺世纪科技有限公司 Business process processing method and device and computer readable storage medium
CN112579266A (en) * 2019-09-30 2021-03-30 杭州海康机器人技术有限公司 Flow scheduling method and device for visual software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579266A (en) * 2019-09-30 2021-03-30 杭州海康机器人技术有限公司 Flow scheduling method and device for visual software
CN111506366A (en) * 2020-04-17 2020-08-07 咪咕文化科技有限公司 Plug-in calling method, device, electronic device and storage medium
CN112099768A (en) * 2020-08-04 2020-12-18 北京奇艺世纪科技有限公司 Business process processing method and device and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115145562A (en) * 2022-06-07 2022-10-04 联宝(合肥)电子科技有限公司 Visual detection system, method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114356462B (en) 2025-08-29

Similar Documents

Publication Publication Date Title
CN111045655B (en) Page rendering method and device, rendering server and storage medium
US8839107B2 (en) Context based script generation
US20100281463A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
CN112748908A (en) Restful service development method and device based on SSM framework
CN112464569B (en) A machine learning method and system
CN113326030A (en) Service request processing method and device
CN110457013B (en) Program component configuration device and method
CN113656471B (en) Solution processing method, device, computer equipment and storage medium
CN112698817B (en) Message access method, device and system based on micro-service architecture and storage medium
CN114428613A (en) Process arrangement method, system, medium and computer program product
CN110659027A (en) Code generation method and device and electronic equipment
CN114356462A (en) A flow chart-based visual inspection method, device, equipment and medium
CN113608996B (en) A mirror compilation test method, system, device and readable storage medium
CN111309319A (en) Inheritable office data dynamic page configuration method and device
CN118113623B (en) Automatic interface testing method and device, storage medium and electronic equipment
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business
CN118519619A (en) Application method and device of front-end scaffold
CN117216135A (en) ETL execution template generation method
CN111401020A (en) Interface loading method and system and computing equipment
CN113992941B (en) Cloud-edge collaborative video analysis system and method based on serverless function computing
CN113485686B (en) Information system program generation method and device, electronic equipment and storage medium
CN112506943B (en) Heterogeneous data service providing method, device, equipment and medium
CN116954572A (en) AI capability encapsulation method, AI capability encapsulation device, electronic equipment and storage medium
CN115357298A (en) Calling method of third-party interface, processor and storage medium
CN109150993B (en) A method, terminal device and storage medium for obtaining a network request aspect

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