[go: up one dir, main page]

JP2010186325A - Structured document generation device, and program and recording medium therefor - Google Patents

Structured document generation device, and program and recording medium therefor Download PDF

Info

Publication number
JP2010186325A
JP2010186325A JP2009029982A JP2009029982A JP2010186325A JP 2010186325 A JP2010186325 A JP 2010186325A JP 2009029982 A JP2009029982 A JP 2009029982A JP 2009029982 A JP2009029982 A JP 2009029982A JP 2010186325 A JP2010186325 A JP 2010186325A
Authority
JP
Japan
Prior art keywords
document
parent
definition
child relationship
structured document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009029982A
Other languages
Japanese (ja)
Inventor
Hirofumi Morisada
裕文 森貞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pronexus Inc
Original Assignee
Pronexus Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pronexus Inc filed Critical Pronexus Inc
Priority to JP2009029982A priority Critical patent/JP2010186325A/en
Publication of JP2010186325A publication Critical patent/JP2010186325A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate the processing, for example, display and communication of business report format definition information including at least a vocabulary definition document defining the vocabulary of a business report and a parentage definition document defining inter-entry parentage included in the vocabulary. <P>SOLUTION: A structured document generation device 100 includes: a structured document generation part 111 for, on the basis of business report format definition information defining the format of a business report including a vocabulary definition document defining the vocabulary of the business report and a parentage definition document defining inter-entry parentage included in the vocabulary defined by the vocabulary definition document, defining entries included in the vocabulary defined by the vocabulary definition document as elements, and for generating a structured document having a nested structure expressing the parentage defined by the parentage definition document. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、事業報告の形式を定義する事業報告形式定義情報を処理する技術に関するものであり、特に、当該事業報告の語彙を定義する語彙定義文書と、該語彙定義文書により定義された語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを含む事業報告形式定義情報を処理する技術に関するものである。   The present invention relates to a technology for processing business report format definition information that defines a business report format, and in particular, to a vocabulary definition document that defines the vocabulary of the business report and a vocabulary defined by the vocabulary definition document. The present invention relates to a technology for processing business report format definition information including a parent-child relationship definition document that defines a parent-child relationship between included items.

近年、事業報告を電子化するための技術として、XBRL(非特許文献1参照)が注目されている。XBRLは、財務情報の作成、流通、利用等を容易にするための技術であり、例えば、金融庁の提供するEDINET(金融商品取引法に基づく有価証券報告書等の開示書類に関する電子開示システム)において、財務諸表を記載する形式として採用されている。   In recent years, XBRL (see Non-Patent Document 1) has attracted attention as a technique for digitizing business reports. XBRL is a technology for facilitating the creation, distribution, and use of financial information. For example, EDINET (electronic disclosure system for disclosure documents such as securities reports based on the Financial Instruments and Exchange Act) provided by the Financial Services Agency Is used as a format for describing financial statements.

XBRLとは、拡張可能な事業報告用の言語(eXtensible Bussiness Reporting Language)の略称であり、以下のような構造を有している。   XBRL is an abbreviation for an extensible business reporting language and has the following structure.

まず、XBRLでは、事業報告(例えば、財務諸表)の形式を定義するタクソノミと、タクソノミにより定義された形式に従ってデータが入力されたインスタンス文書が存在する。これらの文書は、XML形式によって記載される。   First, in XBRL, there are taxonomies that define the format of business reports (for example, financial statements) and instance documents in which data is input according to the format defined by the taxonomy. These documents are described in XML format.

タクソノミには、報告の語彙を定義する文書としてタクソノミスキーマが含まれている。タクソノミスキーマは、XMLスキーマ形式で記載されており、インスタンス文書を構成する要素の種類を、事業報告の語彙に含まれる項目(例えば、財務諸表における勘定科目)に対応するように規定する。   The taxonomy includes a taxonomy schema as a document that defines the vocabulary of the report. The taxonomy schema is described in the XML schema format, and defines the types of elements constituting the instance document so as to correspond to items (for example, account items in the financial statements) included in the vocabulary of the business report.

タクソノミには、また、名称リンクベースおよび参照リンクベースが含まれる。名称リンクベースは、各項目の名称を定義するものであり、名称としては、例えば、標準ラベル、冗長ラベル、それらの各国語による表記等が含まれる。参照リンクベースは、各項目が基づく法律等を示すものである。   The taxonomy also includes a name link base and a reference link base. The name link base defines the name of each item, and the name includes, for example, a standard label, a redundant label, and their notation in each language. The reference link base indicates a law or the like on which each item is based.

タクソノミには、さらに、表示リンクベース、計算リンクベースおよび定義リンクベースが含まれる。これらは、それぞれ、上記各項目の表示上の親子関係、計算上の親子関係または概念上の親子関係を定義する文書である。表示上の親子関係とは、表をディスプレイ等に表示するとき、または紙上に印刷するときの階層構造を示す。表示リンクベースにはまた、そのような階層構造のほかに、表示または印刷する際の順番を規定するための各項目についての表示順序を示す情報が定義されている。計算上の親子関係とは、表を用いて計算する際の階層構造を示す。計算リンクベースはまた、そのような階層構造における計算上の重み付けを示す情報が定義されている。概念定義上の親子関係とは、各項目の概念定義上の階層構造である。   The taxonomy further includes a display link base, a calculation link base, and a definition link base. Each of these is a document that defines a parent-child relationship on display, a parent-child relationship on calculation, or a conceptual parent-child relationship. The parent-child relationship on display indicates a hierarchical structure when a table is displayed on a display or the like, or when printed on paper. In addition to such a hierarchical structure, the display link base also defines information indicating the display order for each item for defining the order of display or printing. The parent-child relationship in calculation indicates a hierarchical structure when calculating using a table. The calculation link base also defines information indicating a calculation weight in such a hierarchical structure. The parent-child relationship on the concept definition is a hierarchical structure on the concept definition of each item.

このようなXBRLのタクソノミは、語彙を定義する文書と、語彙に含まれる項目についての付加的な情報および項目間の親子関係を定義する文書とが分離されているために、拡張、修正等が容易である。XBRLを利用した技術として、例えば、特許文献1から9がある。   Such XBRL taxonomies are separated from the document that defines the vocabulary and the document that defines additional information about the items included in the vocabulary and the parent-child relationship between the items. Easy. As techniques using XBRL, for example, there are Patent Documents 1 to 9.

特開2008−134864号公報(平成20年6月12日公開)JP 2008-134864 A (published on June 12, 2008) 特開2007−164591号公報(平成19年6月28日公開)Japanese Unexamined Patent Application Publication No. 2007-164591 (released on June 28, 2007) 特開2006−163876号公報(平成18年6月22日公開)JP 2006-163876 A (released on June 22, 2006) 特開2006−155136号公報(平成18年6月15日公開)JP 2006-155136 A (released on June 15, 2006) 特開2006−65382号公報(平成18年3月9日公開)JP 2006-65382 A (published March 9, 2006) 特開2005−242855号公報(平成17年9月8日公開)JP 2005-242855 A (published September 8, 2005) 特開2005−216000号公報(平成17年8月11日公開)Japanese Patent Laying-Open No. 2005-216000 (released on August 11, 2005) 特開2003−316765号公報(平成15年11月7日公開)JP 2003-316765 A (published November 7, 2003) 特表2008−515061号公報(平成20年5月8日公開)Special table 2008-515061 gazette (released on May 8, 2008)

http://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2008-07-02.htmhttp://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2008-07-02.htm

上述のXBRLのような事業報告形式定義情報、すなわち、事業報告の語彙を定義する語彙定義文書と、当該語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを少なくとも含む事業報告形式定義情報は、情報が複数の文書に分散されており、その処理、例えば、表示、通信等に煩雑な操作が必要である。これは、特許文献1〜9に記載の技術においても同様である。そのため、上記のような事業報告形式定義情報の処理を容易にする技術が求められている。   Business report format definition information such as XBRL described above, that is, a business report format including at least a vocabulary definition document that defines the vocabulary of the business report and a parent-child relationship definition document that defines a parent-child relationship between items included in the vocabulary In the definition information, information is distributed in a plurality of documents, and complicated operations are required for processing such as display and communication. The same applies to the techniques described in Patent Documents 1 to 9. Therefore, there is a need for a technique that facilitates the processing of business report format definition information as described above.

本発明は、上記課題を解決するためになされたものであり、事業報告の語彙を定義する語彙定義文書と、当該語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを少なくとも含む事業報告形式定義情報の処理を容易にすることを主たる目的とする。   The present invention has been made to solve the above problems, and includes at least a vocabulary definition document that defines a vocabulary of a business report and a parent-child relationship definition document that defines a parent-child relationship between items included in the vocabulary. The main purpose is to facilitate the processing of business report format definition information.

上記課題を解決するために、本発明は新規な構造化文書生成装置を提供する。本発明に係る構造化文書生成装置は、特許文献1〜9のいずれにも開示も示唆もされていない独自の技術である。   In order to solve the above problems, the present invention provides a novel structured document generation apparatus. The structured document generation apparatus according to the present invention is a unique technique that is not disclosed or suggested in any of Patent Documents 1 to 9.

すなわち、本発明に係る構造化文書生成装置は、事業報告の形式を定義する事業報告形式定義情報であって、当該事業報告の語彙を定義する語彙定義文書と、該語彙定義文書により定義された語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを含む事業報告形式定義情報に基づいて、上記語彙定義文書により定義された語彙に含まれる項目を要素とし、上記親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成する構造化文書生成手段を備えていることを特徴としている。   That is, the structured document generation apparatus according to the present invention is business report format definition information that defines a business report format, and is defined by a vocabulary definition document that defines the vocabulary of the business report and the vocabulary definition document. Based on the business report format definition information including the parent-child relationship definition document that defines the parent-child relationship between the items included in the vocabulary, the items included in the vocabulary defined by the vocabulary definition document as elements, and the parent-child relationship definition document And a structured document generating means for generating a structured document having a nested structure that expresses a parent-child relationship defined by the above.

上記の構成によれば、本発明に係る構造化文書生成装置は、上記事業報告形式定義情報に基づいて、上記語彙定義文書により定義された語彙に含まれる項目を要素とし、上記親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成する。上記構造化文書は、事業報告の語彙に含まれる項目を要素として有しているとともに、入れ子構造によりそれら項目間の親子関係を表現しているため、上記語彙定義文書と、上記親子関係定義文書とに分散されている情報が集約されている。   According to the above configuration, the structured document generation apparatus according to the present invention uses the items included in the vocabulary defined by the vocabulary definition document as elements based on the business report format definition information, and the parent-child relationship definition document A structured document having a nested structure that expresses the parent-child relationship defined by the above is generated. Since the structured document has items included in the vocabulary of the business report as elements, and expresses the parent-child relationship between these items by a nested structure, the vocabulary definition document and the parent-child relationship definition document The information that is distributed to each other is aggregated.

ここで、上記事業報告形式定義情報は、複数の文書に情報が分散されているため、例えば、ツリービュー等の既存の装置またはソフトウェアへの入力として用いるデータ、SOAP規格に準拠した通信等に用いるデータ等として用いるために煩雑な処理が必要である。一方、上記構造化文書は、一つの単純な構造の文書により、上記事業報告形式定義情報に含まれる情報を定義しているため、上述したデータとして容易に用いることができる。   Here, since the business report format definition information is distributed in a plurality of documents, for example, data used as an input to an existing apparatus or software such as a tree view, communication based on the SOAP standard, etc. Complicated processing is required for use as data or the like. On the other hand, since the structured document defines information included in the business report format definition information with a single simple structure document, it can be easily used as the data described above.

よって、本発明に係る構造化文書生成装置によれば、複数の文書からなる事業報告形式定義情報を、単純な形式の構造化文書として表現することができ、当該事業報告形式定義情報のさらなる処理、例えば、表示、通信等を容易にするという効果を奏する。   Therefore, according to the structured document generation apparatus according to the present invention, business report format definition information including a plurality of documents can be expressed as a structured document in a simple format, and further processing of the business report format definition information is performed. For example, there is an effect of facilitating display, communication, and the like.

上記構造化文書生成装置では、上記親子関係定義文書が、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報をさらに定義しており、上記要素はそれぞれ、上記親子関係定義文書により定義された、当該要素に対応する項目に関連付けられた情報を含んでいることが好ましい。   In the structured document generation apparatus, the parent-child relationship definition document further defines information associated with items included in the vocabulary defined by the vocabulary definition document, and each of the elements includes the parent-child relationship definition document. It is preferable that the information associated with the item corresponding to the element defined by the above is included.

上記の構成によれば、上記構造化文書生成手段によって生成される構造化文書の各要素が、当該要素に対応する項目に関連付けられた、上記親子関係定義文書により定義された情報を含んでいる。これにより、上記構造化文書に、複数の文書に分散していた情報を集約させることができる。   According to said structure, each element of the structured document produced | generated by the said structured document production | generation means contains the information defined by the said parent-child relationship definition document linked | related with the item corresponding to the said element. . As a result, information distributed in a plurality of documents can be aggregated in the structured document.

例えば、上記親子関係定義文書が、上記語彙定義文書により定義された語彙に含まれる項目についてその表示順序を示す情報を定義していた場合、当該項目の表示順序を示す情報が、上記構造化文書の当該項目に対応する要素に含まれていることなる。このような構造化文書は、表示順序が含まれているため、上記事業報告形式定義情報の表示する際に好適に用いることができる。   For example, when the parent-child relationship definition document defines information indicating the display order of items included in the vocabulary defined by the vocabulary definition document, the information indicating the display order of the items is the structured document. It is included in the element corresponding to the item. Since such a structured document includes a display order, it can be suitably used when displaying the business report format definition information.

このように、上記構造化文書に複数の文書に分散していた情報を集約させることにより、より有用な構造化文書を提供することができる。   As described above, a more useful structured document can be provided by aggregating information distributed to a plurality of documents in the structured document.

上記構造化文書生成装置では、上記事業報告形式定義情報が、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報を定義する関連情報定義文書をさらに含んでおり、上記要素はそれぞれ、上記関連情報定義文書により定義された、当該要素に対応する項目に関連付けられた情報を含んでいることが好ましい。   In the structured document generation apparatus, the business report format definition information further includes a related information definition document that defines information associated with an item included in the vocabulary defined by the vocabulary definition document, and the element includes Each preferably includes information associated with an item corresponding to the element defined by the related information definition document.

上記の構成によれば、上記構造化文書生成手段によって生成される構造化文書の各要素が、当該要素に対応する項目に関連付けられた、上記関連情報定義文書により定義された情報を含んでいる。これにより、上記構造化文書に、複数の文書に分散していた情報を集約させることができる。   According to said structure, each element of the structured document produced | generated by the said structured document production | generation means contains the information defined by the said related information definition document linked | related with the item corresponding to the said element. . As a result, information distributed in a plurality of documents can be aggregated in the structured document.

例えば、上記事業報告形式定義情報に、語彙定義文書とは別に、上記語彙定義文書により定義された語彙に含まれる項目の表示名称を定義する文書が含まれていた場合、当該項目の名称が、上記構造化文書の当該項目に対応する要素に含まれていることなる。このような構造化文書は、表示名称が含まれているため、上記事業報告形式定義情報の表示する際に好適に用いることができる。   For example, if the business report format definition information includes a document that defines a display name of an item included in the vocabulary defined by the vocabulary definition document separately from the vocabulary definition document, the name of the item is It is included in the element corresponding to the item of the structured document. Since such a structured document includes a display name, it can be suitably used when displaying the business report format definition information.

このように、上記構造化文書に複数の文書に分散していた情報を集約させることにより、より有用な構造化文書を提供することができる。   As described above, a more useful structured document can be provided by aggregating information distributed to a plurality of documents in the structured document.

上記構造化文書生成装置では、上記事業報告形式定義情報が、上記語彙定義文書により定義された語彙に含まれる項目間の表示上の親子関係を定義する表示親子関係定義文書と、当該項目間の計算上の親子関係を定義する計算親子関係定義文書と、当該項目間の概念定義上の親子関係を定義する定義親子関係定義文書とを含んでおり、上記入れ子構造は、上記表示親子関係定義文書、上記計算親子関係定義文書または上記定義親子関係定義文書のいずれか1つに定義された親子関係を表現することが好ましい。   In the structured document generation apparatus, the business report format definition information includes a display parent-child relationship definition document that defines a display parent-child relationship between items included in the vocabulary defined by the vocabulary definition document, and between the items. It includes a calculation parent-child relationship definition document that defines a parent-child relationship for calculation, and a definition parent-child relationship definition document that defines a parent-child relationship in the concept definition between the items, and the nested structure includes the display parent-child relationship definition document Preferably, the parent-child relationship defined in any one of the calculated parent-child relationship definition document or the defined parent-child relationship definition document is expressed.

上記の構成によれば、上記構造化文書生成装置は、上記語彙定義文書により定義された語彙に含まれる項目を要素とし、当該項目間の表示上の親子関係、計算上の親子関係または概念定義上の親子関係のいずれかの親子関係を表現する入れ子構造を有する構造化文書を生成する。   According to the above configuration, the structured document generation apparatus uses an item included in the vocabulary defined by the vocabulary definition document as an element, and a parent-child relationship on display, a parent-child relationship on calculation, or a concept definition between the items. A structured document having a nested structure that expresses any parent-child relationship of the above parent-child relationships is generated.

これにより、用途に応じた構造化文書を好適に取得することができる。すなわち、表示上の親子関係とは、事業報告形式定義情報または当該事業報告形式定義情報によって定義された形式を有する事業報告を表示する際に用いられる各項目間の親子関係である。また、計算上の親子関係とは、事業報告形式定義情報によって定義された形式を有する事業報告において各項目を計算または検証する際に用いられる各項目間の親子関係である。また、概念定義上の親子関係とは、事業報告形式定義情報における各項目の概念的な親子関係を示すものである。よって、上述のそれぞれの目的で、上記構造化文書を取得することができる。   Thereby, the structured document according to a use can be acquired suitably. That is, the parent-child relationship on display is a parent-child relationship between items used when displaying business report format definition information or a business report having a format defined by the business report format definition information. In addition, the parent-child relationship for calculation is a parent-child relationship between items used when calculating or verifying each item in a business report having a format defined by the business report format definition information. The parent-child relationship on the concept definition indicates a conceptual parent-child relationship of each item in the business report format definition information. Therefore, the structured document can be acquired for each of the above-mentioned purposes.

上記構造化文書生成装置では、上記表示親子関係定義文書、上記計算親子関係定義文書および上記定義親子関係定義文書のうちのいずれかを指定する親子関係定義文書指定情報を含む構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる親子関係定義文書指定情報により指定された親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成することが好ましい。   In the structured document generation device, a structured document generation request including parent-child relationship definition document designation information for designating any one of the display parent-child relationship definition document, the calculated parent-child relationship definition document, and the definition parent-child relationship definition document is issued. A receiving unit for receiving from the outside; and a transmitting unit for transmitting the structured document generated by the structured document generating unit to the outside. The structured document generating unit responds to the received structured document generation request. It is preferable to generate a structured document having a nested structure expressing the parent-child relationship defined by the parent-child relationship definition document specified by the included parent-child relationship definition document specifying information.

上記の構成によれば、上記構造化文書生成装置を外部から利用することができ、例えば、ウェブ型のアプリケーションとして構築することができる。また、上記構造化文書生成要求には、上記表示親子関係定義文書、上記計算親子関係定義文書および上記定義親子関係定義文書のうちのいずれかを指定する親子関係定義文書指定情報が含まれるため、外部から必要とする親子関係定義文書を指定して、当該親子関係定義文書によって定義される親子関係を表現する構造化文書を取得することができる。   According to said structure, the said structured document production | generation apparatus can be utilized from the exterior, For example, it can construct | assemble as a web type application. Further, since the structured document generation request includes parent-child relationship definition document designation information for designating any of the display parent-child relationship definition document, the calculated parent-child relationship definition document, and the definition parent-child relationship definition document, By specifying a parent-child relationship definition document required from outside, a structured document expressing the parent-child relationship defined by the parent-child relationship definition document can be acquired.

上記構造化文書生成装置では、上記語彙定義文書により定義された語彙に含まれる項目のうち、いずれの項目を要素とするかを指定する項目指定情報を含む構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる項目指定情報により指定された項目を要素とした構造化文書を生成することが好ましい。   In the structured document generation apparatus, a structured document generation request including item designation information for designating which item is included in the vocabulary defined by the vocabulary definition document is received from the outside. A receiving unit; and a transmitting unit that transmits the structured document generated by the structured document generating unit to the outside. The structured document generating unit specifies an item included in the received structured document generation request. It is preferable to generate a structured document having items specified by information as elements.

上記の構成によれば、上記構造化文書生成装置を外部から利用することができ、例えば、ウェブ型のアプリケーションとして構築することができる。また、上記構造化文書生成要求には、上記語彙定義文書により定義された語彙に含まれる項目のうち、いずれの項目を要素とするかを指定する項目指定情報が含まれるため、外部から必要とする項目を指定して、当該項目に対応する要素を含む構造化文書を取得することができる。   According to said structure, the said structured document production | generation apparatus can be utilized from the exterior, For example, it can construct | assemble as a web type application. The structured document generation request includes item designation information for designating which item is included in the vocabulary defined by the vocabulary definition document. A structured document including an element corresponding to the item can be acquired by specifying the item to be processed.

上記構造化文書生成装置では、上記構造化文書生成要求および上記構造化文書がSOAPメッセージを構成していることが好ましい。   In the structured document generation apparatus, it is preferable that the structured document generation request and the structured document form a SOAP message.

上記の構成によれば、上記構造化文書生成要求および上記構造化文書がSOAPメッセージを構成しているため、上記構造化文書生成装置と外部との間の通信をSOAP規格に準拠して行うことができる。そのため、上記構造化文書生成装置と外部との間の通信を例えば、インターネットを介して行うことが容易となる。   According to the above configuration, since the structured document generation request and the structured document constitute a SOAP message, communication between the structured document generation device and the outside is performed in conformity with the SOAP standard. Can do. Therefore, it becomes easy to perform communication between the structured document generation apparatus and the outside via, for example, the Internet.

上記構造化文書生成装置では、上記構造化文書は、上記語彙定義文書により定義された語彙に含まれる項目に対応する要素を、同一のタグを用いて表現していることが好ましい。   In the structured document generation apparatus, the structured document preferably represents an element corresponding to an item included in a vocabulary defined by the vocabulary definition document using the same tag.

上記の構成によれば、上記構造化文書は、ある要素の子要素として現れ得る要素が限られているので、妥当性の検証が容易である。そのため、妥当性の検証が必要である市販の装置またはソフトウェア、例えばツリービュー等に容易に適用することができる。   According to the above configuration, since the structured document has limited elements that can appear as child elements of a certain element, it is easy to verify the validity. Therefore, the present invention can be easily applied to a commercially available device or software that requires verification of validity, such as a tree view.

上記構造化文書生成装置では、上記事業報告は、財務諸表であることが好ましい。   In the structured document generation apparatus, the business report is preferably a financial statement.

上記の構成によれば、上記構造化文書生成装置は、財務諸表の形式を定義する財務諸表形式定義情報のさらなる処理を容易に行なうことができる。   According to the above configuration, the structured document generation apparatus can easily perform further processing of financial statement format definition information that defines the format of financial statements.

また、本発明に係る構造化文書生成装置を動作させるためのプログラムであって、コンピュータを上記の各手段として駆動させるプログラムおよび該プログラムを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に含まれる。   Also included in the scope of the present invention are a program for operating the structured document generating apparatus according to the present invention, the program driving the computer as each of the above means, and a computer-readable recording medium recording the program. It is.

本発明に係る構造化文書生成装置によれば、事業報告の語彙を定義する語彙定義文書と、当該語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを少なくとも含む事業報告形式定義情報を、単純な形式の構造化文書として表現することができ、当該事業報告形式定義情報のさらなる処理、例えば、表示、通信等を容易にすることができる。   According to the structured document generation apparatus of the present invention, a business report format definition including at least a vocabulary definition document that defines a vocabulary of a business report and a parent-child relationship definition document that defines a parent-child relationship between items included in the vocabulary. Information can be expressed as a structured document in a simple format, and further processing of the business report format definition information such as display and communication can be facilitated.

本発明の一実施形態の論理的な層構造を説明する図である。It is a figure explaining the logical layer structure of one Embodiment of this invention. 本発明の一実施形態の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of one Embodiment of this invention. 本発明の一実施形態における事業報告形式定義情報の概略構成を示す図である。It is a figure which shows schematic structure of the business report format definition information in one Embodiment of this invention. 本発明の一実施形態における事業報告の形式の表示例を示す図である。It is a figure which shows the example of a display of the format of the business report in one Embodiment of this invention. 本発明の一実施形態における語彙定義文書を示す図である。It is a figure which shows the vocabulary definition document in one Embodiment of this invention. 本発明の一実施形態における親子関係定義文書を示す図である。It is a figure which shows the parent-child relationship definition document in one Embodiment of this invention. 本発明の一実施形態における関連情報定義文書を示す図である。It is a figure which shows the related information definition document in one Embodiment of this invention. 本発明の一実施形態において構造化文書生成装置が生成する構造化文書を示す図である。It is a figure which shows the structured document which the structured document production | generation apparatus produces | generates in one Embodiment of this invention. 本発明の一実施形態において構造化文書生成装置が生成する構造化文書の内容を説明する表である。It is a table | surface explaining the content of the structured document which the structured document production | generation apparatus produces | generates in one Embodiment of this invention.

本発明は、事業報告形式定義情報に基づいて構造化文書を生成する構造化文書生成装置を提供する。事業報告形式定義情報とは、事業報告の形式を定義する情報を指し、例えば、事業報告の雛形を提供するものである。本明細書において、事業報告とは、企業等の財務情報および企業等が行った経済活動に関する情報を記述するものを指し、例えば、財務諸表等の財務報告、残高情報、在庫情報ならびに仕入情報、注文情報、請求情報、出荷送品情報等の具体的な情報およびそれらに基づく仕訳情報等が挙げられる。以下、事業報告として財務諸表を対象とした場合について説明するが、本発明はこれに限定されるものではない。すなわち、本明細書に接した当業者は、後述する本発明に係る構造化文書生成装置が用いる事業報告形式定義情報によって記述し得る事業報告であれば、本発明を適用し得ることを容易に理解する。   The present invention provides a structured document generation apparatus that generates a structured document based on business report format definition information. The business report format definition information refers to information that defines the format of the business report. For example, the business report format definition information provides a template for the business report. In this specification, the business report refers to information describing financial information of companies, etc. and information on economic activities performed by the companies, such as financial reports such as financial statements, balance information, inventory information, and purchase information. Specific information such as order information, billing information, and shipping / shipping information, and journal information based on them. Hereinafter, although the case where a financial statement is made into object as a business report is explained, the present invention is not limited to this. That is, those skilled in the art who have contacted this specification can easily apply the present invention to any business report that can be described by the business report format definition information used by the structured document generation apparatus according to the present invention described later. to understand.

本明細書において、財務諸表とは、企業等の財務状態および経営成績を開示する書類であり、例えば、貸借対照表(B/S)、損益計算書(P/L)、キャッシュフロー計算書(C/F)、株主資本等変動計算書(S/S)が挙げられる。財務諸表には、副次的な情報(例えば、財務諸表注記等の定量または定性的な情報)が含まれてもよい。また、単一企業についての個別財務諸表であってもよいし、企業グループについての連結財務諸表であってもよい。なお、四半期決算、中間決算等における財務諸表も含まれる。   In this specification, financial statements are documents that disclose the financial condition and business results of a company, such as a balance sheet (B / S), income statement (P / L), cash flow statement ( C / F) and statement of changes in shareholders' equity (S / S). Financial statements may include secondary information (eg, quantitative or qualitative information such as financial statement notes). Further, it may be a separate financial statement for a single company or a consolidated financial statement for a group of companies. Financial statements in quarterly and interim financial results are also included.

本発明に係る構造化文書生成装置が用いる事業報告形式定義情報は、事業報告の語彙を定義する語彙定義文書と、該語彙定義文書により定義された語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを含むものである。このような事業報告形式定義情報としては、これに限定するものではないが、例えば、XBRLのタクソノミがある。以下、XBRLのタクソノミを例に用いて、上記事業報告形式定義情報を説明する。   The business report format definition information used by the structured document generation apparatus according to the present invention defines a vocabulary definition document that defines the vocabulary of the business report and a parent-child relationship between items included in the vocabulary defined by the vocabulary definition document. And a parent-child relationship definition document. Such business report format definition information includes, but is not limited to, for example, XBRL taxonomy. Hereinafter, the business report format definition information will be described using an XBRL taxonomy as an example.

図3は、XBRLのタクソノミの一例を示す図である。図3中、スキーマとあるのが、上記語彙定義文書であり、Assets Abstract(AA)、Current Asstes Abstract(CAA)およびCash And Deposits(CAD)の各項目(勘定科目)からなる事業報告(財務諸表)の語彙を定義している。また、図3中、関係層に含まれる表示LB(リンクベース)、計算LBおよび定義LBが、上記親子関係定義文書である。これら関係層に含まれるリンクベースは、表示LBについて図3に示すように、上記AA、CAAおよびCADの各項目間の親子関係を定義している。   FIG. 3 is a diagram illustrating an example of a taxonomy of XBRL. In FIG. 3, the schema is the vocabulary definition document described above, and a business report (financial statement) consisting of items (account items) of Assets Abstract (AA), Current Assets Abstract (CAA), and Cash And Deposits (CAD). ) Vocabulary. In FIG. 3, the display LB (link base), calculation LB, and definition LB included in the relationship layer are the parent-child relationship definition document. The link bases included in these relationship layers define a parent-child relationship between the items AA, CAA, and CAD as shown in FIG. 3 for the display LB.

上記語彙定義文書は、事業報告の語彙、すなわち、事業報告を構成する項目の集まりを定義する文書であれば特に限定されないが、例えば、図3に示すように、項目を要素として列挙する文書とすることができる。また、各項目にどのような種類の値(金額、文字列、日付等)を与えるか等の関連情報を含んでいてもよい。XBRLのタクソノミでは、図5に示すように、上記語彙定義文書は、XBRLのインスタンス文書に含まれるべき要素を規定するXMLスキーマ(http://www.w3.org/XML/Schema)として記載される。図5に示すXMLスキーマでは、上記AA、CAA、CADおよびBalanceSheetsAbstract(BSA)の各項目がelementタグによって列挙されている。   The vocabulary definition document is not particularly limited as long as it is a vocabulary for business reports, that is, a document that defines a collection of items constituting a business report. For example, as shown in FIG. can do. Further, it may include related information such as what kind of value (amount, character string, date, etc.) is given to each item. In the XBRL taxonomy, as shown in FIG. 5, the vocabulary definition document is described as an XML schema (http://www.w3.org/XML/Schema) that defines the elements to be included in the XBRL instance document. The In the XML schema shown in FIG. 5, the items AA, CAA, CAD, and Balance Sheets Abstract (BSA) are listed by an element tag.

上記親子関係定義文書は、上記語彙定義文書により定義される上記語彙に含まれる項目間の親子関係を定義する文書であれば特に限定されないが、例えば、図3に示すように、上記語彙定義文書により定義される各項目へ参照を示すロケータと、各ロケータ間を結び、当該ロケータ間の親子関係を定義するアーク(図3の場合は、表示アーク)とによって構成することができる。これにより、各ロケータによって参照された項目間の親子関係を定義することができる。なお、XBRLのタクソノミでは、図6に示すように、上記親子関係定義文書は、XLink(http://www.w3.org/TR/xlink/)を用いて記載される。図6に示す親子関係定義文書では、上記BSA、AA、CAAおよびCADのそれぞれを参照を示すロケータと、上記BSAを親としAAを子とするアーク、上記AAを親としCAAを子とするアーク、上記CAAを親としCADを子とするアークのそれぞれが示されている。   The parent-child relationship definition document is not particularly limited as long as it is a document that defines a parent-child relationship between items included in the vocabulary defined by the vocabulary definition document. For example, as shown in FIG. Can be configured by a locator that indicates a reference to each item defined by, and an arc (a display arc in the case of FIG. 3) that connects the locators and defines a parent-child relationship between the locators. Thereby, the parent-child relationship between the items referred to by each locator can be defined. In the XBRL taxonomy, as shown in FIG. 6, the parent-child relationship definition document is described using XLink (http://www.w3.org/TR/xlink/). In the parent-child relationship definition document shown in FIG. 6, a locator indicating each of the BSA, AA, CAA, and CAD, an arc having the BSA as a parent and AA as a child, and an arc having the AA as a parent and CAA as a child Each of the arcs having CAA as a parent and CAD as a child is shown.

本発明に係る構造化文書生成装置は、このような事業報告形式定義情報によって定義される事業報告の形式を、例えば、図4に示すように表示したり、外部の装置に送信したりするために好適に用いることができる。   The structured document generation device according to the present invention displays the business report format defined by such business report format definition information, for example, as shown in FIG. 4 or transmits it to an external device. Can be suitably used.

すなわち、本発明に係る構造化文書生成装置は、上記事業報告形式定義情報に基づいて、上記語彙定義文書により定義された語彙に含まれる項目を要素とし、上記親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成する構造化文書生成手段を備えている。本明細書において、構造化文書とは、文書に含まれる文字または文章そのものが有する内容に加えて、当該構造化文書が有する構造(例えば、配置、並び順、タグ、デリミタのような特殊な記号等)を用いて特定の内容を表現する文書を指す。本発明に係る構造化文書生成装置が生成する構造化文書は、入れ子構造により親子関係を階層的に表現するものであればよく、例えば、XML(http://www.w3.org/XML/)等を用いることができる。   That is, the structured document generation apparatus according to the present invention uses, as elements, items included in the vocabulary defined by the vocabulary definition document based on the business report format definition information, and the parent-child defined by the parent-child relationship definition document. Structured document generating means for generating a structured document having a nested structure expressing the relationship is provided. In this specification, a structured document is a special symbol such as a structure (for example, arrangement, arrangement order, tag, delimiter) of the structured document in addition to the contents of characters or sentences included in the document. Etc.) refers to a document expressing specific contents. The structured document generated by the structured document generation apparatus according to the present invention only needs to express a parent-child relationship hierarchically by a nested structure. For example, XML (http://www.w3.org/XML/ ) Etc. can be used.

図8は、このような構造化文書の一例を示す図である。図8では、図3に示す上記AA、CAAおよびCADの親子関係を、タグを用いた入れ子構造によって表現している。   FIG. 8 shows an example of such a structured document. In FIG. 8, the parent-child relationship of AA, CAA, and CAD shown in FIG. 3 is expressed by a nested structure using tags.

このような構造化文書は、事業報告の語彙に含まれる項目を要素として有しているとともに、入れ子構造によりそれら項目間の親子関係を表現しているため、例えば、図4のように、項目の親子関係を階層的に表示する、いわゆるツリービューの表示のために好適に用いることができる。また、事業報告形式定義情報のように複数の文書からなるものではないため、外部の装置への送信等が煩雑にならずに済み、また解釈も容易である。   Since such a structured document has items included in the vocabulary of the business report as elements and expresses a parent-child relationship between these items by a nested structure, for example, as shown in FIG. Can be suitably used for displaying a so-called tree view in which the parent-child relationships of the two are hierarchically displayed. Further, since the business report format definition information is not composed of a plurality of documents, transmission to an external device is not complicated, and interpretation is easy.

また、上記親子関係定義文書は、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報をさらに定義していてもよい。例えば、XBRLのタクソノミにおいて、表示リンクベースは、各項目の表示順序を示す情報をさらに定義している。この各項目の表示順序を示す情報を用いれば、事業報告の表示装置等において、事業報告形式定義情報または当該事業報告形式定義情報によって定義された形式を有する事業報告を適切に表示することができる。また、例えば、同様にXBRLのタクソノミでは、計算リンクベースは、各項目を演算に用いる際の重み付け(例えば、親に対して加算する(+)か減算する(−)か)を示す情報をさらに定義している。この各項目の重み付けを示す情報を用いれば、事業報告形式定義情報または当該事業報告形式定義情報によって定義された形式を有する事業報告について、適切な演算関係を示すことができる。この演算関係を用いれば、事業報告の計算装置等において、自動的に演算を行なうことができる。   The parent-child relationship definition document may further define information associated with items included in the vocabulary defined by the vocabulary definition document. For example, in the taxonomy of XBRL, the display link base further defines information indicating the display order of each item. If the information indicating the display order of each item is used, the business report display device or the like can appropriately display the business report format definition information or the business report having the format defined by the business report format definition information. . Further, for example, similarly, in the taxonomy of XBRL, the calculation link base further includes information indicating weighting (for example, whether to add (+) or subtract (−) from the parent) when each item is used for calculation. Defined. By using the information indicating the weighting of each item, it is possible to indicate an appropriate calculation relationship for the business report having the format defined by the business report format definition information or the business report format definition information. If this calculation relationship is used, calculation can be automatically performed in a business report calculation device or the like.

以上のように、上記親子関係定義文書が、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報をさらに定義しているとき、上記構造化文書生成手段が、各要素について、上記親子関係定義文書により定義された、当該要素に対応する項目に関連付けられた上記情報を含ませることが好ましい。   As described above, when the parent-child relationship definition document further defines the information associated with the items included in the vocabulary defined by the vocabulary definition document, the structured document generation means, for each element, It is preferable that the information associated with the item corresponding to the element defined by the parent-child relationship definition document is included.

例えば、図8に示すように、構造化文書には、表示上の表示順序を示す情報(odr)が各要素の属性として記載されている。図9は、各要素に含まれる情報の詳細を示す表である。図9に示すように、各要素には、表示リンクベースに定義されている、各項目に関連付けられた情報が属性として記載されている。   For example, as shown in FIG. 8, in the structured document, information (odr) indicating the display order on the display is described as an attribute of each element. FIG. 9 is a table showing details of information included in each element. As shown in FIG. 9, information associated with each item, which is defined in the display link base, is described as an attribute in each element.

上記構造化文書生成手段によって生成される構造化文書の各要素が、当該要素に対応する項目に関連付けられた上記情報を含んでいることにより、当該情報を用いて当該構造化文書をより適切に表示することができるとともに、より多くの情報を外部の装置等へ送信することができるにもかかわらず、依然、事業報告形式定義情報のように複数の文書からなるものではなく、外部の装置への送信および解釈が煩雑にならずに済む。   Since each element of the structured document generated by the structured document generating unit includes the information associated with the item corresponding to the element, the structured document is more appropriately used using the information. Although it can be displayed and more information can be sent to an external device, it still does not consist of multiple documents like business report format definition information, but to an external device. Transmission and interpretation are not complicated.

さらに、上記事業報告形式定義情報は、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報を定義する関連情報定義文書をさらに含んでいてもよい。例えば、XBRLのタクソノミは、各項目の名称を定義する名称リンクベースおよび各項目に関連付けられた参照情報を定義する参照リンクベースといった関連情報定義文書をさらに含んでいる。このように付加的な情報を語彙定義文書とは別の文書とすることにより、例えば、名称リンクベースのみを差し替えることにより、言語の異なる国でも用いることができる事業報告形式定義情報を容易に提供することができる上、語彙定義文書を簡易な文書とすることができる。なお、XBRLのタクソノミでは、図7に示すように、上記親子関係定義文書は、XLink(http://www.w3.org/TR/xlink/)を用いて記載される。図7に示す関連情報定義文書では、上記BSAについて、その標準ラベル「貸借対照表」と、冗長ラベル「貸借対照表、タイトル項目」とを記載し、BSAを参照するロケータに対してアークにより関連付けている。また、タクソノミスキーマ(語彙定義文書)と、各リンクベース(親子関係定義文書)との関連付けも、タクソノミスキーマ中に各リンクベースへの参照をXLinkを用いて記載することにより行われている。   Furthermore, the business report format definition information may further include a related information definition document that defines information associated with items included in the vocabulary defined by the vocabulary definition document. For example, the taxonomy of XBRL further includes a related information definition document such as a name link base that defines the name of each item and a reference link base that defines reference information associated with each item. By making additional information different from the vocabulary definition document in this way, for example, by replacing only the name link base, business report format definition information that can be used in countries with different languages can be easily provided. In addition, the vocabulary definition document can be a simple document. In the XBRL taxonomy, as shown in FIG. 7, the parent-child relationship definition document is described using XLink (http://www.w3.org/TR/xlink/). In the related information definition document shown in FIG. 7, the standard label “balance sheet” and the redundant label “balance sheet, title item” are described for the BSA, and the arc is associated with the locator that refers to the BSA. ing. Further, the association between the taxonomy schema (vocabulary definition document) and each link base (parent-child relationship definition document) is performed by describing a reference to each link base in the taxonomy schema using XLink.

以上のように、上記事業報告形式定義情報は、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報を定義する関連情報定義文書をさらに含んでいるとき、上記構造化文書生成手段が、生成する構造化文書の各要素について、上記関連情報定義文書により定義された、当該要素に対応する項目に関連付けられた上記情報を含ませることが好ましい。   As described above, when the business report format definition information further includes a related information definition document that defines information associated with items included in the vocabulary defined by the vocabulary definition document, the structured document generation Preferably, the means includes, for each element of the structured document to be generated, the information defined by the related information definition document and associated with an item corresponding to the element.

例えば、図8および図9に示すように、構造化文書には、標準的な表示名(標準ラベル:lbl)および冗長的な表示名(冗長ラベル:vbsLbl)を示す情報が各要素の属性として記載されている。   For example, as shown in FIGS. 8 and 9, in the structured document, information indicating a standard display name (standard label: lbl) and a redundant display name (redundancy label: vbsLbl) is used as an attribute of each element. Are listed.

上記構造化文書生成手段によって生成される構造化文書の各要素が、当該要素に対応する項目に関連付けられた上記情報を含んでいることにより、当該情報を用いて当該構造化文書をより適切に表示することができるとともに、より多くの情報を外部の装置等へ送信することができるにもかかわらず、依然、事業報告形式定義情報のように複数の文書からなるものではなく、外部の装置への送信および解釈が煩雑にならずに済む。   Since each element of the structured document generated by the structured document generating unit includes the information associated with the item corresponding to the element, the structured document is more appropriately used using the information. Although it can be displayed and more information can be sent to an external device, it still does not consist of multiple documents like business report format definition information, but to an external device. Transmission and interpretation are not complicated.

また、上記事業報告形式定義情報は、上記語彙定義文書により定義された語彙に含まれる項目間の表示上の親子関係を定義する表示親子関係定義文書と、当該項目間の計算上の親子関係を定義する計算親子関係定義文書と、当該項目間の概念定義上の親子関係を定義する定義親子関係定義文書とを含んでいるものであってもよい。例えば、XBRLのタクソノミは、表示親子関係定義文書である表示リンクベース、計算親子関係定義文書である計算リンクベースおよび定義親子関係定義文書である定義リンクベースを含んでいる。   In addition, the business report format definition information includes a display parent-child relationship definition document that defines a display parent-child relationship between items included in the vocabulary defined by the vocabulary definition document, and a calculation parent-child relationship between the items. It may include a calculation parent-child relationship definition document to be defined and a definition parent-child relationship definition document that defines a parent-child relationship in the concept definition between the items. For example, the taxonomy of XBRL includes a display link base that is a display parent-child relationship definition document, a calculation link base that is a calculation parent-child relationship definition document, and a definition link base that is a definition parent-child relationship definition document.

表示上の親子関係とは、XBRLのタクソノミにおける表示リンクベースのように、事業報告形式定義情報または当該事業報告形式定義情報によって定義された形式を有する事業報告を表示する際に用いられる各項目間の親子関係であり、例えば、各項目をグルーピングして表示する際には、そのグループのメンバーを子とし、グループを親として親子関係を構築することができる。   The parent-child relationship on display refers to the relationship between items used when displaying business report format definition information or a business report having a format defined by the business report format definition information, such as the display link base in the taxonomy of XBRL. For example, when each item is grouped and displayed, a parent-child relationship can be established with the group member as a child and the group as a parent.

計算上の親子関係とは、XBRLのタクソノミにおける計算リンクベースのように、事業報告形式定義情報によって定義された形式を有する事業報告において各項目を計算する際に用いられる各項目間の親子関係であり、例えば、特定の項目のデータが、他の項目群のデータに対する演算の結果得られるデータと等しい場合には、その項目群を子とし、上記特定の項目を親として親子関係を構築することができる。   The parent-child relationship in calculation is a parent-child relationship between items used when calculating each item in a business report having a format defined by the business report format definition information, such as a calculation link base in the taxonomy of XBRL. Yes, for example, when the data of a specific item is the same as the data obtained as a result of the operation on the data of another item group, the parent-child relationship is established with the item group as a child and the specific item as a parent Can do.

概念定義上の親子関係とは、XBRLのタクソノミにおける定義リンクベースのように、事業報告形式定義情報における各項目の概念的な親子関係を示すものであり、例えば、各項目が概念的にグルーピングされる場合には、そのグループのメンバーを子とし、グループを親として親子関係を構築することができる。   The parent-child relationship in the concept definition indicates the conceptual parent-child relationship of each item in the business report format definition information, like the definition link base in the XBRL taxonomy. For example, each item is conceptually grouped. In this case, a parent-child relationship can be established with a member of the group as a child and a group as a parent.

以上のように、上記事業報告形式定義情報が、上記語彙定義文書により定義された語彙に含まれる項目間の表示上の親子関係を定義する表示親子関係定義文書と、当該項目間の計算上の親子関係を定義する計算親子関係定義文書と、当該項目間の概念定義上の親子関係を定義する定義親子関係定義文書とを含んでいることにより、事業報告形式定義情報または当該事業報告形式定義情報によって定義された形式を有する事業報告等の表示、計算および概念理解を首尾よく行うことができる。   As described above, the business report format definition information includes the display parent-child relationship definition document that defines the display parent-child relationship between the items included in the vocabulary defined by the vocabulary definition document, and the calculation between the items. Business report format definition information or business report format definition information by including a calculation parent-child relationship definition document that defines a parent-child relationship and a definition parent-child relationship definition document that defines a parent-child relationship in the concept definition between the items Display, calculation and conceptual understanding of business reports etc. having the format defined by

このとき、上記構造化文書生成手段は、上記表示親子関係定義文書、上記計算親子関係定義文書または上記定義親子関係定義文書のいずれか1つに定義された親子関係を表現する入れ子構造を有する構造化文書を生成することが好ましい。   At this time, the structured document generation means has a structure having a nested structure that expresses a parent-child relationship defined in any one of the display parent-child relationship definition document, the calculated parent-child relationship definition document, or the definition parent-child relationship definition document. It is preferable to generate a digitized document.

例えば、図8に示す構造化文書は、表示リンクベースにより定義された親子関係を表現する入れ子構造を有する。上記構造化文書生成手段は、表示リンクベースの代わりに、計算リンクベースまたは定義リンクベースにより定義された親子関係を表現する入れ子構造を有する構造化文書を生成してもよい。すなわち、いずれか1つの親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書が生成されるため、例えば、表示を行う際には、表示親子関係定義文書により定義された親子関係を容易に取得し、演算関係を理解する際には、計算親子関係定義文書により定義された親子関係を容易に取得し、概念定義関係を理解する際には、定義親子関係定義文書により定義された親子関係を容易に取得することができるなど、その用途に応じた親子関係を容易に取得することができる。   For example, the structured document shown in FIG. 8 has a nested structure that expresses a parent-child relationship defined by the display link base. The structured document generation means may generate a structured document having a nested structure that represents a parent-child relationship defined by a calculation link base or a definition link base instead of a display link base. In other words, since a structured document having a nested structure that expresses a parent-child relationship defined by any one parent-child relationship definition document is generated, for example, when displaying, it is defined by the display parent-child relationship definition document. When acquiring parent-child relationships easily and understanding operation relationships, parent-child relationships defined by the calculation parent-child relationship definition document are easily acquired. When understanding concept definition relationships, the definition parent-child relationship definition document is used. It is possible to easily acquire a parent-child relationship according to its use, such as being able to easily acquire a defined parent-child relationship.

また、上記事業報告形式定義文書は、拡張機能を有していてもよい。本明細書において、事業報告形式定義文書の拡張機能とは、既存の事業報告形式定義文書に対し、情報を追加して新しい事業報告形式定義文書を構成するための機能を指す。言い換えれば、任意の事業報告形式定義文書において、他の事業報告形式定義文書の内容を取り込むための機能を指す。   The business report format definition document may have an extended function. In this specification, the extended function of the business report format definition document refers to a function for configuring a new business report format definition document by adding information to an existing business report format definition document. In other words, it refers to a function for capturing the contents of another business report format definition document in an arbitrary business report format definition document.

上記拡張機能は、第1の事業報告形式定義文書と、第2の事業報告形式文書とを、第1事業報告形式定義文書に、第2の事業報告形式文書を取り込むことを示して関連付けることによって実現することができる。例えば、XBRLでは、第1の事業報告形式定義文書(のタクソノミスキーマ)内で、importタグを用いて、第2の事業報告形式定義文書(のタクソノミスキーマ)を参照することによって、実現される。   The extended function associates the first business report format definition document and the second business report format document with the first business report format definition document by indicating that the second business report format document is captured. Can be realized. For example, in XBRL, it is realized by referring to the second business report format definition document (its taxonomy schema) using the import tag in the first business report format definition document (its taxonomy schema).

第1の事業報告形式定義文書における、第2の事業報告形式文書に対する変更は例えば、優先度の属性を用いることによって以下のように記述することができる。例えば、特定の項目の表示上の親子関係を修正する場合には、第1の事業報告形式定義文書(の表示上の親子関係定義文書)にて修正前の親子関係を禁止し、修正後の親子関係を、第2の事業報告形式文書に記述された修正前の親子関係よりも優先度を高くして記述する。これにより、修正前の親子関係が禁止されて、修正後の親子関係が優先され、親子関係の修正をすることができる。例えば、XBRLでは、関係の禁止を示す属性(値)としてuse(prohibited)、優先度を示す属性として、priorityという属性を用いている。   Changes to the second business report format document in the first business report format definition document can be described as follows by using, for example, a priority attribute. For example, when the parent-child relationship on the display of a specific item is corrected, the parent-child relationship before the correction is prohibited in the first business report format definition document (the parent-child relationship definition document on the display), and the corrected The parent-child relationship is described with a higher priority than the parent-child relationship before correction described in the second business report format document. As a result, the parent-child relationship before correction is prohibited, the parent-child relationship after correction is prioritized, and the parent-child relationship can be corrected. For example, in XBRL, use (prohibited) is used as an attribute (value) indicating prohibition of a relationship, and priority is used as an attribute indicating priority.

そして、以上に示した事業報告形式定義文書に加え、上記語彙定義文書において定義された語彙に含まれる各項目のそれぞれの値を示す文書を用いれば、事業報告を首尾よく行なうことができる。例えば、XBRLでは、タクソノミスキーマにより定義された要素に、所定の値を記述したインスタンス文書が後者として用いられる。   Then, in addition to the business report format definition document described above, a business report can be successfully performed by using a document that indicates the value of each item included in the vocabulary defined in the vocabulary definition document. For example, in XBRL, an instance document in which a predetermined value is described in an element defined by a taxonomy schema is used as the latter.

上記構造化文書生成装置は、上記表示親子関係定義文書、上記計算親子関係定義文書および上記定義親子関係定義文書のうちのいずれかを指定する親子関係定義文書指定情報を含む構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる親子関係定義文書指定情報により指定された親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成することが好ましい。   The structured document generation device receives a structured document generation request including parent-child relationship definition document designation information for designating any of the display parent-child relationship definition document, the calculated parent-child relationship definition document, and the defined parent-child relationship definition document. A receiving unit for receiving from the outside; and a transmitting unit for transmitting the structured document generated by the structured document generating unit to the outside. The structured document generating unit responds to the received structured document generation request. It is preferable to generate a structured document having a nested structure expressing the parent-child relationship defined by the parent-child relationship definition document specified by the included parent-child relationship definition document specifying information.

すなわち、上記構造化文書生成装置と、構造化文書生成要求を当該構造化文書生成装置に対して発し、当該構造化文書生成装置が生成した構造化文書を受け取る外部端末を備えたシステムを構築することができる。このような外部端末は、例えば、図4に示すようなツリービューを備えたものであってもよい。   That is, a system including the structured document generation apparatus and an external terminal that issues a structured document generation request to the structured document generation apparatus and receives the structured document generated by the structured document generation apparatus is constructed. be able to. Such an external terminal may have, for example, a tree view as shown in FIG.

このようなシステムを用いれば、ユーザは、上記外部端末を操作することにより、首尾よく所定の用途(表示、計算または概念定義)に応じた親子関係を表現する構造化文書を取得することができる。   By using such a system, the user can successfully obtain a structured document that expresses a parent-child relationship according to a predetermined application (display, calculation, or concept definition) by operating the external terminal. .

また、上記構造化文書生成装置は、上記語彙定義文書により定義された語彙に含まれる項目のうち、いずれの項目を要素とするかを指定する項目指定情報を含んでおり構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる項目指定情報により指定された項目を要素とした構造化文書を生成するものであってもよい。   Further, the structured document generation apparatus includes item designation information for designating which item is an element among the items included in the vocabulary defined by the vocabulary definition document. A receiving unit for receiving from the outside; and a transmitting unit for transmitting the structured document generated by the structured document generating unit to the outside. The structured document generating unit responds to the received structured document generation request. A structured document having an item specified by the included item specifying information as an element may be generated.

このような構造化文書生成装置と外部端末とで構成されるシステムを用いれば、ユーザは、上記外部端末を操作することにより、首尾よく特定の要素を含んだ構造化文書を取得することができる。特定の要素としては、例えば、事業報告の何れの表(例えば、財務諸表の何れかの表)について表示するかを特定するものであってもよく。特定の表(リンクロール)を指定する情報であってもよい。   By using a system composed of such a structured document generation device and an external terminal, a user can successfully acquire a structured document including a specific element by operating the external terminal. . As the specific element, for example, which table of the business report (for example, any table of the financial statements) is specified may be specified. Information specifying a specific table (link role) may be used.

上記構造化文書生成要求の外部からの受信および上記構造化文書の外部への送信を行う上記構造化文書生成装置では、上記構造化文書生成要求および上記構造化文書がSOAPメッセージを構成していることが好ましい。   In the structured document generation apparatus that receives the structured document generation request from the outside and transmits the structured document to the outside, the structured document generation request and the structured document constitute a SOAP message. It is preferable.

上記構造化文書生成要求および上記構造化文書がSOAPメッセージを構成していることにより、例えば、インターネットを介して外部端末と通信することを首尾よく行うことができ、ウェブ型のアプリケーションを好適に構築することができる。   Since the structured document generation request and the structured document form a SOAP message, for example, communication with an external terminal via the Internet can be performed successfully, and a web-type application is suitably constructed. can do.

上記構造化文書生成手段は、上記語彙定義文書により定義された語彙に含まれる項目に対応する各要素を、同一のタグを用いて表現することが好ましい。各要素に同一のタグを付して構築することにより、上記構造化文書の構造を単純なものとすることができ、当該構造化文書の検証等を容易にする。例えば、図8では、各要素をaccタグを用いて表現している。このとき、accタグを有する要素の子要素はaccしか存在し得ないため、上記構造化文書の妥当性を検証するためのXMLスキーマ、DTD等のスキーマ言語を容易に記載することができる。従って、上記構造化文書は、構造化文書を入力とする市販のソフトウェア部品、例えばツリービュー等に容易に適用することができる。なぜなら、これらのソフトウェア部品は、入力する構造化文書の妥当性の検証が求められる場合があり、本発明に係る構造化文書によれば、妥当性の検証が容易であるからである。   It is preferable that the structured document generating means express each element corresponding to an item included in the vocabulary defined by the vocabulary definition document using the same tag. By constructing each element with the same tag, the structure of the structured document can be simplified, and verification of the structured document is facilitated. For example, in FIG. 8, each element is expressed using an acc tag. At this time, since only acc can be a child element of an element having an acc tag, a schema language such as an XML schema or DTD for verifying the validity of the structured document can be described easily. Therefore, the structured document can be easily applied to commercially available software components that receive the structured document, such as a tree view. This is because the validity of the structured document to be input may be required for these software components, and the validity of the structured software according to the present invention is easy to verify.

また、本発明に係る構造化文書生成装置を動作させるためのプログラムであって、コンピュータを上記の各手段として駆動させるプログラムおよび該プログラムを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に含まれる。   Also included in the scope of the present invention are a program for operating the structured document generating apparatus according to the present invention, the program driving the computer as each of the above means, and a computer-readable recording medium recording the program. It is.

以下、本発明の一実施形態について、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態の論理的な構成を示す図である。図1に示すように、XBRL処理システム1は、ユーザインタフェース層2、ビジネスロジック層3およびデータアクセス層4からなる一般的な3層構造のウェブアプリケーションとして構築される。   FIG. 1 is a diagram showing a logical configuration of an embodiment of the present invention. As shown in FIG. 1, the XBRL processing system 1 is constructed as a general three-layer web application including a user interface layer 2, a business logic layer 3, and a data access layer 4.

このようなXBRL処理システム1は、例えば、以下のように動作する。まず、ユーザインタフェース層2は、ユーザからの入力を受け付ける。ユーザからの入力は、例えば、事業報告のうちの特定の表(例えば、連結貸借対照表)を指定し、その表について、如何なる用途の親子関係(例えば、表示上の親子関係)を表示すべきかを指定するものである。ユーザインタフェース層2は、上記入力に基づき、上記表示を行うために用いる中間XML(構造化文書)をビジネスロジック層3に対して要求する。ビジネスロジック層3は、上記要求に従い、データベース層4から上記XBRLタクソノミを取得し、当該XBRLタクソノミを処理して、上記特定の表(リンクロール)についての上記特定の用途の親子関係を表現した入れ子構造を有する中間XMLを生成して、ユーザインタフェース層2に出力する。ユーザインタフェース層2は受け取った中間XMLを用いて、例えば、上記特定の表についての上記特定の用途の親子関係を表示する。なお、上記中間XMLが、本発明に係る構造化文書生成装置が生成する構造化文書に相当する。   Such an XBRL processing system 1 operates as follows, for example. First, the user interface layer 2 receives an input from a user. The input from the user, for example, specifies a specific table (for example, a consolidated balance sheet) in the business report, and for what purpose the parent-child relationship (for example, the parent-child relationship on the display) should be displayed. Is specified. Based on the input, the user interface layer 2 requests the business logic layer 3 for an intermediate XML (structured document) used for performing the display. The business logic layer 3 obtains the XBRL taxonomy from the database layer 4 in accordance with the request, processes the XBRL taxonomy, and expresses the parent-child relationship of the specific use for the specific table (link role). An intermediate XML having a structure is generated and output to the user interface layer 2. The user interface layer 2 displays the parent-child relationship of the specific application for the specific table, for example, using the received intermediate XML. The intermediate XML corresponds to a structured document generated by the structured document generation apparatus according to the present invention.

このとき、一実施形態において、ユーザインタフェース層2とビジネスロジック層3との間の通信はネットワークを介して行われる。上記通信は、例えば、SOAP規格に準拠して行われることが好ましい。本発明によれば、後述するように、このような通信を行うためのデータを容易に作成することができる。   At this time, in one embodiment, communication between the user interface layer 2 and the business logic layer 3 is performed via a network. The communication is preferably performed based on, for example, a SOAP standard. According to the present invention, as will be described later, it is possible to easily create data for performing such communication.

ただし、以上の構成は、あくまでも上述した各機能を論理的な階層モデルに振り分けることにより、開発効率、拡張性、柔軟性、メンテナンス性等を向上させることを目的としたものであって、必ずしもこれに限定されるものではない。すなわち、XBRL処理システム1は、上述した各機能を実施するように構成されていればよく、上記機能の論理的な構成および振り分けは当業者が適宜設計することができる。   However, the above configuration is intended to improve development efficiency, expandability, flexibility, maintainability, etc. by allocating each function described above to a logical hierarchical model. It is not limited to. That is, the XBRL processing system 1 only needs to be configured to perform the above-described functions, and the logical configuration and distribution of the functions can be appropriately designed by those skilled in the art.

図2は、本発明の一実施形態のより詳細な構成を示す機能ブロック図である。図2に示すように、本実施形態では、XBRL処理システム1が、中間XML生成装置(構造化文書生成装置)100および外部端末200を含んで構成される。   FIG. 2 is a functional block diagram showing a more detailed configuration of one embodiment of the present invention. As shown in FIG. 2, in the present embodiment, the XBRL processing system 1 includes an intermediate XML generation device (structured document generation device) 100 and an external terminal 200.

中間XML生成装置100は、外部端末200との通信のための通信部(受信部、送信部)102、主制御部110およびタクソノミ記憶部120を備えている。主制御部110は、SOAPメッセージ処理部112、中間XML生成部(構造化文書生成手段)111を備えている。中間XML生成部111は、入れ子構造生成部113、第1属性付与部114および第2属性付与部115を備えている。タクソノミ記憶部120は、タクソノミスキーマ(語彙定義文書)を記憶するタクソノミスキーマ記憶部121、表示リンクベース(表示親子関係定義文書)を記憶する表示リンクベース記憶部122、計算リンクベース(計算親子関係定義文書)を記憶する計算リンクベース記憶部123、定義リンクベース(定義親子関係定義文書)を記憶する定義リンクベース記憶部124、名称リンクベース(関連情報定義文書)を記憶する名称リンクベース記憶部125および参照リンクベース(関連情報定義文書)を記憶する参照リンクベース記憶部126を備えている。   The intermediate XML generation device 100 includes a communication unit (reception unit, transmission unit) 102 for communication with the external terminal 200, a main control unit 110, and a taxonomy storage unit 120. The main control unit 110 includes a SOAP message processing unit 112 and an intermediate XML generation unit (structured document generation unit) 111. The intermediate XML generation unit 111 includes a nested structure generation unit 113, a first attribute assignment unit 114, and a second attribute assignment unit 115. The taxonomy storage unit 120 includes a taxonomy schema storage unit 121 that stores a taxonomy schema (vocabulary definition document), a display link base storage unit 122 that stores a display link base (display parent-child relationship definition document), and a calculation link base (calculation parent-child relationship definition). A calculation link base storage unit 123 for storing a document), a definition link base storage unit 124 for storing a definition link base (definition parent-child relationship definition document), and a name link base storage unit 125 for storing a name link base (related information definition document). And a reference link base storage unit 126 for storing a reference link base (related information definition document).

外部端末200は、表示部201、中間XML生成装置200との通信のための通信部202、ユーザからの入力を受け付ける入力部203および端末制御部210を備えている。端末制御部210は、表示部201に要素を階層構造、すなわち、いわゆるツリービュー形式で表示させるツリービュー表示制御部211、SOAPメッセージ処理部212および中間XML生成要求作成部213を備えている。   The external terminal 200 includes a display unit 201, a communication unit 202 for communication with the intermediate XML generation device 200, an input unit 203 that receives input from a user, and a terminal control unit 210. The terminal control unit 210 includes a tree view display control unit 211, a SOAP message processing unit 212, and an intermediate XML generation request creation unit 213 that cause the display unit 201 to display elements in a hierarchical structure, that is, a so-called tree view format.

外部端末200は、入力部201からの入力に基づいて、中間XML生成要求作成部213において中間XML生成要求(構造化文書生成要求)を作成する。入力部201からの入力は、例えば、対象とする事業報告(例えば、連結貸借対照表等)および親子関係(例えば、表示上の親子関係、計算上の親子関係または概念定義上の親子関係)を、リスト状に表示部201に表示させ、そこから選択させることによって受け付けることができる。中間XML生成要求作成部213は、上記入力に基づいて、表(例えば、連結貸借対照表)を特定する情報、および特定の親子関係(例えば、表示上の親子関係)を指定するパラメータを設定する。上記パラメータを受け取ったSOAPメッセージ処理部212は、当該パラメータをSOAPエンベロープに包含されたSOAP本体中に記載して、SOAPメッセージに構成して、中間XML生成要求として通信部202から中間XML生成装置100へと送信する。   The external terminal 200 creates an intermediate XML generation request (structured document generation request) in the intermediate XML generation request generation unit 213 based on the input from the input unit 201. The input from the input unit 201 includes, for example, a target business report (for example, a consolidated balance sheet) and a parent-child relationship (for example, a parent-child relationship on display, a parent-child relationship on calculation, or a parent-child relationship on conceptual definition). It can be accepted by displaying it in the form of a list on the display unit 201 and selecting it from there. Based on the input, the intermediate XML generation request creation unit 213 sets information for specifying a table (for example, a consolidated balance sheet) and a parameter for specifying a specific parent-child relationship (for example, a parent-child relationship on display). . The SOAP message processing unit 212 that has received the parameter describes the parameter in the SOAP main body included in the SOAP envelope, composes it into a SOAP message, and sends the intermediate XML generation device 100 from the communication unit 202 as an intermediate XML generation request. Send to.

中間XML生成装置100の通信部102が受信した上記中間XML生成要求は、SOAPメッセージ処理部112において解析され、上述した、特定の表および特定の親子関係を指定するパラメータが取り出され、中間XML生成部111へと伝えられ、中間XML生成部111は、当該パラメータに基づいて中間XML(構造化文書)を生成する。生成された中間XMLは、SOAPメッセージ処理部112において、SOAPエンベロープに包含されたSOAP本体中に埋め込まれ、SOAPメッセージに構成されて、通信部102から外部端末200へと送信される。   The intermediate XML generation request received by the communication unit 102 of the intermediate XML generation apparatus 100 is analyzed by the SOAP message processing unit 112, and the above-described parameters specifying the specific table and the specific parent-child relationship are extracted, and the intermediate XML generation is performed. The intermediate XML generation unit 111 generates an intermediate XML (structured document) based on the parameter. The generated intermediate XML is embedded in the SOAP main body included in the SOAP envelope in the SOAP message processing unit 112, configured as a SOAP message, and transmitted from the communication unit 102 to the external terminal 200.

続いて、外部端末200のSOAPメッセージ処理部212は、通信部202が受信したSOAPメッセージを処理して、上記中間XMLを取り出し、ツリービュー表示制御部211に伝える。ツリービュー表示制御部211は、XMLをその入れ子構造に従った階層構造により表示部201に表示させるものであり、例えば、マイクロソフト社等の公知のツリービューを用いてもよい。   Subsequently, the SOAP message processing unit 212 of the external terminal 200 processes the SOAP message received by the communication unit 202, extracts the intermediate XML, and transmits it to the tree view display control unit 211. The tree view display control unit 211 displays XML on the display unit 201 in a hierarchical structure according to the nested structure. For example, a known tree view such as Microsoft Corporation may be used.

以上により、事業報告形式定義情報を首尾よく表示することができる。すなわち、上記中間XMLは、各要素に対応する項目の親子関係を入れ子構造によって表現している他、各要素に対応する項目の名称および表示順序を属性として含んでいるため、ツリービュー表示制御部211は、当該中間XMLに基づいて、各要素の階層関係、表示名称および表示順序を適切に表示させることができる。   As described above, the business report format definition information can be successfully displayed. That is, since the intermediate XML expresses the parent-child relationship of items corresponding to each element by a nested structure, and includes the name and display order of items corresponding to each element as attributes, the tree view display control unit 211 can appropriately display the hierarchical relationship, display name, and display order of each element based on the intermediate XML.

続いて、中間XML生成部111による中間XMLの生成について詳細に説明する。   Next, generation of intermediate XML by the intermediate XML generation unit 111 will be described in detail.

一実施形態において、中間XML生成部111は、入れ子構造生成部113、第1属性付与部114および第2属性付与部115を備えている。   In one embodiment, the intermediate XML generation unit 111 includes a nested structure generation unit 113, a first attribute assignment unit 114, and a second attribute assignment unit 115.

入れ子構造生成部113は、指定された親子関係に対応するリンクベースをタクソノミ記憶部120から取得して、当該リンクベースとタクソノミスキーマ記憶部121から取得したタクソノミスキーマとから入れ子構造を構築する。指定された親子関係に対応するリンクベースとは、例えば、表示上の親子関係が指定された場合には、表示リンクベース記憶部122から取得される表示リンクベースであり、計算上の親子関係が指定された場合には、計算リンクベース記憶部123から取得される計算リンクベースであり、概念定義上の親子関係が指定された場合には、定義リンクベース記憶部124から取得される定義リンクベースである。以下では、表示上の親子関係が指定された場合について説明する。   The nested structure generation unit 113 acquires a link base corresponding to the specified parent-child relationship from the taxonomy storage unit 120, and constructs a nested structure from the link base and the taxonomy schema acquired from the taxonomy schema storage unit 121. The link base corresponding to the specified parent-child relationship is, for example, the display link base acquired from the display link base storage unit 122 when the display parent-child relationship is specified, and the calculated parent-child relationship is The calculation link base acquired from the calculation link base storage unit 123 when specified, and the definition link base acquired from the definition link base storage unit 124 when the parent-child relationship on the concept definition is specified. It is. Below, the case where the parent-child relationship on display is designated is demonstrated.

入れ子構造生成部113は、指定された表(リンクロール)を示す情報を用いて、取得した表示リンクベースを探索して、親子関係を取得する。表示リンクベースにおいて、親子関係は、特定の二つの項目(以降、第1の項目および第2の項目と呼ぶ)への参照(ロケータ)と、その間の親子関係(アーク)の組によって示される。上記アークは、例えば、第1の項目は、第2の項目の表示上の親であることを示す(表示アーク)。図5は、タクソノミスキーマの一例、図6は表示リンクベースの一例である。図6に示すように、各ロケータは、図5に示されるタクソノミスキーマの要素を参照している。そして、各アークは、二つのロケータがそれぞれ参照する項目間の親子関係を定義している。なお、図6に示すように、上記組は、親子関係定義文書中において必ずしもまとまって記載されている必要はなく、分散して記載されていてもよい。また、各ロケータは、複数の組に属し得る。   The nested structure generation unit 113 searches the acquired display link base using information indicating the specified table (link role), and acquires a parent-child relationship. In the display link base, the parent-child relationship is indicated by a set of a reference (locator) to two specific items (hereinafter referred to as a first item and a second item) and a parent-child relationship (arc) between them. The arc indicates, for example, that the first item is a parent on display of the second item (display arc). FIG. 5 is an example of a taxonomy schema, and FIG. 6 is an example of a display link base. As shown in FIG. 6, each locator refers to an element of the taxonomy schema shown in FIG. Each arc defines a parent-child relationship between items referenced by two locators. In addition, as shown in FIG. 6, the said group does not necessarily need to be described collectively in the parent-child relationship definition document, and may be described in a distributed manner. Each locator may belong to a plurality of sets.

入れ子構造生成部113は、上記表示リンクベースを探索して、上記リンクロールを第1の項目として含んでいる上記組を取得し、当該組において第2の項目として参照されている項目を取得する。そして、上記リンクロールに対応する要素内に、取得した第2の項目に対応する要素を入れ子とする。続いて、入れ子とされた要素に対応する項目を第1の項目として含んでいる上記組を取得し、当該組において第2の項目として参照されている項目を取得し、この項目に対応する要素を、上記入れ子とされた要素内にさらに入れ子とする。これを繰り返すことによって、表示リンクベースにより定義された表示上の親子関係を表現する入れ子構造を有する構造化文書を作成することができる。ここで、各要素のタグの識別子は、同一のもの(例えば、acc)とすることができる。   The nested structure generation unit 113 searches the display link base, acquires the set including the link roll as the first item, and acquires an item referred to as the second item in the set. . Then, the element corresponding to the acquired second item is nested in the element corresponding to the link roll. Subsequently, the group including the item corresponding to the nested element as the first item is acquired, the item referred to as the second item in the group is acquired, and the element corresponding to this item Is further nested within the nested element. By repeating this, a structured document having a nested structure that expresses the parent-child relationship on the display defined by the display link base can be created. Here, the tag identifier of each element can be the same (for example, acc).

次に、第1属性付与部114は、入れ子構造生成部113が生成した入れ子構造に含まれるそれぞれの要素に対して、表示リンクベースに基づき、表示順序等の属性を付与する。表示リンクベースの上記組には、さらに第1の項目または第2の項目についての表示順序が定義されており、この表示順序を示す情報を、第1の項目または第2の項目に対応する要素に属性として付与する。すなわち、要素の属性定義部(タグ内)に、属性の識別子(表示順序:@odr)と、表示順序を示す情報とからなる属性定義情報を付加すればよい。   Next, the first attribute assigning unit 114 assigns an attribute such as a display order to each element included in the nested structure generated by the nested structure generating unit 113 based on the display link base. In the display link base group, a display order for the first item or the second item is further defined, and information indicating the display order is used as an element corresponding to the first item or the second item. As an attribute. That is, attribute definition information including an attribute identifier (display order: @odr) and information indicating the display order may be added to the element attribute definition section (within the tag).

さらに、第2属性付与部115は、入れ子構造生成部113が生成した入れ子構造に含まれるそれぞれの要素に対して、第1属性付与部114が属性を付与した後、さらに、名称リンクベースおよび参照リンクベースに基づき、標準ラベル、冗長ラベル等の属性を付与する。名称リンクベースおよび参照リンクベースには、特定の項目への参照(ロケータ)と、標準ラベル等と、その間の関係を示す情報(アーク)の組が含まれている。図7に、名称リンクベースの一例を示す。   Furthermore, after the first attribute assigning unit 114 assigns an attribute to each element included in the nested structure generated by the nested structure generating unit 113, the second attribute assigning unit 115 further performs name link base and reference Based on the link base, attributes such as standard labels and redundant labels are assigned. The name link base and the reference link base include a set of a reference (locator) to a specific item, a standard label, etc., and information (arc) indicating a relationship therebetween. FIG. 7 shows an example of the name link base.

第2属性付与部115は、上記入れ子構造に含まれるそれぞれの要素に対応する項目を参照するロケータを、名称リンクベースおよび参照リンクベースにおいて探索して、当該ロケータとアークにより関連付けられた標準ラベル等を取得する。そして、取得した標準ラベルを、上記要素に属性として付与する。すなわち、要素の属性定義部(タグ内)に、属性の識別子(例えば、標準ラベルであれば@lbl)と、上記標準ラベルとからなる属性定義情報を付加すればよい。   The second attribute assigning unit 115 searches a name link base and a reference link base for a locator that refers to an item corresponding to each element included in the nested structure, a standard label associated with the locator by an arc, and the like To get. Then, the acquired standard label is given to the element as an attribute. That is, attribute definition information including an attribute identifier (for example, @lbl for a standard label) and the standard label may be added to the element attribute definition section (in the tag).

以上のように構成された中間XMLの一例が、図8に示される。図8に示す中間XMLでは、連結貸借対照表の各項目が、その表示上の親子関係を表現する入れ子構造によって記述されている。図9は、図8に示す中間XMLの各要素の属性を説明する表である。図9に示すように、各要素には、タクソノミスキーマから取得された属性情報、名称リンクベースから取得された属性情報(標準ラベルおよび冗長ラベル)、表示リンクベースから取得された属性情報(親ロケータ、子ロケータ、優先度等)が付与されている。   An example of the intermediate XML configured as described above is shown in FIG. In the intermediate XML shown in FIG. 8, each item of the consolidated balance sheet is described by a nested structure that represents a parent-child relationship on the display. FIG. 9 is a table for explaining the attributes of each element of the intermediate XML shown in FIG. As shown in FIG. 9, each element includes attribute information acquired from the taxonomy schema, attribute information acquired from the name link base (standard label and redundant label), and attribute information acquired from the display link base (parent locator). , Child locator, priority, etc.).

なお、上述した事業報告形式定義文書の拡張機能が用いられていた場合には、入れ子構造生成部113は、上記タクソノミスキーマ、各リンクベースに加えて、当該タクソノミスキーマにおいてimport要素によって参照された第2のタクソノミスキーマおよび第2のリンクベース群についても検索の対象とする。同一の項目に対する定義情報が複数検出された場合(例えば、特定の項目に対して複数の標準ラベルが関連付けられていた場合)には、禁止されている情報についての処理を止め、優先度(priority)が高い方の情報についてのみ処理を行うことができる。   In addition, when the extended function of the business report format definition document described above is used, the nested structure generation unit 113 adds the first element referred to by the import element in the taxonomy schema in addition to the taxonomy schema and each link base. The second taxonomy schema and the second link base group are also searched. When a plurality of definition information for the same item is detected (for example, when a plurality of standard labels are associated with a specific item), the processing for the prohibited information is stopped, and the priority (priority) ) Can be processed only for the higher information.

また、上記では、まず、入れ子構造を形成してから属性を付与しているが、これに限定されず、入れ子構造の形成と属性の付与は並行して行う事も可能である。すなわち、要素について、当該要素に対応する項目の名称等を名称リンクベース記憶部125から取得した名称リンクベースを探索して取得し、当該要素に対応する項目の参照情報を参照リンクベース記憶部126から取得した参照リンクベースを探索して取得する。続いて、例えば、表示上の親子関係が指定されていた場合には、上記要素に対応する項目の表示順序を表示リンクベース記憶部122から取得した表示リンクベースを探索して取得する。また、例えば、計算上の親子関係が指定されていた場合には、上記要素に対応する項目の重み付けを計算リンクベース記憶部123から取得した計算リンクベースを探索して取得する。その上で、指定された親子関係に対応するリンクベースを、表示リンクベース記憶部122、計算リンクベース記憶部123および定義リンクベース124から取得して、入れ子構造を構築してもよい。   In the above description, the attribute is given after the nested structure is formed. However, the present invention is not limited to this, and the formation of the nested structure and the assignment of the attribute can be performed in parallel. That is, for the element, the name and the like of the item corresponding to the element are searched for and acquired from the name link base storage unit 125, and the reference information of the item corresponding to the element is obtained from the reference link base storage unit 126. Search and acquire the reference link base acquired from. Subsequently, for example, when the parent-child relationship on the display is designated, the display order of the items corresponding to the above elements is acquired by searching the display link base acquired from the display link base storage unit 122. Further, for example, when a parent-child relationship for calculation is designated, the calculation link base obtained from the calculation link base storage unit 123 is obtained by acquiring the weight of the item corresponding to the element. In addition, a link base corresponding to the specified parent-child relationship may be acquired from the display link base storage unit 122, the calculation link base storage unit 123, and the definition link base 124 to construct a nested structure.

なお、他の実施形態において、XBRL処理システム1は、同一のコンピュータに設けられていてもよい。その場合、通信部102および202は必要ない。   In other embodiments, the XBRL processing system 1 may be provided in the same computer. In that case, the communication units 102 and 202 are not necessary.

(プログラムおよび記録媒体)
最後に、中間XML生成装置100に含まれている主制御部110は、ハードウェアロジックによって構成することもできるが、次のように、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
(Program and recording medium)
Finally, the main control unit 110 included in the intermediate XML generation device 100 can be configured by hardware logic, but can also be realized by software using a CPU (Central Processing Unit) as follows. Good.

すなわち、主制御部110は、各機能を実現するプログラムの命令を実行するMPUなどのCPU、このプログラムを格納したROM(Read Only Memory)、上記プログラムを実行可能な形式に展開するRAM(Random Access Memory)、および、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)を備えている。   That is, the main control unit 110 includes a CPU such as an MPU that executes instructions of a program that realizes each function, a ROM (Read Only Memory) that stores the program, and a RAM (Random Access) that expands the program into an executable format. Memory) and a storage device (recording medium) such as a memory for storing the program and various data.

そして、本発明の目的は、主制御部110のプログラムメモリに固定的に担持されている場合に限らず、上記プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、または、ソースプログラム)を記録した記録媒体をデータ表示/センサ装置100に供給し、中間XML生成装置100が上記記録媒体に記録されている上記プログラムコードを読み出して実行することによっても、達成可能である。   The object of the present invention is not limited to the case where the program is stored in the program memory of the main control unit 110, and the program code (execution format program, intermediate code program, or source program) of the above program is recorded. This can also be achieved by supplying a recording medium to the data display / sensor device 100, and reading and executing the program code recorded on the recording medium by the intermediate XML generation device 100.

上記記録媒体は、特定の構造または種類のものに限定されない。すなわちこの記録媒体は、たとえば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などとすることができる。   The recording medium is not limited to a specific structure or type. That is, the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. System, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM.

また、主制御部110(または中間XML生成装置100)を通信ネットワークと接続可能に構成しても、本発明の目的を達成できる。この場合、上記のプログラムコードを、通信ネットワークを介して主制御部110に供給する。この通信ネットワークは主制御部110にプログラムコードを供給できるものであればよく、特定の種類または形態に限定されない。たとえばインターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等であればよい。   Further, even if the main control unit 110 (or the intermediate XML generation device 100) is configured to be connectable to a communication network, the object of the present invention can be achieved. In this case, the program code is supplied to the main control unit 110 via the communication network. The communication network is not limited to a specific type or form as long as it can supply the program code to the main control unit 110. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, etc. may be used.

この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な任意の媒体であればよく、特定の構成または種類のものに限定されない。たとえばIEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, even with wired lines such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), 802.11 wireless, HDR, mobile phone It can also be used by radio such as a telephone network, a satellite line, and a terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

以上、本発明を実施形態に基づいて具体的に説明したが、本発明は、上述した実施形態に限定されるものではなく、請求項に示した範囲において種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention has been specifically described above based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims, and different implementations are possible. Embodiments obtained by appropriately combining the technical means disclosed in each form are also included in the technical scope of the present invention.

本発明は、企業等の会計業務において利用可能である。   The present invention can be used in accounting operations of companies and the like.

1 XBRL処理システム
2 ユーザインタフェース層
3 ビジネスロジック層
4 データベース層
100 中間XML生成装置(構造化文書生成装置)
102 通信部(送信部、受信部)
110 主制御部
111 中間XML生成部(構造化文書生成手段)
112 SOAPメッセージ処理部
113 入れ子構造生成部
114 第1属性付与部
115 第2属性付与部
120 タクソノミ記憶部
200 外部端末
201 表示部
202 通信部
203 入力部
210 端末制御部
211 ツリービュー表示制御部
212 SOAPメッセージ処理部
213 中間XML生成要求作成部
1 XBRL processing system 2 User interface layer 3 Business logic layer 4 Database layer 100 Intermediate XML generation device (structured document generation device)
102 Communication unit (transmission unit, reception unit)
110 Main control unit 111 Intermediate XML generation unit (structured document generation means)
DESCRIPTION OF SYMBOLS 112 SOAP message processing part 113 Nested structure production | generation part 114 1st attribute provision part 115 2nd attribute provision part 120 Taxonomy memory | storage part 200 External terminal 201 Display part 202 Communication part 203 Input part 210 Terminal control part 211 Tree view display control part 212 SOAP Message processing unit 213 Intermediate XML generation request creation unit

Claims (11)

事業報告の形式を定義する事業報告形式定義情報であって、当該事業報告の語彙を定義する語彙定義文書と、該語彙定義文書により定義された語彙に含まれる項目間の親子関係を定義する親子関係定義文書とを含む事業報告形式定義情報に基づいて、上記語彙定義文書により定義された語彙に含まれる項目を要素とし、上記親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成する構造化文書生成手段を備えていることを特徴とする構造化文書生成装置。   Business report format definition information that defines the format of a business report, a vocabulary definition document that defines the vocabulary of the business report, and a parent and child that defines a parent-child relationship between items included in the vocabulary defined by the vocabulary definition document Based on the business report format definition information including the relationship definition document, it has a nested structure that expresses the parent-child relationship defined by the parent-child relationship definition document, with the items included in the vocabulary defined by the vocabulary definition document as elements. A structured document generation apparatus comprising structured document generation means for generating a structured document. 上記親子関係定義文書が、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報をさらに定義しており、
上記要素はそれぞれ、上記親子関係定義文書により定義された、当該要素に対応する項目に関連付けられた情報を含んでいることを特徴とする請求項1に記載の構造化文書生成装置。
The parent-child relationship definition document further defines information associated with items included in the vocabulary defined by the vocabulary definition document,
2. The structured document generation apparatus according to claim 1, wherein each of the elements includes information defined by the parent-child relationship definition document and associated with an item corresponding to the element.
上記事業報告形式定義情報が、上記語彙定義文書により定義された語彙に含まれる項目に関連付けられた情報を定義する関連情報定義文書をさらに含んでおり、
上記要素はそれぞれ、上記関連情報定義文書により定義された、当該要素に対応する項目に関連付けられた情報を含んでいることを特徴とする請求項1または2に記載の構造化文書生成装置。
The business report format definition information further includes a related information definition document that defines information associated with items included in the vocabulary defined by the vocabulary definition document,
3. The structured document generation apparatus according to claim 1 or 2, wherein each of the elements includes information defined by the related information definition document and associated with an item corresponding to the element.
上記事業報告形式定義情報が、上記語彙定義文書により定義された語彙に含まれる項目間の表示上の親子関係を定義する表示親子関係定義文書と、当該項目間の計算上の親子関係を定義する計算親子関係定義文書と、当該項目間の概念定義上の親子関係を定義する定義親子関係定義文書とを含んでおり、
上記入れ子構造は、上記表示親子関係定義文書、上記計算親子関係定義文書または上記定義親子関係定義文書のいずれか1つに定義された親子関係を表現することを特徴とする請求項1から3のいずれか1項に記載の構造化文書生成装置。
The business report format definition information defines the display parent-child relationship definition document that defines the display parent-child relationship between items included in the vocabulary defined by the vocabulary definition document, and the calculation parent-child relationship between the items. A calculation parent-child relationship definition document, and a definition parent-child relationship definition document that defines a parent-child relationship in the concept definition between the items,
The said nested structure expresses the parent-child relationship defined in any one of the said display parent-child relationship definition document, the said calculation parent-child relationship definition document, or the said definition parent-child relationship definition document of Claim 1 to 3 characterized by the above-mentioned. The structured document generation apparatus according to any one of the above.
上記表示親子関係定義文書、上記計算親子関係定義文書および上記定義親子関係定義文書のうちのいずれかを指定する親子関係定義文書指定情報を含む構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、
上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる親子関係定義文書指定情報により指定された親子関係定義文書により定義された親子関係を表現する入れ子構造を有する構造化文書を生成することを特徴とする請求項4に記載の構造化文書生成装置。
A receiving unit that receives a structured document generation request including parent-child relationship definition document designation information for designating any of the display parent-child relationship definition document, the calculated parent-child relationship definition document, and the definition parent-child relationship definition document; A transmission unit that transmits the structured document generated by the structured document generation unit to the outside;
The structured document generation means generates a structured document having a nested structure that expresses a parent-child relationship defined by the parent-child relationship definition document specified by the parent-child relationship definition document designation information included in the received structured document generation request. The structured document generation apparatus according to claim 4, wherein
上記語彙定義文書により定義された語彙に含まれる項目のうち、いずれの項目を要素とするかを指定する項目指定情報を含む構造化文書生成要求を外部から受信する受信部と、上記構造化文書生成手段が生成した構造化文書を外部に送信する送信部とをさらに備えており、
上記構造化文書生成手段は、受信した構造化文書生成要求に含まれる項目指定情報により指定された項目を要素とした構造化文書を生成することを特徴とする請求項1から5のいずれか1項に記載の構造化文書生成装置。
A receiving unit for receiving a structured document generation request including item designation information for designating which item is included in the vocabulary defined by the vocabulary definition document, and the structured document A transmission unit that transmits the structured document generated by the generation unit to the outside;
6. The structured document generation unit generates a structured document having an item specified by item specifying information included in the received structured document generation request as an element. The structured document generating apparatus according to the item.
上記構造化文書生成要求および上記構造化文書がSOAPメッセージを構成していることを特徴とする請求項5または6に記載の構造化文書生成装置。   7. The structured document generation apparatus according to claim 5, wherein the structured document generation request and the structured document form a SOAP message. 上記構造化文書は、上記語彙定義文書により定義された語彙に含まれる項目に対応する要素を、同一のタグを用いて表現していることを特徴とする請求項1から7に記載の構造化文書生成装置。   8. The structured document according to claim 1, wherein the structured document represents an element corresponding to an item included in the vocabulary defined by the vocabulary definition document using the same tag. Document generation device. 上記事業報告が、財務諸表であることを特徴とする請求項1から8のいずれか1項に記載の構造化文書生成装置。   9. The structured document generation apparatus according to claim 1, wherein the business report is a financial statement. コンピュータを請求項1から9のいずれか1項に記載の構造化文書生成装置として動作させるためのプログラムであって、上記コンピュータを上記構造化文書生成装置が備えている各手段として機能させるためのプログラム。   A program for causing a computer to operate as the structured document generation apparatus according to any one of claims 1 to 9, wherein the computer functions as each unit included in the structured document generation apparatus. program. 請求項10に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 10.
JP2009029982A 2009-02-12 2009-02-12 Structured document generation device, and program and recording medium therefor Pending JP2010186325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009029982A JP2010186325A (en) 2009-02-12 2009-02-12 Structured document generation device, and program and recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009029982A JP2010186325A (en) 2009-02-12 2009-02-12 Structured document generation device, and program and recording medium therefor

Publications (1)

Publication Number Publication Date
JP2010186325A true JP2010186325A (en) 2010-08-26

Family

ID=42766947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009029982A Pending JP2010186325A (en) 2009-02-12 2009-02-12 Structured document generation device, and program and recording medium therefor

Country Status (1)

Country Link
JP (1) JP2010186325A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018055576A (en) * 2016-09-30 2018-04-05 キヤノンマーケティングジャパン株式会社 Information processing apparatus, control method, and program
WO2023166736A1 (en) * 2022-03-04 2023-09-07 富士通株式会社 Information processing program, information processing method, and information processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018055576A (en) * 2016-09-30 2018-04-05 キヤノンマーケティングジャパン株式会社 Information processing apparatus, control method, and program
WO2023166736A1 (en) * 2022-03-04 2023-09-07 富士通株式会社 Information processing program, information processing method, and information processing device
JPWO2023166736A1 (en) * 2022-03-04 2023-09-07

Similar Documents

Publication Publication Date Title
US10706221B2 (en) Method and system operable to facilitate the reporting of information to a report reviewing entity
US8589786B2 (en) Trademark report with store layout diagram
JP5689361B2 (en) Method, program, and system for converting a part of graph data into a data structure that is an image of a homomorphic map
CN106708480A (en) Management platform realization method and apparatus
CN101326523A (en) System and method for importing content into a content management system using an e-
US20080005144A1 (en) Apparatus and method for transferring data between incompatible computer systems
US8234570B2 (en) Harvesting assets for packaged software application configuration
EP3621010A1 (en) System and method for generating a proposal based on a request for proposal (rfp)
Tarra et al. Sentiment Analysis in Customer Interactions: Using AI-Powered Sentiment Analysis in Salesforce Service Cloud to Improve Customer Satisfaction
PH12016000321A1 (en) Method and system to enable real-time availability of accessible format through multimodal, multichannel eco-system
CN109919433A (en) Order information generation method, device and computer equipment
JP2015219689A (en) Multimedia information transmission system and method
Kuloor et al. Aspect-oriented requirements engineering for software product lines
US8880646B2 (en) Information distribution system, service-providing method for an information distribution system, and a program for the same
CN103473106B (en) Method and system for generating page
CN102867067A (en) Device and method for data integration processing for heterogenous system
US9690834B2 (en) Representation, comparison, and troubleshooting of native data between environments
JP2010186325A (en) Structured document generation device, and program and recording medium therefor
JP2019145144A (en) System and method for automated digital rfid printing and integration
Amar Bensaber et al. Development of semantic web services: model driven approach
US20110022498A1 (en) Method and system for automatically transforming product intent descriptions into a process network and populating an order entry system
WO2017208922A1 (en) Data exchange system, data exchange method, and data exchange program
US20190306249A1 (en) Restful interface system for an application
WO2018216346A1 (en) Data exchange system, data exchange method, and data exchange program
US20110022209A1 (en) Method and system for automatically identifying an existing workflow to manufacture a given product type