IP Library Granted Patent US 12,298,731
Granted Patent B2
US 12,298,731 · App. 17/434,836 · Granted May 13, 2025

Control system, information processing apparatus, and information processing program

Inventors: Tomonari Inui (Kusatsu, JP); Kotaro Okamura (Kusatsu, JP)
Assignee: OMRON CORPORATION
G05B19/056G06F16/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,298,731
App. No.
17/434,836
Granted
May 13, 2025
Kind
B2
Abstract

A control system includes a database configured to hold one or more tables, and a control apparatus configured to execute a control program and access the database. The control system acquires a number of columns of a table and a data type of each column, the table being selected from among the one or more tables. The control system defines a structure that includes a number of members corresponding to the acquired number of columns and that is available in the control program. The control system determines a data type of each member of the structure in correspondence with the acquired data type of each column.

Claims (37)

1. A control system for controlling a control target, the control system comprising:

a database configured to hold one or more tables;

a control apparatus comprising control circuitry configured to execute a control program and access the database via a network; and

processing circuitry communicatively coupled to the database and the control apparatus via the network and configured to implement at least:

an acquisition module configured to acquire a number of columns of a table and a data type of each column, the table being selected from among the one or more tables;

a setting module configured to define a structure including a number of members corresponding to the acquired number of columns, the structure being available in the control program; and

a determination module configured to determine a data type of each member of the structure in correspondence with the acquired data type of each column by referring to a data-type correspondence table that defines a correspondence between a data type of a column and a data type of a member,

wherein the determination module is configured to determine the data type of each member of the structure from among data types available in the control program, and

wherein the control program includes a first function block for executing an instruction to control access to the database, and in the first function block, each of a table name of the table and a variable for referring to entirety of the structure is set as an argument, and

wherein the control program includes a second function block for storing, in the control apparatus, data of a data type brought into correspondence with the data type of each column.

2. The control system according to claim 1 , wherein the determination module is configured to determine the data type of each member of the structure in accordance with selection by a user from among one or more candidates of a data type.

3. The control system according to claim 1 , wherein the determination module is configured to bring a table name of the selected table into correspondence as attribute information of a variable, the variable being used for referring to entirety of the structure.

4. The control system according to claim 1 , wherein the determination module is configured to bring a member name of each member of the structure into correspondence with a column name of each column.

5. The control system according to claim 1 , wherein the processing circuitry is further configured to implement a generation module configured to generate a program template for performing processing of adding, to a corresponding table, a record including values set for the respective members.

6. The control system according to claim 1 , further comprising an information processing apparatus configured to support development of the control program executed in the control apparatus,

wherein the information processing apparatus comprises the processing circuitry that is configured to implement the acquisition module, the setting module, and the determination module.

7. An information processing apparatus configured to support development of a control program executed in a control apparatus, the information processing apparatus comprising processing circuitry configured to implement at least:

acquisition module configured to acquire a number of columns of a table and a data type of each column, the table being selected from among one or more tables held by a database, the database being accessible to the control apparatus;

setting module configured to define a structure including a number of members corresponding to the acquired number of columns, the structure being available in the control program; and

determination module configured to determine a data type of each member of the structure in correspondence with the acquired data type of each column by referring to a data-type correspondence table that defines a correspondence between a data type of a column and a data type of a member,

wherein the determination module is configured to determine the data type of each member of the structure from among data types available in the control program,

wherein the control program includes a first function block for executing an instruction to control access to the database, and in the first function block, each of a table name of the table and a variable for referring to entirety of the structure is set as an argument, and

wherein the control program includes a second function block for storing, in the control apparatus, data of a data type brought into correspondence with the data type of each column.

8. The information processing apparatus according to claim 7 , wherein the determination module is configured to determine the data type of each member of the structure in accordance with selection by a user from among one or more candidates of a data type.

9. The information processing apparatus according to claim 7 , wherein the determination module is configured to bring a table name of the selected table into correspondence as attribute information of a variable, the variable being used for referring to entirety of the structure.

10. The information processing apparatus according to claim 7 , wherein the determination module is configured to bring a member name of each member of the structure into correspondence with a column name of each column.

11. A non-transitory computer-readable storage medium having stored thereon an executable information processing program for an information processing apparatus configured to support development of a control program executed in a control apparatus,

the information processing program, when executed by the information processing apparatus, causing the information processing apparatus to at least:

acquire a number of columns of a table and a data type of each column, the table being selected from among one or more tables held by a database, the database being accessible to the control apparatus;

define a structure including a number of members corresponding to the acquired number of columns, the structure being available in the control program; and

determine a data type of each member of the structure in correspondence with the acquired data type of each column by referring to a data-type correspondence table that defines a correspondence between a data type of a column and a data type of a member,

wherein the determining includes determining the data type of each member of the structure from among data types available in the control program,

wherein the control program includes a first function block for executing an instruction to control access to the database, and in the first function block, each of a table name of the table and a variable for referring to entirety of the structure is set as an argument, and

wherein the control program includes a second function block for storing, in the control apparatus, data of a data type brought into correspondence with the data type of each column.

12. The non-transitory computer-readable storage medium according to claim 11 , wherein the determining incudes determining the data type of each member of the structure in accordance with selection by a user from among one or more candidates of a data type.

13. The non-transitory computer-readable storage medium according to claim 11 , wherein the determining incudes bringing a table name of the selected table into correspondence as attribute information of a variable, the variable being used for referring to entirety of the structure.

14. The non-transitory computer-readable storage medium according to claim 11 , wherein determining incudes bringing a member name of each member of the structure into correspondence with a column name of each column.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2021
From: INUI, TOMONARI; OKAMURA, KOTARO
To: OMRON CORPORATION
Reel/Frame 058497/0130 →
Priority Claims (1)
JP 2019-042490 · Mar 8, 2019 · national
Continuity (1)
Related Publication 20220147010A1 · May 12, 2022
References Cited (37)
US 6598224B1 · Maeda et al. · 2003 [cited by applicant]
US 9727033B2 · Loncar · 2017 [cited by examiner]
US 11048217B2 · Schneider et al. · 2021 [cited by applicant]
US 20020133488A1 · Bellis et al. · 2002 [cited by applicant]
US 20040015470A1 · Smith et al. · 2004 [cited by applicant]
US 20040176864A1 · Cocco · 2004 [cited by examiner]
US 20040210631A1 · Asher et al. · 2004 [cited by applicant]
US 20080189240A1 · Mullins · 2008 [cited by examiner]
US 20100030801A1 · Takayama · 2010 [cited by examiner]
US 20150026635A1 · Gohr et al. · 2015 [cited by applicant]
US 20150254305A1 · Okamura et al. · 2015 [cited by applicant]
US 20150277415A1 · Senda · 2015 [cited by examiner]
US 20160291564A1 · Okamura · 2016 [cited by applicant]
US 20170003907A1 · Kunisada · 2017 [cited by examiner]
US 20170139884A1 · Bendig et al. · 2017 [cited by applicant]
US 20180341689A1 · Zhang · 2018 [cited by examiner]
US 20190188289A1 · Suzuki et al. · 2019 [cited by applicant]
US 20190286550A1 · Ohata · 2019 [cited by examiner]
US 20200142379A1 · Liu et al. · 2020 [cited by applicant]
US 20200183345A1 · Wang et al. · 2020 [cited by applicant]
CN 104395845A · 2015 [cited by applicant]
JP 10003303A · 1998 [cited by applicant]
JP 2000315167A · 2000 [cited by applicant]
JP 2006031214A · 2006 [cited by applicant]
JP 2016194808A · 2016 [cited by applicant]
WO 2013191275A1 · 2013 [cited by applicant]
Extended European Search Report issued Oct. 7, 2022 in European Application No. 20769408.4. [cited by applicant]
International Search Report for PCT/JP2020/005789 dated Mar. 10, 2020 [PCT/ISA/210]. [cited by applicant]
Written Opinion for PCT/JP2020/005789 dated Mar. 10, 2020 [PCT/ISA/237]. [cited by applicant]
Office Action issued Feb. 4, 2024 in Chinese Application No. 202080017521.1. [cited by applicant]
Office Action issued Apr. 1, 2024 in U.S. Appl. No. 17/837,268. [cited by applicant]
Communication dated Aug. 2, 2024 issued by the State Intellectual Property Office of the P.R.China in application No. 202080017521.1. [cited by applicant]
“Automatic generation of sqlacchemy table object model by sqlacodegen”, http://t.csdnimg.cn/yhzRS,dkjkls, Dec. 17, 2018, pp. 2-3 (2 pages total). [cited by applicant]
Communication dated Jul. 25, 2024 issued by the United States Patent and Trademark Office in U.S. Appl. No. 17/837,268. [cited by applicant]
Communication dated Dec. 19, 2024 from the United States Patent and Trademark Office for U.S. Appl. No. 17/837,268. [cited by applicant]
Hong Bo: “Humanities and Social Sciences Forum”, Yunnan University Press, Sep. 30, 2012, pp. 395-396. [cited by applicant]
Communication issued Mar. 12, 2025 in Chinese Application No. 202080017521.1. [cited by applicant]