CN106933544B - Method and system for generating statement form - Google Patents
Method and system for generating statement form Download PDFInfo
- Publication number
- CN106933544B CN106933544B CN201511004955.5A CN201511004955A CN106933544B CN 106933544 B CN106933544 B CN 106933544B CN 201511004955 A CN201511004955 A CN 201511004955A CN 106933544 B CN106933544 B CN 106933544B
- Authority
- CN
- China
- Prior art keywords
- reporting
- statement
- declaration
- editor
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a statement generating method and a system, wherein the statement generating method comprises the following steps: establishing a reporting form sample model, wherein the reporting form sample model comprises a plurality of reporting form element modules; respectively configuring reporting table element information corresponding to a plurality of reporting table element modules in a graphic reporting table editor based on the reporting table sample model; and the graphic statement editor generates a corresponding statement according to the configuration result. The invention can eliminate the development cost and error risk brought by system upgrading under the conditions of statement change, new statement addition and the like, and increase the adaptability of the statement.
Description
Technical Field
The invention relates to the field of statement forms, in particular to a statement form generating method and system.
Background
Although the tax system of each country is different, the tax bureaus of each country basically adopt the tax payer to declare tax to obtain the national finance, namely tax income.
At present, software designed for tax bureaus by various software companies is technically realized in a mode of customizing reporting forms. The method can realize the normal expansion of tax bureau declaration business. However, once the reporting form is changed and newly added, the software company is required to perform customized development and modification, migration and association of the existing historical data are involved, manpower and material resources are consumed, and a large amount of test work is required to guarantee the accuracy of the newly added functions of the system.
Disclosure of Invention
The present invention is directed to solving the problems described above. The invention aims to provide a statement generating method and system, which are used for reducing the cost of statement change and improving the applicability of the statement.
According to a first aspect of the present invention, a report form generation method includes: establishing a reporting form sample model, wherein the reporting form sample model comprises a plurality of reporting form element modules; respectively configuring reporting table element information corresponding to a plurality of reporting table element modules in a graphic reporting table editor based on the reporting table sample model; and the graphic statement editor generates a corresponding statement according to the configuration result.
According to a second aspect of the present invention, a statement generating system includes: the modeling unit is used for establishing a reporting form sample model, and the reporting form sample model comprises a plurality of reporting form element modules; and the graphical reporting form editor is used for configuring reporting form element information corresponding to the multiple reporting form element modules respectively based on the reporting form sample model and generating corresponding reporting forms according to configuration results.
The invention provides a reporting table generation method and a system, wherein a reporting table sample model is established firstly, the reporting table sample model comprises a plurality of reporting table element modules, namely, each element of a reporting table is modularized, and then, on the basis of the reporting table sample model, reporting table element information corresponding to the reporting table element modules is respectively configured in a graphic reporting table editor according to actual needs, so that a real-time customized reporting table is realized, and further, the graphic reporting table editor generates a corresponding reporting table according to a configuration result, so that development cost and error risk brought by system upgrading under the conditions of reporting table change, new reporting table increase and the like are eliminated, and the adaptability of the reporting table is increased.
Other characteristic features and advantages of the invention will become apparent from the following description of exemplary embodiments, which is to be read in connection with the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
FIG. 1 is a flow chart illustrating an exemplary reporting table generation method;
FIG. 2 is another flow chart illustrating an exemplary reporting table generation method;
fig. 3 exemplarily shows a structural block diagram of a report table generating system.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
As shown in fig. 1, a method for generating a reporting table includes:
step 101: establishing a reporting form sample model, wherein the reporting form sample model comprises a plurality of reporting form element modules;
step 103: respectively configuring reporting table element information corresponding to a plurality of reporting table element modules in a graphic reporting table editor based on the reporting table sample model;
step 105: and the graphic statement editor generates a corresponding statement according to the configuration result.
According to the report form generation method, a report form sample model is established firstly, the report form sample model comprises a plurality of report form element modules, namely, all elements of a report form are modularized, and further, report form element information corresponding to the report form element modules is configured in a graphic report form editor according to actual needs based on the report form sample model, so that a real-time customized report form is realized, and further, the graphic report form editor generates a corresponding report form according to configuration results, so that development cost and error risk brought by system upgrading under the conditions of report form change, new report form increase and the like are eliminated, and the adaptability of the report form is increased.
The method shown in fig. 2 is a preferred mode based on the method shown in fig. 1, and as shown in fig. 2, a report form generating method includes:
step 201: and establishing a reporting table sample model.
Step 203: configuring a statement type in a graphical statement editor; the statement type is used for defining the application range of the custom statement, including applicable tax types, applicable industries and custom applicable groups.
Step 205: configuring a general field of a statement in a graphical statement editor;
the fields applicable to most statement forms such as tax payer identification number, tax payer name, declaration period, declaration tax amount and the like are specially defined and stored in a transverse form so as to facilitate later inquiry and retrieval. The function is suitable for matching with the function of the graph statement editor, and the universal field is marked when the table sample is drawn. Therefore, in the actual use process, the system can automatically judge the special field and carry out corresponding field verification and other functions.
Step 207: configuring data calculation relations among preset fields in a graph statement editor;
specifically, the data calculation relationship may include a data check relationship in the table and a check formula, and the check formula may also be understood as a check relationship. Generally, the data checking relationship in the simple table can be configured through a graphic reporting table editor. However, for complex definition relations, the data verification relations in the statement need to be defined in advance and selected in actual use, so that a user can design the data verification of the overall statement form simply. For example, the current season declaration of the cumulative declaration form needs to display the cumulative value of the current season declaration form in the corresponding field, and then summarize the current period added value and finally summarize the cost period declaration value on the basis. Only by selecting the defined special field and selecting the corresponding in-table data check formula, the system gives the calculation logic relationship after the report sample is generated. Generally, the data check formula in the simple table can be configured through a graphic statement table editor. However, for the complex definition relationship, the data verification relationship needs to define a verification formula in advance, and the verification formula is selected in actual use to complete the data verification of the whole reporting table.
Step 209: the graphic statement editor generates a corresponding statement according to a configuration result;
the editor mainly draws declaration form samples in modes of dragging and the like by a foreground graphical editing tool (a third-party control can be adopted), and can define the attributes of each declaration form field, including field display mode, type, length, check relationship, field display position and the like. By flexibly combining the statement type definition, the special field definition among statement tables, the data verification relation in the tables and the verification formula, a complete statement table sample is formed. For actual business operation invocation.
Step 211: and the graphical statement editor outputs a corresponding statement.
In the embodiment, a dynamic generation of the actual usage declaration form is performed by adopting a configuration mode, specifically, a developer designs a declaration form model, and an operator configures declaration form items, checks logical relations and other conditions in the foreground to generate a system declaration form for actual declaration. By using the method, the development cost and the error risk brought by system upgrading under the conditions of statement change, new statement addition and the like are eliminated, the problem that personnel and error probability are multiplied due to the fact that the existing statement samples are different and need to be customized and developed is solved, and the requirement of tax bureau personnel on diversification of the statement is met to a great extent.
Fig. 3 shows a device corresponding to the method shown in fig. 1 and fig. 2, and the explanation of fig. 1 and fig. 2 can be applied to the present embodiment, and as shown in fig. 3, an advisory list generating system includes:
the modeling unit 30 is configured to establish a reporting form sample model, where the reporting form sample model includes a plurality of reporting form element modules;
and the graphic reporting form editor 32 is configured to configure reporting form element information corresponding to the multiple reporting form element modules respectively based on the reporting form sample model, and generate a corresponding reporting form according to a configuration result.
In specific operation, the declaration table element module includes:
a statement type module 302 for defining the category of the statement;
a special field module 304 between reporting tables, which is used for defining the general field of the reporting table;
an internal data checking module 306 for defining data calculation relationships between predetermined fields; and/or the like and/or,
and a check formula definition module 308 for defining a data calculation formula between the predetermined fields.
Correspondingly, the corresponding reporting table element information comprises: reporting type information, special field information between reporting tables, data verification information in tables and verification formula information.
The working principle of the report generation system is as follows: the graphical editor is mainly used for generating an actual form sample of the statement; the special field module between the statement tables is used for defining the general field, such as the taxpayer identification number, the taxpayer name, the period of belongings and the statement date in the statement table. For the general field, the system can be designed in a customized mode; the special field definition between the reporting forms is used for processing the special field data in the reporting forms; the in-table data verification module can be configured in the foreground, and customized enumeration design can be carried out in the system for special verification relation; the check formula definition module consists of a field calculation relation and a special customized calculation relation which are generated by a graph statement editor.
The statement generating system of the embodiment is based on the thought of element definition, decomposes a complex statement into each element and component, and generates a universal statement form definition template file by matching with a mature graphical editing tool, so as to facilitate the calling of an actual application system. The whole process can be operated by system buyers by self, and is embodied in that taxpayer declaration forms are filled and finally stored in an informationized manner, so that a flexible declaration form configuration method logic is realized, variable declaration form samples of users are realized through a configurable declaration form editor, and the system related to declaration form filling is packaged into products so as to be convenient for popularization and batch use, and the problem that personnel and error probability are increased by times due to different declaration form samples and the need of customized development is solved.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (2)
1. A method for generating a statement form is characterized by comprising the following steps:
establishing a reporting form sample model, wherein the reporting form sample model comprises a plurality of reporting form element modules;
the multiple reporting table element modules comprise:
the declaration form type module is used for defining the declaration form type;
the special field module between the statement tables is used for defining the general field of the statement table;
the statement general field comprises: the taxpayer identification number, the taxpayer name, the declaration of the period of belongings and the declaration of the tax amount;
the statement general field is stored in a transverse form;
the in-table data checking module is used for defining data calculation relations among the preset fields;
the check formula definition module is used for defining a data calculation formula among the preset fields;
respectively configuring reporting form element information corresponding to each reporting form element module in a graphic reporting form editor based on the reporting form sample model, wherein the reporting form element information comprises the following steps:
configuring a declaration form type in a graphic declaration form editor;
configuring a general field of a statement in a graphical statement editor;
configuring a data calculation relation between preset fields defined by a data checking module in a table in a graph statement table editor;
configuring a data calculation formula between preset fields defined by a check formula definition module in a graph statement editor;
the graphic reporting form editor generates a corresponding reporting form sample template according to the configuration result, and the method comprises the following steps:
and identifying the general field when drawing the table sample.
2. A statement generating system, comprising:
the modeling unit is used for establishing a reporting form sample model, and the reporting form sample model comprises a plurality of reporting form element modules;
the multiple reporting table element modules comprise: the declaration form type module is used for defining the declaration form type;
the special field module between the statement tables is used for defining the general field of the statement table;
the statement general field comprises: the taxpayer identification number, the taxpayer name, the declaration of the period of belongings and the declaration of the tax amount; the statement general field is stored in a transverse form;
the in-table data checking module is used for defining data calculation relations among the preset fields; and/or the like and/or,
the check formula definition module is used for defining a data calculation formula among the preset fields;
the graphic reporting form editor is used for respectively configuring reporting form element information corresponding to each reporting form element module based on the reporting form sample model and generating a corresponding reporting form sample template according to a configuration result;
the reporting table element information comprises:
reporting type information, reporting inter-table special field information, in-table data verification information and verification formula information;
and when the graphic reporting form editor generates a corresponding reporting form sample template, the general field is identified when drawing the form sample.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511004955.5A CN106933544B (en) | 2015-12-29 | 2015-12-29 | Method and system for generating statement form |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511004955.5A CN106933544B (en) | 2015-12-29 | 2015-12-29 | Method and system for generating statement form |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106933544A CN106933544A (en) | 2017-07-07 |
CN106933544B true CN106933544B (en) | 2021-06-11 |
Family
ID=59458350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511004955.5A Active CN106933544B (en) | 2015-12-29 | 2015-12-29 | Method and system for generating statement form |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933544B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831964A (en) * | 2019-04-10 | 2020-10-27 | 阿里巴巴集团控股有限公司 | Data report information processing method and device and computer system |
CN117610519B (en) * | 2024-01-22 | 2024-05-03 | 山东浪潮数字商业科技有限公司 | Method and system for dynamically rendering report based on index model |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116861A (en) * | 2013-01-15 | 2013-05-22 | 广东源恒软件科技有限公司 | Enterprise tax job execution and monitoring platform |
CN104978685A (en) * | 2015-07-03 | 2015-10-14 | 广东源恒软件科技有限公司 | Tax account book automatic generating method and system |
-
2015
- 2015-12-29 CN CN201511004955.5A patent/CN106933544B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106933544A (en) | 2017-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10824543B2 (en) | System and method for automated software test case designing based on machine learning (ML) | |
KR101982303B1 (en) | Building applications for configuring processes | |
US20160261466A1 (en) | Method and Digital Tool for Engineering Software Architectures of Complex Cyber-Physical Systems of Different Technical Domains | |
CN105677353A (en) | Feature extraction method and machine learning method and device thereof | |
CN107273104B (en) | Processing method and device for configuration data structure | |
CN104731588B (en) | Page layout document generating method and page layout file creating apparatus | |
US20150120479A1 (en) | Catalog driven order management for rule definition | |
JP2018081693A (en) | Automated process control hardware engineering using schema-represented requirements | |
CN110209584A (en) | A kind of automatic generation of test data and relevant apparatus | |
CN106933544B (en) | Method and system for generating statement form | |
CN114036443A (en) | Page generation method and device | |
CN104700187A (en) | Bill generation method | |
CN102915403B (en) | A kind of computer platform device parameter visualized graphs editor collocation method | |
CN116301735B (en) | Method, device and storage medium for organizing software elements into software data links | |
CN105302556A (en) | Calculation realization method and system and server apparatus | |
CN103902445B (en) | A kind of regression test object determines method and device | |
CN103677852A (en) | Design method of extensible class natural language formula editor | |
CN115480940A (en) | Page calling method, device and medium for financial ratio indexes | |
CN106648338A (en) | Method and device for editing data | |
EP2060985A1 (en) | Functional testing method and device for an electronic product | |
CN113641628B (en) | Data quality detection method, device, equipment and storage medium | |
CN104536887A (en) | Communication data detection method and device | |
US8438379B2 (en) | Method for verifying user changeable configuration settings and selectively modifying non-supported setting values to supported setting values in user selected and non-selected content units | |
CN109977007B (en) | PLM (product development management) mold test management method and system | |
CN113590660A (en) | Data self-service query method and device and electronic equipment |
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 |