CN105320744A - Analytical method of link library with custom XBRL classification criterion - Google Patents

Analytical method of link library with custom XBRL classification criterion Download PDF

Info

Publication number
CN105320744A
CN105320744A CN201510616230.5A CN201510616230A CN105320744A CN 105320744 A CN105320744 A CN 105320744A CN 201510616230 A CN201510616230 A CN 201510616230A CN 105320744 A CN105320744 A CN 105320744A
Authority
CN
China
Prior art keywords
masurium
arc
expansion
chained library
attribute
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.)
Granted
Application number
CN201510616230.5A
Other languages
Chinese (zh)
Other versions
CN105320744B (en
Inventor
马越
居邦
许岩龙
唐军
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510616230.5A priority Critical patent/CN105320744B/en
Publication of CN105320744A publication Critical patent/CN105320744A/en
Application granted granted Critical
Publication of CN105320744B publication Critical patent/CN105320744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to the eXtensible Business Reporting Language technology. In order to solve a problem that a link library with a custom classification criterion cannot be analyzed and displayed in a current XBRL engine, an analytical method of a link library with a custom XBRL classification criterion is provided. The technical solution can be summarized as: when a schema file is read and an element in the file is analyzed, selecting to put the element in an element list of an extension link library or locator or arc according to an attribute thereof; when an element name of a link library level, a locator, or an arc is read, if the element name is not a normal element name, matching the element name in a corresponding element list, if the matching succeeds, putting the element name in an extension name of a custom link library or locator or arc; and when the extension link library, extension locator, or extension arc is read, separately obtaining an attribute or a sub-element thereof by determining an attribute thereof acquired from the schema file, so as to perform analysis. The method has advantages of being convenient for users and applicable to analyzing a link library with a custom classification criterion by an XBRL engine.

Description

The analytic method in XBRL criteria for classification custom link storehouse
Technical field
The present invention relates to Extensible Business Reporting Language technology, particularly in XBRL engine for the analytic technique in criteria for classification partial link storehouse.
Background technology
XBRL Extensible Business Reporting Language is based on internet, cross-platform operation, the computerese be specifically designed to financial report establishment, disclosing and use.XBRL's is professional extremely strong, high to the requirement of the parsing of the file of XBRL.Criteria for classification file in XBRL file, comprises schema file and chained library file.Common chained library file comprises definition chained library, row report chained library, calculating linking storehouse, tag link storehouse and reference links storehouse, and has a kind of special file in chained library file in addition custom link library file.This file does not belong to any one chained library above, and chained library attribute redefines completely.Mature XBRL financial report criteria for classification and instance document instrument in the market, much all cannot resolve self-defining chained library and show.
Summary of the invention
The object of the invention is will solve in existing XBRL engine and cannot resolve and the problem of showing for the self-defining chained library of criteria for classification, a kind of analytic method of XBRL criteria for classification custom link storehouse is provided.
The present invention solves its technical matters, and the technical scheme of employing is, the analytic method in XBRL criteria for classification custom link storehouse, is characterized in that, comprise the following steps:
Step 1, when reading the schema file of criteria for classification, when being resolved to definition element hereof, if the type attribute finding this element for " extendType " and replacement group attribute for " extend " time, this element is proposed separately and is placed in extended chain to connect storehouse element list, if the type attribute finding this element for " locatorType " and replacement group attribute for " loc " time, this element is proposed separately and is placed in the list of expansion locator component, if the type attribute finding this element for " arcType " and replacement group attribute for " arc " time, this element is proposed separately and is placed in Extended-Arc element list,
Step 2, when reading the chained library file of criteria for classification, by normally reading chained library, when reading the masurium of chained library level, if find, the masurium of chained library level is not any one in conventional " definitionLink ", " presentationLink ", " calculationLink ", " labelLink " and " referenceLink ", just in expansion chained library element list, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name in custom link storehouse;
Step 3, read steady arm masurium after, if find, the masurium of steady arm level is not conventional " loc ", then in the list of expansion locator component, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name of self-defined steady arm;
Step 4, read arc masurium after, if find, the masurium of segment level is not any one in conventional " definitionArc ", " presentationArc ", " calculationArc ", " labelArc ", " referenceArc ", then mate in Extended-Arc element list and whether have corresponding masurium, if not, verification reports an error, if there is the extension name this masurium being represented self-defined arc;
Step 5, read expansion chained library, expansion steady arm or Extended-Arc after, by differentiating the attribute of this expansion chained library obtained in schema file or expansion steady arm or Extended-Arc, obtain attribute or the daughter element of each expansion chained library or expansion steady arm or Extended-Arc respectively, and obtain and resolve.
The invention has the beneficial effects as follows, in the present invention program, by the analytic method in above-mentioned XBRL criteria for classification custom link storehouse, can the self-defining chained library of criteria for classification be resolved and be shown, facilitate user.
Embodiment
Below in conjunction with embodiment, describe technical scheme of the present invention in detail.
The analytic method in XBRL criteria for classification custom link storehouse of the present invention, when reading the schema file of criteria for classification, when being resolved to definition element hereof, if the type attribute finding this element for " extendType " and replacement group attribute for " extend " time, this element is proposed separately and is placed in extended chain to connect storehouse element list, if the type attribute finding this element for " locatorType " and replacement group attribute for " loc " time, this element is proposed separately and is placed in the list of expansion locator component, if the type attribute finding this element for " arcType " and replacement group attribute for " arc " time, this element is proposed separately and is placed in Extended-Arc element list, when reading the chained library file of criteria for classification, by normally reading chained library, when reading the masurium of chained library level, if find, the masurium of chained library level is not any one in conventional " definitionLink ", " presentationLink ", " calculationLink ", " labelLink " and " referenceLink ", just in expansion chained library element list, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name in custom link storehouse, when after the masurium reading steady arm, if find, the masurium of steady arm level is not conventional " loc ", then in the list of expansion locator component, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name of self-defined steady arm, when after the masurium reading arc, if find, the masurium of segment level is not any one in conventional " definitionArc ", " presentationArc ", " calculationArc ", " labelArc ", " referenceArc ", then mate in Extended-Arc element list and whether have corresponding masurium, if not, verification reports an error, if there is the extension name this masurium being represented self-defined arc, after reading expansion chained library, expansion steady arm or Extended-Arc, by differentiating the attribute of this expansion chained library obtained in schema file or expansion steady arm or Extended-Arc, obtain attribute or the daughter element of each expansion chained library or expansion steady arm or Extended-Arc respectively, and obtain and resolve.
Embodiment
The analytic method in the XBRL criteria for classification custom link storehouse of the embodiment of the present invention, when reading the schema file of criteria for classification, when being resolved to definition element hereof, if the type attribute finding this element for " extendType " and replacement group attribute for " extend " time, this element is proposed separately and is placed in extended chain to connect storehouse element list, if the type attribute finding this element for " locatorType " and replacement group attribute for " loc " time, this element is proposed separately and is placed in the list of expansion locator component, if the type attribute finding this element for " arcType " and replacement group attribute for " arc " time, this element is proposed separately and is placed in Extended-Arc element list, when reading the chained library file of criteria for classification, chained library is read by the normal chained library that reads, when reading the masurium of chained library level, if find, the masurium of chained library level is not any one in conventional " definitionLink ", " presentationLink ", " calculationLink ", " labelLink " and " referenceLink ", just in expansion chained library element list, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name in custom link storehouse, when after the masurium reading steady arm, if find, the masurium of steady arm level is not conventional " loc ", then in the list of expansion locator component, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name of self-defined steady arm, when after the masurium reading arc, if find, the masurium of segment level is not any one in conventional " definitionArc ", " presentationArc ", " calculationArc ", " labelArc ", " referenceArc ", then mate in Extended-Arc element list and whether have corresponding masurium, if not, verification reports an error, if there is the extension name this masurium being represented self-defined arc, after reading expansion chained library, expansion steady arm or Extended-Arc, by differentiating the attribute of this expansion chained library obtained in schema file or expansion steady arm or Extended-Arc, obtain attribute or the daughter element of each expansion chained library or expansion steady arm or Extended-Arc respectively, and obtain and resolve.
Concrete example is described as follows:
The analytic method of this example is described for compliance test file 230-01-LocatorToADocumentWithoutFragment-t1.xsd.
Steps A, resolution file 230-01-LocatorToADocumentWithoutFragment-t1.xsd, find that this file is schema file, Dietary behavior document parser, XML document is as follows:
Step B, find chained library file 230-01-Custom-linkbase.xml when resolving the linkbaseRef of this file, enter chained library document analysis.
The crucial XML document code of 230-01-Custom-linkbase.xml is as follows:
Step C, find that schemaLocation has the file of not resolving when resolving the NameSpace of this file
Step D, the type finding that there is element " customLink " when resolving the element list of this file are defined as " extendedType ", replacement group attribute is " extended ", this element is treated as expansion chained library element, puts into expansion chained library element list.
Step e, resolved 230-01-Custom-linkbase.xsd after get back to 230-01-Custom-linkbase.xml resolve.When resolving chained library level element, find any one in " definitionLink ", " presentationLink ", " calculationLink " that this element do not belong to conventional, " labelLink " and " referenceLink ".Go to find an element " customLink " in expansion chained library element list, consistent with the masurium " customLink " of this level in file, represent that current file is expansion link library file really, the information of this file is put into the set of expansion chained library.
The level element of step F, parsing steady arm and arc, finds the element " loc " by name of steady arm, does not find the masurium of arc, meet general chained library and resolve, namely the method parsing of steady arm and arc is resolved in available conventional links storehouse.

Claims (1)

  1. The analytic method in 1.XBRL criteria for classification custom link storehouse, is characterized in that, comprise the following steps:
    Step 1, when reading the schema file of criteria for classification, when being resolved to definition element hereof, if the type attribute finding this element for " extendType " and replacement group attribute for " extend " time, this element is proposed separately and is placed in extended chain to connect storehouse element list, if the type attribute finding this element for " locatorType " and replacement group attribute for " loc " time, this element is proposed separately and is placed in the list of expansion locator component, if the type attribute finding this element for " arcType " and replacement group attribute for " arc " time, this element is proposed separately and is placed in Extended-Arc element list,
    Step 2, when reading the chained library file of criteria for classification, by normally reading chained library, when reading the masurium of chained library level, if find, the masurium of chained library level is not any one in conventional " definitionLink ", " presentationLink ", " calculationLink ", " labelLink " and " referenceLink ", just in expansion chained library element list, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name in custom link storehouse;
    Step 3, read steady arm masurium after, if find, the masurium of steady arm level is not conventional " loc ", then in the list of expansion locator component, mate whether there is corresponding masurium, if not, verification reports an error, if having, this masurium is represented the extension name of self-defined steady arm;
    Step 4, read arc masurium after, if find, the masurium of segment level is not any one in conventional " definitionArc ", " presentationArc ", " calculationArc ", " labelArc ", " referenceArc ", then mate in Extended-Arc element list and whether have corresponding masurium, if not, verification reports an error, if there is the extension name this masurium being represented self-defined arc;
    Step 5, read expansion chained library, expansion steady arm or Extended-Arc after, by differentiating the attribute of this expansion chained library obtained in schema file or expansion steady arm or Extended-Arc, obtain attribute or the daughter element of each expansion chained library or expansion steady arm or Extended-Arc respectively, and obtain and resolve.
CN201510616230.5A 2015-09-24 2015-09-24 The analytic method in XBRL classification standard custom link library Active CN105320744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510616230.5A CN105320744B (en) 2015-09-24 2015-09-24 The analytic method in XBRL classification standard custom link library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510616230.5A CN105320744B (en) 2015-09-24 2015-09-24 The analytic method in XBRL classification standard custom link library

Publications (2)

Publication Number Publication Date
CN105320744A true CN105320744A (en) 2016-02-10
CN105320744B CN105320744B (en) 2019-03-26

Family

ID=55248131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510616230.5A Active CN105320744B (en) 2015-09-24 2015-09-24 The analytic method in XBRL classification standard custom link library

Country Status (1)

Country Link
CN (1) CN105320744B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562543A (en) * 2017-09-08 2018-01-09 深圳易嘉恩科技有限公司 Method based on multiple threads XBRL criteria for classifications
CN109582391A (en) * 2018-12-04 2019-04-05 中国航空工业集团公司西安航空计算技术研究所 A kind of device tree configuration method based on XML

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222083A (en) * 2011-05-06 2011-10-19 中国科学院研究生院 Creation-object-based extensible business reporting language (XBRL) taxonomy rapid-resolution method
CN102821133A (en) * 2011-12-12 2012-12-12 金蝶软件(中国)有限公司 Method and server for data analysis of extensible business reporting language (XBRL)
CN103020093A (en) * 2011-09-28 2013-04-03 上海证券交易所 Method and system for recording and displaying extensible business reporting language (XBRL) information disclosure report
CN103064823A (en) * 2012-12-25 2013-04-24 北京易时信通科技有限公司 Method and system for processing data
CN103729337A (en) * 2013-12-27 2014-04-16 金蝶软件(中国)有限公司 Report conversion method and device
US20140258848A1 (en) * 2012-03-30 2014-09-11 WebFilings LLC Systems and Methods for Navigating to Errors in an XBRL Document Using Metadata
CN104408030A (en) * 2014-10-28 2015-03-11 用友软件股份有限公司 XBRL (eXtensible Business Reporting Language) instance generation method and XBRL instance generation device
CN104731941A (en) * 2015-03-31 2015-06-24 浪潮集团有限公司 Method for capturing data from unstructured financial report based on XBRL technology
US9135327B1 (en) * 2012-08-30 2015-09-15 Ez-XBRL Solutions, Inc. System and method to facilitate the association of structured content in a structured document with unstructured content in an unstructured document

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222083A (en) * 2011-05-06 2011-10-19 中国科学院研究生院 Creation-object-based extensible business reporting language (XBRL) taxonomy rapid-resolution method
CN103020093A (en) * 2011-09-28 2013-04-03 上海证券交易所 Method and system for recording and displaying extensible business reporting language (XBRL) information disclosure report
CN102821133A (en) * 2011-12-12 2012-12-12 金蝶软件(中国)有限公司 Method and server for data analysis of extensible business reporting language (XBRL)
US20140258848A1 (en) * 2012-03-30 2014-09-11 WebFilings LLC Systems and Methods for Navigating to Errors in an XBRL Document Using Metadata
US9135327B1 (en) * 2012-08-30 2015-09-15 Ez-XBRL Solutions, Inc. System and method to facilitate the association of structured content in a structured document with unstructured content in an unstructured document
CN103064823A (en) * 2012-12-25 2013-04-24 北京易时信通科技有限公司 Method and system for processing data
CN103729337A (en) * 2013-12-27 2014-04-16 金蝶软件(中国)有限公司 Report conversion method and device
CN104408030A (en) * 2014-10-28 2015-03-11 用友软件股份有限公司 XBRL (eXtensible Business Reporting Language) instance generation method and XBRL instance generation device
CN104731941A (en) * 2015-03-31 2015-06-24 浪潮集团有限公司 Method for capturing data from unstructured financial report based on XBRL technology

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562543A (en) * 2017-09-08 2018-01-09 深圳易嘉恩科技有限公司 Method based on multiple threads XBRL criteria for classifications
CN107562543B (en) * 2017-09-08 2020-11-10 深圳易嘉恩科技有限公司 Method for processing XBRL classification standard based on multithreading
CN109582391A (en) * 2018-12-04 2019-04-05 中国航空工业集团公司西安航空计算技术研究所 A kind of device tree configuration method based on XML
CN109582391B (en) * 2018-12-04 2022-05-24 中国航空工业集团公司西安航空计算技术研究所 XML-based equipment tree configuration method

Also Published As

Publication number Publication date
CN105320744B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
AU2017101864A4 (en) Method, device, server and storage apparatus of reviewing SQL
KR101384405B1 (en) Analysis method, analysis device, and analysis program
Falleri et al. Fine-grained and accurate source code differencing
KR101755365B1 (en) Managing record format information
US8615526B2 (en) Markup language based query and file generation
US8935364B2 (en) Method, apparatus, and program for supporting creation and management of metadata for correcting problem in dynamic web application
CN108711443B (en) Text data analysis method and device for electronic medical record
US20140006429A1 (en) Generation of technical description of report from functional description of report
CN108446394B (en) File difference comparison method and device
US20230325368A1 (en) Automatic data store architecture detection
CN105320744A (en) Analytical method of link library with custom XBRL classification criterion
US7873902B2 (en) Transformation of versions of reports
CN108629012B (en) Intelligent verification method and system for forensic data analysis accuracy
CN106777025B (en) Analysis method and system of database physical model
KR20170087367A (en) Semi-Automatic Quality Assessment of Linked Data without Requiring Ontology
US9684691B1 (en) System and method to facilitate the association of structured content in a structured document with unstructured content in an unstructured document
CN112287660A (en) Method and device for analyzing table in PDF file, computing equipment and storage medium
Michel et al. Model Instances in VOTables Version 1.0
CN118643007B (en) Method, equipment and storage medium for analyzing interface document
Zamyatina Text Mining of Companies Annual Reports in Pdf Format
CN115221188A (en) Method for analyzing Flink SQL acquired field attribute and Call analyzer
Kinnander A comparison between MongoDB & CouchDB on search performance: A comparative analysis
CN115934757A (en) Method and device for analyzing field blood relationship based on SQL (structured query language) and electronic equipment
TWI407372B (en) System and method for automatically generating a website based on pre-defined webpage templates
Lu et al. An XML-based model method for review of academic dissertation format

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant