CN112596941B - Tool result judging method and device of industrial image processing software - Google Patents
Tool result judging method and device of industrial image processing software Download PDFInfo
- Publication number
- CN112596941B CN112596941B CN202011581418.8A CN202011581418A CN112596941B CN 112596941 B CN112596941 B CN 112596941B CN 202011581418 A CN202011581418 A CN 202011581418A CN 112596941 B CN112596941 B CN 112596941B
- Authority
- CN
- China
- Prior art keywords
- interrupt
- service
- tool
- flow
- failure
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0787—Storage of error reports, e.g. persistent data storage, storage using memory protection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application discloses a tool result judging method and device of industrial image processing software, wherein the method comprises the following steps: configuring a flow interruption service in the software, wherein the flow interruption service is used for sending a failure signal to an upper computer when the result of the designated image processing tool judges failure and recording images and logs when the failure occurs; the system configures the whole image processing flow according to the actual demands of the user; the system designates an interrupt tool in the processing flow according to the user demand, wherein the interrupt tool refers to an image processing tool which needs to trigger flow interrupt service when the result judgment fails; when the result of the interrupt tool is judged to be failed, the software directly ends the execution; the system triggers the flow interrupt service according to the interrupt tool result judging failure signal, automatically transmits failure signals to the upper computer, records pictures and logs when related failures are recorded.
Description
Technical Field
The application relates to the technical field of industrial visual inspection, in particular to a tool result judging method and device of industrial image processing software.
Background
Project development software VISIONAssembly using a visual flow chart modeling algorithm is widely used in the field of industrial vision. The software is mainly used in the following subdivision fields of industrial vision: and (5) alignment guiding, detection and measurement. In the application of detection projects, there is often a requirement of "result judgment", when the image processing unit fails, judgment is automatically performed according to a set threshold value, and a signal of processing failure is sent to an upper computer, an image and a log when the failure is recorded, and the like, so that subsequent inquiry is facilitated. If the spot area fails to detect, the area of the good product should be between 200 and 300 pixels, and the pixel number of the area output by the detection task exceeds the range, the detection is considered to fail.
In the existing VISIONAssemble software, the functions of branch judgment, communication tools, graph storage tools, log recording tools and the like are provided, and when failure occurs, signals are sent, graphs and logs are recorded, but the functions are realized by setting up a flow by a user of the software.
The current VISIONAssemble software for industrial vision detection sends processing results to an upper computer, saves pictures and records logs, belongs to a general function, but current implementation personnel of vision projects still need to build the process by themselves to realize, wastes time for building the process, has some differences in the processes built by different users, and is not beneficial to process standardization; and when the result is judged to be failed, the flow still continues to be executed downwards, the execution time is wasted, if the execution needs to be interrupted, a user is required to write logic implementation, and the requirement on the user programming thought is too high.
Disclosure of Invention
The application provides a tool result judging method and device of industrial image processing software, which are used for solving the problems that general functions in the prior art still need a worker to build a process by himself, time for building the process is wasted and the requirement on a user programming idea is too high.
The technical scheme adopted by the application is as follows:
a tool result judging method of industrial image processing software comprises the following steps:
configuring a flow interruption service in software, wherein the flow interruption service is used for sending a failure signal to an upper computer and recording images and logs when the failure is recorded when the result of the designated image processing tool is judged to be failed;
the system configures the whole image processing flow according to the actual demands of the user;
the system designates an interrupt tool in the processing flow according to the user demand, wherein the interrupt tool refers to an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
when the interrupt tool result is judged to be failed, the software directly ends the execution;
and triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending a failure signal to the upper computer, and recording pictures and logs when related failures occur.
Preferably, the system designates, in the process flow, an image processing tool that is required to trigger the flow interrupt service when the result determination fails as an interrupt tool according to a user requirement, and then includes:
when the interrupt tool result determines that the normal execution is performed, the flow interrupt service is in a standby state, and the flow interrupt service and the normal execution flow are mutually independent.
Preferably, the process interrupt service includes:
the communication service is used for sending a failure signal to the upper computer when the flow interrupt service is triggered;
the picture storage service is used for recording related failure pictures when the flow interruption service is triggered;
and the log service is used for recording related failure logs when the flow interrupt service is triggered.
Preferably, the system triggers the process interrupt service according to the interrupt tool result failure judging signal, automatically sends a failure signal to the upper computer, records pictures and logs when related failures, and includes:
the system triggers the communication service, the graph storing service and the log service according to the signal of failure judgment of the interrupt tool result;
the triggered communication service automatically sends a failure signal to the upper computer;
writing related failure pictures into a disk by the triggered picture storage service;
and the triggered log service writes the related failure log into a disk.
Preferably, the related failure picture comprises an original image and a screenshot when failure occurs:
the related failure log comprises an original log and a log screenshot when failure occurs.
A tool result determination device of industrial image processing software, comprising:
the configuration interrupt module is used for configuring a flow interrupt service in software, wherein the flow interrupt service is used for sending a failure signal to an upper computer when the result of the designated image processing tool is judged to be failed, and recording images and logs when the failure occurs;
the configuration flow module is used for configuring the whole image processing flow according to the actual demands of the user by the system;
the appointed interrupt tool module is used for appointing an interrupt tool in the processing flow according to the user demand by the system, wherein the interrupt tool is an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
the judging failure executing module is used for directly ending the execution by the software when the judging failure of the interrupt tool result is judged;
and the interrupt service triggering module is used for triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending the failure signal to the upper computer and recording pictures and logs when related failures occur.
Preferably, the system further comprises an interrupt service standby module, wherein when the interrupt tool determines that the process is executed normally, the process interrupt service is in a standby state, and the process interrupt service and the normal execution process are independent from each other.
Preferably, the interrupt service trigger module includes:
the communication service triggering unit is used for automatically sending a failure signal to the upper computer when the communication service is triggered;
the image storage service triggering unit is used for writing related failure pictures into the disk when the image storage service is triggered;
the log service triggering unit is used for writing the related failure log into the disk when the log service is triggered.
The technical scheme of the application has the following beneficial effects:
1. the process which needs to be configured by a user when the abnormality occurs in the process comprises the following steps: the method has the advantages that the abnormal information is sent to the upper computer, the pictures are saved and the log is recorded, the interrupt service is abstracted, the user does not need to program the process by himself, the process of configuring the flow is simplified, the difficulty of the user is reduced, particularly when various detection items exist, the flow cannot be repeated in a large amount, the problem is easy to check, and the flow standardization is facilitated.
2. When the tool is normally executed, the interrupt service is in a standby state, does not occupy flow execution resources, only occupies little system resources, is independent of the execution flow, and when the tool result is judged to be failed, the flow is interrupted to be executed, the flow execution time is not influenced, and the productivity is increased.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of a tool result determination method of industrial image processing software according to the present application;
FIG. 2 is a flow chart of the process interrupt service triggered in a tool result determination method of industrial image processing software according to the present application;
FIG. 3 is a flowchart of the interrupt service standby flow chart in the tool result determination method of the industrial image processing software according to the present application.
Detailed Description
Referring to fig. 1, a flow chart of a tool result determination method of industrial image processing software is provided.
The application provides a tool result judging method of industrial image processing software, which comprises the following steps:
configuring a flow interruption service in software, wherein the flow interruption service is used for sending a failure signal to an upper computer and recording images and logs when the failure is recorded when the result of the designated image processing tool is judged to be failed;
the system configures the whole image processing flow according to the actual demands of the user;
the system designates an interrupt tool in the processing flow according to the user demand, wherein the interrupt tool refers to an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
as shown in fig. 2, when the interrupt tool result determines that the interrupt tool result fails, the software directly ends the execution;
and triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending a failure signal to the upper computer, and recording pictures and logs when related failures occur.
The system designates an image processing tool which is required to trigger the flow interrupt service as an interrupt tool when the failure judgment is failed in the processing flow according to the user demand, and then comprises the following steps:
as shown in fig. 3, when the interrupt tool result determines that the execution is normal, the flow interrupt service is in a standby state, and the flow interrupt service and the normal execution flow are independent of each other.
The process interrupt service includes:
the communication service is used for sending a failure signal to the upper computer when the flow interrupt service is triggered;
the picture storage service is used for recording related failure pictures when the flow interruption service is triggered;
and the log service is used for recording related failure logs when the flow interrupt service is triggered.
The system triggers the flow interrupt service according to the interrupt tool result failure judging signal, automatically sends a failure signal to an upper computer, records pictures and logs when related failures, and comprises the following steps:
the system triggers the communication service, the graph storing service and the log service according to the signal of failure judgment of the interrupt tool result;
the triggered communication service automatically sends a failure signal to the upper computer;
writing related failure pictures into a disk by the triggered picture storage service;
and the triggered log service writes the related failure log into a disk.
The related failure picture comprises an original image and a screenshot when failure occurs:
the related failure log comprises an original log and a log screenshot when failure occurs.
A tool result determination device of industrial image processing software, comprising:
the configuration interrupt module is used for configuring a flow interrupt service in software, wherein the flow interrupt service is used for sending a failure signal to an upper computer when the result of the designated image processing tool is judged to be failed, and recording images and logs when the failure occurs;
the configuration flow module is used for configuring the whole image processing flow according to the actual demands of the user by the system;
the appointed interrupt tool module is used for appointing an interrupt tool in the processing flow according to the user demand by the system, wherein the interrupt tool is an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
the judging failure executing module is used for directly ending the execution by the software when the judging failure of the interrupt tool result is judged;
and the interrupt service triggering module is used for triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending the failure signal to the upper computer and recording pictures and logs when related failures occur.
The interrupt service standby module is used for judging that the process interrupt service is in a standby state when the interrupt tool result judges that the process is executed normally, and the process interrupt service and the normal execution process are mutually independent.
The interrupt service triggering module comprises:
the communication service triggering unit is used for automatically sending a failure signal to the upper computer when the communication service is triggered;
the image storage service triggering unit is used for writing related failure pictures into the disk when the image storage service is triggered;
the log service triggering unit is used for writing the related failure log into the disk when the log service is triggered.
The application configures the process which needs the user to configure when the abnormality occurs in the process: and sending abnormal information to an upper computer, storing pictures and recording logs, abstracting the abnormal information into interrupt service, and triggering the interrupt service when the tool result is judged to be failed. After the interrupt is triggered, the software directly ends the execution, and the system automatically sends a related failure signal in the background, records related pictures and logs. The user does not need to program by himself, the process of the configuration flow is simplified, the difficulty of the user is reduced, particularly when a plurality of detection items exist, the flow cannot be repeated in a large amount, the problem is easy to check, and the flow standardization is facilitated.
In the application, when the tool normally executes, the interrupt service is in a standby state, does not occupy the flow execution resources, only occupies little system resources, is independent of the execution flow, and when the tool result is judged to be failed, the flow can interrupt the execution, the execution time of the flow is not influenced, and the productivity is increased. The application effectively solves the problems that the general function in the prior art still requires a worker to set up a process to realize sending results and recording data, wastes time for setting up the process and has too high requirement on user programming ideas.
The above-provided detailed description is merely a few examples under the general inventive concept and does not limit the scope of the present application. Any other embodiments which are extended according to the solution of the application without inventive effort fall within the scope of protection of the application for a person skilled in the art.
Claims (8)
1. A tool result determination method of industrial image processing software, comprising the steps of:
configuring a flow interruption service in software, wherein the flow interruption service is used for sending a failure signal to an upper computer and recording images and logs when the failure is recorded when the result of the designated image processing tool is judged to be failed;
the system configures the whole image processing flow according to the actual demands of the user;
the system designates an interrupt tool in the processing flow according to the user demand, wherein the interrupt tool refers to an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
when the interrupt tool result is judged to be failed, the software directly ends the execution;
and triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending a failure signal to the upper computer, and recording pictures and logs when related failures occur.
2. The method according to claim 1, wherein the system specifies that an image processing tool whose result determination failure requires triggering of the process interrupt service is an interrupt tool in the process flow according to a user's demand, and then comprises:
when the interrupt tool result determines that the normal execution is performed, the flow interrupt service is in a standby state, and the flow interrupt service and the normal execution flow are mutually independent.
3. The tool result determination method of industrial image processing software according to claim 1, wherein the flow interrupt service comprises:
the communication service is used for sending a failure signal to the upper computer when the flow interrupt service is triggered;
the picture storage service is used for recording related failure pictures when the flow interruption service is triggered;
and the log service is used for recording related failure logs when the flow interrupt service is triggered.
4. A tool result determination method for industrial image processing software according to claim 3, wherein the system triggers the process interrupt service according to the interrupt tool result determination failure signal, automatically sends a failure signal to a host computer, records pictures and logs when related failures occur, and comprises:
the system triggers the communication service, the graph storing service and the log service according to the signal of failure judgment of the interrupt tool result;
the triggered communication service automatically sends a failure signal to the upper computer;
writing related failure pictures into a disk by the triggered picture storage service;
and the triggered log service writes the related failure log into a disk.
5. The method for determining tool results of industrial image processing software according to claim 4, wherein,
the related failure picture comprises an original image and a screenshot when failure occurs:
the related failure log comprises an original log and a log screenshot when failure occurs.
6. A tool result determination device of industrial image processing software, comprising:
the configuration interrupt module is used for configuring a flow interrupt service in software, wherein the flow interrupt service is used for sending a failure signal to an upper computer when the result of the designated image processing tool is judged to be failed, and recording images and logs when the failure occurs;
the configuration flow module is used for configuring the whole image processing flow according to the actual demands of the user by the system;
the appointed interrupt tool module is used for appointing an interrupt tool in the processing flow according to the user demand by the system, wherein the interrupt tool is an image processing tool which needs to trigger the flow interrupt service when the result judgment fails;
the judging failure executing module is used for directly ending the execution by the software when the judging failure of the interrupt tool result is judged;
and the interrupt service triggering module is used for triggering the flow interrupt service by the system according to the interrupt tool result judging failure signal, automatically sending the failure signal to the upper computer and recording pictures and logs when related failures occur.
7. The tool result determination device of industrial image processing software of claim 6, further comprising:
and the interrupt service standby module is used for enabling the flow interrupt service to be in a standby state when the interrupt tool result judges that the normal execution is performed, and the flow interrupt service and the normal execution flow are mutually independent.
8. The tool result determination device of industrial image processing software of claim 6, wherein the interrupt service trigger module comprises:
the communication service triggering unit is used for automatically sending a failure signal to the upper computer when the communication service is triggered;
the image storage service triggering unit is used for writing related failure pictures into the disk when the image storage service is triggered;
the log service triggering unit is used for writing the related failure log into the disk when the log service is triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011581418.8A CN112596941B (en) | 2020-12-28 | 2020-12-28 | Tool result judging method and device of industrial image processing software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011581418.8A CN112596941B (en) | 2020-12-28 | 2020-12-28 | Tool result judging method and device of industrial image processing software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112596941A CN112596941A (en) | 2021-04-02 |
CN112596941B true CN112596941B (en) | 2023-10-03 |
Family
ID=75203646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011581418.8A Active CN112596941B (en) | 2020-12-28 | 2020-12-28 | Tool result judging method and device of industrial image processing software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112596941B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103198017A (en) * | 2013-04-07 | 2013-07-10 | 武汉天喻信息产业股份有限公司 | Method and device for testing data integrity protection |
WO2014161373A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | System fault detection and processing method, device, and computer readable storage medium |
JP2016066214A (en) * | 2014-09-24 | 2016-04-28 | キヤノン株式会社 | Log recording device, control method, and program |
JP2016122882A (en) * | 2014-12-24 | 2016-07-07 | キヤノン株式会社 | Information processing system, information processing apparatus, image processing server, control method of information processing apparatus, control method of image processing server, and program |
CN106959866A (en) * | 2016-01-08 | 2017-07-18 | 阿里巴巴集团控股有限公司 | A kind of log collection client and its upgrade method |
CN107992374A (en) * | 2016-10-26 | 2018-05-04 | 中兴通讯股份有限公司 | A kind of information processing method and device |
CN109472484A (en) * | 2018-11-01 | 2019-03-15 | 凌云光技术集团有限责任公司 | A kind of production process exception record method based on flow chart |
CN110908821A (en) * | 2019-11-08 | 2020-03-24 | 腾讯音乐娱乐科技(深圳)有限公司 | Method, device, equipment and storage medium for task failure management |
CN112073219A (en) * | 2020-08-13 | 2020-12-11 | 北京金山云网络技术有限公司 | Log collection system, log collection method, log collection device, and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11500854B2 (en) * | 2015-10-30 | 2022-11-15 | International Business Machines Corporation | Selective data synchronization to troubleshoot production environment failures |
-
2020
- 2020-12-28 CN CN202011581418.8A patent/CN112596941B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014161373A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | System fault detection and processing method, device, and computer readable storage medium |
CN103198017A (en) * | 2013-04-07 | 2013-07-10 | 武汉天喻信息产业股份有限公司 | Method and device for testing data integrity protection |
JP2016066214A (en) * | 2014-09-24 | 2016-04-28 | キヤノン株式会社 | Log recording device, control method, and program |
JP2016122882A (en) * | 2014-12-24 | 2016-07-07 | キヤノン株式会社 | Information processing system, information processing apparatus, image processing server, control method of information processing apparatus, control method of image processing server, and program |
CN106959866A (en) * | 2016-01-08 | 2017-07-18 | 阿里巴巴集团控股有限公司 | A kind of log collection client and its upgrade method |
CN107992374A (en) * | 2016-10-26 | 2018-05-04 | 中兴通讯股份有限公司 | A kind of information processing method and device |
CN109472484A (en) * | 2018-11-01 | 2019-03-15 | 凌云光技术集团有限责任公司 | A kind of production process exception record method based on flow chart |
CN110908821A (en) * | 2019-11-08 | 2020-03-24 | 腾讯音乐娱乐科技(深圳)有限公司 | Method, device, equipment and storage medium for task failure management |
CN112073219A (en) * | 2020-08-13 | 2020-12-11 | 北京金山云网络技术有限公司 | Log collection system, log collection method, log collection device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112596941A (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6333410B2 (en) | Fault processing method, related apparatus, and computer | |
CN109143954B (en) | System and method for realizing controller reset | |
WO2023115999A1 (en) | Device state monitoring method, apparatus, and device, and computer-readable storage medium | |
CN110704228B (en) | Solid state disk exception handling method and system | |
CN104935621A (en) | Remote monitoring system and remote monitoring method | |
CN104320308A (en) | Method and device for detecting anomalies of server | |
CN111414268A (en) | Fault processing method and device and server | |
CN105183575A (en) | Processor fault diagnosis method, device and system | |
CN112199240A (en) | Method for switching nodes during node failure and related equipment | |
WO2023065601A1 (en) | Server component self-test anomaly recovery method and device, system, and medium | |
CN112596941B (en) | Tool result judging method and device of industrial image processing software | |
CN111124818B (en) | Monitoring method, device and equipment for Expander | |
CN112015600A (en) | Log information processing system, log information processing method and device and switch | |
CN111858187A (en) | Electronic equipment and service switching method and device | |
CN114884836A (en) | High-availability method, device and medium for virtual machine | |
CN115599617A (en) | Bus detection method and device, server and electronic equipment | |
CN114374627A (en) | Method, device and system for restarting baseboard management controller and server | |
CN111090491B (en) | Virtual machine task state recovery method and device and electronic equipment | |
CN106610878A (en) | Fault debugging method for dual-controller system | |
CN114189429B (en) | Monitoring system, method, device and medium for server cluster faults | |
JP2020155008A (en) | Control method, information processing apparatus, and control program | |
EP4068015A1 (en) | Controller and control method | |
CN114978891B (en) | Processing method, device and storage medium for BIOS configuration of network device | |
TWI823556B (en) | Memory abnormality detection system, motherboard, electronic device and abnormality detection method | |
CN117555711A (en) | Virtual machine management method and device, cloud computing platform and 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 |