Controller-Based SQL Table Generation for Factory Data Upload

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users without SQL expertise face difficulties in creating tables on databases for uploading data in factory automation systems, as they need to define column attributes and associate data items with columns, requiring complex preliminary settings.

Innovation Solution

A development tool that communicates with a controller to generate SQL statements for creating tables based on user-designated variables, data types, and identification names, allowing users to set primary keys and manage structural body members without formulating SQL statements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a user manually defines column attributes and associates data items with columns to create a database table, then the database structure becomes properly organized and reliable, but the complexity of the operation increases significantly and requires SQL expertise

Engineering Contradiction:
Improvedatabase structure organizationVSAvoidtable creation operation
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a development tool as an intermediary between the user and the database system. This tool automatically generates SQL statements based on user-friendly settings, mediating the complex SQL formulation process and presenting a simplified interface to users without SQL expertise.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system enables self-service by allowing users to configure table creation through simple settings in the development tool without needing to manually write or understand SQL statements. The tool automatically handles the complex tasks of generating proper SQL syntax and formatting based on user selections.

Inventive Principle:
Principle #25Self-service

2Manufacturing precision

If a user manually formulates SQL statements to create database tables, then precise control over table structure is achieved, but the time and expertise required for the process increases

Engineering Contradiction:
Improvetable structure definition precisionVSAvoidtime for preliminary settings
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having the development tool pre-generate and prepare SQL statements based on user settings before actual table creation. The tool performs the complex SQL formulation work in advance, allowing users to simply review and confirm the generated statements without manually writing them.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses copying by generating SQL statements as templates based on predefined patterns and user selections. Instead of requiring users to create unique SQL statements from scratch, the tool copies and adapts standard SQL structures to match the specific table requirements, significantly reducing the time and expertise needed.

Inventive Principle:
Principle #26Copying

3Ease of operation

If automatic generation of SQL statements is implemented, then ease of operation improves and SQL expertise is not required, but the device complexity increases due to the development tool

Engineering Contradiction:
Improvetable creation operationVSAvoiddevelopment tool structure
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The development tool is designed with multi-functionality, serving not only for table creation but also for variable designation, data type specification, and other database development tasks. This universal approach consolidates multiple functions into a single tool, making the added complexity worthwhile by providing comprehensive database development capabilities through one integrated system.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11281650B2Control system, controller, and control method
Publication Date: 2022.03.22 OMRON CORP
  • US11281650B2 patent drawing
  • US11281650B2 patent drawing
  • US11281650B2 patent drawing

AI summary

There has been desired a technique for creating a table on a database without formulating an SQL statement. A control system includes a development support device and a controller. The development support device includes a development tool configured to accept, as setting information, a setting that designates collection target variables from among variables included in a control program, and a setting that designates an identification name, on a database, of each collection target variable. The controller includes a generation module-configured to output an SQL statement for creating a table on the database, based on a data type and an identification name on the database, the identification name being specified in the setting information.