CN104679793A - Dynamic invoice template invoice issuing system - Google Patents

Dynamic invoice template invoice issuing system Download PDF

Info

Publication number
CN104679793A
CN104679793A CN201310642167.3A CN201310642167A CN104679793A CN 104679793 A CN104679793 A CN 104679793A CN 201310642167 A CN201310642167 A CN 201310642167A CN 104679793 A CN104679793 A CN 104679793A
Authority
CN
China
Prior art keywords
data
invoice
dynamic
template
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.)
Pending
Application number
CN201310642167.3A
Other languages
Chinese (zh)
Inventor
王明
陈懿
高志刚
孟繁杰
袁俊玲
王乾
屈国锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201310642167.3A priority Critical patent/CN104679793A/en
Publication of CN104679793A publication Critical patent/CN104679793A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a dynamic invoice template based invoice issuing system. The dynamic invoice template based invoice issuing system comprises a data receiving module which is used for receiving source data and verifying the validity of the source data, a data analysis module which is connected with the data receiving module and used for extracting verified source data from the data receiving module and analyzing the source data to data which can be recognized by the system and be stored, a dynamic establishment module which is connected with the data analysis module, dynamically establishes an invoice issuing template, user interface elements and logical function elements according to contents of the data which can be recognized by the system. The dynamic invoice template based invoice issuing system, dynamic generation of the invoice issuing template serves as a core, user procedures related to invoice issuing are performed through a mode of dynamic data structure generation, repeat labor of developers during processing of different invoice categories are greatly reduced, the code compiling amount is reduced, and accordingly the software development efficiency is improved and the error risks are reduced.

Description

A kind of invoice issuing system based on dynamic invoice template
Technical field
The present invention relates to tax-controlled invoice technical field, a kind of dynamic of special design generates the invoice issuing system of invoice template.
Background technology
In enterprise operation process, the importance of invoice is unquestionable.Under the demand that all trades and professions invoice uses, the limitation that traditional-handwork issues invoice is day by day obvious, and invoice system is being widelyd popularize in current domestic many provinces.And due to the different demands in each area, cause invoice to open system requirements varied, change emerges in an endless stream, and brings very large trouble to system developer.
For this reason, how to adapt to various, the miscellaneous feature of current invoice demand, a set of invoice issuing scheme meeting the different demand in different regions is provided, becomes those skilled in the art's problem demanding prompt solution.
Summary of the invention
The object of the invention is to solve current invoice and open the above-mentioned drawback existed in process, a kind of tool efficiently and accurately is provided, be convenient to safeguard, strong adaptability, and can in the invoice issuing system of invoice industry expansive approach on a large scale.
For reaching above-mentioned purpose, the present invention proposes a kind of invoice issuing system based on dynamic invoice template, comprising:
Data reception module, for receiving source data and verifying the legitimacy of described source data;
Data resolution module, is connected with described data reception module, for extracting the source data through checking from described data reception module, described source data being resolved to system identifiable design data and preserves;
Dynamic creation module, is connected with described data resolution module, according to the content dynamic creation invoice issuing template of described identifiable design data, user interface element and logic function element.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, also comprise function expanding module, be connected with described dynamic creation module, for carrying out the expansion of systemic-function as required.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, the mode that described data reception module obtains described source data comprises mode that data providing directly pushes and data reception module is filed a request, data providing carries out the mode of replying.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, the identifiable design data that described data resolution module parses comprise the status information of invoice template, element property information and demand relation information; The status information of wherein said invoice template refers to size and the Show Styles of invoice tickets sample element; Described element property information refers to different conditions and the form of template elements corresponding conversion under different conditions; Described demand relation information refers to each element of current template and the logical relation of appellative function point, and the relation of the change of corresponding element when functional realiey is changed.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, described data resolution module comprises:
Invoice template submodule, creates invoice template by the identifiable design Data Dynamic stored in calling data parsing module;
User interface submodule, creates user interface by the identifiable design Data Dynamic stored in calling data parsing module;
Logic function submodule, creates the logic function of system by the identifiable design Data Dynamic stored in calling data parsing module.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, the data structure of described invoice template establishment submodule is hierarchical structure, and wherein outermost layer is for storing the invoice template base attribute comprising template name, template size and daughter element quantity.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, the data structure that described user interface creates submodule is hierarchical structure, is realized the one-to-one relationship of user interface element by map container storage.
According to the invoice issuing system based on dynamic invoice template that the present invention proposes, the data structure that described logic function creates submodule comprises: define the operation mark of concrete function operation, determine the Transfer Parameters that each operation mark is corresponding and determine the structure relation of each Transfer Parameters.
Compared with prior art, the present invention has following beneficial effect:
(1) the present invention proposes the invoice design patterns that a kind of extensibility is extremely strong, data control logic principle is applied to whole system constructive process, dramatically saves on human input;
(2) the present invention's support of changing source data is simple and direct, quick, almost can synchronously complete; When source data produces change without the need to secondary development, adaptivity is extremely strong;
(3) the present invention is to the acquisition of SDI very opening, only needs source data to meet established form; This attribute increases the new data message of acquisition with being conducive to fast and flexible, thus broadly branches out.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the invoice issuing system based on dynamic invoice template of one embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, chief component of the present invention comprises data reception module, data resolution module and dynamic creation module.Wherein data reception module is for receiving source data and verifying the legitimacy of described source data; Data resolution module is connected with data reception module, for extracting the source data through checking from described data reception module, described source data being resolved to identifiable design data and preserves; Dynamic creation module is connected with described data resolution module, according to the content dynamic creation invoice issuing template of described identifiable design data, user interface element and logic function element.
Describe concrete function and the composition of above each module below in detail.
Data reception module is responsible for receiving source data and verifying its legitimacy, and wherein this source data is imported into by provider and exploitation side's provisioning interface and data layout.The present invention adopts Internet Transmission XML data stream format to accept source data, uses cryptographic algorithm to ensure the security of data transmission in receiving course.Data validation refers to the integrality of data stream itself and the legitimate verification of content.The mode that data reception module obtains source data can be determined according to real needs, as transmitted in request-reply mode when being pushed by data providing or needed by data reception module.In general, all adopt invoice issuing system and local side request-reply pattern to realize for most of function, only necessary to part specific function uses local side propelling data pattern to transmit data to invoice issuing system.The present invention there is no concrete restriction for the form of source data, can have as the several data such as XML, user-defined format form, specifically select flexibly according to different demand.
Data resolution module has been responsible for the extraction of metadata, controls the beginning of process of analysis and the preservation of end and the rear data of parsing.During operation, first data resolution module need complete the loading of source data and decipher, and then resolves source data and is translated into identifiable design information, and be stored in internal memory specific data structure, as the data basis that whole analysis program runs.This identifiable design information spinner will comprise: the status information of invoice template all elements, attribute information and demand corresponding relation.The status information of invoice template comprises size and the Show Styles of invoice tickets sample element; Each element property information is the different conditions and form etc. of template elements corresponding conversion under different conditions; System element demand corresponding relation then mainly comprises the logical relation of each element of current template data and appellative function point, and when functional realiey is changed the relation such as change of corresponding element.After being parsed, above-mentioned identifiable design information is kept in the corresponding data structure of each Functional Design of system by different pieces of information content respectively, to call when the dynamic creation system element.
It should be noted that at this, the data structure that data resolution module uses should be made rational planning at the beginning of software system design.Require that the various functions of contrast party in request proposition makes the rationalization data structure of each perfect functional module, to ensure that the data of resolving rear storage can be called timely and conveniently.
The core that dynamic creation module designs for native system, it adopts automatically according to the mode of Data Analysis dynamic creation system element, by calling the data in difference in functionality data structure, the dynamic various logic function realizing system of opening.Wherein dynamic creation inside modules is divided into again invoice template submodule, user interface submodule and logic function submodule.
(1) invoice template submodule: by the invoice issuing template attributes data structure stored in calling data parsing module, realize the dynamic generation of template file.The data structure of invoice template is hierarchical structure, the template file base attribute that outer storage receives, and as title, size, comprises the information such as daughter element quantity.Each base attribute element makes data structure storage by oneself if any the employing of multinomial information, and level can comprise multilayer, and data structure is specifically determined according to demand.Be exemplified below shown in table:
Table 1 invoice template primary attribute data structure
Table 2 template size structure
modelsizi Item
width Grp1
hight Grp2
…… ……
Data store organisation according to table 1, table 2, Software for Design personnel can coding, extracts every element property, dynamically generates invoice template file and is kept at local for user.Thus, developer only uses a set of code, just can create out the invoice template with various different attribute difference in functionality.
(2) user interface submodule: be similar to and realize logic in invoice template submodule, the user interface of invoice issuing system also dynamic generates.The data structure of user interface element can use multi-level structure or other data structures too.Because the corresponding relation of user interface is generally one_to_one corresponding, suggestion uses map container storage to realize.Map is an associated container of STL, it provides one to one, and (wherein first can be called key word, each key word can only occur once in map, second value that may be called this key word) data-handling capacity, due to this characteristic, it completes and likely processes one to one when data at us, and programming provides express passway.The inner self-built RBTree (balanced binary tree in a kind of non-critical meaning) of map, this tree has the function to data auto-sequencing, so be all orderly in the inner all data of map, facilitates the fast finding of data.Concrete example is as follows;
Table 3 opens system UI mark and display Name corresponding relation storage organization
UIID (ui mark) UINAME (display Name)
YHMC User's name
SL Quantity
JE The amount of money
DZ Address
…… ……
Table 4 system opens UI mark and type Control relational storage structure
UIID (ui mark) UITYPE (ui element type)
YHMC COMBOBOX
SL EDIT
JE STATIC
DZ EDIT
…… ……
According to the corresponding relation of table 3 and table 4, developer can the designed element that contains of dynamic creation packet showing rapidly and accurately.By data structure, we can realize diversified user interface presentation by a set of local resource completely, and pattern is completely specified by the content in data.
(3) logic function submodule: this part is the important component part of dynamic creation module, module relates to function can be divided into server end appointed function and application end expanded function two kinds by realizing type.The former specific works process is that the function store data structure that invoice issuing system call has parsed determines the concrete operations flow process that will perform, and specifies specific requirement and Transfer Parameters, the return type etc. of this feature operation in data structure.Realize the contact between combination between each data and each submodule in this way.The latter needs according to user function expansion specific requirement, and called by developer in application end, organize corresponding data, establishment object or method realize set function logic.Specific requirement in data structure needs the good constant mark of designed in advance, is appointed as that " ZPKJ " is grand defines this operation mark as opened the operation of positive number invoice.What obtain when calling function logic is designated ZPKJ, and system just knows the operation that will perform positive number and open, and has called the corresponding function UI and invoice template that will open, and performs and operates accordingly.Due to function items logic complexity, to relate to aspect more, and this just requires the concrete data structure corresponding relation design in functional module to want and strict.Simple example is as follows:
Dynamic System mark opened by table 5
OPERATE TYPE
Positive number invoice issuing ZPKJ
Invoice is inquired about FPCX
Invoice is downloaded FPXZ
…… ……
Table 6 is opened Dynamic System and is identified corresponding parameter
TYPE PARAME
ZPKJ Struct pram
FPCX Struct pramcx
…… ……
Operation pram structure parameter opened by table 7
When user calls invoice issuing operation, obtain action type by table 5, obtained the parameter called by this action type according to table 6, call each by this parameter dynamically by table 7 and formulate element, complete corresponding operation.
In addition, some particular requirement of side according to demand, invoice issuing system of the present invention also can comprise the multiple function expanding modules be connected with dynamic creation module.This module is the necessary module of nonsystematic, and it is mainly in order to some the auxiliary logic functions of the side of satisfying the demands.Basis can be created as according to above-mentioned each module contents with dynamic data during specific implementation expanded function and realize expanded function.
In sum, of the present inventionly focus between various modules all based on source data, thus local existing resource restriction can be broken away from, namely function setting and user interface generation are not carried out in invoice issuing system this locality before source data is resolved in reception, are realized all the time by author according to Data Dynamic.Dynamic creation module of the present invention makes system analysis can be not limited to the tickets sample of a certain bill, but provide miscellaneous tickets sample template according to data content dynamic creation under a set of framework, thus no matter which kind of various demand is the source data of party in request have, the present invention all can adapt to its change and produce Corresponding Countermeasures.
Above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in previous embodiment, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of embodiment of the present invention technical scheme.

Claims (8)

1., based on an invoice issuing system for dynamic invoice template, it is characterized in that, comprising:
Data reception module, for receiving source data and verifying the legitimacy of described source data;
Data resolution module, is connected with described data reception module, for extracting the source data through checking from described data reception module, described source data being resolved to system identifiable design data and preserves;
Dynamic creation module, is connected with described data resolution module, according to the content dynamic creation invoice issuing template of described system identifiable design data, user interface element and logic function element.
2. the invoice issuing system based on dynamic invoice template according to claim 1, is characterized in that, also comprise function expanding module, is connected with described dynamic creation module, for carrying out the expansion of systemic-function as required.
3. the invoice issuing system based on dynamic invoice template according to claim 1, it is characterized in that, the mode that described data reception module obtains described source data comprises mode that data providing directly pushes and data reception module is filed a request, data providing carries out the mode of replying.
4. the invoice issuing system based on dynamic invoice template according to claim 1, is characterized in that, the identifiable design data that described data resolution module parses comprise the status information of invoice template, element property information and demand relation information; The status information of wherein said invoice template refers to size and the Show Styles of invoice tickets sample element; Described element property information refers to different conditions and the form of template elements corresponding conversion under different conditions; Described demand relation information refers to each element of current template and the logical relation of appellative function point, and the relation of the change of corresponding element when functional realiey is changed.
5. the invoice issuing system based on dynamic invoice template according to claim 1, it is characterized in that, described data resolution module comprises:
Invoice template submodule, creates invoice template by the identifiable design Data Dynamic stored in calling data parsing module;
User interface submodule, creates user interface by the identifiable design Data Dynamic stored in calling data parsing module;
Logic function submodule, creates the logic function of system by the identifiable design Data Dynamic stored in calling data parsing module.
6. the invoice issuing system based on dynamic invoice template according to claim 5, it is characterized in that, the data structure of described invoice template establishment submodule is hierarchical structure, and wherein outermost layer is for storing the invoice template base attribute comprising template name, template size and daughter element quantity.
7. the invoice issuing system based on dynamic invoice template according to claim 5, is characterized in that, the data structure that described user interface creates submodule is hierarchical structure, is realized the one-to-one relationship of user interface element by map container storage.
8. the invoice issuing system based on dynamic invoice template according to claim 5, it is characterized in that, the data structure that described logic function creates submodule comprises: define the operation mark of concrete function operation, determine the Transfer Parameters that each operation mark is corresponding and determine the structure relation of each Transfer Parameters.
CN201310642167.3A 2013-12-03 2013-12-03 Dynamic invoice template invoice issuing system Pending CN104679793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310642167.3A CN104679793A (en) 2013-12-03 2013-12-03 Dynamic invoice template invoice issuing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310642167.3A CN104679793A (en) 2013-12-03 2013-12-03 Dynamic invoice template invoice issuing system

Publications (1)

Publication Number Publication Date
CN104679793A true CN104679793A (en) 2015-06-03

Family

ID=53314847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310642167.3A Pending CN104679793A (en) 2013-12-03 2013-12-03 Dynamic invoice template invoice issuing system

Country Status (1)

Country Link
CN (1) CN104679793A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106530528A (en) * 2016-10-11 2017-03-22 上海慧银信息科技有限公司 Cash voucher information identification method and cash voucher information identification device
CN107103541A (en) * 2016-02-22 2017-08-29 易保网络技术(上海)有限公司 A kind of method and system for the design insurance product that computer is performed
CN107784529A (en) * 2016-12-15 2018-03-09 平安科技(深圳)有限公司 One kind saves project billing method and apparatus from damage
CN110337798A (en) * 2017-02-28 2019-10-15 安玛尔·拉萨姆 The method and apparatus for carrying out adaptive interaction with remote-control device
CN111178029A (en) * 2019-12-13 2020-05-19 航天信息股份有限公司 General invoice template setting method and system
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
CN113327143A (en) * 2021-04-15 2021-08-31 上海瀚之友信息技术服务有限公司 Billing system for solving repeated invoicing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058657B1 (en) * 2003-01-07 2006-06-06 Perlegen Sciences, Inc. Architecture for developing and reusing analytic and visualization components and methods of use thereof
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101673276A (en) * 2009-09-22 2010-03-17 山东中创软件工程股份有限公司 Method and device for dynamically generating data template
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN103246733A (en) * 2013-05-13 2013-08-14 浪潮集团山东通用软件有限公司 Dynamic form system based on metadata and generation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058657B1 (en) * 2003-01-07 2006-06-06 Perlegen Sciences, Inc. Architecture for developing and reusing analytic and visualization components and methods of use thereof
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101673276A (en) * 2009-09-22 2010-03-17 山东中创软件工程股份有限公司 Method and device for dynamically generating data template
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN103246733A (en) * 2013-05-13 2013-08-14 浪潮集团山东通用软件有限公司 Dynamic form system based on metadata and generation method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103541A (en) * 2016-02-22 2017-08-29 易保网络技术(上海)有限公司 A kind of method and system for the design insurance product that computer is performed
CN106530528A (en) * 2016-10-11 2017-03-22 上海慧银信息科技有限公司 Cash voucher information identification method and cash voucher information identification device
CN106530528B (en) * 2016-10-11 2020-02-18 上海慧银信息科技有限公司 Method and device for identifying cash register bill information
CN107784529A (en) * 2016-12-15 2018-03-09 平安科技(深圳)有限公司 One kind saves project billing method and apparatus from damage
CN110337798A (en) * 2017-02-28 2019-10-15 安玛尔·拉萨姆 The method and apparatus for carrying out adaptive interaction with remote-control device
CN111178029A (en) * 2019-12-13 2020-05-19 航天信息股份有限公司 General invoice template setting method and system
CN111178029B (en) * 2019-12-13 2023-12-12 航天信息股份有限公司 General invoice template setting method and system
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
CN113327143A (en) * 2021-04-15 2021-08-31 上海瀚之友信息技术服务有限公司 Billing system for solving repeated invoicing
CN113327143B (en) * 2021-04-15 2022-09-16 上海瀚之友信息技术服务有限公司 Billing system for solving repeated invoicing

Similar Documents

Publication Publication Date Title
CN104679793A (en) Dynamic invoice template invoice issuing system
CN104317974B (en) Multi-source data introduction method in a kind of ERP system of restructural
CN106371825B (en) A kind of mobile terminal application interface list dynamic creation method and device
CN106293664A (en) Code generating method and device
CN105528418B (en) A kind of design documentation generation method and device
CN104133772A (en) Automatic test data generation method
CN108664239A (en) A kind of across technology stack web front-end development system and method based on micro services
CN106648587A (en) Annotation-based Web application code generation method
CN104679903B (en) The operating method and device of a kind of tables of data
CN102222278A (en) Operation process customizing method and device
CN108804685B (en) Asset hosting and monitoring task processing method and device
CN104461531A (en) Implementing method for self-defined functions of reporting system
WO2024060725A1 (en) Aircraft tool change method and apparatus, device, and storage medium
CN110889272A (en) Data processing method, device, equipment and storage medium
CN105069096A (en) Architecture method and architecture system for user-defined worksheet
CN115878112A (en) Multi-party complex business agreement intelligent contract generating system and generating method thereof
CN111208995A (en) Method, system, device and storage medium for automatically generating IBM host job
CN105573774A (en) Application parameter managing and configuring method
CN101739589A (en) Method and device for generating intelligent card data
CN104834715A (en) Website generating method and system based on components and container
CN110413672A (en) Data automatically imported method, device and computer readable storage medium
CN103984540A (en) Method and device for generating hardware interface running program
CN108958871A (en) Page configuration of opening an account method, apparatus, system and computer readable storage medium
CN106708479A (en) Page rendering method and device
CN102541544A (en) Method, device and system for processing tree control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180907