# US 2019/0317946 A1 · Metadata processing method, information processing apparatus, and recording medium recording metadata processing program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317946 A1
- Document ID: US20190317946A1
- Status: Published application
- Kind: A1
- Application number: 16/451,618
- Filed: 2019-06-25
- Published: 2019-10-17
- Earliest claimed: 2017-01-10
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Shinichiro Tago; Fumihito NISHINO
- Web page: https://patentgrep.com/patent/US20190317946A1

## CPC

- G06F 16/258: {Data format conversion from or to a database}
- G06F 8/00: Arrangements for software engineering (testing or debugging G06F11/36; administrative, planning or organisation aspects of software project management G06Q10/06)
- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F 16/284: {Relational databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A non-transitory computer-readable recording medium having stores therein a metadata processing program for causing a computer to execute a process including: extracting, based on comparison between a first input item name of first input data and a first output item name of first output data, an element other than an element included in both of the first input item name and the first output item name; and generating, when the extracted element and an argument of a program which generates the first output data from the first input data include an element related to a first input item value of the first input data, metadata in which the element related to the first input item value in the extracted element is transformed into a variable.

## Claims

### Claim 1

A non-transitory computer-readable recording medium having stored therein a metadata processing program for causing a computer to execute a process comprising:
extracting, based on comparison between a first input item name of first input data and a first output item name of first output data, an element other than an element included in both of the first input item name and the first output item name; and
generating, when the extracted element and an argument of a program which generates the first output data from the first input data include an element related to a first input item value of the first input data, metadata in which the element related to the first input item value in the extracted element is transformed into a variable.

### Claim 2 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
in the generating the metadata,
the metadata in which the element related to the first input item value in the extracted element is transformed into a variable, and the element included in both of the first input item name and the first output item name is transformed into a variable is generated.

### Claim 3 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein the process further includes:
extracting, based on comparison between a second input item name of second input data and a specified item name, an element other than an element included in both of the second input item name and the specified item name;
generating, when the extracted element includes an element related to a second input item value of the second input data, template data in which the element related to the second input item value in the extracted element is transformed into a variable;
rearranging columns of the second input data based on a correspondence relationship between elements included in the metadata and elements included in the template data; and
executing the program with the second input data of which the columns are rearranged as an input to generate second output data.

### Claim 4 (depends on 3)

The non-transitory computer-readable recording medium according to claim 3, wherein
in the rearranging the columns of the second input data,
item names included in the template data are rearranged such that a format of the metadata matches a format of the template data, and the columns of the second input data are rearranged on the basis of a correspondence relationship between the elements included in the metadata and the elements included in the template data of which the item names are rearranged,
wherein the processing further includes executing the same rearrangement as rearrangement when restoring an arrangement of the item names included in the template data to an original arrangement, with respect to the columns of the second output data.

### Claim 5

A metadata processing method comprising:
extracting, by a computer, based on comparison between a first input item name of first input data and a first output item name of first output data, an element other than an element included in both of the first input item name and the first output item name; and
generating, when the extracted element and an argument of a program which generates the first output data from the first input data include an element related to a first input item value of the first input data, metadata in which the element related to the first input item value in the extracted element is transformed into a variable.

### Claim 6 (depends on 5)

The metadata processing method according to claim 5, wherein
in the generating the metadata,
the metadata in which the element related to the first input item value in the extracted element is transformed into a variable, and the element included in both of the first input item name and the first output item name is transformed into a variable is generated.

### Claim 7 (depends on 5)

The metadata processing method according to claim 5, further comprising:
extracting, based on comparison between a second input item name of second input data and a specified item name, an element other than an element included in both of the second input item name and the specified item name;
generating, when the extracted element includes an element related to a second input item value of the second input data, template data in which the element related to the second input item value in the extracted element is transformed into a variable;
rearranging columns of the second input data based on a correspondence relationship between elements included in the metadata and elements included in the template data; and
executing the program with the second input data of which the columns are rearranged as an input to generate second output data.

### Claim 8 (depends on 7)

The metadata processing method according to claim 7, wherein
in the rearranging the columns of the second input data,
item names included in the template data are rearranged such that a format of the metadata matches a format of the template data, and the columns of the second input data are rearranged on the basis of a correspondence relationship between the elements included in the metadata and the elements included in the template data of which the item names are rearranged,
wherein the method further includes executing the same rearrangement as rearrangement when restoring an arrangement of the item names included in the template data to an original arrangement, with respect to the columns of the second output data.

### Claim 9

An information processing apparatus comprising:
a memory; and
a processor coupled to the memory and configured to execute a process of:
extracting, based on comparison between a first input item name of first input data and a first output item name of first output data, an element other than an element included in both of the first input item name and the first output item name; and
generating, when the extracted element and an argument of a program which generates the first output data from the first input data include an element related to a first input item value of the first input data, metadata in which the element related to the first input item value in the extracted element is transformed into a variable.

### Claim 10 (depends on 9)

The information processing apparatus according to claim 9, wherein
in the generating the metadata,
the metadata in which the element related to the first input item value in the extracted element is transformed into a variable, and the element included in both of the first input item name and the first output item name is transformed into a variable is generated.

### Claim 11 (depends on 9)

The information processing apparatus according to claim 9, wherein the process further includes:
extracting, based on comparison between a second input item name of second input data and a specified item name, an element other than an element included in both of the second input item name and the specified item name;
generating, when the extracted element includes an element related to a second input item value of the second input data, template data in which the element related to the second input item value in the extracted element is transformed into a variable;
rearranging columns of the second input data based on a correspondence relationship between elements included in the metadata and elements included in the template data; and
executing the program with the second input data of which the columns are rearranged as an input to generate second output data.

### Claim 12 (depends on 11)

The information processing apparatus according to claim 11, wherein
in the rearranging the columns of the second input data,
item names included in the template data are rearranged such that a format of the metadata matches a format of the template data, and the columns of the second input data are rearranged on the basis of a correspondence relationship between the elements included in the metadata and the elements included in the template data of which the item names are rearranged,
wherein the processing further includes executing the same rearrangement as rearrangement when restoring an arrangement of the item names included in the template data to an original arrangement, with respect to the columns of the second output data.
