CN108804401A - A kind of merging method and device of report form template - Google Patents

A kind of merging method and device of report form template Download PDF

Info

Publication number
CN108804401A
CN108804401A CN201810612101.2A CN201810612101A CN108804401A CN 108804401 A CN108804401 A CN 108804401A CN 201810612101 A CN201810612101 A CN 201810612101A CN 108804401 A CN108804401 A CN 108804401A
Authority
CN
China
Prior art keywords
report
report form
form template
pending
data area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810612101.2A
Other languages
Chinese (zh)
Other versions
CN108804401B (en
Inventor
刘志胜
张林耀
范海荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Cloud Account Network Technology Co Ltd
Original Assignee
Nanjing Cloud Account Network Technology 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 Nanjing Cloud Account Network Technology Co Ltd filed Critical Nanjing Cloud Account Network Technology Co Ltd
Priority to CN201810612101.2A priority Critical patent/CN108804401B/en
Publication of CN108804401A publication Critical patent/CN108804401A/en
Application granted granted Critical
Publication of CN108804401B publication Critical patent/CN108804401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An embodiment of the present invention provides a kind of merging method of report form template and device, method therein includes:Obtain at least two pending report form templates, wherein the pending report form template includes public attribute and data field;The public attribute for deleting each pending report form template generates the data field of each pending report form template respectively;The data field of multiple each pending report form templates is merged and generates total data area;Increase public attribute corresponding with the total data area, the report form template after being merged in the total data area.The method of the present invention solves the not high technical problem of merging mode flexibility of report form template in the prior art.

Description

A kind of merging method and device of report form template
Technical field
The present invention relates to technical field of data processing more particularly to the merging methods and device of a kind of report form template.
Background technology
With information-based and digitization development, the processing of report is also widely used.
Currently, can be merged by multiple reports by generating a report after filling data in report form template When, the attribute determined when typically being designed according to the corresponding report form template of each report is handled, and above-mentioned attribute includes report Number and content, since report number and content are fixed when each report form template designs, to be merged to report When be only capable of being handled according to the attribute that each template determines, cannot be satisfied the demand of personalized customization.Therefore, in the prior art The not high technical problem of the merging mode flexibility of report form template.
Invention content
An embodiment of the present invention provides a kind of merging method of report form template and devices, to solve or at least partly solve The certainly not high technical problem of the merging mode flexibility of report form template in the prior art.
To solve the above-mentioned problems, first aspect present invention provides a kind of merging method of report form template, including:
Obtain at least two pending report form templates, wherein the pending report form template include public attribute and Data field;
The public attribute for deleting each pending report form template generates the number of each pending report form template respectively According to area;
The data field of multiple each pending report form templates is merged and generates total data area;
Increase public attribute corresponding with the total data area, the report mould after being merged in the total data area Plate, wherein the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
Optionally, the public attribute includes report version and report quantity, the public affairs corresponding with the total data area It is obtained after public attribute of the attribute by each report form template of synthesis altogether, including:
Each report version of each pending report form template is obtained, and target is obtained based on each report version Report version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target Report quantity;
Using the target version and the target report quantity as public attribute corresponding with the total data area.
Optionally, it is based on each report version and obtains target report version, including:
Using the latest edition in each report version as the target version.
Optionally, increase the public attribute in the total data area described, the report form template after being merged it Afterwards, the method further includes:
The report form template after the merging is generated into target report by presetting Report Engine.
Optionally, the data field includes cell, and the method further includes:
Using the dependence between expression tree storage unit lattice.
Optionally, the dependence is managed according to preset rules.
Based on same inventive concept, second aspect of the present invention provides a kind of merging device of report form template, including:
Acquisition module, for obtaining at least two pending report form templates, wherein the pending report form template packet Include public attribute and data field;
Removing module, the public attribute for deleting each pending report form template generate described each wait locating respectively Manage the data field of report form template;
Generation module generates total data area for merging the data field of multiple each pending report form templates;
Merging module is closed for increasing public attribute corresponding with the total data area in the total data area Report form template after and, wherein the public affairs that the public attribute corresponding with the total data area passes through each report form template of synthesis It is obtained after attribute altogether.
Optionally, the public attribute includes report version and report quantity, and the merging module is additionally operable to:
Each report version of each pending report form template is obtained, and target is obtained based on each report version Report version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target Report quantity;
Using the target version and the target report quantity as public attribute corresponding with the total data area.
Optionally, the merging module is additionally operable to:
Using the latest edition in each report version as the target version.
Optionally, device provided in this embodiment further includes execution module, for increasing in the total data area described Add the public attribute, after the report form template after being merged:
The report form template after the merging is generated into target report by presetting Report Engine.
Optionally, device provided in this embodiment further includes memory module, and the memory module is used for:
Using the dependence between expression tree storage unit lattice.
Optionally, device provided in this embodiment further includes management module, is used for:
The dependence is managed according to preset rules.
Based on same inventive concept, third aspect present invention provides a kind of computer readable storage medium, deposits thereon Computer program is contained, which is performed realization following steps:
Obtain at least two pending report form templates, wherein the pending report form template include public attribute and Data field;
The public attribute for deleting each pending report form template generates the number of each pending report form template respectively According to area;
The data field of multiple each pending report form templates is merged and generates total data area;
Increase public attribute corresponding with the total data area, the report mould after being merged in the total data area Plate, wherein the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
Based on same inventive concept, fourth aspect present invention provides a kind of computer equipment, including memory, processing On a memory and the computer program that can run on a processor, when processor execution described program, is realized for device and storage Following steps:
Obtain at least two pending report form templates, wherein the pending report form template include public attribute and Data field;
The public attribute for deleting each pending report form template generates the number of each pending report form template respectively According to area;
The data field of multiple each pending report form templates is merged and generates total data area;
Increase public attribute corresponding with the total data area, the report mould after being merged in the total data area Plate, wherein the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
In method provided by the invention, due to before consolidated accounts template, deleting each pending report form template Public attribute after can generate the data field of each report form template respectively, above-mentioned each data field is then merged into generation Total data area, relative to existing method needs designed according to each report form template when report number and report content merge and Speech, the present processes can as needed merge the data field of each report form template, so as to realize in due course according to Carry out dynamic combined is carried out to report form template according to demand, so improving the flexibility of report form template merging, solves the prior art The not high technical problem of the merging mode flexibility of middle report form template.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of the merging method of report form template in the embodiment of the present invention;
Fig. 2 is the generating mode schematic diagram in total data area in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of report form template in the embodiment of the present invention;
Fig. 4 is the schematic diagram of another report form template in the embodiment of the present invention;
Fig. 5 is the schematic diagram of the report form template after the merging in the embodiment of the present invention;
Fig. 6 is a kind of structure diagram of the merging device of report form template in the embodiment of the present invention;
Fig. 7 is a kind of dependence schematic diagram of cell in report form template in the embodiment of the present invention;
Fig. 8 is the dependence schematic diagram of another cell in report form template in the embodiment of the present invention;
Fig. 9 is a kind of structure diagram of computer readable storage medium in the embodiment of the present invention;
Figure 10 is a kind of structure diagram of computer equipment in the embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of merging method of report form template and devices, to improve report in the prior art The not high technical problem of the merging mode flexibility of template.
Technical solution in the embodiment of the present application, general thought are as follows:
Before consolidated accounts template, it can be generated respectively often after deleting the public attribute of each pending report form template Then above-mentioned each data field is merged and generates total data area by the data field of a report form template, in other words, the present invention is real A large form can be synthesized multiple template by applying example, the content of each single template be extracted respectively first, then again In addition template needs the format condition met, a big template is just formed.The present processes can as needed will be each The data field of report form template merges, and carry out dynamic combined is carried out to report form template according to demand in due course so as to realize, So improving the flexibility of report form template merging, the not high skill of the merging mode flexibility of report form template in the prior art is solved Art problem.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A 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 every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Embodiment one
The present embodiment provides a kind of merging methods of report form template, as shown in Figure 1, this method includes:
Step S101 is first carried out:Obtain at least two pending report form templates, wherein report form template includes public category Property and data field.
Specifically, report form template can be provided by third-party vendor, and in general, report form template includes public attribute And data field, wherein common data may include report version, report number etc..Data field then indicate be the report form template private There is attribute, such as may include cell, data content, row, column etc., pending report form template at least two, such as 2,3,5 etc., report form template includes enterprise's basic information table, general enterprises income detail list, general enterprises cost payout detail list Deng can be chosen according to actual conditions, be not specifically limited herein.
Then step S102 is executed:The public attribute for deleting each pending report form template, generates each report respectively The data field of template.
Specifically, the public attribute of pending report form template can be deleted, then generates each report mould respectively The data field of plate.The mode of deletion can be deleted the public attribute of report form template by tool, can also be by report mould The corresponding public attribute code of plate is deleted, and is not specifically limited herein.
By taking pending report form template quantity is three as an example, the number for generating each report form template is described in detail below According to the process in area, such as there are three different report form templates:First report form template, the second report form template and third report form template, Then respective corresponding data field is generated respectively:First data field, the first data field and third data field.
Next step S103 is executed:The data field of multiple each report form templates is merged and generates total data area.
Specifically, the mode for the data field of each report form template being merged into total data area can pass through tool operation Mode, can also code mode, be not specifically limited herein.In order to illustrate more clearly of the mode in total data area, below It is discussed in detail by a specific embodiment, by taking pending report form template quantity is 3 as an example, refers to Fig. 2, point It is other that first report form template, the second report form template and third report form template are handled, that is, respective public attribute is deleted, respectively The first data field, the first data field and third data field are generated, above three data field is then merged into generation total data Area.
Step S104 is executed again:Increase public attribute corresponding with total data area in total data area, after being merged Report form template, wherein public attribute corresponding with total data area obtains after the public attribute by each report form template of synthesis.
Specifically, total data area includes the data field of each report form template, is added on the basis of total data area opposite The public attribute answered can then generate the report form template after merging.Wherein, the acquisition side of public attribute corresponding with total data area Formula can have following several:
The first, is updated the public attribute of each pending report form template, obtains the public category with total data area Property.
Second, the public attribute of a pending report form template is analyzed and calculated, then according to each public Relationship between attribute obtains the public attribute with total data area.
In a kind of optional embodiment, public attribute includes report version and report quantity, corresponding with total data area Public attribute obtains after the public attribute by each report form template of synthesis, including:
Each report version of each pending report form template is obtained, and target report is obtained based on each report version Version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target report Quantity;
Using target version and target report quantity as public attribute corresponding with total data area.
Specifically, target report version, Ke Yishi are determined by the report version of each pending report form template The latest edition of report form template in each report form template, oldest version or version number amount to more conduct target version occur This.In addition, for report quantity, then can be obtained by summation operation.Since the public attribute after merging is waited for based on each What the report form template of processing obtained, it thereby may be ensured that accuracy.
It, can be using the latest edition in each report version as target version in a kind of optional embodiment.
Specifically, the association between new version and legacy version can be set so that can be compatible between each version, so Afterwards using newest version as target version.
In a kind of optional embodiment, increasing public attribute in total data area, the report form template after being merged Later, method further includes:
The report form template after merging is generated into target report by presetting Report Engine.
Specifically, Report Engine is mainly to quote the flow operating principle of workflow engine, on the basis of initial data On, definition report tableau format, report algorithm, calculatings is executed according to the algorithm of definition automatically, and export calculating after as a result, again The content of report is shown according to the statement form of definition.Due to existing Report Engine be typically all based on stencil design when it is defeated Go out plus business datum to generate report, thus its dynamic merges combination report form template, and in the present embodiment, holding Increase combined function before row Report Engine:By before Report Engine executes template, by consolidated accounts template, generating symbol The consolidated accounts template of Report Engine rule is closed, the content of multiple single templates is contained in consolidated accounts template, after merging Template meet at Report Engine and execute and generate report;So as to foundation demand Dynamic Generating Report, when report form template makes Can be single enough, business demand can be met by independent assortment, and greatly improve the utilization rate of single template, reduced The repeated work of report making.
Advantageous effect in order to illustrate the embodiments of the present invention more clearly is explained with a specific example below:
Several reports are shared at present, such as there are 38 reports, this 38 reports are fabricated separately, including A000000 Enterprise's basic information table, name republic of A100000 China enterprise income tax year declaration form, A101010 general enterprises Take in detail list, A101020 financial companies income detail list, A102010 general enterprises cost payout detail lists etc., every report With its corresponding report form template, as shown in figure 3, for the report form template of A000000 enterprises basic information table, including report Attribute, report name, main unit lattice, line number, columns etc., as shown in figure 4, taking in detail list for A101010 general enterprises Report form template, the template also include the contents such as report attribute, registration title, main unit lattice, line number, columns, other reports Report form template can also be configured according to demand, no longer be introduced one by one herein.If in practical application, certain enterprise only needs Using a portion in above-mentioned 38 reports, such as 14, then the method that can be provided according to embodiments of the present invention, first Execute step S1:Obtaining 14 pending report form templates, wherein report form template includes public attribute and data field, such as The attribute of report form template includes version, data field, that is, main unit and corresponding format, then executes step S2:It deletes each The public attribute of pending report form template generates the data field of each pending report form template respectively;Then step S3 is executed: The data field of each pending report form template is merged and generates total data area;Next step S4 is executed:In total data area Increase public attribute corresponding with total data area, the report form template after being merged, as shown in figure 5, for the report mould after merging Plate then indicates that the total data area after merging, the list in left side then indicate 14 report form templates merged wherein in box.By upper State method, then it can be according to the demand of enterprise, dynamic consolidated accounts template.It, can will be each namely before output report The template of report merges and splices, to meet the needs of various enterprises, so the flexible of report form template merging can be improved Property.
In a kind of optional embodiment, data field includes cell, and method further includes:
Using the dependence between expression tree storage unit lattice.
Specifically, expression tree can be obtained by way of self-defining data structure, and the dependence between cell is closed Owner will include the calculated relationship between cell:Such as there are four cell A, B, C, D, A=B+5, C=A*6, then unit There are dependence between lattice A, B, C, i.e. A depends on B, C to depend on A.It, can be by manually calculating when report data is less Mode result of calculation is filled and presented in report.However when report data is larger, and between each report or single report The situation of dependence complexity between each unit lattice, the mode manually calculated is less efficient and easy error.Specific In implementation process, a report is the set of an arrangement such as matrix, and a cell includes three main factors:(1) value; (2) formula;(3) attached attribute.The value of the cell of formula attribute is determined by the result of calculation of its formula.Cell Attribute have following feature:The value of cell is determined by the implementing result of formula, and the dependence of cell is included in the formula of report Relationship.The embodiment of the present invention can be by the dependence between expression tree storage unit lattice, to change when data When, then automatic calculating and update can be carried out to the data in each unit lattice by dependence, be calculated so as to improve Efficiency and accuracy.
In a kind of optional embodiment, dependence is managed according to preset rules.
Specifically, preset rules can be configured according to dependence, such as the modes such as setting priority, level. For in such a way that level is set, referring specifically to Fig. 4, for a kind of dependence indicating cell using oriented relational graph, Due between report or between report cell there are dependence, using oriented relational graph can describe well it is above-mentioned according to The relationship of relying, and the path that depth-first traversal (DFS) finds a Circular dependency can be carried out using oriented relational graph, to Improve computational efficiency.
More specifically, the cell dependence being represented in Fig. 4 is N1=N2+N3, N2=N3+4, N3=6, then layer Number is N3, N2, N1 successively from low to high, then calculating is calculated since the bottom of dependence, and computation sequence is from N3-> N2->N1.It can ensure that the sequence that report relies on calculates by this calculating path, avoid first calculating N1, after calculating N2 It returns and calculates, to improve accuracy.
In specific implementation process, if the data of modification node N1, computation sequence is the number of plies according to node It is low to high to be calculated, and the computation sequence of the node of the identical number of plies is identical, this ensure that the value of all nodes is change Last look afterwards, therefore this mode is the computation sequence of a safety.As optional, when data update, it is also necessary to public affairs The Circular dependency of formula is detected, and directly quoting oneself or indirect referencing oneself when a cell will generating unit lattice It relies on, so as to cause mistake.Whether the present embodiment can refer to the child of oneself or node by the child of decision node Whether circular reference is judged whether in reference listing.The processing side of throw exception is then used when there are circular reference Case, such as frame or alarm etc. are played, occur this exception when being run to prevent locking system.
In one embodiment, doubly linked list may be used and carry out expression tree, referring specifically to Fig. 5, for expression All child nodes are formed a single linked list for taking the lead node by the node N1 in formula tree G, node right side, this chained list is Child's adjacency list of node N1.All parent nodes are formed into a single linked list for taking the lead node, this chain on the left of the node Table is parents' adjacency list of node N1.
Specifically, since there are upper and lower dependences for report cell, can be referred in head node using doubly linked list To the father node of dependence, tail node is directed toward the child node relied on, can indicate the dependence between cell accurate and visually, In addition doubly linked list can sequential search from front to back, backward can also search from back to front, increase and search and more capable spirit Activity.
Based on same inventive concept, present invention also provides and embodiment it is a kind of corresponding with the merging method of report form template Device, detailed in Example two.
Embodiment two
The present embodiment provides a kind of merging devices of report form template, refer to Fig. 3, which includes:
Acquisition module 201, for obtaining at least two pending report form templates, wherein pending report form template packet Include public attribute and data field;
Removing module 202, the public attribute for deleting each pending report form template generate each pending respectively The data field of report form template;
Generation module 203 generates total data area for merging the data field of multiple each pending report form templates;
Merging module 204, for increasing public attribute corresponding with total data area in total data area, after being merged Report form template, wherein public attribute corresponding with total data area obtains after the public attribute by each report form template of synthesis.
As a kind of optional embodiment, in above-mentioned apparatus, public attribute includes report version and report quantity, is merged Module 204 is additionally operable to:
Each report version of each pending report form template is obtained, and target report is obtained based on each report version Version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target report Quantity;
Using target version and target report quantity as public attribute corresponding with total data area.
As a kind of optional embodiment, in above-mentioned apparatus, merging module 204 is additionally operable to:It will be in each report version Latest edition as target version.
As a kind of optional embodiment, above-mentioned apparatus further includes target report execution module, in total data area Middle increase public attribute, after the report form template after being merged:
The report form template after merging is generated into target report by presetting Report Engine.
As a kind of optional embodiment, data field includes cell, and above-mentioned apparatus further includes memory module, is used for:
Using the dependence between expression tree storage unit lattice.
As a kind of optional embodiment, above-mentioned apparatus further includes management module, is used for:
Dependence is managed according to preset rules.
By the device that the embodiment of the present invention two is introduced, to implement the merging side of report form template in the embodiment of the present invention one Device used by method, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the dress The concrete structure set and deformation, so details are not described herein.Device all belongs to used by the method for every embodiment of the present invention one In the range of the invention to be protected.
Embodiment three
Based on same inventive concept, present invention also provides a kind of computer readable storage mediums 300, are stored thereon with meter Calculation machine program 311 realizes the method implemented in one when the program is executed by processor.
Specifically, above procedure is configured as that following step can be executed:
Obtain at least two pending report form templates, wherein pending report form template includes public attribute and data Area;
The public attribute of each pending report form template is deleted, generates the data of each pending report form template respectively Area;
The data field of multiple each pending report form templates is merged and generates total data area;
Increase public attribute corresponding with total data area, the report form template after being merged in total data area, wherein with The corresponding public attribute in total data area obtains after the public attribute by each report form template of synthesis.
Example IV
Based on same inventive concept, present invention also provides a kind of computer equipment, Fig. 4 is referred to, including storage 401, Processor 402 and storage on a memory and the computer program 403 that can run on a processor, the execution program of processor 402 Shi Shixian implements the method in one.
Specifically, above-mentioned processor is configured as that following step can be executed:
Obtain at least two pending report form templates, wherein pending report form template includes public attribute and data Area;
The public attribute of each pending report form template is deleted, generates the data of each pending report form template respectively Area;
The data field of multiple each pending report form templates is merged and generates total data area;
Increase public attribute corresponding with total data area, the report form template after being merged in total data area, wherein with The corresponding public attribute in total data area obtains after the public attribute by each report form template of synthesis.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
In method provided by the invention, due to before consolidated accounts template, deleting each pending report form template Public attribute after can generate the data field of each report form template respectively, above-mentioned each data field is then merged into generation Total data area, relative to existing method needs designed according to each report form template when report number and report content merge and Speech, the present processes can as needed merge the data field of each report form template, so as to realize in due course according to Carry out dynamic combined is carried out to report form template according to demand, so improving the flexibility of report form template merging, solves the prior art The not high technical problem of the merging mode flexibility of middle report form template.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of merging method of report form template, which is characterized in that including:
Obtain at least two pending report form templates, wherein the pending report form template includes public attribute and data Area;
The public attribute for deleting each pending report form template generates the data of each pending report form template respectively Area;
The data field of multiple each pending report form templates is merged and generates total data area;
The increase public attribute corresponding with the total data area in the total data area, the report form template after being merged, In, the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
2. the method as described in claim 1, which is characterized in that the public attribute includes report version and report quantity, institute It is obtained after stating public attribute of the public attribute corresponding with the total data area by each report form template of synthesis, including:
Each report version of each pending report form template is obtained, and target report is obtained based on each report version Version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target report Quantity;
Using the target version and the target report quantity as public attribute corresponding with the total data area.
3. method as claimed in claim 2, which is characterized in that target report version is obtained based on each report version, Including:
Using the latest edition in each report version as the target version.
4. method described in claim 1, which is characterized in that increase the public attribute in the total data area described, After report form template after being merged, the method further includes:
The report form template after the merging is generated into target report by presetting Report Engine.
5. the method as described in claim 1, which is characterized in that the data field includes cell, and the method further includes:
Using the dependence between expression tree storage unit lattice.
6. method as claimed in claim 5, which is characterized in that be managed to the dependence according to preset rules.
7. a kind of merging device of report form template, which is characterized in that including:
Acquisition module, for obtaining at least two pending report form templates, wherein the pending report form template includes public affairs Attribute and data field altogether;
Removing module, the public attribute for deleting each pending report form template generate each pending report respectively The data field of table template;
Generation module generates total data area for merging the data field of multiple each pending report form templates;
Merging module, for increasing public attribute corresponding with the total data area in the total data area, after being merged Report form template, wherein the public category that the public attribute corresponding with the total data area passes through each report form template of synthesis It is obtained after property.
8. device as claimed in claim 7, which is characterized in that the public attribute includes report version and report quantity, institute Merging module is stated to be additionally operable to:
Each report version of each pending report form template is obtained, and target report is obtained based on each report version Version;
The each report quantity for obtaining each pending report form template, by each report quantity and as target report Quantity;
Using the target version and the target report quantity as public attribute corresponding with the total data area.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is performed reality Existing following steps:
Obtain at least two pending report form templates, wherein the pending report form template includes public attribute and data Area;
The public attribute for deleting each pending report form template generates the data of each pending report form template respectively Area;
The data field of multiple each pending report form templates is merged and generates total data area;
The increase public attribute corresponding with the total data area in the total data area, the report form template after being merged, In, the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, which is characterized in that the processor realizes following steps when executing described program:
Obtain at least two pending report form templates, wherein the pending report form template includes public attribute and data Area;
The public attribute for deleting each pending report form template generates the data of each pending report form template respectively Area;
The data field of multiple each pending report form templates is merged and generates total data area;
The increase public attribute corresponding with the total data area in the total data area, the report form template after being merged, In, the public attribute corresponding with the total data area obtains after the public attribute by each report form template of synthesis.
CN201810612101.2A 2018-06-14 2018-06-14 Report template merging method and device Active CN108804401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810612101.2A CN108804401B (en) 2018-06-14 2018-06-14 Report template merging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810612101.2A CN108804401B (en) 2018-06-14 2018-06-14 Report template merging method and device

Publications (2)

Publication Number Publication Date
CN108804401A true CN108804401A (en) 2018-11-13
CN108804401B CN108804401B (en) 2022-06-21

Family

ID=64087012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810612101.2A Active CN108804401B (en) 2018-06-14 2018-06-14 Report template merging method and device

Country Status (1)

Country Link
CN (1) CN108804401B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104784A (en) * 2019-12-19 2020-05-05 金蝶软件(中国)有限公司 Data integration method and related device
CN111737539A (en) * 2020-08-24 2020-10-02 成都四方伟业软件股份有限公司 Complex report engine method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876970A (en) * 2009-12-22 2010-11-03 金蝶软件(中国)有限公司 Method for combining reports and device thereof
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
US8051103B1 (en) * 2008-04-08 2011-11-01 United Services Automobile Association (Usaa) Systems and methods for creating documents from templates
CN103440557A (en) * 2013-08-19 2013-12-11 远光软件股份有限公司 Generation method and system for group consolidated accounts and consolidated statements
CN104142952A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and device for showing reports
CN104881275A (en) * 2015-02-11 2015-09-02 中国农业银行股份有限公司 Electronic spreadsheet generating method and device
CN107608951A (en) * 2017-09-22 2018-01-19 上海金智晟东电力科技有限公司 Report form generation method and system
CN107741971A (en) * 2017-10-10 2018-02-27 国网浙江省电力公司电力科学研究院 A kind of method of the online visual analysis PPT based on self-defined dynamic data
CN107885709A (en) * 2017-09-29 2018-04-06 深圳市共济科技股份有限公司 A kind of report form generation method, system and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8051103B1 (en) * 2008-04-08 2011-11-01 United Services Automobile Association (Usaa) Systems and methods for creating documents from templates
CN101876970A (en) * 2009-12-22 2010-11-03 金蝶软件(中国)有限公司 Method for combining reports and device thereof
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
CN104142952A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and device for showing reports
CN103440557A (en) * 2013-08-19 2013-12-11 远光软件股份有限公司 Generation method and system for group consolidated accounts and consolidated statements
CN104881275A (en) * 2015-02-11 2015-09-02 中国农业银行股份有限公司 Electronic spreadsheet generating method and device
CN107608951A (en) * 2017-09-22 2018-01-19 上海金智晟东电力科技有限公司 Report form generation method and system
CN107885709A (en) * 2017-09-29 2018-04-06 深圳市共济科技股份有限公司 A kind of report form generation method, system and storage medium
CN107741971A (en) * 2017-10-10 2018-02-27 国网浙江省电力公司电力科学研究院 A kind of method of the online visual analysis PPT based on self-defined dynamic data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许明强 等: "合并会计报表软件开发", 《杭州电子工业学院学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104784A (en) * 2019-12-19 2020-05-05 金蝶软件(中国)有限公司 Data integration method and related device
CN111104784B (en) * 2019-12-19 2024-03-12 金蝶软件(中国)有限公司 Data integration method and related device
CN111737539A (en) * 2020-08-24 2020-10-02 成都四方伟业软件股份有限公司 Complex report engine method and device

Also Published As

Publication number Publication date
CN108804401B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US20220129476A1 (en) Enhanced mechanisms for managing multidimensional data
US11593402B2 (en) System and method for enabling multiple parents with weights in a multidimensional database environment
KR101644418B1 (en) Visualizing relationships between data elements and graphical representations of data element attributes
US7921330B2 (en) Data migration manager
CN106104472A (en) Specify logic checking rule and logic checking rule is applied to data
KR102220246B1 (en) Data generation
CN103218574A (en) Hash tree-based data dynamic operation verifiability method
JP6345873B2 (en) Method and apparatus for building a demand metamodel for high-speed trains
CN104102702A (en) Software and hardware combined application-oriented big data system and method
US11119989B1 (en) Data aggregation with schema enforcement
CN101539855A (en) Service basic software platform
US8429574B2 (en) Dual-pattern coloring technique for mask design
US20090113382A1 (en) Automated deployment implementation with a deployment topology model
US20160034478A1 (en) Incremental information integration using a declarative framework
CN108804401A (en) A kind of merging method and device of report form template
CN112100984B (en) Data conversion method and system from EBOM to SBOM
US10140387B2 (en) Model for managing variations in a product structure for a product
CN112000724A (en) Highway engineering collaborative computation amount information management system based on custom formula
CN108427675A (en) Build the method and apparatus of index
CN108427572A (en) Land investigation database update method and its update delta package generation method
CN113779323A (en) Method for checking mutation of spatial data of territorial space planning, application system and cloud platform
M’baba et al. Process mining for artifact-centric blockchain applications
CN110134373A (en) A kind of method and device of function information acquisition
CN110908705B (en) Method for establishing mapping relation of program class sets of different versions
CN105718252B (en) Realize the method and system for recording separately retrography

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
GR01 Patent grant
GR01 Patent grant