CN105224632A - In XBRL technological frame, engine model is converted to the method for page model - Google Patents

In XBRL technological frame, engine model is converted to the method for page model Download PDF

Info

Publication number
CN105224632A
CN105224632A CN201510616188.7A CN201510616188A CN105224632A CN 105224632 A CN105224632 A CN 105224632A CN 201510616188 A CN201510616188 A CN 201510616188A CN 105224632 A CN105224632 A CN 105224632A
Authority
CN
China
Prior art keywords
model
page
xbrl
attribute
converted
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
CN201510616188.7A
Other languages
Chinese (zh)
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 CN201510616188.7A priority Critical patent/CN105224632A/en
Publication of CN105224632A publication Critical patent/CN105224632A/en
Pending legal-status Critical Current

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/84Mapping; Conversion

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)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to XBRL technology, object be in order to provide a kind of efficiently, fast, intactly engine model is converted to the method for page model.The invention provides a kind of method in XBRL technological frame, engine model being converted to page model, step is as follows.After use XBRL technology completes criteria classification modeling, first, tree construction in recursive traversal engine model, inheritance is separated to each node, parent attribute is married again in subclass, remove inheritance, obtain mid-module, described engine model is the model generated after utilizing XBRL technology to carry out criteria for classification modeling.Then, resolve mid-module object, use recursive traversal, the attribute of each object is converted to the attribute of each node in XML document, generating Table Header information, retraining needing the attribute being shown to the page.Finally, XML document and Table Header information are sent to page end, page termination receives data and decompress(ion) shows after obtaining page model.

Description

In XBRL technological frame, engine model is converted to the method for page model
Technical field
The present invention relates to XBRL technology, is particularly the method for the model being applicable to page display by criteria for classification model conversion in XBRL technological frame.
Background technology
Extensible Business Reporting Language (XBRL) is based on internet, cross-platform operation, the computerese be specifically designed to financial report establishment, disclosing and use, substantially the integrated of data and maximum using is realized, accounting information exports one, resources sharing, in the world accounting standard is combined with computerese, for unstructured data, the up-to-date recognised standard of especially financial information exchange and technology.By specifically identifying data are unified and classify, directly by user or other software are read and processes further, a typing can be realized, repeatedly uses.
Network Financial Report based on XBRL has following Some features:
1. reduce message exchange cost, improve the availability of financial information, indirectly add financial information comparability;
2., by the information that internet provides tool ageing, improve the correlativity of information, enhance the utilization ratio of financial information;
3. automatically can exchange and take passages financial information and not by the restriction of individual businesses's software and infosystem, for investor or analyst use financial information to provide convenience;
4. can reduce the problem repeating in order to the data of different-format demand to input;
5. reduce information supply cost, be conducive to information provider and improve Preparing Financial Statements efficiency.
XBRL technological frame is primarily of 3 part compositions: XBRL specification (Specification), XBRL criteria for classification (Taxonomy) and XBRL instance document (Instance).An XBRL criteria for classification comprises TaxonomySchema (.xsd) file, and calculating, definition, label, shows, quotes this five database chained files.Sort file states a series of key element, comprise the content such as key element name, ID attribute, element type, describe the mathematics between key element and defining relation, can be retrained and specification by " linguistic context label, calculated relationship, the form of expression, rule definition, referring-to relation " each data.
The model logic structure generated after using XBRL technological frame to criteria for classification modeling is comparatively complicated, needs the simple model of structure converting page display needs to, and does not also have a kind of efficient conversion method fast at present.
Summary of the invention
The object of the invention is in order to provide a kind of efficiently, fast, intactly engine model is converted to the method for page model.Particularly, the invention provides a kind of method in XBRL technological frame, engine model being converted to page model, it is characterized in that, comprise the steps:
A. the tree construction in recursive traversal engine model, is separated inheritance to each node, marries again in subclass by parent attribute, and remove inheritance, obtain mid-module, described engine model is the model generated after utilizing XBRL technology to carry out criteria for classification modeling;
B. resolve mid-module object, use recursive traversal, the attribute of each object is converted to the attribute of each node in XML document, generating Table Header information, retraining needing the attribute being shown to the page;
C. XML document and Table Header information are sent to page end, page termination receives data and decompress(ion) shows after obtaining page model.
Particularly, in steps A, the criteria for classification in described engine model is a set of XML file meeting XBRL technical manual.The XML file of the described XBRL of meeting technical manual comprises element definition chained library, row report chained library, clearing chained library, tag link storehouse, reference links storehouse, role's tag link storehouse.
Particularly, in step B, if object properties are empty, then this object is not put in XML document node.For the object that attribute is empty, there is no need to be put in document and take storage space resource.
In step C, after adopting the compressibility of 20:1 to compress XML document and Table Header information, be transferred to page end.The XML character string generated, generally at about 50M, now for the environment that network is slow and unstable, is difficult to reach desirable transmission speed, so we need to compress XML character string, uses the bytecode after compression to carry out data transmission.
Particularly, in steps A, the concrete grammar removing inheritance is: joined in each tree node by the attribute of the total attribute Arc of the tree node extracted in engine model, thus abandon Arc object, preserve the reference information to other objects in each object.
The invention has the beneficial effects as follows: when the present invention is based on enterprise use XBRL technology generation criteria for classification, by complicated for logical organization in engine model, to convert the independently object being separately beneficial to page display in netted object relationship, and store the logical relation between original object in object model after conversion.
Embodiment below in conjunction with embodiment is described in further detail technical scheme of the present invention; should be noted that; embodiment is only used to help reader to understand technical conceive of the present invention better, not in order to limit the protection domain of the claims in the present invention.
Embodiment
The invention provides a kind of method in XBRL technological frame, engine model being converted to page model, the concrete steps of the method are as follows.After use XBRL technology completes criteria classification modeling, first, tree construction in recursive traversal engine model, inheritance is separated to each node, parent attribute is married again in subclass, remove inheritance, obtain mid-module, described engine model is the model generated after utilizing XBRL technology to carry out criteria for classification modeling.Then, resolve mid-module object, use recursive traversal, the attribute of each object is converted to the attribute of each node in XML document, generating Table Header information, retraining needing the attribute being shown to the page.Finally, XML document and Table Header information are sent to page end, page termination receives data and decompress(ion) shows after obtaining page model.
Embodiment
Below each step of method of the present invention is described in detail.
1. define mid-module
Mid-module, as the bridge between page model and engine model, carries out conversion each other.The mid-module defined does not have inheritance and complicated hierarchical structure, only has each chained library simple tree construction separately.Attribute as the total attribute Arc by the tree node extracted in engine model joins in each tree node, thus abandons Arc object, preserves the reference information to other objects in each object, removes coupled relation.
2. disassemble tree construction and inheritance
Criteria for classification is a set of XML file, contains element definition chained library, arranges the XML file reporting chained library, clearing chained library, tag link storehouse, reference links storehouse, role's tag link storehouse etc. to meet XBRL technical manual.And each chained library itself exists extremely complicated tree construction, each tree node contains the attribute of quoted element property and node itself.When engine modeling, extracted each chained library gather around total attribute as parent, thus the relation in criteria for classification modeling between each object is netted.The first step of conversion is then recursive traversal tree construction, is separated inheritance, is married again in subclass by parent attribute each node, thus removes inheritance.
3. convert the XML document model that the page needs to
After obtaining mid-module, resolve mid-module object, use recursive traversal, the attribute of each object is converted to the attribute of each node in XML document, null attribute is made a decision, do not put in XML document node.Generate Table Header information, constraint needs the attribute being shown to the page, can freely add and control page display content.
4. compressed XML character string
The XML document character string generated is generally at about 50M, now for the environment that network is slow and unstable, be difficult to reach desirable transmission speed, so we need to compress XML character string, the bytecode (compressibility of 20:1) after compression is used to carry out data transmission, after the page receives data, decompressed data stream, obtains XML model object and shows.

Claims (6)

  1. In 1.XBRL technological frame, engine model is converted to the method for page model, it is characterized in that, comprise the steps:
    A. the tree construction in recursive traversal engine model, is separated inheritance to each node, marries again in subclass by parent attribute, and remove inheritance, obtain mid-module, described engine model is the model generated after utilizing XBRL technology to carry out criteria for classification modeling;
    B. resolve mid-module object, use recursive traversal, the attribute of each object is converted to the attribute of each node in XML document, generating Table Header information, retraining needing the attribute being shown to the page;
    C. XML document and Table Header information are sent to page end, page termination receives data and decompress(ion) shows after obtaining page model.
  2. 2. in XBRL technological frame as claimed in claim 1, engine model is converted to the method for page model, it is characterized in that, in steps A, the criteria for classification in described engine model is a set of XML file meeting XBRL technical manual.
  3. 3. in XBRL technological frame as claimed in claim 2, engine model is converted to the method for page model, it is characterized in that, described in meet XBRL technical manual XML file comprise element definition chained library, row report chained library, clearing chained library, tag link storehouse, reference links storehouse, role's tag link storehouse.
  4. 4. in the XBRL technological frame as described in claim 1 or 2 or 3, engine model is converted to the method for page model, it is characterized in that, in step B, if object properties are empty, then this object is not put in XML document node.
  5. 5. in XBRL technological frame as claimed in claim 4, engine model is converted to the method for page model, it is characterized in that, in step C, after adopting the compressibility of 20:1 to compress XML document and Table Header information, be transferred to page end.
  6. 6. in XBRL technological frame as claimed in claim 1, engine model is converted to the method for page model, it is characterized in that, in steps A, the concrete grammar removing inheritance is: join in each tree node by the attribute of the total attribute Arc of the tree node extracted in engine model, thus abandon Arc object, in each object, preserve the reference information to other objects.
CN201510616188.7A 2015-09-24 2015-09-24 In XBRL technological frame, engine model is converted to the method for page model Pending CN105224632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510616188.7A CN105224632A (en) 2015-09-24 2015-09-24 In XBRL technological frame, engine model is converted to the method for page model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510616188.7A CN105224632A (en) 2015-09-24 2015-09-24 In XBRL technological frame, engine model is converted to the method for page model

Publications (1)

Publication Number Publication Date
CN105224632A true CN105224632A (en) 2016-01-06

Family

ID=54993600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510616188.7A Pending CN105224632A (en) 2015-09-24 2015-09-24 In XBRL technological frame, engine model is converted to the method for page model

Country Status (1)

Country Link
CN (1) CN105224632A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228688A (en) * 2017-06-20 2018-06-29 上海吉贝克信息技术有限公司 A kind of template generation method based on XBRL, system and server
CN110046004A (en) * 2019-03-29 2019-07-23 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment being adapted to automatic reference count ARC characteristic

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070078877A1 (en) * 2005-04-20 2007-04-05 Howard Ungar XBRL data conversion
CN101288095A (en) * 2005-04-08 2008-10-15 科格洛斯公司 Enterprise software system having multidimensional xbrl engine
CN102360367A (en) * 2011-09-29 2012-02-22 广州中浩控制技术有限公司 XBRL (Extensible Business Reporting Language) data search method and search engine
US20130018923A1 (en) * 2011-07-14 2013-01-17 International Business Machines Corporation LossLess Transformation of XBRL Instance to XML Data Model Instance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101288095A (en) * 2005-04-08 2008-10-15 科格洛斯公司 Enterprise software system having multidimensional xbrl engine
US20070078877A1 (en) * 2005-04-20 2007-04-05 Howard Ungar XBRL data conversion
US20130018923A1 (en) * 2011-07-14 2013-01-17 International Business Machines Corporation LossLess Transformation of XBRL Instance to XML Data Model Instance
CN102360367A (en) * 2011-09-29 2012-02-22 广州中浩控制技术有限公司 XBRL (Extensible Business Reporting Language) data search method and search engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王祎雪: ""XBRL实例文档生成器的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228688A (en) * 2017-06-20 2018-06-29 上海吉贝克信息技术有限公司 A kind of template generation method based on XBRL, system and server
CN108228688B (en) * 2017-06-20 2022-05-06 上海吉贝克信息技术有限公司 Template generation method, system and server based on XBRL
CN110046004A (en) * 2019-03-29 2019-07-23 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment being adapted to automatic reference count ARC characteristic
CN110046004B (en) * 2019-03-29 2022-09-02 北京奇艺世纪科技有限公司 Method and device for adapting automatic reference counting ARC (ARC resistance) characteristics and electronic equipment

Similar Documents

Publication Publication Date Title
El-Sappagh et al. A proposed model for data warehouse ETL processes
US8103705B2 (en) System and method for storing text annotations with associated type information in a structured data store
Zhao et al. Schema conversion model of SQL database to NoSQL
CN102033748B (en) Method for generating data processing flow codes
US9607061B2 (en) Using views of subsets of nodes of a schema to generate data transformation jobs to transform input files in first data formats to output files in second data formats
Zhang et al. Automatic generation of ontology based on database
CN104298496B (en) data analysis type software development framework system
CN106649769B (en) Semantic-based conversion method from XBRL data to OWL data
Alviano et al. Disjunctive ASP with functions: Decidable queries and effective computation
US10031981B2 (en) Exporting data to web-based applications
AGGOUNE et al. A method for transforming object-relational to document-oriented databases
Bouhali et al. Exploiting RDF open data using NoSQL graph databases
CN105224632A (en) In XBRL technological frame, engine model is converted to the method for page model
CN105550176A (en) Basic mapping method for relational database and XML
US20090307187A1 (en) Tree automata based methods for obtaining answers to queries of semi-structured data stored in a database environment
CN117033348A (en) SQL conversion method, SQL conversion device, SQL conversion computer equipment and SQL storage medium
Ramanujam et al. R2D: A bridge between the semantic web and relational visualization tools
CN112783836A (en) Information exchange method, device and computer storage medium
CN105224319B (en) The method for realizing XBRL instance document previews based on dom4j
Ferro et al. Modeling Archives by means of OAI-ORE
Fillottrani et al. Polynomial encoding of ORM conceptual models in CFDI∀−
Zdravevski et al. Scalable cloud-based ETL for self-serving analytics
CN104572763A (en) Method for object transferring in distributed computing system
Lv et al. Efficient XML Document Compressing Method Based on Internet of Things
Roy et al. Generating topic maps from XML/XSD documents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106

RJ01 Rejection of invention patent application after publication