JP2006107286A - Instance file generating system, instance file generating method, and instance file generating program - Google Patents

Instance file generating system, instance file generating method, and instance file generating program Download PDF

Info

Publication number
JP2006107286A
JP2006107286A JP2004295309A JP2004295309A JP2006107286A JP 2006107286 A JP2006107286 A JP 2006107286A JP 2004295309 A JP2004295309 A JP 2004295309A JP 2004295309 A JP2004295309 A JP 2004295309A JP 2006107286 A JP2006107286 A JP 2006107286A
Authority
JP
Japan
Prior art keywords
pattern
instance file
instance
file
period
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
JP2004295309A
Other languages
Japanese (ja)
Inventor
Fumine Suzuki
文音 鈴木
Mamoru Ozaki
守 尾崎
Mizuhiro Sakai
瑞洋 酒井
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2004295309A priority Critical patent/JP2006107286A/en
Publication of JP2006107286A publication Critical patent/JP2006107286A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To re-generate an instance file by unifying a instance document in the instance file into a specific pattern. <P>SOLUTION: The system comprises: a context count part 110 for counting the number of contexts; an entity recognition part 111 for extracting and recognizing description of an entity; a period recognition part 112 for extracting and recognizing description of a period; a pattern classification execution part 113 for specifying a classification pattern by deciding whether or not the number of contexts is singular or plural, deciding whether or not there are any descriptions of the entity which differ among the contexts when there are a plurality of descriptions of the entity, and deciding whether or not there are any descriptions of the period which differ among the contexts when there are a plurality of descriptions of the period; a pattern contrast part 114 for contrasting a pattern in an output format and the classification pattern; and a file output part 115 for outputting a file to an output interface as an instance file in the output format when the pattern in the output format coincides with the classification pattern. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、インスタンスファイル生成システム、インスタンスファイル生成方法、およびインスタンスファイル生成プログラムに関する。   The present invention relates to an instance file generation system, an instance file generation method, and an instance file generation program.

複数の会計データを含むファイル取得して連結決算処理を行うシステム等がいくつか提案されている。例えば、通信ネットワークを通じて端末装置から入力した会計データに基づいて、会計処理を行うアプリケーションを提供するサーバ装置を備え、国際的な会計処理に対応して処理を実行する国際会計システムであって、該サーバ装置は、固有の会計制度を有する複数国または地域において営業・販売活動を行うグループ企業の端末装置から会計データを収集し、該グループ企業における連結決算処理を含む会計処理を実行することを特徴とする国際会計システム(特許文献1参照)などが提案されている。
特開2004−110454号公報
Several systems have been proposed that perform consolidated settlement processing by acquiring files containing multiple accounting data. For example, an international accounting system that includes a server device that provides an application for performing accounting processing based on accounting data input from a terminal device through a communication network, and executes processing corresponding to international accounting processing, The server device collects accounting data from a terminal device of a group company that conducts sales and sales activities in a plurality of countries or regions having a specific accounting system, and executes accounting processing including consolidated settlement processing in the group company An international accounting system (see Patent Document 1) is proposed.
JP 2004-110454 A

ところで、XBRL(eXtensible Business Reporting Language)が国税局に採用され、このXBRLに対する関心が高まってきた。XBRLは、一般に、財務や経営などの用途に使用する情報を記述できるXMLベースの言語であって、企業等における財務情報データ(例:貸借対照表や損益計算書といった財務諸表や内部会計報告など)の記述に適している言語である。企業等はこのXBRLに則して財務情報データを作成することとなる。   By the way, the XBRL (eXtensible Business Reporting Language) has been adopted by the National Tax Bureau, and interest in this XBRL has increased. XBRL is an XML-based language that can generally describe information used for financial and management purposes, such as financial information data in companies (eg, financial statements such as balance sheets and profit and loss statements, internal accounting reports, etc.) ) Is a language suitable for description. A company or the like creates financial information data in accordance with this XBRL.

しかし、XBRLにおけるインスタンス文書の記述形式が、企業等の組織毎に統一されたものとはなっていないことがある。従ってこの場合、同一企業内であってもインスタンスファイルが含む各インスタンス文書の形式が不揃いであり、これらインスタンス文書の形式をそれぞれ認識し次処理に取りかかるために多くの時間と手作業の労力とを必要としている。また、それら異なる形式のインスタンス文書を所定の形式に揃えるべく再構成するとしても膨大な工数がかかる。   However, the description format of the instance document in XBRL may not be unified for each organization such as a company. Therefore, in this case, the format of each instance document included in the instance file is uneven even within the same company, and it takes a lot of time and manual labor to recognize the format of each instance document and start the next processing. In need of. Further, even if these different types of instance documents are reconfigured so as to be arranged in a predetermined format, an enormous man-hour is required.

そこで本発明は上記課題を鑑みてなされたものであり、インスタンスファイルにおけるインスタンス文書を所定パターンに統一してインスタンスファイルの再生成を可能とする、インスタンスファイル生成システム、インスタンスファイル生成方法、およびインスタンスファイル生成プログラムを提供することを主たる目的とする。   Therefore, the present invention has been made in view of the above problems, and an instance file generation system, an instance file generation method, and an instance file that can regenerate an instance file by unifying the instance documents in the instance file into a predetermined pattern The main purpose is to provide a generation program.

上記課題を解決する本発明のインスタンスファイル生成システムは、インスタンスファイルの生成システムであって、入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントするコンテキストカウント部と、前記コンテキストのentityの記述を抽出し認識するentity認識部と、前記コンテキストのperiodの記述を抽出し認識するperiod認識部と、前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定する、パターン分類実行部と、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照する、パターン対照部と、前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力する、ファイル出力部と、を備えることを特徴とする(第1の発明)。   An instance file generation system of the present invention that solves the above problem is an instance file generation system, and for an instance file acquired from an input interface, a context count unit that counts the number of contexts included in the instance file; When there is an entity recognizing unit that extracts and recognizes a description of an entity, a period recognizing unit that extracts and recognizes a description of a period of the context, a determination of whether the number of contexts is singular or plural, and a plurality of descriptions of the entity It is determined whether or not there is a description of the entity different between contexts, and whether or not there is a description of the period different between contexts when there are a plurality of description of the periods. Categorizing whether the instance file is related to one or more accounting periods for one or more organizations and identifying the classification pattern; and one or more accounting periods for organizations where the instance file is one or more Among the patterns defined as the output format and the pattern comparison unit that compares the classification pattern regarding the instance file with the pattern of the output format. And a file output unit that outputs the instance file as an output format instance file to an output interface when the classification pattern matches (first invention).

第2の発明は、第1の発明において、前記インスタンスファイルを構成する各コンテキストデータを抽出して分割インスタンスファイルを生成する、分割インスタンスファイル生成部と、前記分割インスタンスファイルがどの分類パターンにあたるか判定すると共に、当該分類パターンと前記出力形式のパターンとを対照する、分割パターン対照部と、前記パターンの対照結果が、出力形式のパターンと分割インスタンスファイルの分類パターンとが一致するものである場合に、前記分割インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力する、分割ファイル出力部と、を備えることを特徴とする。   According to a second aspect, in the first aspect, a divided instance file generation unit that extracts each context data constituting the instance file to generate a divided instance file, and determines which classification pattern the divided instance file corresponds to In addition, the divided pattern comparison unit that compares the classification pattern with the pattern of the output format, and the pattern comparison result when the output format pattern matches the classification pattern of the divided instance file A split file output unit for outputting the split instance file as an output format instance file to an output interface.

第3の発明は、第2の発明において、前記分割インスタンスファイルの分類パターンと前記出力形式のパターンとが一致しない場合、前記分割インスタンスファイルを出力形式のパターンに則して連結し出力形式のインスタンスファイルとなす、連結処理部と、前記分割インスタンスファイルを連結してなした出力形式のインスタンスファイルを出力インターフェイスに出力する連結ファイル出力部と、を備えることを特徴とする。   According to a third aspect, in the second aspect, when the classification pattern of the divided instance file does not match the output format pattern, the divided instance files are connected according to the output format pattern, and the output format instance is connected. A connection processing unit configured as a file, and a connection file output unit that outputs an instance file in an output format formed by connecting the divided instance files to an output interface.

第4の発明は、第3の発明において、前記連結処理部は、前記出力形式のパターンが、単数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記entityが共通し会計期間が異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する単数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記periodが共通しentityが異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記entityおよびperiodのそれぞれについて異なるものを選択して連結するものであることを特徴とする。   In a fourth aspect based on the third aspect, if the output format pattern is a pattern of a plurality of accounting periods related to a singular organization, the concatenation processing unit is configured such that the entity is common among the split instance files. If the output format pattern is a singular accounting period pattern for multiple organizations, select and connect the split instance files that have the same period but different entities. If the pattern of the output format is a pattern of a plurality of accounting periods related to a plurality of organizations, different ones of the entity and period are selected and connected among the divided instance files.

第5の発明は、第3または第4の発明において、前記連結処理部は、前記分割インスタンスファイルを連結するに際し、所定の分割インスタンスファイルについてそのデータ領域を拡張し、当該拡張したデータ領域に対し連結対象となる他の分割インスタンスファイルを追加することで連結処理を実行することを特徴とする。   In a fifth aspect based on the third or fourth aspect, the concatenation processing unit expands the data area of a predetermined divided instance file when concatenating the divided instance files, and the expanded data area A connection process is executed by adding another divided instance file to be connected.

第6の発明は、インスタンスファイルの生成をコンピュータにより行う方法であって、入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントし、前記コンテキストのentityの記述を抽出し認識し、前記コンテキストのperiodの記述を抽出し認識し、前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定し、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照し、前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力することを特徴とする。   A sixth invention is a method of generating an instance file by a computer, and for the instance file acquired from the input interface, counts the number of contexts included in the instance file, extracts and recognizes the description of the entity of the context. , Extracting and recognizing the period description of the context, determining whether the number of contexts is singular or plural, and whether there is a description of the entity different between contexts when there are a plurality of entity descriptions When there is a plurality of descriptions of the period, it is determined whether or not there is a description of the period different between contexts, and the instance file is related to one or more accounting periods for one or more organizations. Classification A classification pattern is specified, and one of the patterns whether the instance file is related to one or more accounting periods for one or more organizations, a pattern defined as an output format, and a classification pattern related to the instance file, When the pattern comparison result is that the pattern in the output format matches the classification pattern, the instance file is output to the output interface as an instance file in the output format.

第7の発明は、インスタンスファイルの生成方法をコンピュータに実行させるプログラムであって、入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントするステップと、前記コンテキストのentityの記述を抽出し認識するステップと、前記コンテキストのperiodの記述を抽出し認識するステップと、前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定するステップと、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照するステップと、前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力するステップと、を備えることを特徴とする。   A seventh invention is a program for causing a computer to execute an instance file generation method, and for an instance file acquired from an input interface, a step of counting the number of contexts included in the instance file, and a description of the entity of the context Extracting and recognizing, extracting and recognizing the description of the period of the context, determining whether the number of contexts is singular or plural, and describing the entity between contexts when there are a plurality of entity descriptions It is determined whether there is a different description, and if there is a plurality of descriptions of the period, it is determined whether there is a description of the period different between contexts. Last Specify the output format among the step of classifying whether the period is related to one or more accounting periods and specifying the classification pattern, and the pattern of whether the instance file is related to one or more accounting periods for one or more organizations. A step of comparing one of the specified patterns with a classification pattern relating to the instance file, and outputting the instance file when the pattern comparison result matches the output pattern and the classification pattern. And outputting to the output interface as a format instance file.

その他、本願が開示する課題、及びその解決方法は、発明の実施の形態の欄、及び図面により明らかにされる。   In addition, the problems disclosed by the present application and the solutions thereof will be clarified by the embodiments of the present invention and the drawings.

本発明によれば、インスタンスファイルにおけるインスタンス文書を所定パターンに統一してインスタンスファイルの再生成が可能となる。   According to the present invention, it is possible to regenerate an instance file by unifying the instance documents in the instance file into a predetermined pattern.

−−−−XBRLの概要−−−−
本実施形態におけるインスタンスファイルは、XBRL形式の財務データを想定している。このXBRL(eXtensible Business Reporting Language)は、一般に、財務や経営などの用途に使用する情報を記述できるXMLベースの言語であって、企業等における財務情報データ(例:貸借対照表や損益計算書といった財務諸表や内部会計報告など)の記述に適している言語である。企業等はこのXBRLに則して財務データを作成することとなる。
---- Outline of XBRL ----
The instance file in this embodiment assumes financial data in the XBRL format. This XBRL (eXtensible Business Reporting Language) is an XML-based language that can generally describe information used for financial and management purposes, such as financial information data in companies, such as balance sheets and profit and loss statements. It is a language suitable for describing financial statements and internal accounting reports. Companies and others will create financial data in accordance with this XBRL.

このXBRLでは、インスタンスおよびタクソノミという2種の文書で情報記述をすることになる。また、タクソノミは、タクソノミ本体とリンクベースとからなり、前記インスタンスの内容、構造、扱われ方などを定義するものとなっている。   In this XBRL, information is described in two types of documents, an instance and a taxonomy. The taxonomy includes a taxonomy body and a link base, and defines the contents, structure, and handling method of the instance.

また、前記タクソノミ本体は、前記インスタンスにおける語彙(要素名、属性など)を定義するものであり、具体的な属性データなどが定義される。他方、リンクベース(XLink)は、前記インスタンスの文書構造、各情報の表示順・処理順などを定義するもので、前記タクソノミ本体とは別のファイルに作成することとなる。当該リンクベースでは、XLinkを用いて例えば、項目間の表示順、項目間の親子関係、項目の表示内容(ラベル)、参考文献といったリンク定義が可能となる。   The taxonomy body defines vocabulary (element name, attribute, etc.) in the instance, and defines specific attribute data. On the other hand, the link base (XLink) defines the document structure of the instance, the display order and processing order of each information, and is created in a file different from the taxonomy body. In the link base, for example, the link definition such as the display order between items, the parent-child relationship between items, the display content (label) of items, and the reference can be made using XLink.

また、インスタンスファイルは、同じ要素名や属性名を持つXML文書を利用または管理する場合に必要となる機構として、Namespaceを含むものであり、このNamespace:名前空間、を利用すると、同じ要素名や属性名を区別することができる。   An instance file includes Namespace as a mechanism required when using or managing an XML document having the same element name or attribute name. When this Namespace: namespace is used, the same element name or Attribute names can be distinguished.

また、インスタンスファイルは、インスタンスファイルに登録する値の背景となる情報を設定するコンテキスト(Context)を含むものであり、具体的には期間(period)や企業名(entity)、通貨単位(unit)を定義する。なお、このentityは、インスタンスファイルに登録する値の所属企業とセグメント(地域、業種、事業、部門など)を指定する為に使われ、periodは、インスタンスファイルに登録する値の持つ会計期間を指定する為に使われる。   The instance file includes a context for setting information as a background of values to be registered in the instance file. Specifically, a period, a company name (entity), and a currency unit (unit) Define This entity is used to specify the company and segment (region, industry, business, department, etc.) of the value to be registered in the instance file. Period specifies the accounting period of the value to be registered in the instance file. Used to do.

−−−システム−−−
上述のごときXBRLを用いたシステムの例を次に示す。以下に本発明の実施形態について図面を用いて詳細に説明する。図1は本実施形態におけるインスタンスファイル生成システムを含むネットワーク構成図である。本発明のインスタンスファイル生成システム100(以下、システム100)は例えばサーバコンピュータであり、本発明のインスタンスファイル生成方法を実行する機能を実現すべくハードディスクドライブなどのプログラムデータベース101に格納されたプログラム102をメモリ103に読み出し、演算装置たるCPU104により実行する。
--- System ---
An example of a system using XBRL as described above will be described below. Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a network configuration diagram including an instance file generation system in the present embodiment. An instance file generation system 100 (hereinafter, system 100) of the present invention is, for example, a server computer, and a program 102 stored in a program database 101 such as a hard disk drive is implemented in order to realize a function for executing the instance file generation method of the present invention. The data is read into the memory 103 and executed by the CPU 104 which is an arithmetic device.

また、システム100は、LANやインターネット等のネットワーク130を介して、クライアント装置200らの外部装置と接続してデータ授受を実行するI/O部105を備える。更に、システム100は、財務諸表データベース125、会員データベース126、インスタンスパターンデータベース127を利用可能である。   The system 100 also includes an I / O unit 105 that is connected to an external device such as the client device 200 via a network 130 such as a LAN or the Internet to exchange data. Further, the system 100 can use a financial statement database 125, a member database 126, and an instance pattern database 127.

以下に、前記システム100が例えばプログラム102に基づき構成・保持する機能部につき説明を行う。システム100は、入力インターフェイスより取得したインスタンスファイル10について、当該インスタンスファイル10が含むコンテキスト数をカウントするコンテキストカウント部110を備える。   Hereinafter, functional units that are configured and held by the system 100 based on the program 102 will be described. The system 100 includes a context count unit 110 that counts the number of contexts included in the instance file 10 obtained from the input interface.

また、システム100は、前記コンテキストのentityの記述を抽出し認識するentity認識部111と、前記コンテキストのperiodの記述を抽出し認識するperiod認識部112とを備える。   Further, the system 100 includes an entity recognition unit 111 that extracts and recognizes the description of the entity of the context, and a period recognition unit 112 that extracts and recognizes the description of the period of the context.

また、システム100は、前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイル10が単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定する、パターン分類実行部113を備える。   In addition, the system 100 determines whether the number of contexts is singular or plural, whether there is a description of the entity between contexts when there are a plurality of description of the entity, and description of the period In the case where there are a plurality of items, it is determined whether or not there is a description of the period different between contexts, and classifies whether the instance file 10 relates to one or more accounting periods for one or more organizations. A pattern classification execution unit 113 for specifying a classification pattern is provided.

また、システム100は、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイル10に関する分類パターンとを対照する、パターン対照部114を備える。   In addition, the system 100 selects one of the patterns determined as the output format from the patterns indicating whether the instance file is related to any accounting period for one or more organizations, and the classification pattern related to the instance file 10. A pattern contrast unit 114 is provided.

また、システム100は、前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイル10を出力形式のインスタンスファイルとして出力インターフェイスに出力する、ファイル出力部115を備える。   The system 100 also outputs a file output unit that outputs the instance file 10 as an output format instance file to the output interface when the pattern comparison result matches the output format pattern and the classification pattern. 115.

また、システム100は、前記インスタンスファイル10を構成する各コンテキストデータを抽出して分割インスタンスファイル20を生成する、分割インスタンスファイル生成部116を備えるものとすれば好適である。   Further, it is preferable that the system 100 includes a divided instance file generation unit 116 that extracts each context data constituting the instance file 10 and generates the divided instance file 20.

また、システム100は、前記分割インスタンスファイル20がどの分類パターンにあたるか判定すると共に、当該分類パターンと前記出力形式のパターンとを対照する、分割パターン対照部117を備えるものとすれば好適である。   In addition, it is preferable that the system 100 includes a divided pattern comparison unit 117 that determines which classification pattern the divided instance file 20 corresponds to, and compares the classification pattern with the output format pattern.

また、システム100は、前記パターンの対照結果が、出力形式のパターンと分割インスタンスファイルの分類パターンとが一致するものである場合に、前記分割インスタンスファイル20を出力形式のインスタンスファイルとして出力インターフェイスに出力する、分割ファイル出力部118を備えるものとすれば好適である。   The system 100 outputs the divided instance file 20 as an output format instance file to the output interface when the pattern comparison result matches the output format pattern and the divided instance file classification pattern. It is preferable that the divided file output unit 118 is provided.

また、システム100は、前記分割インスタンスファイル20の分類パターンと前記出力形式のパターンとが一致しない場合、前記分割インスタンスファイル20を出力形式のパターンに則して連結し出力形式のインスタンスファイルとなす、連結処理部119を備えるものとすれば好適である。   Further, when the classification pattern of the divided instance file 20 and the pattern of the output format do not match, the system 100 concatenates the divided instance file 20 according to the output format pattern to form an output format instance file. It is preferable that the connection processing unit 119 is provided.

なお、この連結処理部119は、前記出力形式のパターンが、単数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイル20のうち前記entityが共通し会計期間が異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する単数会計期間のパターンであれば、前記分割インスタンスファイル20のうち前記periodが共通しentityが異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイル20のうち前記entityおよびperiodのそれぞれについて異なるものを選択して連結するものとすれば好適である。   The concatenation processing unit 119 selects and concatenates the divided instance files 20 having the same entity but different accounting periods if the output format pattern is a pattern of a plurality of accounting periods related to a single organization. If the pattern of the output format is a pattern of a single accounting period for a plurality of organizations, the divided instance files 20 are selected and connected with the same period but different entities, and the pattern of the output format is In the case of a pattern of a plurality of accounting periods related to a plurality of organizations, it is preferable to select and link different ones for the entity and period from the split instance file 20.

また、前記連結処理部119は、前記分割インスタンスファイル20を連結するに際し、所定の分割インスタンスファイルについてそのデータ領域を拡張し、当該拡張したデータ領域に対し連結対象となる他の分割インスタンスファイルを追加することで連結処理を実行することとすれば好適である。   In addition, the concatenation processing unit 119 expands the data area of a predetermined divided instance file when adding the divided instance file 20, and adds another divided instance file to be concatenated to the expanded data area. By doing so, it is preferable to execute the connection process.

また、システム100は、前記分割インスタンスファイル20を連結してなした出力形式のインスタンスファイルを出力インターフェイスに出力する連結ファイル出力部120を備えるものとすれば好適である。   Further, it is preferable that the system 100 includes a linked file output unit 120 that outputs an output format instance file formed by linking the divided instance files 20 to an output interface.

−−−データベース−−−
次に、本実施形態のシステム100が利用するデータベースについて説明する。
図2は本実施形態における、(a)財務諸表データベース、(b)会員データベース、(c)インスタンスパターンデータベース、のデータ構成例を示す図である。
--- Database ---
Next, a database used by the system 100 of this embodiment will be described.
FIG. 2 is a diagram showing a data configuration example of (a) a financial statement database, (b) a member database, and (c) an instance pattern database in the present embodiment.

財務諸表データベース125は、本実施形態におけるインスタンスファイルたる財務諸表データを格納するデータベースである。この財務諸表データベース125は、例えばファイルIDをキーとして、当該財務諸表データの送信元であるユーザのID、および当該財務諸表データの受信日時といったデータを関連づけたレコードの集合体となっている。   The financial statement database 125 is a database for storing financial statement data as an instance file in the present embodiment. This financial statement database 125 is a collection of records in which data such as the ID of a user who is the transmission source of the financial statement data and the reception date and time of the financial statement data are associated with the file ID as a key, for example.

また、会員データベース126は、システム100がインスタンスファイル10たる財務諸表データをユーザのクライアント装置200より受信するに際して必要となる、会員認証用の情報を格納したデータベースである。この会員データベース126は、例えば、ユーザIDをキーとして、パスワード、メールアドレス、財務諸表データへのアクセス権限といったデータを関連づけたレコードの集合体となっている。   The member database 126 is a database storing member authentication information that is necessary when the system 100 receives financial statement data as the instance file 10 from the user client device 200. This member database 126 is, for example, a collection of records in which user IDs are used as keys to associate data such as passwords, email addresses, and access authority to financial statement data.

また、インスタンスパターンデータベース127は、本実施形態における出力形式のパターンについて格納するデータベースである。このインスタンスパターンデータベース127は、例えばユーザIDをキーとして、該当ユーザから受信する財務諸表データつまりインスタンスファイル10に関する出力形式のパターンのデータを関連づけたレコードの集合体となっている。   Also, the instance pattern database 127 is a database that stores output format patterns in the present embodiment. This instance pattern database 127 is a collection of records in which financial statement data received from a corresponding user, that is, output format pattern data relating to the instance file 10 is associated with the user ID as a key.

なお、これまで示したシステム100における機能部110〜120は、ハードウェアとして実現してもよいし、HDDやメモリなどの適宜な記憶装置に格納したプログラムとして実現するとしてもよい。この場合、前記CPU104がプログラム実行に合わせて記憶装置より該当プログラムをメモリ103に読み出して、これを実行することとなる。   Note that the functional units 110 to 120 in the system 100 shown so far may be realized as hardware, or may be realized as a program stored in an appropriate storage device such as an HDD or a memory. In this case, the CPU 104 reads the corresponding program from the storage device into the memory 103 and executes it in accordance with the execution of the program.

また、前記ネットワーク130に関しては、インターネットやLANの他、専用回線やWAN(Wide Area Network)、電灯線ネットワーク、無線ネットワーク、公衆回線網、携帯電話網など様々なネットワークを採用することも出来る。また、VPN(Virtual Private Network)など仮想専用ネットワーク技術を用いれば、インターネットを採用した際にセキュリティ性を高めた通信が確立され好適である。   In addition to the Internet and LAN, various networks such as a dedicated line, a WAN (Wide Area Network), a power line network, a wireless network, a public line network, and a mobile phone network can be adopted as the network 130. If a virtual private network technology such as VPN (Virtual Private Network) is used, communication with improved security is established when the Internet is adopted.

−−−全体概要−−−
次に、本実施形態におけるインスタンスファイル生成方法の概要につき説明する。図3は本実施形態におけるインスタンスファイルの分類例を示す図である。財務諸表データをXBRL形式で記述したインスタンスファイル10は、その記述形式のパターンが統一されていない場合がある。例えば、同一企業内であっても一つのインスタンスファイル10が、1社の1期分に関する財務諸表データ(インスタンス文書)、1社の複期分に関する財務諸表データ、複社(この場合は子会社なども含む連結決算の対象となる会社群)の1期分に関する財務諸表データ、複社の複期分に関する財務諸表データを含んでいるといった具合に、不揃いな記述パターンのインスタンス文書が1ファイルに含まれている場合がある。
---- Overview ---
Next, an overview of the instance file generation method in the present embodiment will be described. FIG. 3 is a diagram showing a classification example of instance files in the present embodiment. In the instance file 10 in which the financial statement data is described in the XBRL format, the description format pattern may not be unified. For example, even within the same company, one instance file 10 contains financial data for one period of one company (instance document), financial data for one company for multiple periods, multiple companies (in this case, subsidiaries, etc.) (Including companies that are subject to consolidated financial statements) including financial statements data for one period, financial statements data for multiple periods of multiple companies, and so on. May be.

そこで、本実施形態においては、システム100が、これらインスタンス文書の形式をそれぞれ認識して、例えば税務当局等に報告を行う際の最終的な出力形式のパターンにインスタンス文書の形式に揃えることとなる。   Therefore, in the present embodiment, the system 100 recognizes each instance document format and aligns the instance document format with the final output format pattern when reporting to, for example, the tax authorities. .

−−−メインフロー−−−
次に、本実施形態のインスタンスファイル生成方法の実際手順について図を参照しつつ説明する。なお、以下で説明するインスタンスファイル生成方法に対応する各種動作は、システム100におけるメモリ等の記憶手段が備えるプログラムによって実現される。そして、このプログラムは、以下に説明される各種の動作を行うためのコードから構成されており、前記構成各部の機能を実装したものとなる。
---- Main flow ---
Next, the actual procedure of the instance file generation method of this embodiment will be described with reference to the drawings. Various operations corresponding to the instance file generation method described below are realized by a program provided in a storage unit such as a memory in the system 100. And this program is comprised from the code | cord | chord for performing various operation | movement demonstrated below, and mounts the function of each part of the said structure.

図4は本実施形態のインスタンスファイル生成方法におけるパターン認識手順を示すフロー図である。システム100は、まず、企業における経理担当者などのユーザが使用するクライアント装置200より、インスタンスファイル10たる財務諸表データを受信し前記会員データベース126による認証処理を経てこれを取得しているものとする。この財務諸表データは、前記財務諸表データベース125に格納されている。   FIG. 4 is a flowchart showing a pattern recognition procedure in the instance file generation method of this embodiment. First, it is assumed that the system 100 receives financial statement data as the instance file 10 from the client device 200 used by a user such as an accountant in a company and obtains it through authentication processing by the member database 126. . This financial statement data is stored in the financial statement database 125.

システム100は、このインスタンスファイル10について、当該インスタンスファイル10が含むコンテキストの数をカウントする(s1000)。また、システム100は、前記コンテキストのentityの記述およびperiodの記述を抽出し認識するものとする。
続いて、前記カウントしたコンテキスト数が単数か複数かを判定し(s1001)、単数であった場合(s1001:1つ)、前記インスタンスファイル10は1社に関する1期分の財務諸表データのみを有するものと認識し(s1002)、パターン分類の処理を終わる。
他方、前記カウントしたコンテキスト数が複数であった場合(s1001:複数)、つまり前記entityの記述が複数ある場合、コンテキスト間で前記entityの記述が異なるものがあるか否かの判定を行う(s1003)。この判定で、全てのentityが一致するとなれば(s1003:Y)、前記インスタンスファイル10は、1社に関する複期分の財務諸表データを有するものと認識し(s1004)、パターン分類の処理を終わる。
一方、前記ステップs1003において、全てのentityが一致しないとなれば(s1003:N)、次に、コンテキスト間で前記periodの記述が異なるものがあるか否かの判定を行う(s1005)。この判定で、全てのperiodが一致するとなれば(s1005:Y)、前記インスタンスファイル10は、複社に関する1期分の財務諸表データを有するものと認識し(s1006)、パターン分類の処理を終わる。
他方、前記ステップs1005において、全てのperiodが一致しないとなれば(s1005:N)、前記インスタンスファイル10は、複社に関する複期分の財務諸表データを有するものと認識し(s1007)、パターン分類の処理を終わる。
The system 100 counts the number of contexts included in the instance file 10 (s1000). In addition, the system 100 extracts and recognizes the entity description and the period description of the context.
Subsequently, it is determined whether the counted number of contexts is singular or plural (s1001). If the number of contexts is singular (s1001: one), the instance file 10 has only one period of financial data for one company. It recognizes as a thing (s1002), and finishes the pattern classification process.
On the other hand, when the number of counted contexts is plural (s1001: plural), that is, when there are a plurality of descriptions of the entity, it is determined whether or not there is a description of the entity different between contexts (s1003). ). If all the entities match in this determination (s1003: Y), the instance file 10 recognizes that it has financial data for multiple periods for one company (s1004), and the pattern classification process ends. .
On the other hand, if all the entities do not match in step s1003 (s1003: N), it is next determined whether or not there is a description of the period different between contexts (s1005). If all the periods match in this determination (s1005: Y), the instance file 10 recognizes that it has financial data for one period related to the multi-company (s1006), and the pattern classification process ends. .
On the other hand, in step s1005, if all periods do not match (s1005: N), the instance file 10 recognizes that it has financial data for multiple periods related to multiple companies (s1007), and pattern classification Finish the process.

こうしてシステム100は、インスタンスファイル10が単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定することとなる。   Thus, the system 100 classifies whether the instance file 10 relates to one or more accounting periods for one or more organizations, and specifies a classification pattern.

上記のようにインスタンスファイル10の分類パターンを特定したシステム100は、続いて、この分類パターンと出力形式のパターンとの比較や、インスタンスファイル10の出力形式パターンへの変換処理を行う。図5は本実施形態のインスタンスファイル生成方法におけるパターン変換手順1を示すフロー図である。   After identifying the classification pattern of the instance file 10 as described above, the system 100 subsequently performs a comparison between the classification pattern and the output format pattern and conversion processing of the instance file 10 into the output format pattern. FIG. 5 is a flowchart showing the pattern conversion procedure 1 in the instance file generation method of the present embodiment.

システム100は、前記財務諸表データベース125よりインスタンスファイル10を、インスタンスパターンデータベース127よりインスタンスパターンのファイルを読み込む(s1100)。そして処理対象となるインスタンスファイル10を選択する処理を行い(s1101)、ここで選択対象がなければ(s1102)、処理を終了する。
他方、処理対象が存在したならば(S1102:Y)、システム100は、ユーザのクライアント装置200より予め指定されている出力形式のパターンを前記インスタンスのパターンファイルより選択し(s1103)、インスタンスファイル10の分類パターンとこの出力形式のパターンとが一致するか否かを判定する(s1104)。
この判定において、出力形式のパターンと分類パターンとが一致するものである場合に(s1104:Y)、前記インスタンスファイル10を出力形式のインスタンスファイルとして出力インターフェイスに出力し(s1105)、処理は終了する。
他方、出力形式のパターンと分類パターンとが一致しないものである場合(s1104:N)、図6に示すフローへと処理を進める。
The system 100 reads the instance file 10 from the financial statement database 125 and the instance pattern file from the instance pattern database 127 (s1100). Then, the process of selecting the instance file 10 to be processed is performed (s1101). If there is no selection target (s1102), the process ends.
On the other hand, if there is a processing target (S1102: Y), the system 100 selects an output format pattern designated in advance by the user's client device 200 from the pattern file of the instance (s1103), and the instance file 10 It is determined whether or not this classification pattern matches the pattern of this output format (s1104).
In this determination, if the output format pattern matches the classification pattern (s1104: Y), the instance file 10 is output to the output interface as an output format instance file (s1105), and the process ends. .
On the other hand, if the output format pattern and the classification pattern do not match (s1104: N), the process proceeds to the flow shown in FIG.

図6は本実施形態のインスタンスファイル生成方法におけるパターン変換手順2を示すフロー図である。システム100は、前記インスタンスファイル10を読み込んでメモリ上に展開し(s1200)、インスタンスファイル10を構成する各コンテキストデータを認識し抽出する(s1201)。この処理に際しては、前記メモリ上に展開したインスタンスファイル10の記述内容において、コンテキストのタグで囲まれた内容を認識し抽出することとなる。
システム100は、図7で示すように、こうしてコンテキストのタグで囲まれた内容(図7中では一点破線間の領域)を抽出し、新たに分割インスタンスファイル20を生成する(s1202)。生成された分割インスタンスファイル20は、メモリ上の適宜な所定領域600に格納される。
こうした、コンテキストのタグで囲まれた内容の認識および抽出の処理は、前記メモリ上に展開したインスタンスファイル10の記述内容の全てについて実行し(s1203、s1204)、前記インスタンスファイル10が含むコンテキストデータの全てを分割インスタンスファイルとして生成する。
システム100は、こうして分割インスタンスファイルを生成し、図8に示すフローへと処理を進める。
FIG. 6 is a flowchart showing the pattern conversion procedure 2 in the instance file generation method of the present embodiment. The system 100 reads the instance file 10 and expands it on the memory (s1200), and recognizes and extracts each context data constituting the instance file 10 (s1201). In this process, the contents enclosed by the context tag are recognized and extracted from the description contents of the instance file 10 expanded on the memory.
As shown in FIG. 7, the system 100 extracts the content (the area between the dashed lines in FIG. 7) surrounded by the context tags in this way, and newly generates a divided instance file 20 (s1202). The generated divided instance file 20 is stored in an appropriate predetermined area 600 on the memory.
The process of recognizing and extracting the contents surrounded by the context tags is executed for all the description contents of the instance file 10 expanded on the memory (s1203, s1204), and the context data included in the instance file 10 is included. All are generated as split instance files.
The system 100 thus generates a split instance file and proceeds to the flow shown in FIG.

図8は本実施形態のインスタンスファイル生成方法におけるパターン変換手順3を示すフロー図である。ここでシステム100は、前記所定領域600より、処理対象の分割インスタンスファイル20を読み出して(s1300、s1301)、このファイルの記述内容をメモリ上に展開する(s1302)。このステップs1302の処理は全ての分割インスタンスファイル20について実行する(s1303)。   FIG. 8 is a flowchart showing the pattern conversion procedure 3 in the instance file generation method of this embodiment. Here, the system 100 reads the split instance file 20 to be processed from the predetermined area 600 (s1300, s1301), and expands the description content of this file on the memory (s1302). The process of step s1302 is executed for all the divided instance files 20 (s1303).

システム100は、前記Namespaceが、全ての分割インスタンスファイル20について一致しているか判定し(s1304)、これが一致してない場合(s1304)、処理を終了する。他方、Namespaceが全ての分割インスタンスファイル20について一致している場合(s1304:Y)、前記出力形式のパターンが1社複期のパターンであるか判定する(s1305)。   The system 100 determines whether or not the Namespace is the same for all the divided instance files 20 (s1304), and if they do not match (s1304), the process is terminated. On the other hand, if the Namespace is the same for all the divided instance files 20 (s1304: Y), it is determined whether the pattern of the output format is a one-company multi-period pattern (s1305).

この判定により出力形式のパターンが、単数組織(企業)に関する複数会計期間のパターンであるとなれば、前記読み出した分割インスタンスファイル20のうち前記entityが共通し会計期間が異なるものを選択する(s1306、s1307)。なお、出力形式のパターンが単数組織(企業)に関する複数会計期間のパターンである場合に、前記分割インスタンスファイル20のentityが共通しなかった場合(s1306:N)、および前記unitが異なっていた場合(s1307:N)、処理を終了する。   If it is determined that the pattern of the output format is a pattern of a plurality of accounting periods relating to a single organization (company), the read divided instance file 20 having the same entity and different accounting periods is selected (s1306). , S1307). In addition, when the pattern of the output format is a pattern of a plurality of accounting periods related to a single organization (company), when the entities of the split instance file 20 are not common (s1306: N), and when the units are different (S1307: N), the process ends.

また、前記判定(s1305)により出力形式のパターンが、単数組織(企業)に関する複数会計期間のパターンでないとなった場合(s1305:N)、前記出力形式のパターンが複社1期のパターンであるか判定する(s1308)。この判定により出力形式のパターンが、複数組織(企業)に関する1会計期間のパターンであるとなれば(s1308:Y)、前記読み出した分割インスタンスファイル20のうち前記entityが異なり会計期間が一致するものを選択する(s1309、s1310)。なお、出力形式のパターンが複数組織(企業)に関する1会計期間のパターンである場合に、前記分割インスタンスファイル20のentityが共通した場合(s1309:Y)、および前記periodが異なっていた場合(s1310:N)、処理を終了する。   If the output format pattern is not a pattern for a plurality of accounting periods related to a singular organization (company) as a result of the determination (s1305) (s1305: N), the output format pattern is a pattern for a multi-company 1st period. It is determined whether or not (s1308). If the pattern of the output format is a pattern of one accounting period related to a plurality of organizations (company) by this determination (s1308: Y), among the read divided instance files 20, the entities are different and the accounting periods match. Is selected (s1309, s1310). When the pattern of the output format is a pattern of one accounting period for a plurality of organizations (company), when the entities of the split instance file 20 are common (s1309: Y), and when the periods are different (s1310) : N), the process is terminated.

また、前記判定(s1308)により出力形式のパターンが、複数組織(企業)に関する1会計期間のパターンでないとなった場合(s1308:N)、前記出力形式のパターンが複社複期のパターンであるか判定する(s1311)。この判定により出力形式のパターンが、複数組織(企業)に関する複数会計期間のパターンであるとなれば(s1311:Y)、前記読み出した分割インスタンスファイル20のうち前記entityが異なり会計期間も一致しないものを選択する(s1312、s1313)。なお、出力形式のパターンが複数組織(企業)に関する複数会計期間のパターンである場合に、前記分割インスタンスファイル20のentityが共通した場合(s1312:Y)、および前記periodが一致していた場合(s1313:Y)、処理を終了する。   Further, if the output format pattern is not a pattern for one accounting period for a plurality of organizations (company) by the determination (s1308) (s1308: N), the output format pattern is a multi-company multi-period pattern. Whether or not is determined (s1311). If the pattern of the output format is a pattern of a plurality of accounting periods related to a plurality of organizations (company) by this determination (s1311: Y), among the read divided instance files 20, the entities are different and the accounting periods do not match. Is selected (s1312, s1313). In addition, when the pattern of the output format is a pattern of a plurality of accounting periods related to a plurality of organizations (companies), when the entity of the split instance file 20 is common (s1312: Y), and when the period matches ( s1313: Y), the process ends.

こうしてシステム100は、出力形式のパターンに則した分割インスタンスファイル20を抽出することとなる。そして、この分割インスタンスファイル20は、システム100により、出力形式のパターンに則して連結されるのである。図9は本実施形態のインスタンスファイル生成方法におけるパターン変換手順4を示すフロー図である。   In this way, the system 100 extracts the divided instance file 20 in accordance with the output format pattern. The divided instance files 20 are linked by the system 100 in accordance with the output format pattern. FIG. 9 is a flowchart showing the pattern conversion procedure 4 in the instance file generation method of this embodiment.

ここまでで出力形式のパターンに則した分割インスタンスファイル20を抽出したシステム100は、これら分割インスタンスファイル20を連結し、出力形式のインスタンスファイルを生成する。そのため、システム100は、連結対象となる分割インスタンスファイル20の読み込みを行う(s1400、s1401)。システム100は、ここで読み込んだ分割インスタンスファイルについてそのデータ領域を拡張し(s1402)、当該拡張したデータ領域に対し、連結対象となる他の分割インスタンスファイルを追加する(s1403、s1404、s1405)。こうして連結処理を実行し出力形式のインスタンスファイルを生成したシステム100は、これを例えば前記クライアント装置200に送信し(s1406)、処理を終了する。   The system 100 that has extracted the divided instance files 20 in accordance with the output format pattern so far concatenates the divided instance files 20 to generate an output format instance file. Therefore, the system 100 reads the split instance file 20 to be connected (s1400, s1401). The system 100 expands the data area of the divided instance file read here (s1402), and adds another divided instance file to be linked to the expanded data area (s1403, s1404, s1405). The system 100 that has executed the concatenation process and generated the output format instance file transmits this to the client apparatus 200, for example (s1406), and ends the process.

なお、“分類パターン”はシステム側でパターン分けをするなどして分類作業を行った末に特定されたパターンを意図し、一方の“パターン”はシステム側で分類作業を行って特定したものか、第三者等が決めているパターンかには拘泥されないパターンを意図する。   Note that the “classification pattern” is intended to be a pattern that was specified after the classification work was done, for example, by dividing the pattern on the system side. Is one “pattern” specified by the classification work on the system side? A pattern that is not bound by a pattern determined by a third party or the like is intended.

本発明によれば、インスタンスファイルにおけるインスタンス文書を所定パターンに統一してインスタンスファイルの再生成が可能となる。   According to the present invention, it is possible to regenerate an instance file by unifying the instance documents in the instance file into a predetermined pattern.

以上、本発明の実施の形態について、その実施の形態に基づき具体的に説明したが、これに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。   As mentioned above, although embodiment of this invention was described concretely based on the embodiment, it is not limited to this and can be variously changed in the range which does not deviate from the summary.

本実施形態におけるインスタンスファイル生成システムを含むネットワーク構成図である。It is a network block diagram including the instance file generation system in this embodiment. 本実施形態における、(a)財務諸表データベース、(b)会員データベース、(c)インスタンスパターンデータベース、のデータ構成例を示す図である。It is a figure which shows the data structural example of (a) financial statement database, (b) member database, (c) instance pattern database in this embodiment. 本実施形態におけるインスタンスファイルの分類例を示す図である。It is a figure which shows the example of a classification | category of the instance file in this embodiment. 本実施形態のインスタンスファイル生成方法におけるパターン認識手順を示すフロー図である。It is a flowchart which shows the pattern recognition procedure in the instance file production | generation method of this embodiment. 本実施形態のインスタンスファイル生成方法におけるパターン変換手順1を示すフロー図である。It is a flowchart which shows the pattern conversion procedure 1 in the instance file generation method of this embodiment. 本実施形態のインスタンスファイル生成方法におけるパターン変換手順2を示すフロー図である。It is a flowchart which shows the pattern conversion procedure 2 in the instance file generation method of this embodiment. 本実施形態におけるインスタンスファイルと分割インスタンスファイルとの対応例を示す図である。It is a figure which shows the example of a response | compatibility with the instance file and division | segmentation instance file in this embodiment. 本実施形態のインスタンスファイル生成方法におけるパターン変換手順3を示すフロー図である。It is a flowchart which shows the pattern conversion procedure 3 in the instance file generation method of this embodiment. 本実施形態のインスタンスファイル生成方法におけるパターン変換手順4を示すフロー図である。It is a flowchart which shows the pattern conversion procedure 4 in the instance file production | generation method of this embodiment.

符号の説明Explanation of symbols

10 インスタンスファイル、財務諸表データ(XBRL形式)
20 分割インスタンスファイル
100 インスタンスファイル生成システム、システム
101 プログラムデータベース
102 プログラム
103 メモリ
104 CPU
105 I/O部
110 コンテキストカウント部
111 entity認識部
112 period認識部
113 パターン分類実行部
114 パターン対照部
115 ファイル出力部
116 分割インスタンスファイル生成部
117 分割パターン対照部
118 分割ファイル出力部
119 連結処理部
120 連結ファイル出力部
125 財務諸表データベース
126 会員データベース
127 インスタンスパターンデータベース
130 ネットワーク
200 クライアント装置
10 Instance file, financial statement data (XBRL format)
20 split instance file 100 instance file generation system, system 101 program database 102 program 103 memory 104 CPU
105 I / O Unit 110 Context Count Unit 111 Entity Recognition Unit 112 Period Recognition Unit 113 Pattern Classification Execution Unit 114 Pattern Contrast Unit 115 File Output Unit 116 Division Instance File Generation Unit 117 Division Pattern Contrast Unit 118 Division File Output Unit 119 Concatenation Processing Unit 120 Linked File Output Unit 125 Financial Statement Database 126 Member Database 127 Instance Pattern Database 130 Network 200 Client Device

Claims (7)

インスタンスファイルの生成システムであって、
入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントするコンテキストカウント部と、
前記コンテキストのentityの記述を抽出し認識するentity認識部と、
前記コンテキストのperiodの記述を抽出し認識するperiod認識部と、
前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定する、パターン分類実行部と、
インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照する、パターン対照部と、
前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力する、ファイル出力部と、
を備えることを特徴とするインスタンスファイル生成システム。
An instance file generation system,
For the instance file obtained from the input interface, a context count unit that counts the number of contexts included in the instance file;
An entity recognition unit that extracts and recognizes the description of the entity of the context;
A period recognition unit that extracts and recognizes the description of the period of the context;
A determination of whether the number of contexts is singular or plural, a determination of whether there is a description of the entity different between contexts when there are multiple descriptions of the entity, and a context when there are multiple descriptions of the period A determination is made as to whether or not there is a difference in the description of the period, and classifies whether the instance file relates to one or more accounting periods for one or more organizations, and specifies a classification pattern. A classification execution unit;
A pattern contrast that compares any pattern defined as an output format with a classification pattern related to the instance file among patterns of whether the instance file relates to any accounting period for any organization. And
A file output unit that outputs the instance file as an output format instance file to an output interface when the pattern comparison result matches the output format pattern and the classification pattern;
An instance file generation system comprising:
請求項1において、
前記インスタンスファイルを構成する各コンテキストデータを抽出して分割インスタンスファイルを生成する、分割インスタンスファイル生成部と、
前記分割インスタンスファイルがどの分類パターンにあたるか判定すると共に、当該分類パターンと前記出力形式のパターンとを対照する、分割パターン対照部と、
前記パターンの対照結果が、出力形式のパターンと分割インスタンスファイルの分類パターンとが一致するものである場合に、前記分割インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力する、分割ファイル出力部と、
を備えることを特徴とするインスタンスファイル生成システム。
In claim 1,
A split instance file generation unit that extracts each context data constituting the instance file and generates a split instance file;
Determining which classification pattern the split instance file corresponds to, and comparing the classification pattern with the pattern of the output format;
A split file output unit that outputs the split instance file as an output format instance file to an output interface when the pattern comparison result matches the output format pattern and the split instance file classification pattern; ,
An instance file generation system comprising:
請求項2において、
前記分割インスタンスファイルの分類パターンと前記出力形式のパターンとが一致しない場合、前記分割インスタンスファイルを出力形式のパターンに則して連結し出力形式のインスタンスファイルとなす、連結処理部と、
前記分割インスタンスファイルを連結してなした出力形式のインスタンスファイルを出力インターフェイスに出力する連結ファイル出力部と、
を備えることを特徴とするインスタンスファイル生成システム。
In claim 2,
When the classification pattern of the divided instance file and the pattern of the output format do not match, a concatenation processing unit that concatenates the divided instance file according to the pattern of the output format to form an instance file of the output format;
A concatenated file output unit that outputs an output format instance file formed by concatenating the divided instance files to an output interface;
An instance file generation system comprising:
請求項3において、
前記連結処理部は、前記出力形式のパターンが、単数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記entityが共通し会計期間が異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する単数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記periodが共通しentityが異なるものを選択して連結し、前記出力形式のパターンが、複数組織に関する複数会計期間のパターンであれば、前記分割インスタンスファイルのうち前記entityおよびperiodのそれぞれについて異なるものを選択して連結するものであることを特徴とするインスタンスファイル生成システム。
In claim 3,
If the pattern of the output format is a pattern of a plurality of accounting periods related to a single organization, the concatenation processing unit selects and concatenates the divided instance files that have the same entity but different accounting periods, and outputs the output If the format pattern is a singular accounting period pattern for a plurality of organizations, the divided instance files are selected and connected with the same period and different entities, and the output format pattern is a plurality of organizations. In the case of an accounting period pattern, the instance file generation system is characterized in that different ones of the entity and period are selected and connected among the divided instance files.
請求項3または4において、
前記連結処理部は、前記分割インスタンスファイルを連結するに際し、所定の分割インスタンスファイルについてそのデータ領域を拡張し、当該拡張したデータ領域に対し連結対象となる他の分割インスタンスファイルを追加することで連結処理を実行することを特徴とするインスタンスファイル生成システム。
In claim 3 or 4,
The concatenation processing unit expands the data area of a predetermined divided instance file when concatenating the divided instance files, and adds another divided instance file to be concatenated to the expanded data area. An instance file generation system characterized by executing processing.
インスタンスファイルの生成をコンピュータにより行う方法であって、
入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントし、
前記コンテキストのentityの記述を抽出し認識し、
前記コンテキストのperiodの記述を抽出し認識し、
前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定し、
インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照し、
前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力することを特徴とするインスタンスファイル生成方法。
A method for generating an instance file by a computer,
For the instance file obtained from the input interface, count the number of contexts included in the instance file,
Extracting and recognizing the entity description of the context;
Extracting and recognizing the period description of the context;
A determination of whether the number of contexts is singular or plural, a determination of whether there is a description of the entity different between contexts when there are multiple descriptions of the entity, and a context when there are multiple descriptions of the period And determine whether there is a difference in the description of the period, classify whether the instance file relates to one or more accounting periods for one or more organizations, specify a classification pattern,
Of the patterns of whether the instance file is for one or more accounting periods for one or more organizations, one of the patterns defined as the output format is compared with the classification pattern for the instance file,
An instance file generation method comprising: outputting an instance file as an output format instance file to an output interface when an output format pattern and a classification pattern match the pattern comparison result.
インスタンスファイルの生成方法をコンピュータに実行させるプログラムであって、
入力インターフェイスより取得したインスタンスファイルについて、当該インスタンスファイルが含むコンテキスト数をカウントするステップと、
前記コンテキストのentityの記述を抽出し認識するステップと、
前記コンテキストのperiodの記述を抽出し認識するステップと、
前記コンテキスト数が単数か複数かの判定と、前記entityの記述が複数ある場合にコンテキスト間で前記entityの記述が異なるものがあるか否かの判定と、前記periodの記述が複数ある場合にコンテキスト間で前記periodの記述が異なるものがあるか否かの判定とを行って、インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるか分類し分類パターンを特定するステップと、
インスタンスファイルが単複いずれかの組織について単複いずれかの会計期間に関するものであるかのパターンのうち、出力形式として定められたいずれかのパターンと、前記インスタンスファイルに関する分類パターンとを対照するステップと、
前記パターンの対照結果が、出力形式のパターンと分類パターンとが一致するものである場合に、前記インスタンスファイルを出力形式のインスタンスファイルとして出力インターフェイスに出力するステップと、
を備えることを特徴とするインスタンスファイル生成プログラム。
A program for causing a computer to execute an instance file generation method,
For the instance file obtained from the input interface, counting the number of contexts included in the instance file;
Extracting and recognizing a description of the entity of the context;
Extracting and recognizing the period description of the context;
A determination of whether the number of contexts is singular or plural, a determination of whether there is a description of the entity different between contexts when there are multiple descriptions of the entity, and a context when there are multiple descriptions of the period Determining whether or not there is a difference in the description of the period, classifying whether the instance file relates to one or more accounting periods for one or more organizations, and specifying a classification pattern; ,
Of the pattern of whether the instance file is for one or more accounting periods for one or more organizations, the step of comparing any pattern defined as an output format with the classification pattern for the instance file;
Outputting the instance file as an output format instance file to an output interface when the pattern comparison result matches the output pattern and the classification pattern;
An instance file generation program comprising:
JP2004295309A 2004-10-07 2004-10-07 Instance file generating system, instance file generating method, and instance file generating program Pending JP2006107286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004295309A JP2006107286A (en) 2004-10-07 2004-10-07 Instance file generating system, instance file generating method, and instance file generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004295309A JP2006107286A (en) 2004-10-07 2004-10-07 Instance file generating system, instance file generating method, and instance file generating program

Publications (1)

Publication Number Publication Date
JP2006107286A true JP2006107286A (en) 2006-04-20

Family

ID=36376932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004295309A Pending JP2006107286A (en) 2004-10-07 2004-10-07 Instance file generating system, instance file generating method, and instance file generating program

Country Status (1)

Country Link
JP (1) JP2006107286A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011132470A1 (en) * 2010-04-21 2011-10-27 富士通株式会社 Financial data processing device
WO2011132469A1 (en) * 2010-04-21 2011-10-27 富士通株式会社 Financial data processing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011132470A1 (en) * 2010-04-21 2011-10-27 富士通株式会社 Financial data processing device
WO2011132469A1 (en) * 2010-04-21 2011-10-27 富士通株式会社 Financial data processing device
JP2011227779A (en) * 2010-04-21 2011-11-10 Fujitsu Ltd Financial data processing apparatus, financial data processing method and financial data processing program
JP2011227780A (en) * 2010-04-21 2011-11-10 Fujitsu Ltd Financial data processing apparatus, financial data processing method and financial data processing program

Similar Documents

Publication Publication Date Title
US11699020B2 (en) Document architecture with efficient storage
US8429527B1 (en) Complex data merging, such as in a workflow application
US9047346B2 (en) Reporting language filtering and mapping to dimensional concepts
TWI549006B (en) Contextual gravitation of datasets and data services
JP2005216000A (en) Electronic declaration system, electronic declaration method and electronic declaration program
JP2008515061A (en) A method for searching data elements on the web using conceptual and contextual metadata search engines
US20120150919A1 (en) Agency management system and content management system integration
US20170228356A1 (en) System Generator Module for Electronic Document and Electronic File
AU2017265144B2 (en) Information retrieval
JP7208872B2 (en) Systems and methods for generating proposals based on request for proposals (RFPs)
KR20210151092A (en) Automatic layout of visualizations based on graph data
US8650221B2 (en) Systems and methods to associate invoice data with a corresponding original invoice copy in a stack of invoices
CN107729330B (en) Method and apparatus for acquiring data set
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
KR102230792B1 (en) Method of generating online report using form structure definition DB and computer program for the same
CN113536149A (en) Social platform public opinion optimization system and method based on alliance chain and text classification
JP2018037017A (en) Analysis device, analysis method, and analysis program
US20110145710A1 (en) Framework to visualize networks
JP2006107286A (en) Instance file generating system, instance file generating method, and instance file generating program
JP2007280238A (en) Data display defining information making device and method, data display device and method, and program used for realizing these devices
KR20190109664A (en) Big data de-identification system and method
KR102660914B1 (en) Server and method for providing common code maintenance and refinement for utinlizing large amounts of data
US20220292121A1 (en) Search in knowledge graphs
WO2023047570A1 (en) Information processing device, information processing method, and information processing program
US7386570B2 (en) Method, system and program product for providing high performance data lookup