CN108038156A - A kind of XBRL reports update method and device - Google Patents
A kind of XBRL reports update method and device Download PDFInfo
- Publication number
- CN108038156A CN108038156A CN201711267131.6A CN201711267131A CN108038156A CN 108038156 A CN108038156 A CN 108038156A CN 201711267131 A CN201711267131 A CN 201711267131A CN 108038156 A CN108038156 A CN 108038156A
- Authority
- CN
- China
- Prior art keywords
- data item
- xbrl
- updated
- abnormal data
- reports
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000002159 abnormal effect Effects 0.000 claims abstract description 142
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
Abstract
The present invention provides a kind of XBRL reports update method and device, this method to include:Determine target XBRL standards;Parse each element information that the target XBRL standards include;It is performed both by for each XBRL report to be updated, determines each data item that presently described XBRL reports to be updated include;Each data item is compared with each element information parsed, determines abnormal data item;Presently described XBRL reports to be updated are updated according to identified abnormal data item.Therefore, scheme provided by the invention can improve the efficiency of XBRL reports renewal.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of XBRL reports update method and device.
Background technology
As IT application in enterprises degree is continuously improved, XBRL is using more and more extensive.XBRL is that one kind is based on expansible mark
Remember the open business report technical standard of language (eXtensible Markup Language, XML).Based on internet, across
Platform operates, dedicated for financial report establishment, the computer language for disclosing and using, by business such as financial reports
Data increase specific markers, definition correlation in report, enable a computer to read these reports.
XBRL standards can often change with the needs of business.When XBRL standards change, it is necessary to business
Each XBRL reports in system are updated to ensure that it is consistent with XBRL standards.At present, generally use is manually by new edition
Element information in XBRL standards is compared with each XBRL reports, and each XBRL reports are carried out more according to comparison result
Newly.
But existing mode, manually go to compare due to use, expend time length, and there is the probability of mistake
Higher, therefore, XBRL reports update less efficient.
The content of the invention
An embodiment of the present invention provides a kind of XBRL reports update method and device, can improve the effect that XBRL reports update
Rate.
In a first aspect, an embodiment of the present invention provides a kind of XBRL reports update method, this method includes:
Determine target XBRL standards;
Parse each element information that the target XBRL standards include;
It is performed both by for each XBRL report to be updated, determines each number that presently described XBRL reports to be updated include
According to item;Each data item is compared with each element information parsed, determines abnormal data item;According to determining
Abnormal data item presently described XBRL reports to be updated are updated.
Preferably,
It is described that each data item is compared with each element information parsed, determine abnormal data item, wrap
Include:
It is performed both by for data item each described, judges to whether there is presently described number in each element information
According to item, if it is not, then determining that presently described data item is the abnormal data item;
It is performed both by for element information each described, judges to whether there is presently described member in each data item
Prime information, if it is not, then determining that presently described element information is the abnormal data item.
Preferably,
Abnormal data item determined by the basis is updated presently described XBRL reports to be updated, including:
Using each described abnormal data item successively as current abnormal data item, it is performed both by:
Judge whether the current abnormal data item exists in each data item,
If so, the position of the current abnormal data item is determined in presently described XBRL reports to be updated;From described
The current abnormal data item is removed in position, and default mark is centered in the position.
Preferably,
Further comprise:
When judging that the current abnormal data item is not present in each data item, presently described exception is marked
Data item;
Generation error reports, wherein, the identification information of the error reporting including presently described XBRL reports to be updated with
And each abnormal data item marked;
Receive externally input updating the data for the error reporting;
Presently described XBRL reports to be updated are updated using described update the data.
Preferably,
Further comprise:
Retrieved with the search cycle of setting in java standard library and whether there is new edition XBRL standards;
If so, the new edition XBRL retrieved is determined as the target XBRL standards.
Preferably,
In the data item, including element units lattice information, element row information, element column information and element dimensional information
It is at least one or more of.
Second aspect, an embodiment of the present invention provides a kind of XBRL reports updating device, which includes:
Determining module, for determining target XBRL standards;
Parsing module, each element letter included for parsing the target XBRL standards that the determining module determines
Breath;
The update module, for being performed both by for each XBRL report to be updated, determines presently described to be updated
Each data item that XBRL reports include;Each data item is compared with each element information parsed, is determined
Abnormal data item;Presently described XBRL reports to be updated are updated according to identified abnormal data item.
Preferably,
The update module, including:Data item compares submodule and element comparer module;
The data item compares submodule, for being performed both by for data item each described, judges in each member
It whether there is presently described data item in prime information, if it is not, then determining that presently described data item is the abnormal data item;
The element comparer module, for being performed both by for element information each described, judges in each number
According to whether there is presently described element information in item, if it is not, then determining that presently described element information is the abnormal data item.
Preferably,
The update module, including:Mark processing submodule;
The mark processing submodule, for using each described abnormal data item successively as current abnormal data item,
It is performed both by:Judge whether the current abnormal data item exists in each data item, if so, being treated more presently described
The position of the current abnormal data item is determined in new XBRL reports;The current abnormal data item is removed from the position,
And center default mark in the position.
Preferably,
The update module, further comprises:Report submodule and renewal submodule;
The report submodule, for judging that the current abnormal data item is not present in each data item
When, mark presently described abnormal data item;Generation error report, wherein, the error reporting includes presently described to be updated
The identification information of XBRL reports and each abnormal data item marked;
The renewal submodule, for receiving externally input updating the data for the error reporting;Using described
Update the data and presently described XBRL reports to be updated are updated.
Preferably,
Further comprise:Retrieve module;
The retrieval module, whether there is new edition XBRL standards for being retrieved with the search cycle of setting in java standard library;
If so, trigger the determining module;
The determining module, is further used under the triggering of the retrieval module, and the retrieval module is retrieved
New edition XBRL is determined as the target XBRL standards.
An embodiment of the present invention provides a kind of XBRL reports update method and device, is needing to report each XBRL to be updated
When table is updated, it is first determined target XBRL standards, and parse each element information that target XBRL standards include.Really
Each data item that each fixed XBRL report to be updated includes, and by each data item and each element information parsed into
Row compares, and determines abnormal data item.Each XBRL report to be updated is updated according to identified abnormal data item.It is logical
Cross it is above-mentioned understand, included in this programme by each data item for including XBRL reports to be updated with target XBRL standards
Each element information is compared, and can determine abnormal data item.With according to identified abnormal data item to be updated
XBRL reports are updated.Therefore, scheme provided in an embodiment of the present invention can improve the efficiency of XBRL reports renewal.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of XBRL reports update method provided by one embodiment of the present invention;
Fig. 2 is a kind of flow chart for XBRL reports update method that another embodiment of the present invention provides;
Fig. 3 is a kind of hardware structure diagram of equipment where XBRL reports updating device provided by one embodiment of the present invention;
Fig. 4 is a kind of structure diagram of XBRL reports updating device provided by one embodiment of the present invention;
Fig. 5 is that a kind of data item that includes provided by one embodiment of the present invention compares submodule and element comparer module
XBRL report updating devices structure diagram;
Fig. 6 is a kind of structure diagram for XBRL reports updating device that another embodiment of the present invention provides;
Fig. 7 is that a kind of structure including retrieving the XBRL report updating devices of module provided by one embodiment of the present invention is shown
It is intended to.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
The all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of XBRL reports update method, this method can include following step
Suddenly:
Step 101:Determine target XBRL standards;
Step 102:Parse each element information that the target XBRL standards include;
Step 103:Select an XBRL report to be updated to be used as in each XBRL reports to be updated successively currently to treat more
New XBRL reports.
Step 104:Determine each data item that presently described XBRL reports to be updated include;
Step 105:Each data item is compared with each element information parsed, determines abnormal data
;
Step 106:Presently described XBRL reports to be updated are updated according to identified abnormal data item;
Step 107:Judge whether presently described XBRL reports to be updated are last XBRL report to be updated, if
It is to terminate current process;Otherwise, step 103 is performed.
Embodiment according to figure 1, when needing to be updated each XBRL reports to be updated, it is first determined target
XBRL standards, and parse each element information that target XBRL standards include.Determine each XBRL reports bag to be updated
The each data item included, and each data item is compared with each element information parsed, determine abnormal data item.Root
Each XBRL report to be updated is updated according to identified abnormal data item.By above-mentioned, lead in this programme
Cross and each data item that XBRL reports to be updated include is compared with each element information that target XBRL standards include, just
It can determine abnormal data item.To be updated according to identified abnormal data item to XBRL reports to be updated.Therefore, originally
The scheme that inventive embodiments provide can improve the efficiency of XBRL reports renewal.
In an embodiment of the invention, realize that the step 101 in flow chart shown in above-mentioned Fig. 1 determines target XBRL standards
Method at least there are following two:
Method one:
In an embodiment of the invention, when receiving externally input new edition XBRL standards, the new edition that will receive
XBRL standards are determined as target XBRL standards.
According to above-described embodiment, during simply by the presence of new edition XBRL standards, the new edition XBRL standards that can be inputted are treated to each
Renewal XBRL reports are updated.Therefore, business is with strong applicability.
Method two:
In an embodiment of the invention, XBRL reports update method may further include:
Retrieved with the search cycle of setting in java standard library and whether there is new edition XBRL standards;
If so, the new edition XBRL retrieved is determined as the target XBRL standards.
In the present embodiment, the search cycle can determine according to business need.Such as 24 it is small when.Then using 24 it is small when as retrieval
Cycle is retrieved in java standard library whether there is new edition XBRL standards, once retrieve new edition XBRL standards, then it is new by what is retrieved
Version XBRL is determined as target XBRL standards.
According to above-described embodiment, it whether there is new edition XBRL due to that can be retrieved with the search cycle of setting in java standard library
Standard, once retrieving new edition XBRL standards, is then determined as target XBRL standards by the new edition XBRL retrieved.Therefore, it is not required to
Manual intervention is wanted, target XBRL standards can be automatically determined.
In an embodiment of the invention, the involved element information in flow chart shown in above-mentioned Fig. 1 can include:Inspection
Look at least one of cell element information, row dictionary element information, row dictionary element information and dimension element information or more
Kind.
In an embodiment of the invention, the involved data item in flow chart shown in above-mentioned Fig. 1 can be included but not
It is limited at least one of element units lattice information, element row information, element column information and element dimensional information or a variety of.
In an embodiment of the invention, the step 102 in flow chart shown in above-mentioned Fig. 1 parses the target XBRL standards
The each element information included, can include:
In the present embodiment, parsing target XBRL standards can be gone each to obtain by data structure as shown in Table-1
Element information (element information includes but is limited to XBRL criteria for classification ID and XBRL criteria for classification element informations, wherein, XBRL points
Class standard element information include but not limited to inspection unit lattice element information, row dictionary element information, row dictionary element information and
At least one of dimension element information is a variety of).
Table -1
XSD_XTDID | XBRL criteria for classifications ID |
XSD_CODE | XBRL criteria for classification element informations |
In an embodiment of the invention, the step 105 in flow chart shown in above-mentioned Fig. 1 is by each data item and institute
Each element information of parsing is compared, and determines abnormal data item, can include:
It is performed both by for data item each described, judges to whether there is presently described number in each element information
According to item, if it is not, then determining that presently described data item is the abnormal data item;
It is performed both by for element information each described, judges to whether there is presently described member in each data item
Prime information, if it is not, then determining that presently described element information is the abnormal data item.
In the present embodiment, it is performed both by, is judged in each element information with the presence or absence of current for each data item
Data item, if it is not, then determining that current data item is abnormal data item.Wherein the abnormal data item is in XBRL reports to be updated
Existing data item, but the data item is not present in each element information that target XBRL standards include.Then illustrate target
XBRL standards are modified or delete to the data item.
In the present embodiment, it is performed both by, is judged in each data item with the presence or absence of current for each element information
Element information, if it is not, then determining that currentElement information is the abnormal data item.Wherein the abnormal data item is target XBRL
Element information present in standard, but the element information is not present in each data item that XBRL reports to be updated include.
Then illustrate that target XBRL standards have increased the element information newly.
In the present embodiment, can go to determine by the data structure as shown in table -2 each XBRL form to be updated with
Obtain each data item.
Table -2
Clif_Bbid | XBRL report Internal Code |
Daif_Xeid | XBRL report data items ID |
Bbzd_XTDID | XBRL report criteria for classifications ID |
Hzd_Hord | XBRL report line Internal Code |
Hzd_Xeid | XBRL element row informations |
Lzd_Lord | XBRL report row Internal Code |
Lzd_Xeid | XBRL element column informations |
Daif_Wdinfor | XBRL element dimensional informations |
According to above-described embodiment, by data item present in XBRL reports to be updated, but include in target XBRL standards
Each element information in the data item that is not present be determined as abnormal data item.And will be first present in target XBRL standards
Prime information, but the element information being not present in each data item included in XBRL reports to be updated is determined as abnormal data
.Therefore, it can comprehensively determine abnormal data item, improve the correctness of renewal.
In an embodiment of the invention, the step 106 in flow chart shown in above-mentioned Fig. 1 is according to identified abnormal data
Item is updated presently described XBRL reports to be updated, can include:
Using each described abnormal data item successively as current abnormal data item, it is performed both by:
Judge whether the current abnormal data item exists in each data item,
If so, the position of the current abnormal data item is determined in presently described XBRL reports to be updated;From described
The current abnormal data item is removed in position, and default mark is centered in the position.
In the present embodiment, in the presence of judging abnormal data item in XBRL reports to be updated, target XBRL is illustrated
Not there are the abnormal data item in standard.Therefore need to be purged the abnormal data item in XBRL reports to be updated.
In the present embodiment, default mark can be determined according to business need.Such as special character.From exception
, it is necessary to set mark in this position when abnormal data item is removed in position where data item.So that business personnel can be with
According to the data item in the position is identified to be eliminated.
According to above-described embodiment, exist in data item of the abnormal data item in each XBRL reports to be updated is judged
When, determine the position of abnormal data item, and abnormal data item is removed from identified position, and center in place default
Mark.So that business personnel can timely recognize the data item in the position to be eliminated according to mark, it is convenient to carry out
Follow-up processing work.
In an embodiment of the invention, XBRL reports update method may further include:
When judging that the current abnormal data item is not present in each data item, presently described exception is marked
Data item;
Generation error reports, wherein, the identification information of the error reporting including presently described XBRL reports to be updated with
And each abnormal data item marked;
Receive externally input updating the data for the error reporting;
Presently described XBRL reports to be updated are updated using described update the data.
In the present embodiment, when judging that abnormal data item is not present in XBRL reports to be updated, the exception is illustrated
Data item exists in target XBRL standards.Therefore need in XBRL reports to be updated to adding the abnormal data item.Due to
, it is necessary to modify to the structure of XBRL reports to be updated when in XBRL reports to be updated to adding the abnormal data item, because
This needs generation error to report.So that business personnel modifies the structure of XBRL reports to be updated according to error reporting.
In the present embodiment, when judging that abnormal data item is not present in each data item, current abnormal number is marked
According to item.After the completion of all abnormal data items judge.Using the currently identification information of XBRL reports to be updated and marked
Each abnormal data item generation error report of note, so that business personnel can recognize which is to be updated according to the error reporting
XBRL reports need which abnormal data item added.
In the present embodiment, business personnel can feed back update the data according to error reporting and (for example add line, and adding
Abnormal data item is set in row).Current XBRL reports to be updated are updated with utilizing to update the data.
According to above-described embodiment, when judging that abnormal data item is not present in each data item, mark current abnormal
Data item.And generate including the current identification information of XBRL reports to be updated and the mistake of each abnormal data item marked
Report, so that business personnel updates the data according to error reporting input.Receiving updating the data for the error reporting
When, current XBRL reports to be updated are updated using updating the data.It is automatic so as to fulfill being carried out to XBRL reports to be updated
Renewal.
Below by taking target XBRL standards are XBRL standards 1 as an example.Expansion explanation XBRL report update methods, as shown in Fig. 2,
The XBRL report update methods may include steps of:
Step 201:Retrieved with the search cycle of setting in java standard library and whether there is new edition XBRL standards;If so, hold
Row step 202;Otherwise, this step is continued to execute.
In this step, with search cycle of setting when small (24), retrieval is marked with the presence or absence of new edition XBRL in java standard library
Standard, by retrieval, retrieves new edition XBRL standard " XBRL standards 1 ".Then perform step 202:
Step 202:The new edition XBRL retrieved is determined as target XBRL standards.
In this step, the XBRL standards 1 retrieved are determined as target XBRL standards.
Step 203:Each element information that parsing target XBRL standards include.
In this step, element information 1, element information 2 and element information that target XBRL standards include are parsed
3。
Step 204:Select an XBRL report to be updated to be used as in each XBRL reports to be updated successively currently to treat more
New XBRL reports.
In this step, illustrated exemplified by using XBRL reports 1 to be updated as current XBRL reports to be updated.
Step 205:Determine each data item that current XBRL reports to be updated include.
In this step, data item 1, data item 2 and data item 3 that XBRL reports 1 to be updated include are determined.
Step 206:It is performed both by for each data item, judges to whether there is presently described number in each element information
According to item, if it is not, then determining that current data item is abnormal data item.
In this step, by judging data item 1 in each element information (element information 1, element information 2 and element
Information 3) in be not present, it is determined that data item 1 is abnormal data item.
Step 207:It is performed both by for each element information, judges with the presence or absence of currentElement to believe in each data item
Breath, if it is not, then determining that currentElement information is abnormal data item.
In this step, it is not present by judging element information 3 in each data item, it is determined that element information 3 is different
Regular data item.
Step 208:An abnormal data item is selected in each abnormal data item successively as current abnormal data item.
Step 209:Judge whether current abnormal data item exists in each data item, if so, performing step 210;
Otherwise, step 212 is performed.
In this step, " when data item 1 " is current abnormal data item, judge data item 1 each in abnormal data item
Exist in a data item, perform step 210.
In this step, " when element information 3 " is current abnormal data item, judge that data item 1 exists in abnormal data item
It is not present in each data item, performs step 212.
Step 210:The position of current abnormal data item is determined in current XBRL reports to be updated.
In this step, the position 1 of data item 1 is determined in XBRL reports 1 to be updated.
Step 211:Current abnormal data item is removed from definite position, and centers default mark in place, and
Perform step 217.
In this step, clear data item 1 from position 1, and the setting flag 1 in position 1.So that business personnel can be with
According to the data item in the position is identified to be eliminated, to carry out follow-up processing.
Step 212:Mark current abnormal data item.
In this step, labelled element information 3.
This step can be realized by following code:
Step 213:Judge whether current abnormal data item is last abnormal data item, if so, performing step
214;Otherwise, step 208 is performed.
Step 214:Generation error reports, wherein, error reporting include the identification informations of current XBRL reports to be updated with
And each abnormal data item marked.
In this step, the error reporting of generation includes the identification information and element information of XBRL reports 1 to be updated
3。
Step 215:Receive externally input updating the data for error reporting.
In this step, such as include adding line 1 for updating the data for error reporting, and be expert in 1 and set element to believe
Breath 3.
Step 216:Current XBRL reports to be updated are updated using updating the data.
In this step, XBRL to be updated is reported using updating the data and (add line 1, and be expert in 1 and set element information 3)
Table 1 is updated.
Step 217:Judge whether current XBRL reports to be updated are last XBRL report to be updated, if so, knot
Beam current process;Otherwise, step 204 is performed.
In the present embodiment, step 206 and step 207 can be realized by following code:
As shown in Figure 3, Figure 4, an embodiment of the present invention provides a kind of XBRL reports updating device.Device embodiment can lead to
Software realization is crossed, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3, being
A kind of hardware structure diagram of equipment where XBRL reports updating device provided in an embodiment of the present invention, except the processing shown in Fig. 3
Outside device, memory, network interface and nonvolatile memory, the equipment in embodiment where device can also usually include
Other hardware, are such as responsible for the forwarding chip of processing message.Exemplified by implemented in software, as shown in figure 4, anticipating as a logic
Device in justice, is to be read corresponding computer program instructions in nonvolatile memory by the CPU of equipment where it
Operation is formed in memory.XBRL reports updating device provided in this embodiment, including:
Determining module 401, for determining target XBRL standards;
Parsing module 402, for parse the definite target XBRL standards of the determining module 401 include it is each
Element information;
Update module 403, for being performed both by for each XBRL report to be updated, determines presently described XBRL to be updated
Each data item that report includes;Each data item is compared with each element information parsed, is determined abnormal
Data item;Presently described XBRL reports to be updated are updated according to identified abnormal data item.
Embodiment according to Fig. 4, by update module is included XBRL reports to be updated each in this programme
Data item is compared with each element information that target XBRL standards include, and can determine abnormal data item.With basis
Identified abnormal data item is updated XBRL reports to be updated.Therefore, scheme provided in an embodiment of the present invention can carry
The efficiency of high XBRL reports renewal.
In an embodiment of the invention, as shown in figure 5, the update module 403 can include:Data item compares submodule
Block 4031 and element comparer module 4032;
The data item compares submodule 4031, for being performed both by for data item each described, judges in each institute
State and whether there is presently described data item in element information, if it is not, then determining that presently described data item is the abnormal data
;
The element comparer module 4032, for being performed both by for element information each described, judges in each institute
State and whether there is presently described element information in data item, if it is not, then determining presently described element information for the abnormal number
According to item.
In an embodiment of the invention, as shown in fig. 6, the update module 403 can include:Mark processing submodule
4033;
It is described mark processing submodule 4033, for using each described abnormal data item successively as current abnormal data
, it is performed both by:Judge whether the current abnormal data item exists in each data item, if so, presently described
The position of the current abnormal data item is determined in XBRL reports to be updated;The current abnormal data is removed from the position
, and center default mark in the position.
In an embodiment of the invention, as shown in fig. 6, the update module 403 may further include:Report submodule
Block 4034 and renewal submodule 4035;
The report submodule 4034, for judging the current abnormal data item in each data item not
In the presence of, mark presently described abnormal data item;Generation error report, wherein, the error reporting includes presently described treat more
The identification information of new XBRL reports and each abnormal data item marked;
The renewal submodule 4035, for receiving externally input updating the data for the error reporting;Utilize
Described update the data is updated presently described XBRL reports to be updated.
In an embodiment of the invention, as shown in fig. 7, XBRL report updating devices may further include:Retrieve mould
Block 501;
The retrieval module 501, whether there is new edition XBRL marks for being retrieved with the search cycle of setting in java standard library
It is accurate;If so, trigger the determining module 401;
The determining module 401, is further used under the triggering of the retrieval module, and the retrieval module is retrieved
New edition XBRL be determined as the target XBRL standards.
The contents such as the information exchange between each unit, implementation procedure in above device, due to implementing with the method for the present invention
Example is based on same design, and particular content can be found in the narration in the method for the present invention embodiment, and details are not described herein again.
A kind of computer-readable recording medium is provided in one embodiment of the invention, which includes:Execute instruction, when storage is controlled
When the processor of device processed performs the execute instruction, the storage control performs XBRL reports renewal side described in any of the above-described
Method.
A kind of storage control is provided in one embodiment of the invention, which includes:Processor, memory
And bus;The memory is used to store execute instruction;The processor is connected with the memory by the bus;Work as institute
When stating storage control operation, the processor performs the execute instruction of the memory storage, so that the storage control
Device processed performs XBRL report update methods described in any of the above-described.
In conclusion each embodiment of the present invention can at least realize following beneficial effect:
1st, in embodiments of the present invention, when needing to be updated each XBRL reports to be updated, it is first determined target
XBRL standards, and parse each element information that target XBRL standards include.Determine each XBRL reports bag to be updated
The each data item included, and each data item is compared with each element information parsed, determine abnormal data item.Root
Each XBRL report to be updated is updated according to identified abnormal data item.By above-mentioned, lead in this programme
Cross and each data item that XBRL reports to be updated include is compared with each element information that target XBRL standards include, just
It can determine abnormal data item.To be updated according to identified abnormal data item to XBRL reports to be updated.Therefore, originally
The scheme that inventive embodiments provide can improve the efficiency of XBRL reports renewal.
When the 2nd, in embodiments of the present invention, simply by the presence of new edition XBRL standards, the new edition XBRL standards that can be inputted are to each
A XBRL reports to be updated are updated.Therefore, business is with strong applicability.
3rd, in embodiments of the present invention, it whether there is new edition due to that can be retrieved with the search cycle of setting in java standard library
XBRL standards, once retrieving new edition XBRL standards, are then determined as target XBRL standards by the new edition XBRL retrieved.Therefore,
Manual intervention is not required, target XBRL standards can be automatically determined.
4th, in embodiments of the present invention, by data item present in XBRL reports to be updated, but in target XBRL standards
Including each element information in the data item that is not present be determined as abnormal data item.And will exist in target XBRL standards
Element information, but the element information being not present in each data item included in XBRL reports to be updated is determined as exception
Data item.Therefore, it can comprehensively determine abnormal data item, improve the correctness of renewal.
5th, in embodiments of the present invention, in data item of the abnormal data item in each XBRL reports to be updated is judged
In the presence of, determine the position of abnormal data item, and abnormal data item is removed from identified position, and center in place
Default mark.So that business personnel can timely recognize the data item in the position to be eliminated according to mark, it is convenient
Carry out follow-up processing work.
6th, in embodiments of the present invention, when judging that abnormal data item is not present in each data item, mark is current
Abnormal data item.And generate each abnormal data item for including the identification information of current XBRL reports to be updated and being marked
Error reporting, so that business personnel updates the data according to error reporting input.Receiving the renewal for the error reporting
During data, current XBRL reports to be updated are updated using updating the data.Carried out so as to fulfill to XBRL reports to be updated
Automatically update.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element limited by sentence " including one ", is not arranged
Except in the process, method, article or apparatus that includes the element also in the presence of other identical factor.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate skill of the invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
- A kind of 1. XBRL reports update method, it is characterised in that including:Determine target XBRL standards;Parse each element information that the target XBRL standards include;It is performed both by for each XBRL report to be updated, determines each data that presently described XBRL reports to be updated include ;Each data item is compared with each element information parsed, determines abnormal data item;According to identified Abnormal data item is updated presently described XBRL reports to be updated.
- 2. according to the method described in claim 1, it is characterized in that,It is described that each data item is compared with each element information parsed, determine abnormal data item, including:It is performed both by for data item each described, judges to whether there is presently described data in each element information , if it is not, then determining that presently described data item is the abnormal data item;It is performed both by for element information each described, judges with the presence or absence of presently described element to believe in each data item Breath, if it is not, then determining that presently described element information is the abnormal data item.
- 3. according to the method described in claim 1, it is characterized in that,Abnormal data item determined by the basis is updated presently described XBRL reports to be updated, including:Using each described abnormal data item successively as current abnormal data item, it is performed both by:Judge whether the current abnormal data item exists in each data item,If so, the position of the current abnormal data item is determined in presently described XBRL reports to be updated;From the position It is middle to remove the current abnormal data item, and center default mark in the position.
- 4. according to the method described in claim 3, it is characterized in that,Further comprise:When judging that the current abnormal data item is not present in each data item, presently described abnormal data is marked ;Generation error report, wherein, the error reporting includes identification information and the institute of presently described XBRL reports to be updated Each abnormal data item of mark;Receive externally input updating the data for the error reporting;Presently described XBRL reports to be updated are updated using described update the data.
- 5. method according to any one of claims 1 to 4, it is characterised in thatFurther comprise:Retrieved with the search cycle of setting in java standard library and whether there is new edition XBRL standards;If so, the new edition XBRL retrieved is determined as the target XBRL standards;And/orIn the data item, including element units lattice information, element row information, element column information and element dimensional information at least It is one or more.
- A kind of 6. XBRL reports updating device, it is characterised in that including:Determining module, for determining target XBRL standards;Parsing module, each element information included for parsing the target XBRL standards that the determining module determines;The update module, for being performed both by for each XBRL report to be updated, determines presently described XBRL reports to be updated Each data item that table includes;Each data item is compared with each element information parsed, determines exception number According to item;Presently described XBRL reports to be updated are updated according to identified abnormal data item.
- 7. device according to claim 6, it is characterised in thatThe update module, including:Data item compares submodule and element comparer module;The data item compares submodule, for being performed both by for data item each described, judges to believe in each element It whether there is presently described data item in breath, if it is not, then determining that presently described data item is the abnormal data item;The element comparer module, for being performed both by for element information each described, judges in each data item In whether there is presently described element information, if it is not, then determine presently described element information be the abnormal data item.
- 8. device according to claim 6, it is characterised in thatThe update module, including:Mark processing submodule;The mark processing submodule, for each described abnormal data item successively as current abnormal data item, to be held OK:Judge whether the current abnormal data item exists in each data item, if so, presently described to be updated The position of the current abnormal data item is determined in XBRL reports;The current abnormal data item is removed from the position, and Default mark is centered in the position.
- 9. device according to claim 8, it is characterised in thatThe update module, further comprises:Report submodule and renewal submodule;The report submodule, for judge the current abnormal data item in each data item there is no when, Mark presently described abnormal data item;Generation error report, wherein, the error reporting includes presently described XBRL reports to be updated The identification information of table and each abnormal data item marked;The renewal submodule, for receiving externally input updating the data for the error reporting;Utilize the renewal Data are updated presently described XBRL reports to be updated.
- 10. according to any device of claim 6 to 9, it is characterised in thatFurther comprise:Retrieve module;The retrieval module, whether there is new edition XBRL standards for being retrieved with the search cycle of setting in java standard library;If It is to trigger the determining module;The determining module, is further used under the triggering of the retrieval module, the new edition that the retrieval module is retrieved XBRL is determined as the target XBRL standards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711267131.6A CN108038156A (en) | 2017-12-05 | 2017-12-05 | A kind of XBRL reports update method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711267131.6A CN108038156A (en) | 2017-12-05 | 2017-12-05 | A kind of XBRL reports update method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108038156A true CN108038156A (en) | 2018-05-15 |
Family
ID=62095019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711267131.6A Pending CN108038156A (en) | 2017-12-05 | 2017-12-05 | A kind of XBRL reports update method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108038156A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114676190A (en) * | 2022-05-27 | 2022-06-28 | 太平金融科技服务(上海)有限公司深圳分公司 | Data display method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060242181A1 (en) * | 2005-04-22 | 2006-10-26 | Business Objects | Apparatus and method for transforming XBRL data into database schema |
CN102214243A (en) * | 2011-07-07 | 2011-10-12 | 中国科学院研究生院 | Version management system for x extensible business reporting language (XBRL) classification standard |
CN105930325A (en) * | 2015-11-19 | 2016-09-07 | 中国银联股份有限公司 | Reverse analysis method and device for file report comparative difference |
CN107168937A (en) * | 2017-06-05 | 2017-09-15 | 深圳易嘉恩科技有限公司 | Financial cloud accounting element particle and assemble method based on XBRL |
-
2017
- 2017-12-05 CN CN201711267131.6A patent/CN108038156A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060242181A1 (en) * | 2005-04-22 | 2006-10-26 | Business Objects | Apparatus and method for transforming XBRL data into database schema |
CN102214243A (en) * | 2011-07-07 | 2011-10-12 | 中国科学院研究生院 | Version management system for x extensible business reporting language (XBRL) classification standard |
CN105930325A (en) * | 2015-11-19 | 2016-09-07 | 中国银联股份有限公司 | Reverse analysis method and device for file report comparative difference |
CN107168937A (en) * | 2017-06-05 | 2017-09-15 | 深圳易嘉恩科技有限公司 | Financial cloud accounting element particle and assemble method based on XBRL |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114676190A (en) * | 2022-05-27 | 2022-06-28 | 太平金融科技服务(上海)有限公司深圳分公司 | Data display method and device, computer equipment and storage medium |
CN114676190B (en) * | 2022-05-27 | 2022-10-11 | 太平金融科技服务(上海)有限公司深圳分公司 | Data display method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107203450B (en) | Fault classification method and equipment | |
US7508985B2 (en) | Pattern-matching system | |
US10248683B2 (en) | Applications of automated discovery of template patterns based on received requests | |
CN111160749A (en) | Method and device for evaluating information quality and fusing information | |
CN113064885B (en) | Data cleaning method and device | |
CN108509424A (en) | Institutional information processing method, device, computer equipment and storage medium | |
CN106951231A (en) | A kind of computer software development approach and device | |
CN109902272A (en) | Electronic form data processing method, device, computer equipment and storage medium | |
US20190065551A1 (en) | Data providing apparatus and data providing method | |
CN104239312B (en) | File management system and method | |
CN112416957A (en) | Data increment updating method and device based on data model layer and computer equipment | |
CN112561370A (en) | Software version management method and device, computer equipment and storage medium | |
CN108038156A (en) | A kind of XBRL reports update method and device | |
US10803051B2 (en) | System for performing a lineage control in a data network | |
CN110716804A (en) | Method and device for automatically deleting useless resources, storage medium and electronic equipment | |
CN112363814A (en) | Task scheduling method and device, computer equipment and storage medium | |
US10782942B1 (en) | Rapid onboarding of data from diverse data sources into standardized objects with parser and unit test generation | |
US20220335335A1 (en) | Method and system for identifying mislabeled data samples using adversarial attacks | |
CN112181951B (en) | Heterogeneous database data migration method, device and equipment | |
CN106648550B (en) | Method and device for concurrently executing tasks | |
US11360792B2 (en) | Method and system for automatic selection of process automation RPA tool and BOT | |
US11146475B2 (en) | System for performing an integrated data quality control in a data network | |
CN114357961A (en) | Project feasibility research report generation method, device, equipment and storage medium | |
Saisanguansat et al. | Optimization techniques for PL/SQL | |
US20200120028A1 (en) | System for performing a variation control in a data network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |