IP Library Granted Patent US 10,127,208
Granted Patent B2
US 10,127,208 · App. 14/590,275 · Granted Nov 13, 2018

Document conversion device, document conversion method, and recording medium

Inventor: Shogo Ohyama (Yokohama, JP)
Assignee: FUJITSU LIMITED
G06F17/2264G06F17/2241G06F17/2247G06F17/30011G06F17/30914G06Q10/10
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 10,127,208
App. No.
14/590,275
Granted
Nov 13, 2018
Kind
B2
Abstract

A non-transitory computer-readable recording medium has stored therein a document conversion program converting a first document into a second document that causes a computer to execute a process. The process includes: detecting a first document item in the first document that corresponds to a second document item in the second document that has a child document item in the second document based on a hierarchical document that includes a hierarchical relationship information among document items in the second document, and dividing a content of the first document item; relating the divided content of the first document item to the child document item; and converting the first document into the second document by using the related divided content and the child document item.

Claims (25)

1. A non-transitory computer-readable recording medium having stored therein a document conversion program converting a first document into a second document that causes a computer to execute a process comprising:

detecting a first document item in the first document that corresponds to a second document item in the second document that has a child document item in the second document based on a hierarchical document that includes a hierarchical relationship information among document items in the second document, and dividing a content of the first document item in accordance with a data type, restriction information, and nil-value allowance information of the child document item of the second document item that corresponds to the first document item and that is in the second document;

relating the divided content of the first document item to the child document item; and

converting the first document into the second document by using the related divided content and the child document item, wherein

the dividing includes dividing the content of the first document item in accordance with a data type of a child document item of a document item that corresponds to the first document item and that is in the second document, wherein

the dividing includes, if it is determined that the data type is a string type, determining whether a document item value includes a string that matches an arbitrary string that is defined in the auxiliary information, and, if it is determined that the data type is not the string type, extracting, from the document item value, a string that matches the data type, and

the arbitrary string means a candidate of an expected value that needs to be extracted from the document item value on the basis of an eXtensible Business Reporting Language (XBRL) element.

2. The non-transitory computer-readable recording medium according to claim 1 , wherein the dividing includes, when a content of the first document item includes a string that is unnecessary as a content to be related to a child document item, deleting the unnecessary string from the content of the first document item.

3. The non-transitory computer-readable recording medium according to claim 1 , wherein the dividing includes, when a data type of a child document item of a document item that corresponds to the first document item and that is in the second document is a string type and, when a content of the first document item includes a string that is identical with a specific string that is previously defined and that corresponds to a child document item, extracting the identical string from the content of the first document item and determining that the extracted string is a divided content.

4. The non-transitory computer-readable recording medium according to claim 3 , wherein the dividing includes, when a content of the first document item does not include a string that is identical with a specific string that is previously defined and that corresponds to a child document item and, when the content of the first document item include a delimiter character or a space character, determining that a string from a beginning of the content of the first document item to before the delimiter character or the space character is a divided content.

5. A document conversion device comprising:

a processor that executes a process converting a first document into a second document, the process including:

detecting a first document item in the first document that corresponds to a second document item in the second document that has a child document item in the second document based on a hierarchical document that includes a hierarchical relationship information among document items in the second document, and dividing a content of the first document item in accordance with a data type, restriction information, and nil-value allowance information of the child document item of the second document item that corresponds to the first document item and that is in the second document;

relating the divided content of the first document item to the child document item; and

converting the first document into the second document by using the related divided content and the child document item, wherein

the dividing includes dividing the content of the first document item in accordance with a data type of a child document item of a document item that corresponds to the first document item and that is in the second document, wherein

the dividing includes, if it is determined that the data type is a string type, determining whether a document item value includes a string that matches an arbitrary string that is defined in the auxiliary information, and, if it is determined that the data type is not the string type, extracting, from the document item value, a string that matches the data type, and

the arbitrary string means a candidate of an expected value that needs to be extracted from the document item value on the basis of an eXtensible Business Reporting Language (XBRL) element.

6. A document conversion method converting a first document into a second document, the document conversion method comprising:

detecting a first document item in the first document that corresponds to a second document item in the second document that has a child document item in the second document based on a hierarchical document that includes a hierarchical relationship information among document items in the second document, and dividing a content of the first document item in accordance with a data type, restriction information, and nil-value allowance information of the child document item of the second document item that corresponds to the first document item and that is in the second document, by a processor;

relating the divided content of the first document item to the child document item by the processor; and

converting the first document into the second document by using the related divided content and the child document item by the processor, wherein

the dividing includes dividing the content of the first document item in accordance with a data type of a child document item of a document item that corresponds to the first document item and that is in the second document, wherein

the dividing includes, if it is determined that the data type is a string type, determining whether a document item value includes a string that matches an arbitrary string that is defined in the auxiliary information, and, if it is determined that the data type is not the string type, extracting, from the document item value, a string that matches the data type, and

the arbitrary string means a candidate of an expected value that needs to be extracted from the document item value on the basis of an eXtensible Business Reporting Language (XBRL) element.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 7, 2015
From: OHYAMA, SHOGO
To: FUJITSU LIMITED
Reel/Frame 034731/0953 →
Continuity (2)
Continuation PCTJP2012067870 · Jul 12, 2012
Related Publication 20150120769A1 · Apr 30, 2015