CN110673874B - Method, storage medium, and apparatus for changing configuration of wizard programming software - Google Patents
Method, storage medium, and apparatus for changing configuration of wizard programming software Download PDFInfo
- Publication number
- CN110673874B CN110673874B CN201910860402.1A CN201910860402A CN110673874B CN 110673874 B CN110673874 B CN 110673874B CN 201910860402 A CN201910860402 A CN 201910860402A CN 110673874 B CN110673874 B CN 110673874B
- Authority
- CN
- China
- Prior art keywords
- project
- module
- configuration
- implemented
- editing
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- 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
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method for changing configuration of guide type programming software, which comprises the following steps: providing a plurality of editing modules by the guide programming software; comparing the functional requirements of the project to be implemented with the existing project; acquiring configuration information of an item to be implemented through a guide configuration module; changing the editing module through the guide configuration module; and generating a running file. The invention also relates to a computer readable storage medium and an electronic device. The invention obtains the distinguishing module of the existing project and the to-be-implemented project of the guide programming software by comparing the functional requirements of the to-be-implemented project and the existing project, and generates the operation file of the to-be-implemented project by configuring the distinguishing module through the guide configuration module; the invention does not need to re-create a new project, only needs to modify part of the modules by the guide configuration module on the basis of the existing project, not only shortens the period of creating the machine vision project, saves time, but also reduces the research and development cost.
Description
Technical Field
The present invention relates to the field of machine vision, and more particularly to a method for changing configuration of wizard-type programming software.
Background
Machine vision is a branch of the rapid development of artificial intelligence. In short, machine vision is to use a machine instead of a human eye to make measurements and decisions. The machine vision system converts the shot object into an image signal through a machine vision product, transmits the image signal to a special image processing system, obtains the form information of the shot object, and converts the form information into a digital signal according to the pixel distribution, the brightness, the color and other information; the image system performs various operations on these signals to extract characteristics of the object, and further controls the operation of the on-site device according to the result of the discrimination.
Generally, a machine vision project needs multiple measurement tests, and an ideal result can be obtained by modifying individual parameters, but generally, a machine vision project needs to be generated in one measurement test, which is time-consuming and labor-consuming, and prolongs the development period.
Disclosure of Invention
To overcome the deficiencies of the prior art, the present invention provides a method for changing a configuration of wizard programming software. According to the invention, the guide is added on the basis of the existing machine vision project, only part units and unit parameters are required to be modified through the guide, and a new machine vision project is not required to be created again.
The invention provides a method for changing configuration of guide type programming software, which comprises the following steps:
providing a plurality of editing modules for the guide type programming software, wherein the editing modules comprise at least one layer of two-dimensional or three-dimensional function definition modules, a sequence definition connection module and a parameter setting module of the function definition module;
step two, comparing the functional requirements of the project to be implemented and the existing project;
thirdly, acquiring configuration information of the project to be implemented by a guide configuration module, wherein the configuration information of the project to be implemented comprises at least one piece of information which is different from the editing module of the existing project;
a fourth step of changing the editing module by the guide configuration module, including any one of adding, changing, or reducing the editing module;
and fifthly, generating an operation file, generating the operation file of the project to be implemented and storing the operation file as a new project.
Preferably, the function definition module comprises at least one of an event triggering unit, a logic control unit, a data processing unit and a display data unit.
Preferably, in the third step, further comprising: the guide configuration module matches the information of the editing module of the existing project according to the acquired configuration information of the project to be implemented, and changes and configures the matched editing module of the existing project.
Preferably, the guide configuration module includes: a text tool, a configuration tool, and a layout tool; the text tool comprises text information for configuring the item to be implemented; the configuration tool comprises the steps of acquiring all unit information of the existing project and carrying out parameter configuration on the new unit of the project to be implemented.
Preferably, the configuration guidance step further includes: and configuring the input and the output of the new unit, and establishing a data link between the input or the output of the new unit and the unit of the existing project.
Preferably, the order definition connection module sets a required connection order for the editing module in the project to be implemented, so that the editing module in the project to be implemented operates according to the connection order.
Preferably, the configuration completion of the item to be implemented is saved as a new item, and the new item is used as an existing item of the next item to be implemented.
Preferably, in the second step, further comprising: comparing the editing module of the project to be implemented with the editing module of the existing project and determining a distinguishing module of the editing module and the editing module of the existing project, so that the guide configuration module matches the distinguishing module in the existing project.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by a processor, the program comprising instructions for performing the method of claim 1.
A computer readable storage medium having stored thereon a computer program for executing the method of claim 1 by a processor.
Compared with the prior art, the invention has the beneficial effects that:
the invention obtains the distinguishing module of the existing project and the to-be-implemented project of the guide programming software by comparing the functional requirements of the to-be-implemented project and the existing project, and generates the operation file of the to-be-implemented project by configuring the distinguishing module through the guide configuration module; the invention does not need to re-create a new project, only needs to modify part of the modules by the guide configuration module on the basis of the existing project, not only shortens the period of creating the machine vision project, saves time, but also reduces the research and development cost.
The foregoing description is only an overview of the present invention, and is intended to provide a better understanding of the present invention, as it is embodied in the following description, with reference to the preferred embodiments of the present invention and the accompanying drawings. Specific embodiments of the present invention are given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic overall structure of a method for changing configuration of wizard programming software according to the present invention;
FIG. 2 is a schematic diagram of a machine vision existing project of a method for changing configuration of wizard programming software of the present invention;
FIG. 3 is a diagram of a wizard configuration of a method for changing a configuration of wizard programming software of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and detailed description, wherein it is to be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
A method for changing a configuration of wizard programming software, as shown in fig. 1-3, comprising the steps of:
in the first step, the wizard programming software provides a plurality of editing modules, wherein the editing modules comprise at least one layer of two-dimensional or three-dimensional function definition modules, a sequence definition connection module and a parameter setting module of the function definition module. In one embodiment, the function definition module includes at least one of an event trigger unit, a logic control unit, a data processing unit, and a display data unit. In particular, the method comprises the steps of,
1) The event triggering unit comprises a plurality of triggering types, such as timing triggering, a TCP scanning event, namely, scanning a value in an address appointed by TCP, triggering when a set condition is met, namely, loading event, namely, binding a hardware input point position, triggering when the bound input point position receives a signal, triggering when a signal event, namely, set signal is generated, and the like.
2) The logic control unit is used for controlling the operations of the hardware, such as actions, movements, photographing, communication and the like.
3) The data processing unit is used for processing and calculating the picture, extracting circles and line segments, calculating distance, area and the like, and judging whether the picture is qualified or not.
4) And the display data unit is used for editing and displaying the data.
Further, before the configuration information, the visual detection device needs to be connected with software, connect with the hardware device, add the required hardware device type to the hardware device list area through mouse dragging, match the hardware device ID and configure the related parameters of the hardware device. And dragging the hardware devices added to the hardware device list to a manual interface area and manually debugging the hardware devices to determine whether the hardware devices are successfully added.
Specifically, the connection module defines the connection sequence required by the editing module in the project to be implemented, so that the editing module in the project to be implemented operates according to the connection sequence. In this embodiment, the order definition connection module changes the order of the editing modules according to the configuration requirement of the item to be implemented, and the changed order of the editing modules is the operation order of the editing modules of the item to be implemented.
The sequential change of each module of the editing module is a change of data input/output between each module.
And secondly, comparing the functional requirements of the project to be implemented with those of the existing project. In one embodiment, comparing the functional requirements of the item to be implemented with the existing item, specifically comparing the editing module of the item to be implemented with the editing module of the existing item and determining a distinguishing module of the editing module of the item to be implemented and the editing module of the existing item, so that the guide configuration module matches the distinguishing module in the existing item; and more specifically, comparing the submodules of the editing module of the project to be implemented with the parameters of the submodules.
Thirdly, acquiring configuration information of the project to be implemented by a guide configuration module, wherein the configuration information of the project to be implemented comprises at least one piece of information which is different from the editing module of the existing project; the guide configuration module matches the information of the editing module of the existing project according to the acquired configuration information of the project to be implemented, and changes and configures the matched editing module of the existing project. In one embodiment, the comparison in the second step is used to obtain the distinguishing modules, the number of the distinguishing modules is at least one, the guiding configuration module is used to match the distinguishing modules in the existing project, and the distinguishing modules are configured, preferably to complete the configuration of the project to be implemented. The hardware equipment in the scene is visual detection equipment, for example, products are required to be detected at present, detected items comprise surface scratches and the like, a plurality of products are required to be detected on a workbench, and the equipment is not easy to detect when the surfaces of some slight products are scratched. In the above scenario, the visual inspection apparatus may need multiple trials, that is, each trial needs to be improved on the basis of the previous project, and the module that needs to be improved is configured by the wizard configuration module to generate a new project to be implemented, without re-establishing the project. For multiple trials, individual parameter modifications will generally always be made on the basis of the previous trial, but it will take longer and more effort to recreate one item at a time. The method comprises the steps of improving on the basis of an existing item, namely matching to the existing item closest to the item to be implemented, selecting one or more units in the existing item, and modifying unit parameters; as shown in fig. 2 and 3, for example, one existing item includes four units and corresponding unit parameters. Configuring a unit to be regulated through a guide configuration module for each test to form a new project; the method not only shortens the period of creating the machine vision project and saves time, but also reduces the research and development cost.
And step four, changing the editing module through the guide configuration module, wherein the step four comprises any one of adding, changing or reducing the editing module. The wizard configuration module comprises: a text tool, a configuration tool, and a layout tool; the text tool comprises text information for configuring the item to be implemented; the configuration tool comprises the steps of acquiring all unit information of the existing project and carrying out parameter configuration on the new unit of the project to be implemented. The configuration guidance step further includes: and configuring the input and the output of the new unit, and establishing a data link between the input or the output of the new unit and the unit of the existing project. In one embodiment, the distinguishing module obtained in the third step is configured, and the content of the configuration includes any one of adding a new module, editing a module, or deleting a module. The distinguishing module is configured by a configuration tool, and the text tool is used for configuring text information, such as a version number and a name of the guide configuration module, for the guide configuration module. The layout tool is used for matching the design interface of the opposite direction configuration module. In this embodiment, as shown in fig. 2 and 3, the configuration of the guide configuration module includes adding new units, where the number of new units is greater than or equal to one, for example, two units of the second unit and the third unit in the four units of the existing project need to be modified, and in the process of configuring the guide configuration module, adding new unit 1 and using tool 1, that is, a text tool, to make text marking on the guide itself, such as version number of the guide and some other basic information; adding a new unit 2 and configuring the guide by using a tool 2, namely a configuration tool, wherein the configuration tool comprises the steps of acquiring all unit information of the existing project, configuring parameters of the new unit of the project to be implemented, selecting a unit needing to be modified in an existing project list, and modifying unit parameters of the unit; continuing to add new unit 3 configures the unit to be configured. In addition, in the process of guiding configuration, the corresponding tool and the new unit are dragged to the visual interface by a dragging mode to configure the newly added unit, the speed of item configuration is increased by the dragging mode, the configuration period is shortened, and the cost is saved.
And fifthly, generating an operation file, generating the operation file of the project to be implemented and storing the operation file as a new project. And the configuration of the project to be implemented is completed and stored as a new project, and the new project is used as an existing project of the next project to be implemented. In one embodiment, the new element added to the guide matches one or more of the modules in the existing item, and the new item generated can also be the existing item for the next item. The step of clearly seeing the guide configuration when the guide is used as the existing project to modify and configure can provide effective data for the next new guide configuration, and the project generation efficiency is improved.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by a processor, the program comprising instructions for performing the method of claim 1.
A computer readable storage medium having stored thereon a computer program for executing the method of claim 1 by a processor.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way; those skilled in the art can smoothly practice the invention as shown in the drawings and described above; however, those skilled in the art will appreciate that many modifications, adaptations, and variations of the present invention are possible in light of the above teachings without departing from the scope of the invention; meanwhile, any equivalent changes, modifications and evolution of the above embodiments according to the essential technology of the present invention still fall within the scope of the present invention.
Claims (9)
1. A method for changing a configuration of wizard programming software, comprising the steps of:
providing a plurality of editing modules for the guide type programming software, wherein the editing modules comprise at least one layer of two-dimensional or three-dimensional function definition modules, a sequence definition connection module and a parameter setting module of the function definition module;
step two, comparing the functional requirements of the project to be implemented and the existing project;
thirdly, acquiring configuration information of the project to be implemented by a guide configuration module, wherein the configuration information of the project to be implemented comprises at least one piece of information which is different from the editing module of the existing project;
a fourth step of changing the editing module by the guide configuration module, including any one of adding, changing, or reducing the editing module;
fifthly, generating an operation file of the project to be implemented and storing the operation file as a new project;
the third step further comprises: the guide configuration module matches the information of the editing module of the existing project according to the acquired configuration information of the project to be implemented, and changes and configures the matched editing module of the existing project.
2. The method for changing a configuration of wizard programming software according to claim 1, wherein said function definition module comprises at least one of an event trigger unit, a logic control unit, a data processing unit, a display data unit.
3. The method for changing a configuration of wizard programming software of claim 1, wherein said wizard configuration module comprises: a text tool, a configuration tool, and a layout tool; the text tool comprises text information for configuring the item to be implemented; the configuration tool comprises the steps of acquiring all unit information of the existing project and carrying out parameter configuration on the new unit of the project to be implemented.
4. The method for changing a configuration of wizard programming software according to claim 1, further comprising in a fourth step: and configuring the input and the output of a new unit, and establishing a data link between the input or the output of the new unit and the unit of the existing project.
5. The method for changing configuration of guided programming software according to claim 1 or 2, wherein a connection order required by the editing module in the item to be implemented is set by the order definition connection module so that the editing module in the item to be implemented operates in the connection order.
6. A method for changing configuration of wizard programming software according to claim 1 or 2, wherein the configuration completion of an item to be implemented is saved as a new item as an existing item for the next item to be implemented.
7. The method for changing a configuration of wizard programming software according to claim 1 or 2, further comprising in a second step: comparing the editing module of the project to be implemented with the editing module of the existing project and determining a distinguishing module of the editing module and the editing module of the existing project, so that the guide configuration module matches the distinguishing module in the existing project.
8. An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by a processor, the program comprising instructions for performing the method of claim 1.
9. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program is executed by a processor to perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860402.1A CN110673874B (en) | 2019-09-11 | 2019-09-11 | Method, storage medium, and apparatus for changing configuration of wizard programming software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860402.1A CN110673874B (en) | 2019-09-11 | 2019-09-11 | Method, storage medium, and apparatus for changing configuration of wizard programming software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110673874A CN110673874A (en) | 2020-01-10 |
CN110673874B true CN110673874B (en) | 2023-06-13 |
Family
ID=69077745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910860402.1A Active CN110673874B (en) | 2019-09-11 | 2019-09-11 | Method, storage medium, and apparatus for changing configuration of wizard programming software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110673874B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112685028A (en) * | 2020-12-29 | 2021-04-20 | 苏州德创测控科技有限公司 | Visual programming method and device for machine vision and storage medium |
CN115412452B (en) * | 2022-08-19 | 2024-09-03 | 浪潮网络科技(山东)有限公司 | Configuration navigation method, device and medium based on physical layer Fabric scene |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725177A (en) * | 2004-07-21 | 2006-01-25 | 中国科学院软件研究所 | Built-in equipment integrated development system and using method thereof |
CN106463095A (en) * | 2014-06-11 | 2017-02-22 | 三菱电机株式会社 | Screen drawing software |
CN106559438A (en) * | 2015-09-24 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of program method for uploading and device based on objective network platform |
CN109634570A (en) * | 2018-12-15 | 2019-04-16 | 中国平安人寿保险股份有限公司 | Front and back end integrated development method, device, equipment and computer readable storage medium |
CN109669914A (en) * | 2018-11-15 | 2019-04-23 | 深圳壹账通智能科技有限公司 | Item file storage method, device, equipment and computer readable storage medium |
CN110069249A (en) * | 2019-04-18 | 2019-07-30 | 郑子涵 | A kind of software development and tutoring system and electronic equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6877989B2 (en) * | 2002-02-15 | 2005-04-12 | Psychological Dataccorporation | Computer program for generating educational and psychological test items |
EP1546870A2 (en) * | 2002-06-03 | 2005-06-29 | Siemens Energy & Automation, Inc. | A wizard for programming an intelligent module |
US9996241B2 (en) * | 2011-10-11 | 2018-06-12 | Microsoft Technology Licensing, Llc | Interactive visualization of multiple software functionality content items |
DE102014210854A1 (en) * | 2014-06-06 | 2015-12-17 | Oliver Rode | A computer-implemented method and signal sequence for a program for reusing executable software configurations for software systems, as well as a computer system and a computer program with program code for performing the method |
CN105718271A (en) * | 2016-02-15 | 2016-06-29 | 福州觉感视觉软件科技有限公司 | Machine vision intelligent detection system |
CN108182062A (en) * | 2017-12-12 | 2018-06-19 | 上海葡萄纬度科技有限公司 | A kind of method and system reversely programmed |
CN108594746B (en) * | 2018-03-21 | 2019-11-12 | 珠海优特电力科技股份有限公司 | Visual programming control system and method, apparatus |
CN110096268A (en) * | 2019-04-26 | 2019-08-06 | 北京知感科技有限公司 | By the system and method for the executable program of the VR/AR/MR device secondary editor of stateization living |
-
2019
- 2019-09-11 CN CN201910860402.1A patent/CN110673874B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725177A (en) * | 2004-07-21 | 2006-01-25 | 中国科学院软件研究所 | Built-in equipment integrated development system and using method thereof |
CN106463095A (en) * | 2014-06-11 | 2017-02-22 | 三菱电机株式会社 | Screen drawing software |
CN106559438A (en) * | 2015-09-24 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of program method for uploading and device based on objective network platform |
CN109669914A (en) * | 2018-11-15 | 2019-04-23 | 深圳壹账通智能科技有限公司 | Item file storage method, device, equipment and computer readable storage medium |
CN109634570A (en) * | 2018-12-15 | 2019-04-16 | 中国平安人寿保险股份有限公司 | Front and back end integrated development method, device, equipment and computer readable storage medium |
CN110069249A (en) * | 2019-04-18 | 2019-07-30 | 郑子涵 | A kind of software development and tutoring system and electronic equipment |
Non-Patent Citations (1)
Title |
---|
多种探空仪数据处理显示软件设计;胡旭东;《成都信息工程学院学报》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110673874A (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11092966B2 (en) | Building an artificial-intelligence system for an autonomous vehicle | |
CN111986178A (en) | Product defect detection method and device, electronic equipment and storage medium | |
CN110673874B (en) | Method, storage medium, and apparatus for changing configuration of wizard programming software | |
US20180286030A1 (en) | System and method for testing an electronic device | |
CN112149694B (en) | Image processing method, system, storage medium and terminal based on convolutional neural network pooling module | |
US9582620B1 (en) | Method and system for automated refined exclusion of entities from a metric driven verification analysis score | |
US10459348B2 (en) | System and method of inspecting device under test, and method of manufacturing semiconductor device | |
CN110756462B (en) | Power adapter test method, device, system, control device and storage medium | |
US20190236813A1 (en) | Information processing apparatus, information processing program, and information processing method | |
CN109471805A (en) | Resource testing method and device, storage medium, electronic equipment | |
CN110704044A (en) | Visual programming system | |
CN113934630A (en) | Software testing method, device, equipment and medium based on image recognition | |
AU2017208235A1 (en) | Relative position encoding based networks for action recognition | |
US11941519B2 (en) | Machine learning training platform | |
US12045930B2 (en) | Computing device and method for generating realistic synthetic image data | |
BE1029597A1 (en) | Image processing systems and methods for automatically generating one or more image processing orders based on regions of interest (ROIs) of digital images | |
CN104390982A (en) | Test method for SMT first article inspection | |
CN117218104A (en) | Appearance detection method and system for electronic detonator module, storage medium and electronic equipment | |
CN108021353B (en) | Device, method, equipment and storage medium for generating description document of software product | |
CN114359586B (en) | Multi-modal target detection method and system suitable for modal loss | |
CN113033485B (en) | Method and device for detecting key points | |
CN113495844B (en) | Automatic testing method, device and system based on virtual click and storage medium | |
CN108495125A (en) | A kind of camera module test method, equipment and medium | |
CN115631374A (en) | Control operation method, control detection model training method, device and equipment | |
CN106446902B (en) | non-character image recognition method and device |
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 |