Control system, control device, coupling method, and computer program
First Claim
Patent Images
1. A control system comprising:
- a first database configured to store records, each record comprising data and a time stamp; and
a control device comprising;
a second database configured to store records, each record comprising data and a time stamp; and
a processor configured with a program to perform operations comprising;
operation as a creation unit configured to create a common query comprising a designated time range for retrieving records from the first database and the second database having time stamps within the designated time range, and a designated time stamp accuracy value;
operation as a query parser configured to analyze the common query and create;
a first individual query addressed to the first database; and
a second individual query addressed to the second database;
operation as a transmission unit configured to transmit the first individual query to the first database and the second individual query to the second database; and
operation as a coupling unit configured to generate a coupled table comprising records in which data of records returned from the first database within the designated time range and data of records returned from the second database within the designated time range are coupled, each record of the coupled table comprising a common time stamp of the designated time stamp accuracy value, wherein at least one of;
time stamps of the records returned from the first database in response to the first individual query; and
time stamps of the records returned from the second database in response to the second individual query are processed based on the designated time stamp accuracy value of the common query.
1 Assignment
0 Petitions
Accused Products
Abstract
An item for designating a time stamp accuracy is added to an inquiry syntax of a query. At the time of table coupling, a query designating the desired accuracy in the item is transmitted. This query is analyzed by a query parser, and individual queries are created for each database targeted for inquiry and transmitted. At the time of coupling acquired tables, the number of digits of the time stamps is adjusted to be the same in accordance with the designated accuracy, and the tables are coupled in chronological order of the time stamps.
35 Citations
16 Claims
-
1. A control system comprising:
-
a first database configured to store records, each record comprising data and a time stamp; and a control device comprising; a second database configured to store records, each record comprising data and a time stamp; and a processor configured with a program to perform operations comprising; operation as a creation unit configured to create a common query comprising a designated time range for retrieving records from the first database and the second database having time stamps within the designated time range, and a designated time stamp accuracy value; operation as a query parser configured to analyze the common query and create;
a first individual query addressed to the first database; and
a second individual query addressed to the second database;operation as a transmission unit configured to transmit the first individual query to the first database and the second individual query to the second database; and operation as a coupling unit configured to generate a coupled table comprising records in which data of records returned from the first database within the designated time range and data of records returned from the second database within the designated time range are coupled, each record of the coupled table comprising a common time stamp of the designated time stamp accuracy value, wherein at least one of;
time stamps of the records returned from the first database in response to the first individual query; and
time stamps of the records returned from the second database in response to the second individual query are processed based on the designated time stamp accuracy value of the common query. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A control device applicable to a control system comprising a first database configured to store records, each record comprising data and a time stamp and a second database configured to store records, each record comprising data and a time stamp, the control device comprising a processor configured with a program to perform operations comprising:
-
operation as a creation unit configured to create a common query comprising a designated time range for retrieving records from the first database and the second database having time stamps within the designated time range, and a designated time stamp accuracy value; operation as a query parser configured to analyze the common query and create;
a first individual query addressed to the first database; and
a second individual query addressed to the second database;operation as a transmission unit configured to transmit the first individual query to the first database and the second individual query to the second database; and
operation as a coupling unit configured to generate a coupled table comprising records in which data of records returned from the first database within the designated time range and data of records returned from the second database within the designated time range are coupled, each record of the coupled table comprising a common time stamp of the designated time stamp accuracy value, whereinat least one of;
time stamps of the records returned from the first database in response to the first individual query; and
time stamps of the records returned from the second database in response to the second individual query are processed based on the designated time stamp accuracy value of the common query. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A coupling method that is executed by a control device applicable to a control system comprising a first database configured to store records, each record comprising data and a time stamp, and a second database configured to store records, each record comprising data and a time stamp, the coupling method comprising:
-
creating a common query comprising a designated time range, for retrieving records from the first database and the second database having time stamps within the designated time range, and a designated time stamp accuracy value; analyzing the common query and creating a first individual query addressed to the first database and a second individual query addressed to the second database; transmitting the first individual query to the first database and the second individual query to the second database; and generating a coupled table comprising records in which data of records returned from the first database within the designated time range and data of records returned from the second database within the designated time range are coupled, each record of the coupled table comprising a common time stamp of the designated time stamp accuracy value, wherein at least one of;
time stamps of the records returned from the first database in response to the first individual query; and
time stamps of the records returned from the second database in response to the second individual query are processed based on the designated time stamp accuracy value of the common query. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A non-transitory computer-readable storage medium storing a computer program for causing a computer provided in a control device applicable to a control system comprising a first database configured to store records, each record comprising data and a time stamp, and a second database configured to store records, each record comprising data and a time stamp, to perform operations comprising:
-
creating a common query comprising a designated time range, for retrieving records from the first database and the second database having time stamps within the designated time range, and a designated time stamp accuracy value; analyzing the common query and creating a first individual query addressed to the first database and a second individual query addressed to the second database; transmitting the first individual query to the first database and the second individual query to the second database; and generating a coupled table comprising records in which data of records returned from the first database within the designated time range and data of records returned from the second database within the designated time range are coupled, each record of the coupled table comprising a common time stamp of the designated time stamp accuracy value, wherein at least one of;
time stamps of the records returned from the first database in response to the first individual query; and
time stamps of the records returned from the second database in response to the second individual query, are processed based on the designated time stamp accuracy value of the common query.
-
Specification