CN102821133B - The method of XBRL Data Analysis and server - Google Patents
The method of XBRL Data Analysis and server Download PDFInfo
- Publication number
- CN102821133B CN102821133B CN201110412388.2A CN201110412388A CN102821133B CN 102821133 B CN102821133 B CN 102821133B CN 201110412388 A CN201110412388 A CN 201110412388A CN 102821133 B CN102821133 B CN 102821133B
- Authority
- CN
- China
- Prior art keywords
- xbrl
- classification
- criteria
- server
- data analysis
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Present invention is disclosed a kind of method and server of XBRL Data Analysis.The method can comprise step: server receives the request of XBRL Data Analysis, calls local standard storehouse, obtains XBRL criteria for classification; When preserving corresponding XBRL criteria for classification in described local standard storehouse, described XBRL criteria for classification is used to carry out XBRL Data Analysis.XBRL Data Analysis in the present invention can adopt the design of B/S framework, needs the terminal of carrying out XBRL parsing by browser access server, after importing instance document to server, can return parsing picture.Support multi-user concurrent is resolved, the accumulation of criteria for classification in convenient service device end local standard storehouse, and more user's access, the version in criteria for classification storehouse will be more.
Description
Technical field
The present invention relates to XBRL Data Analysis technology, be related specifically to a kind of method and server of XBRL Data Analysis.
Background technology
Extensible Business Reporting Language (eXtensibleBusinessReportingLanguage, XBRL) be a kind of based on XML (ExtensibleMarkupLanguage, extend markup language) markup language, for definition and the exchange of business and financial information.
XBRL technology has just just started development at home, and various application and technology are all immature.There is the software product that some popular XBRL are relevant at present in the world, supported the parsing of most of criteria for classification, but be substantially all the design belonging to C/S framework.When resolving instance document, needing first to import instance document to be resolved, then the criteria for classification of analysis example document needs, by the corresponding criteria for classification of the Internet download, then starting to resolve.So, make parsing XBRL instance document efficiency very low, often import an instance document, must wait and just have result for a long time; Meanwhile, use the software of C/S framework all to need to install in client, upgrading with more new capital is cumbersome, and does not support the concurrent use of multi-user.
Summary of the invention
Main purpose of the present invention, for providing a kind of method of XBRL Data Analysis, improves the analyzing efficiency of XBRL data.
The present invention proposes a kind of method of XBRL Data Analysis, comprises step:
Server receives the request of XBRL Data Analysis, calls local standard storehouse, obtains XBRL criteria for classification;
When preserving corresponding XBRL criteria for classification in described local standard storehouse, described XBRL criteria for classification is used to carry out XBRL Data Analysis.
Preferably, described server receives the request of XBRL Data Analysis, calls local standard storehouse, after obtaining the step of XBRL criteria for classification, also comprises:
When not preserving corresponding XBRL criteria for classification in described local standard storehouse, request server is by XBRL criteria for classification described in web download and deposit in local standard storehouse.
Preferably, described server receives the request of XBRL Data Analysis, calls local standard storehouse, before obtaining the step of XBRL criteria for classification, also comprises:
Server presets the local data base preserving XBRL criteria for classification.
Preferably, described server receives the request of XBRL Data Analysis, calls local standard storehouse, before obtaining the step of XBRL criteria for classification, also comprises:
Described XBRL criteria for classification is preloaded into the buffer area of server.
Preferably, the step that described XBRL criteria for classification is preloaded into the buffer area of server is specifically comprised:
Transfer criteria for classification resolver;
Resolve described XBRL criteria for classification;
Be saved to the buffer area of server.
The present invention also proposes a kind of server of XBRL Data Analysis, comprising:
Java standard library addressed location, for receiving the request of XBRL Data Analysis, calls local standard storehouse, obtains XBRL criteria for classification;
Standard calls unit, for when preserving corresponding XBRL criteria for classification in described local standard storehouse, uses described XBRL criteria for classification to carry out XBRL Data Analysis.
Preferably, described server also comprises:
Download request unit, for when not preserving corresponding XBRL criteria for classification in described local standard storehouse, is deposited in local standard storehouse by XBRL criteria for classification described in web download.
Preferably, described server also comprises:
Pre-set unit, for the local data base of default preservation XBRL criteria for classification.
Preferably, described server also comprises:
Prestrain unit, for being preloaded into the buffer area of server by described XBRL criteria for classification.
Preferably, described prestrain unit specifically for:
Transfer criteria for classification resolver; Resolve described XBRL criteria for classification; And, be saved to the buffer area of server.
XBRL Data Analysis in the present invention can adopt the design of B/S framework, needs the terminal of carrying out XBRL parsing by browser access server, after importing instance document to server, can return parsing picture.Support multi-user concurrent is resolved, the accumulation of criteria for classification in convenient service device end local standard storehouse, and more user's access, the version in criteria for classification storehouse will be more.
Accompanying drawing explanation
Fig. 1 is steps flow chart schematic diagram in method one embodiment of XBRL Data Analysis of the present invention;
Fig. 2 is steps flow chart schematic diagram in another embodiment of method of XBRL Data Analysis of the present invention;
Fig. 3 is time diagram in method one embodiment of XBRL Data Analysis of the present invention;
Fig. 4 is preloading step schematic flow sheet in method one embodiment of XBRL Data Analysis of the present invention;
Fig. 5 is structural representation in server one embodiment of XBRL Data Analysis of the present invention;
Fig. 6 is structural representation in another embodiment of server of XBRL Data Analysis of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to Fig. 1, method one embodiment of a kind of XBRL Data Analysis of the present invention is proposed.The method can comprise:
Step S10, server receive the request of XBRL Data Analysis, call local standard storehouse, obtain XBRL criteria for classification;
Step S11, when preserving corresponding XBRL criteria for classification in described local standard storehouse, described XBRL criteria for classification is used to carry out XBRL Data Analysis.
XBRL technological frame is primarily of 3 part compositions: XBRL specification (Specification), XBRL criteria for classification (Taxonomy) and XBRL instance document (Instance).
XBRL specification is technical specification, the foundation of XBRL criteria for classification generation and the superclass of XBRL technology that official formulates.The structure of the normalized definition various technical terms of XBRL, XBRL instance document, describe and how to set up criteria for classification and instance document, and unified regulation is made to XBRL label, demand file developer use jointly, is beneficial to the exchange realizing standard data.
XBRL instance document encapsulates the concrete fact (facts), and the fact is the most basic unit.There is no the simple fact of Complex information structure entry (item).In order to express more complicated information unit, the fact that a group is associated can be put together, representing by structural rate such as the tuple (tuple) etc. of relative complex.Both can comprise entry in tuple, also can comprise other tuple.For the Concrete facts in data form, showed by instance document.But what kind of linguistic norm Concrete facts should observe, how are their form and attribute, then defined by criteria for classification.First criteria for classification will define every financial statement element that will use in financial statement, also want the out of Memory that affix is relevant simultaneously, relevance such as between each element, and the title of each element in form, position etc., also to reflect the accounting standard making financial statement institute foundation.
XBRL criteria for classification, comprises TaxonomySchema (.xsd) file and calculating, definition, label, row report, quotes this five database threaded 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.
XBRL Data Analysis in the present embodiment can adopt the design of B/S framework, needs the terminal of carrying out XBRL parsing by browser access server, after importing instance document to server, can return parsing picture.Support multi-user concurrent is resolved, the accumulation of criteria for classification in convenient service device end local standard storehouse, and more user's access, the version in criteria for classification storehouse will be more.
Resolve the criteria for classification that first XBRL instance document needs to determine that XBRL instance document is corresponding, if zero time will take the too many network bandwidth by web download, so be preset with the local standard storehouse of preserving criteria for classification in the server of the present embodiment.In this local standard storehouse, the accumulation of criteria for classification is safeguarded mainly through criteria for classification renewal service, and the criteria for classification file safeguarding criteria for classification catalogue and correspondence is responsible in this renewal service.Can the version of more preset criteria for classifications in this local standard storehouse, such as CAS (universal classification standard), IFRS (international finance report criteria for classification) and USFRTF (U.S.'s financial report criteria for classification) etc., by safeguarding criteria for classification catalogue listing.
With reference to Fig. 2, also comprise before above-mentioned steps S10:
Step S100, server preset the local data base preserving XBRL criteria for classification;
Step S101, described XBRL criteria for classification is preloaded into the buffer area of server.
Also comprise after above-mentioned steps S10:
Step S12, when not preserving corresponding XBRL criteria for classification in described local standard storehouse, request server is by XBRL criteria for classification described in web download and deposit in local standard storehouse, and described XBRL criteria for classification is preloaded into the buffer area of server.
With reference to Fig. 3, import an XBRL instance document to be resolved when resolving, XBRL Data Analysis is sent to server by browser, the local standard storehouse of criteria for classification that what server calls was preset preserve, the criteria for classification file in the catalogue in classification of service standard directories search local standard storehouse is upgraded by criteria for classification, if existed, directly obtain this criteria for classification object from buffer area.If there is no corresponding criteria for classification, then downloaded this criteria for classification by URL (URL(uniform resource locator)) and upgraded criteria for classification catalogue, preserve this criteria for classification and change into buffer area object lastingly.Criteria for classification service also has synchronous function, the criteria for classification that timing updating maintenance this locality has existed.
Can specifically comprise with reference to Fig. 4, above-mentioned steps S101:
Step S102, transfer criteria for classification resolver;
Step S103, resolve described XBRL criteria for classification;
Step S104, be saved to the buffer area of server.
The present embodiment adopts the mode of prestrain in the local standard storehouse of server, load classification standard object.Because very large the expending of resolving XBRL instance document is that the file that a set of criteria for classification comprises is a lot of in parsing criteria for classification, and has complicated incidence relation between file, will do the work such as the association process of multifile during parsing, efficiency is extremely low.Thus by using buffer area at server end, deposit the criteria for classification object after resolving in local standard storehouse.When the service in each local standard storehouse starts, all need all criteria for classifications first loaded in local standard storehouse, they are changed into java object lastingly and is kept in buffer area, distinguish by version number is unified.
The described XBRL criteria for classification of above-mentioned use is carried out XBRL Data Analysis and namely be can be step S110, calls the XBRL criteria for classification after parsing carry out the parsing of XBRL instance document from the buffer area of server.
With reference to Fig. 5, server 20 1 embodiment of a kind of XBRL Data Analysis of the present invention is proposed.This server 20 can comprise: java standard library addressed location 21 and standard calls unit 22; This java standard library addressed location 21, receives the request of XBRL Data Analysis for server 20, calls local standard storehouse, obtains XBRL criteria for classification; This standard calls unit 22, for when preserving corresponding XBRL criteria for classification in described local standard storehouse, uses described XBRL criteria for classification to carry out XBRL Data Analysis.
XBRL Data Analysis in the present embodiment can adopt the design of B/S framework, needs the terminal of carrying out XBRL parsing by browser access server 20, after importing instance document to server 20, can return parsing picture.Support multi-user concurrent is resolved, the accumulation of criteria for classification in the local standard storehouse in convenient service device 20, and more user's access, the version in criteria for classification storehouse will be more.
Resolve the criteria for classification that first XBRL instance document needs to determine that XBRL instance document is corresponding, if zero time will take the too many network bandwidth by web download, so be preset with the local standard storehouse of preserving criteria for classification in the server 20 of the present embodiment.In this local standard storehouse, the accumulation of criteria for classification is safeguarded mainly through criteria for classification renewal service, and the criteria for classification file safeguarding criteria for classification catalogue and correspondence is responsible in this renewal service.Can the version of more preset criteria for classifications in this local standard storehouse, such as CAS (universal classification standard), IFRS (international finance report criteria for classification) and USFRTF (U.S.'s financial report criteria for classification) etc., by safeguarding criteria for classification catalogue listing.
With reference to Fig. 6, above-mentioned server 20 also can comprise: download request unit 220, pre-set unit 200 and prestrain unit 210; This download request unit 220, for when not preserving corresponding XBRL criteria for classification in described local standard storehouse, deposits in local standard storehouse by XBRL criteria for classification described in web download; This pre-sets unit 200, for the local data base of default preservation XBRL criteria for classification; This prestrain unit 210, for being preloaded into the buffer area of server 20 by described XBRL criteria for classification.
With reference to Fig. 3, import an XBRL instance document to be resolved when resolving, send XBRL Data Analysis to server 20, server 20 calls the default local standard storehouse of preserving criteria for classification, the criteria for classification file in the catalogue in classification of service standard directories search local standard storehouse is upgraded by the criteria for classification in server 20, if existed, directly obtain this criteria for classification object from buffer area.If there is no corresponding criteria for classification, then downloaded this criteria for classification by URL (URL(uniform resource locator)) and upgraded criteria for classification catalogue, preserve this criteria for classification and change into buffer area object lastingly.Criteria for classification service also has synchronous function, the criteria for classification that timing updating maintenance this locality has existed.
Above-mentioned prestrain unit 210 specifically for: transfer criteria for classification resolver; Resolve described XBRL criteria for classification; And, be saved to the buffer area of server 20.
The present embodiment adopts the mode of prestrain in the local standard storehouse of server 20, load classification standard object.Because very large the expending of resolving XBRL instance document is that the file that a set of criteria for classification comprises is a lot of in parsing criteria for classification, and has complicated incidence relation between file, will do the work such as the association process of multifile during parsing, efficiency is extremely low.Thus by using buffer area at server 20 end, deposit the criteria for classification object after resolving in local standard storehouse.When the service in each local standard storehouse starts, all need all criteria for classifications first loaded in local standard storehouse, they are changed into java object lastingly and is kept in buffer area, distinguish by version number is unified.
Above-mentioned standard calls unit 22 specifically for: from the buffer area of server 20, call the XBRL criteria for classification after parsing carry out the parsing of XBRL instance document.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a method for XBRL Data Analysis, is characterized in that, comprises step:
All criteria for classifications in server pre-loaded local standard storehouse, are persisted as Java object by all criteria for classifications and are kept in buffer area, distinguish by version number is unified;
Receive the XBRL Data Analysis request sent by browser, call the default local standard storehouse of preserving criteria for classification, upgraded by criteria for classification in the catalogue in classification of service standard directories search local standard storehouse and obtain XBRL criteria for classification;
When preserving corresponding XBRL criteria for classification in described local standard storehouse, described XBRL criteria for classification is used to carry out XBRL Data Analysis.
2. the method for XBRL Data Analysis according to claim 1, is characterized in that, described server receives the request of XBRL Data Analysis, calls local standard storehouse, after obtaining the step of XBRL criteria for classification, also comprises:
When not preserving corresponding XBRL criteria for classification in described local standard storehouse, request server is by XBRL criteria for classification described in web download and deposit in local standard storehouse.
3. the method for XBRL Data Analysis according to claim 1, is characterized in that, described server receives the request of XBRL Data Analysis, calls local standard storehouse, before obtaining the step of XBRL criteria for classification, also comprises:
Server presets the local data base preserving XBRL criteria for classification.
4. the method for XBRL Data Analysis according to any one of claim 1 to 3, is characterized in that, described server receives the request of XBRL Data Analysis, calls local standard storehouse, before obtaining the step of XBRL criteria for classification, also comprises:
Described XBRL criteria for classification is preloaded into the buffer area of server.
5. the method for XBRL Data Analysis according to claim 4, is characterized in that, the step that described XBRL criteria for classification is preloaded into the buffer area of server is specifically comprised:
Transfer criteria for classification resolver;
Resolve described XBRL criteria for classification;
Be saved to the buffer area of server.
6. a server for XBRL Data Analysis, is characterized in that, comprising:
Prestrain unit, for all criteria for classifications in pre-loaded local standard storehouse, is persisted as Java object by all criteria for classifications and is kept in buffer area, distinguishes by version number is unified;
Java standard library addressed location, for receiving the XBRL Data Analysis request sent by browser, call the default local standard storehouse of preserving criteria for classification, upgraded by criteria for classification in the catalogue in classification of service standard directories search local standard storehouse and obtain XBRL criteria for classification;
Standard calls unit, for when preserving corresponding XBRL criteria for classification in described local standard storehouse, uses described XBRL criteria for classification to carry out XBRL Data Analysis.
7. the server of XBRL Data Analysis according to claim 6, is characterized in that, described server also comprises:
Download request unit, for when not preserving corresponding XBRL criteria for classification in described local standard storehouse, is deposited in local standard storehouse by XBRL criteria for classification described in web download.
8. the server of XBRL Data Analysis according to claim 6, is characterized in that, described server also comprises:
Pre-set unit, for the local data base of default preservation XBRL criteria for classification.
9. the server of the XBRL Data Analysis according to any one of claim 6 to 8, is characterized in that, described server also comprises:
Described prestrain unit, also for described XBRL criteria for classification being preloaded into the buffer area of server.
10. the server of XBRL Data Analysis according to claim 9, is characterized in that, described prestrain unit specifically for:
Transfer criteria for classification resolver; Resolve described XBRL criteria for classification; And, be saved to the buffer area of server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110412388.2A CN102821133B (en) | 2011-12-12 | 2011-12-12 | The method of XBRL Data Analysis and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110412388.2A CN102821133B (en) | 2011-12-12 | 2011-12-12 | The method of XBRL Data Analysis and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102821133A CN102821133A (en) | 2012-12-12 |
CN102821133B true CN102821133B (en) | 2015-11-18 |
Family
ID=47304986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110412388.2A Active CN102821133B (en) | 2011-12-12 | 2011-12-12 | The method of XBRL Data Analysis and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102821133B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984702A (en) * | 2014-04-21 | 2014-08-13 | 浪潮通用软件有限公司 | XBRL (extensible business reporting language) reporting data-based system and XBRL reporting data-based method for constructing business intelligence industry analysis cloud |
CN105320742A (en) * | 2015-09-24 | 2016-02-10 | 四川长虹电器股份有限公司 | Method for mapping subject information of traditional financial statement to XBRL classification standard format |
CN105224514A (en) * | 2015-09-24 | 2016-01-06 | 四川长虹电器股份有限公司 | The method of XBRL criteria for classification is expanded based on Flex |
CN105320744B (en) * | 2015-09-24 | 2019-03-26 | 四川长虹电器股份有限公司 | The analytic method in XBRL classification standard custom link library |
CN107656726A (en) * | 2017-10-10 | 2018-02-02 | 北京元比特科技有限责任公司 | A kind of internet information and Techno-sharing platform and method |
CN107896246B (en) * | 2017-11-08 | 2020-09-15 | 四川长虹电器股份有限公司 | Message propagation system based on XBRL |
CN109360589A (en) * | 2018-10-25 | 2019-02-19 | 天水师范学院 | A kind of competitive sports data statistical approach and system |
CN116701325B (en) * | 2023-08-03 | 2023-10-31 | 吉贝克信息技术(北京)有限公司 | Binary file cache-based XBRL classification standard loading method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1880312A2 (en) * | 2005-04-27 | 2008-01-23 | Justsystems Canada Inc. | System and method for providing data formatting |
CN102222083A (en) * | 2011-05-06 | 2011-10-19 | 中国科学院研究生院 | Creation-object-based extensible business reporting language (XBRL) taxonomy rapid-resolution method |
-
2011
- 2011-12-12 CN CN201110412388.2A patent/CN102821133B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1880312A2 (en) * | 2005-04-27 | 2008-01-23 | Justsystems Canada Inc. | System and method for providing data formatting |
CN102222083A (en) * | 2011-05-06 | 2011-10-19 | 中国科学院研究生院 | Creation-object-based extensible business reporting language (XBRL) taxonomy rapid-resolution method |
Also Published As
Publication number | Publication date |
---|---|
CN102821133A (en) | 2012-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102821133B (en) | The method of XBRL Data Analysis and server | |
CN1755676B (en) | System and method for batched indexing of network documents | |
US8713424B1 (en) | Asynchronous loading of scripts in web pages | |
US7996754B2 (en) | Consolidated content management | |
US7949681B2 (en) | Aggregating content of disparate data types from disparate data sources for single point access | |
JP5695027B2 (en) | Method and system for acquiring AJAX web page content | |
CA2610208C (en) | Learning facts from semi-structured text | |
US8280843B2 (en) | RSS data-processing object | |
US6393422B1 (en) | Navigation method for dynamically generated HTML pages | |
CN102647462B (en) | Application acquisition and sending method and device | |
US20070192674A1 (en) | Publishing content through RSS feeds | |
US20070192683A1 (en) | Synthesizing the content of disparate data types | |
CN101197700A (en) | Method and system for providing log service | |
US7747604B2 (en) | Dynamic sitemap creation | |
CN102521251A (en) | Method for directly realizing personalized search, device for realizing method, and search server | |
WO2011042995A1 (en) | A system and method for assisting a user with searching multimedia objects | |
CN104765840A (en) | Big data distributed storage method and device | |
US20130305131A1 (en) | Method, system and computer storage medium for pre-reading network data | |
CN1627290A (en) | Data down loading system and method capable of continuous transmission from breakpoint | |
CN105528369B (en) | Webpage code-transferring method, device and server | |
CN101355590A (en) | Method, system and apparatus for prompting download | |
CN102193798A (en) | Method for automatically acquiring Open application programming interface (API) based on Internet | |
KR101511267B1 (en) | Method and system for searchable Web services | |
US7886227B2 (en) | Cross-environment context-sensitive help files | |
CN102156697A (en) | Method and terminal equipment for realizing webpage application through widget |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |