CN107391657A - A kind of method and system for generating electronic invoice layout files - Google Patents
A kind of method and system for generating electronic invoice layout files Download PDFInfo
- Publication number
- CN107391657A CN107391657A CN201710585680.1A CN201710585680A CN107391657A CN 107391657 A CN107391657 A CN 107391657A CN 201710585680 A CN201710585680 A CN 201710585680A CN 107391657 A CN107391657 A CN 107391657A
- Authority
- CN
- China
- Prior art keywords
- electronic invoice
- layout files
- data
- electronic
- invoice
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Abstract
The embodiment of the invention discloses a kind of method and system for generating electronic invoice layout files, for shortening the stand-by period of user's acquisition electronic invoice layout files, improve the experience of making out an invoice of user.Present invention method includes:Obtain the electronic invoice data in message queue;Call the electronic invoice layout files template and electronic invoice stamped signature picture in caching;Using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled into electronic invoice layout files.Present invention also offers a kind of system for generating electronic invoice layout files, for shortening the stand-by period of user's acquisition electronic invoice layout files, improves the experience of making out an invoice of user.
Description
Technical field
The present invention relates to electronic invoice field, more particularly to a kind of method and system for generating electronic invoice layout files.
Background technology
Electronic invoice is the product of information age, the same with common invoice, using the form of tax bureau's unified payment to business
Family uses, and invoice number uses national Unified coding, using unified anti-counterfeiting technology, distributes to businessman, has on electronic invoice
The signature mechanism of electronics tax office.
With electronic invoice large-scale popularization, paper invoice is gradually substituted by electronic invoice, but user's click at present is issued
, it is necessary to which electronic invoice layout files can just be got by waiting for a period of time after electronic invoice button, this time issues paper with original
The time to be printed such as ticket invoice is about the same, has run counter to the original idea of electronic invoice high efficiency.
At present common electronic invoice system from issuing invoice to generating electronic invoice layout files mainly by with lower section
Formula is realized:After electronic invoice system issues invoice successfully, the download of result and electronic invoice layout files will be issued immediately
Location (the unique download address generated according to information such as invoice codes, invoice numbers) returns to client, in addition will with timed task
Issue successful data and be assembled into layout files automatically, user can download the layout files assembled by download address.But
The time interval that timed task typically has several seconds, and inquire about database obtain needed for data file when needing to consume certain
Between, so cause to obtain the electronic invoice layout files needs longer stand-by period.Timed task is to need to read every time simultaneously
Take a hard disk, when hard disk be read number it is excessive when, it will its life cycle of serious curtailment.
The content of the invention
The embodiments of the invention provide a kind of method and system for generating electronic invoice layout files, obtained for shortening user
The time of electronic invoice layout files is taken, improves the experience of making out an invoice of user.
On the one hand the embodiment of the present invention provides a kind of method for generating electronic invoice layout files, including:
Obtain the electronic invoice data in message queue;
Call the electronic invoice layout files template and electronic invoice stamped signature picture in caching;
Using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled into electronics hair
Ticket layout files.
Optionally, before electronic invoice data is obtained, this method also includes:
Obtain electronic invoice data;
Electronic invoice data is stored to message queue.
Optionally, using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled
Include for electronic invoice layout files:
Using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled into initialization
Electronic invoice layout files;
The electronic invoice layout files of initialization is signed, the electronic invoice layout files of generation signature version.
Optionally, this method also includes:
Electronic invoice layout files is uploaded to database.
Optionally, electronic invoice layout files includes:
The electronic invoice file of PDF and/or OFD forms.
On the other hand the embodiment of the present invention provides a kind of system for generating electronic invoice layout files, including:
First acquisition unit, for obtaining the electronic invoice data in message queue;
Call unit, for calling electronic invoice layout files template and electronic invoice stamped signature picture in caching;
Module units, for utilizing electronic invoice layout files template and electronic invoice stamped signature picture, by electronic invoice number
According to being assembled into electronic invoice layout files.
Optionally, the system also includes:
Second acquisition unit, for obtaining electronic invoice data;
Memory cell, for electronic invoice data to be stored to message queue.
Optionally, module units includes:
First assembling module, for utilizing electronic invoice layout files template and electronic invoice stamped signature picture, electronics is sent out
Ticket data is assembled into the electronic invoice layout files of initialization;
Generation module, for the electronic invoice layout files of initialization to be signed, the electronic invoice of generation signature version
Layout files.
Optionally, the system also includes:
Uploading unit, for electronic invoice layout files to be uploaded into database.
Optionally, electronic invoice layout files includes:
The electronic invoice file of PDF and/or OFD forms.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
The present invention directly obtains the electronic invoice data in message queue, calls the electronic invoice layout files mould in caching
Plate and electronic invoice stamped signature picture, electronic invoice layout files is assembled into by electronic invoice data, because message queue itself possesses
High concurrent and decoupling, can accelerate electronic invoice data processing speed, reduce electronic invoice data from issuing group
The degree of coupling of the process between electronic invoice layout files is filled, accelerates the response speed of assembling electronic invoice layout files, and this
What invention directly invoked is the electronic invoice layout files template and electronic invoice stamped signature picture in caching, also improves assembling electricity
The speed of sub- invoice layout files, so as to shorten the stand-by period that user obtains electronic invoice layout files, improve user
Experience of making out an invoice.
Brief description of the drawings
Fig. 1 is a kind of one embodiment schematic diagram for the method for generating electronic invoice layout files in the present invention;
Fig. 2 is a kind of another embodiment schematic diagram for the method for generating electronic invoice layout files in the present invention;
Fig. 3 is a kind of one embodiment schematic diagram for the system for generating electronic invoice layout files in the present invention;
Fig. 4 is a kind of another embodiment schematic diagram for the system for generating electronic invoice layout files in the present invention.
Embodiment
The embodiments of the invention provide a kind of method and system for generating electronic invoice layout files, obtained for shortening user
The stand-by period of electronic invoice layout files is taken, improves the experience of making out an invoice of user.
Electronic invoice system before electronic invoice is issued, it is necessary to obtain electronic invoice data (electronic invoice element), wherein,
Electronic invoice data includes:Seller Taxpayer Identification Number, seller title, purchaser's title, purchaser's Taxpayer Identification Number,
Invoice amount, valency tax are total, Amount in Total, the total amount of tax to be paid, industry type, type of making out an invoice, the date of making out an invoice, personal mobile phone number, individual
People's mail, personal account etc..
After electronic invoice system gets electronic invoice data, electronic invoice data is sent to taxation control system, tax control system
System is examined electronic invoice data, if electronic invoice data is all correct, electronics hair is sent to electronic invoice system
The invoice codes of ticket, invoice number, check code etc., and by the electronic invoice data of whole, including:Invoice codes, invoice number,
Seller Taxpayer Identification Number, seller title, purchaser's title, purchaser's Taxpayer Identification Number, invoice amount, valency tax close
Meter, Amount in Total, the total amount of tax to be paid, industry type, type of making out an invoice, date of making out an invoice, personal mobile phone number, personal mail, personal account
Deng generating structure data, saving as XML file or EXCEL file.
It is understood that taxation control system when electronic invoice data is completely correct, i.e., sends to electronic invoice system and sent out
When ticket code, invoice number and check code, while prompt the user with the electronic invoice and issue success, otherwise prompt electronic invoice to open
Tool failure.
For ease of understanding, a kind of method for generating electronic invoice layout files in the embodiment of the present invention will be described below, please
Refering to Fig. 1, a kind of one embodiment for the method for generating electronic invoice layout files includes in the present invention:
101st, the electronic invoice data in message queue is obtained;
It is understood that the generation electronic invoice layout files system in the present embodiment is in the success of electronic ticket invoice issuing
Afterwards, the structured electronic invoice data in XML or EXCEL is read, electronic invoice data is write into message queue, message queue will
Electronic invoice data is labeled as armed state, then generates the data processing module of electronic invoice layout files system and can monitor
And get message pending in message queue (i.e. untreated electronic invoice data).
102nd, the electronic invoice layout files template and electronic invoice stamped signature picture in caching are called;
After data processing module listens to electronic invoice data, the Taxpayer Identification Number in electronic invoice data, adjust
With electronic invoice layout files template corresponding with Taxpayer Identification Number in caching and electronic invoice stamped signature picture, for assembling
Electronic invoice layout files.
103rd, using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled into electricity
Sub- invoice layout files.
Generation electronic invoice layout files system utilizes electronic invoice layout files template and electronic invoice stamped signature picture, will
Structured electronic invoice data writes electronic invoice layout files template and electronic invoice stamped signature picture successively, so as to be assembled into electricity
Sub- invoice layout files.
It is understood that the electronics that the electronic invoice layout files in the present embodiment includes PDF and/or OFD forms is sent out
Ticket file.
The present invention directly obtains the electronic invoice data in message queue, calls the electronic invoice layout files mould in caching
Plate and electronic invoice stamped signature picture, electronic invoice layout files is assembled into by electronic invoice data, because message queue itself possesses
High concurrent and decoupling, can accelerate electronic invoice data processing speed, reduce electronic invoice data from issuing group
The degree of coupling of the process between electronic invoice layout files is filled, accelerates the response speed of assembling electronic invoice layout files, and this
What invention directly invoked is the electronic invoice layout files template and electronic invoice stamped signature picture in caching, also improves assembling electricity
The speed of sub- invoice layout files, so as to shorten the stand-by period that user obtains electronic invoice layout files, improve user
Experience of making out an invoice.
For ease of understanding, a kind of side of generation electronic invoice layout files in the embodiment of the present invention is described below in detail
Method, referring to Fig. 2, a kind of another embodiment for the method for generating electronic invoice layout files includes in the embodiment of the present invention:
201st, electronic invoice data is obtained;
Electronic invoice system after the electronic invoice of taxation control system is issued successfully, by electronic invoice data save as XML or
The structural data of EXCEL file form.
Further, the structured electronic invoice number in electronic invoice layout files system acquisition XML or EXCEL file is generated
According to, and be saved in message queue.
202nd, electronic invoice data is stored to message queue;
After generation electronic invoice layout files system gets the structured electronic invoice data in XML or EXCEL file,
It is saved in message queue, for the next processing to electronic invoice data.
Because message queue is in processing data, using asynchronous mechanism, after electronic invoice is issued successfully, only need by
Electronic invoice data writes message queue, and message queue can carry out electronic invoice data persistence until they are located completely
Reason, ensure that the security of electronic invoice data.
Secondly, quickly, compared with the time of write-in hard disk originally, the time greatly shortens the writing speed of message queue, institute
To shorten the time that electronic invoice data is assembled into electronic invoice layout files.
203rd, the electronic invoice data in message queue is obtained;
After electronic invoice data write-in message queue, the electronic invoice data is labeled as armed state by message queue,
Etc. processing of the data processing module to the electronic invoice data in electronic invoice layout files system to be generated, if data processing mould
Block is monitored and gets the pending message (i.e. pending electronic invoice data), then to the electronic invoice data at
Reason, to generate electronic invoice layout files.
Further, the electronic invoice layout files in the present embodiment includes:In the electronic invoice file of PDF and OFD forms
At least one.
204th, the electronic invoice layout files template and electronic invoice stamped signature picture in caching are called;
After data processing module receives electronic invoice data, the Taxpayer Identification Number in electronic invoice data, adjust
With electronic invoice layout files template corresponding with Taxpayer Identification Number in caching and electronic invoice stamped signature picture, for assembling
Electronic invoice layout files.
It is understood that existing electronic invoice layout files template is according to the different and different of provinces and cities, electronic invoice
Stamped signature picture is because different and different, electronic invoice layout files template and the electronic invoice stamped signature picture need of tax control mechanism
It is corresponding with the Taxpayer Identification Number in electronic invoice data.
Secondly, because electronic invoice layout files template and electronic invoice stamped signature picture are stored in into caching in the present embodiment
In, so the speed read from caching is also accelerated, so as to further shorten the time of assembling electronic invoice layout files.
205th, using electronic invoice layout files template and electronic invoice stamped signature picture, electronic invoice data is assembled into just
The electronic invoice layout files of beginningization;
Generation electronic invoice layout files system utilizes electronic invoice layout files template and electronic invoice stamped signature picture, will
Structured electronic invoice data writes electronic invoice layout files template and electronic invoice stamped signature picture successively, so as to be assembled into just
The electronic invoice layout files of beginningization.
206th, the electronic invoice layout files of initialization is signed, the electronic invoice layout files of generation signature version;
In order to prevent electronic invoice layout files to be tampered, it is false proof that electronic invoice layout files is passed to signature blocks progress
Signature, to generate the electronic invoice layout files with false proof signature.
207th, electronic invoice layout files is uploaded to database.
After generating electronic invoice layout files system generation electronic invoice layout files, electronic invoice layout files is uploaded
To database, used so that user downloads when reimbursement is needed.Further, generation electronic invoice layout files system will disappear
The status indication of processed electronic invoice data is to handle successfully in breath queue so that assembled electronic invoice data is no longer
It is repeatedly processed through vaporization, condensation and absorption.
The present invention directly obtains the electronic invoice data in message queue, calls the electronic invoice layout files mould in caching
Plate and electronic invoice stamped signature picture, electronic invoice layout files is assembled into by electronic invoice data, because message queue itself possesses
High concurrent and decoupling, can accelerate electronic invoice data processing speed, reduce electronic invoice data from issuing group
The degree of coupling of the process between electronic invoice layout files is filled, accelerates the response speed of assembling electronic invoice layout files, and this
What invention directly invoked is the electronic invoice layout files template and electronic invoice stamped signature picture in caching, also improves assembling electricity
The speed of sub- invoice layout files, so as to shorten the stand-by period that user obtains electronic invoice layout files, improve user
Experience of making out an invoice.
For convenience of understanding, (electronic invoice system) is led to the above embodiments concrete example explanation with invoice below:
The process that user opens up tool electronic invoice layout files (PDF or OFD forms) by invoice is as follows:User is in invoice
Input electronic invoice data (i.e. electronic invoice element) in logical (electronic invoice system), wherein, electronic invoice data includes:Sale
Square Taxpayer Identification Number, seller title, purchaser's title, purchaser's Taxpayer Identification Number, invoice amount, valency tax are total, close
Count the amount of money, the total amount of tax to be paid, industry type, type of making out an invoice, date of making out an invoice, personal mobile phone number, personal mail, personal account etc..
After invoice connects the electronic invoice data for receiving user's input, according to user instruction (click make out an invoice button), by electronics
Invoice data sends to taxation control system, taxation control system and electronic invoice data is veritified, if electronic invoice data is all correct,
Then sent out to logical invoice codes, invoice number and the check code for returning to the electronic invoice of invoice, the logical electronics by user's input of invoice
Invoice codes, invoice number and the check code data that ticket data and taxation control system return, generate the structure of XML or EXCEL forms
Change data, while electronic invoice issued into result (success or failure), and electronic invoice layout files download address (according to hair
Ticket code, the unique address of invoice number information life) be sent to user, wherein sending method can be Email, it is short message, micro-
Letter, QQ message etc., are not specifically limited herein.
After invoice leads to the electronic invoice data of generating structure, the generation electronic invoice layout files system in the present invention is called
Unite (hereinafter referred to as the system), the message queue that the electronic invoice data of structuring is write in the system, message queue will
The data persistence is preserved into hard disk, and is armed state by the data markers, waits the system data processing module prison
The processing of program is listened, data processing module is monitored and gets the pending message (i.e. electronic invoice data) in message queue
When, data processing module calls electronic invoice layout files template and electronic invoice stamped signature picture in caching, by electronic invoice
Data write electronic invoice layout files template and electronic invoice stamped signature picture successively, so as to which electronic invoice data is assembled into electricity
Sub- invoice layout files, if data processing module assembling electronic invoice layout files failure, to pending in message queue
Message (i.e. electronic invoice data) is marked, and is placed on the rearmost position of message queue, and wait is handled next time.The system
After the assembling for completing electronic invoice layout files, electronic invoice layout files is uploaded to the logical cloud platform of invoice, for user
Inquiry is downloaded.
Further, electronic invoice layout files system is generated by the state of electronic invoice data processed in message queue
Labeled as handling successfully so that assembled electronic invoice data is no longer repeatedly processed through vaporization, condensation and absorption.
It should be noted that the electronic invoice layout files template and electronic invoice stamped signature picture in the system are sent out with electronics
The Taxpayer Identification Number of ticket is corresponding.
It is understood that user is after the download address of electronic invoice layout files is received, by clicking on the download
Address, you can download electronic invoice layout files.
The electronic invoice data listened to by the generation electronic invoice layout files system of the present invention in write-in message queue
When, that is, the electronic invoice layout files template and electronic invoice stamped signature picture in caching are called, electronic invoice data is assembled into
Electronic invoice layout files, and the solution idol and high concurrent of message queue, ensure that electronic invoice data can by it is multiple enter
Journey processing, without influencing each other, shortens the built-up time of electronic invoice layout files, and user issues result to electronic invoice
And the reception time of electronic invoice layout files download address, ensure user after download address is clicked on, you can to download electronics hair
Ticket layout files, the stand-by period that user obtains electronic invoice layout files is shortened, improves the experience of making out an invoice of user.
The method that electronic invoice layout files is generated in the present invention is described above is, below to generating electronics hair in the present invention
The system of ticket layout files is described:
Referring to Fig. 3, one embodiment of the system of electronic invoice layout files is generated in the embodiment of the present invention, including:
First acquisition unit 301, for obtaining the electronic invoice data in message queue;
Call unit 302, for calling electronic invoice layout files template and electronic invoice stamped signature picture in caching;
Module units 303, for utilizing the electronic invoice layout files template and electronic invoice stamped signature picture, by described in
Electronic invoice data is assembled into electronic invoice layout files.
It should be noted that electronic invoice format text is generated in this implementation in embodiment described in the effect of each unit and Fig. 1
The type of action of the system of part, here is omitted.
The present invention obtains the electronic invoice data in message queue, call unit 302 calls slow by receiving unit 301
Electronic invoice data is assembled into by electronic invoice layout files template and electronic invoice stamped signature picture, module units 303 in depositing
Electronic invoice layout files, because of high concurrent and decoupling that message queue itself possesses, it can accelerate at electronic invoice data
The speed of reason, the degree of coupling of electronic invoice data process electronic invoice layout files from issuing to being assembled into is reduced, accelerated
Assemble electronic invoice layout files response speed, and the present invention directly invoke be caching in electronic invoice layout files mould
Plate and electronic invoice stamped signature picture, the speed of assembling electronic invoice layout files is also improved, electricity is obtained so as to shorten user
The stand-by period of sub- invoice layout files, improve the experience of making out an invoice of user.
For ease of understanding, the system for generating electronic invoice layout files during the present invention is implemented is described below in detail, please join
Fig. 4 is read, another embodiment of the system of electronic invoice layout files is generated in the present invention, including:
First acquisition unit 401, for obtaining the electronic invoice data in message queue;
Call unit 402, for calling electronic invoice layout files template and electronic invoice stamped signature picture in caching;
Module units 403, for utilizing the electronic invoice layout files template and electronic invoice stamped signature picture, by described in
Electronic invoice data is assembled into electronic invoice layout files.
Further, the system also includes:
Second acquisition unit 404, for obtaining electronic invoice data;
Memory cell 405, for the electronic invoice data to be stored to the message queue.
Further, module units 403 includes:
First assembling module 4031, for utilizing the electronic invoice layout files template and electronic invoice stamped signature picture,
The electronic invoice data is assembled into the electronic invoice layout files of initialization;
Generation module 4032, for the electronic invoice layout files of the initialization to be signed, generation signature version
Electronic invoice layout files.
Further, the system also includes:
Uploading unit 406, for the electronic invoice layout files to be uploaded into database.
It should be noted that electronics hair is generated in the present embodiment in embodiment described in the effect of each unit and module and Fig. 2
The effect of the system of ticket layout files is similar, and here is omitted.
It is understood that in the embodiment of the present invention, generation electronic invoice layout files system can also be from hardware point of view
Set out and be described, the generation electronic invoice layout files system of the embodiment of the present invention includes:Processor, memory and storage
In memory and the computer program that can run on a processor, above-mentioned each side is realized during computing device computer program
The step of in method embodiment based on generation electronic invoice layout files system operatio, or, during computing device computer program
The function for each module that electronic invoice layout files system is generated in above-described embodiment is realized, same section can refer to above, this
Place repeats no more.
Exemplary, computer program can be divided into one or more module/units, and one or more module/
Unit is stored in memory, and by computing device, to complete the present invention.One or more module/units can be energy
The series of computation machine programmed instruction section of specific function is enough completed, the instruction segment is used to describe computer program in generation electronics hair
Implementation procedure in ticket layout files system, the explanation of each module of generation electronic invoice layout files system is specifically can refer to,
Here is omitted.
Wherein, generation electronic invoice layout files system may include but be not limited only to processor, memory, art technology
Personnel are appreciated that the explanation is only to generate the example of electronic invoice layout files system, do not form to generation electronics hair
The restriction of ticket layout files system, parts more more or less than the explanation can be included, either combine some parts or not
Same part, such as generation electronic invoice layout files system can also include input-output equipment, network access equipment, bus
Deng.
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
It is the control centre for generating electronic invoice layout files system Deng, processor, is entirely generated using various interfaces and connection
The various pieces of electronic invoice layout files system.
Memory can be used for storage computer program and/or module, processor to be stored in memory by running or performing
Interior computer program and/or module, and the data being stored in memory are called, realize generation electronic invoice layout files
The various functions of system.Memory can mainly include storing program area and storage data field, wherein, storing program area can store behaviour
Make system, application program needed at least one function etc.;Storage data field can store uses created number according to mobile phone
According to (such as patch library) etc..In addition, memory can include high-speed random access memory, non-volatile memories can also be included
Device, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are consolidated
State memory device.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
- A kind of 1. method for generating electronic invoice layout files, it is characterised in that including:Obtain the electronic invoice data in message queue;Call the electronic invoice layout files template and electronic invoice stamped signature picture in caching;Using the electronic invoice layout files template and electronic invoice stamped signature picture, the electronic invoice data is assembled into electricity Sub- invoice layout files.
- 2. according to the method for claim 1, it is characterised in that it is described acquisition message queue in electronic invoice data it Before, methods described also includes:Obtain electronic invoice data;The electronic invoice data is stored to the message queue.
- 3. according to the method for claim 1, it is characterised in that described to utilize the electronic invoice layout files template and electricity Sub- invoice stamped signature picture, the electronic invoice data is assembled into electronic invoice layout files includes:Using the electronic invoice layout files template and electronic invoice stamped signature picture, the electronic invoice data is assembled into just The electronic invoice layout files of beginningization;The electronic invoice layout files of the initialization is signed, the electronic invoice layout files of generation signature version.
- 4. according to the method in any one of claims 1 to 3, it is characterised in that methods described also includes:The electronic invoice layout files is uploaded to database.
- 5. according to the method for claim 4, it is characterised in that the electronic invoice layout files includes:The electronic invoice file of PDF and/or OFD forms.
- A kind of 6. system for generating electronic invoice layout files, it is characterised in that including:First acquisition unit, for obtaining the electronic invoice data in message queue;Call unit, for calling electronic invoice layout files template and electronic invoice stamped signature picture in caching;Module units, for utilizing the electronic invoice layout files template and electronic invoice stamped signature picture, the electronics is sent out Ticket data is assembled into electronic invoice layout files.
- 7. system according to claim 6, it is characterised in that the system also includes:Second acquisition unit, for obtaining electronic invoice data;Memory cell, for the electronic invoice data to be stored to the message queue.
- 8. system according to claim 6, it is characterised in that the module units includes:First assembling module, for utilizing the electronic invoice layout files template and electronic invoice stamped signature picture, by the electricity Sub- invoice data is assembled into the electronic invoice layout files of initialization;Generation module, for the electronic invoice layout files of the initialization to be signed, the electronic invoice of generation signature version Layout files.
- 9. the system according to any one of claim 6 to 8, it is characterised in that the system also includes:Uploading unit, for the electronic invoice layout files to be uploaded into database.
- 10. system according to claim 9, it is characterised in that the electronic invoice layout files includes:The electronic invoice file of PDF and/or OFD forms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710585680.1A CN107391657A (en) | 2017-07-18 | 2017-07-18 | A kind of method and system for generating electronic invoice layout files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710585680.1A CN107391657A (en) | 2017-07-18 | 2017-07-18 | A kind of method and system for generating electronic invoice layout files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107391657A true CN107391657A (en) | 2017-11-24 |
Family
ID=60340112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710585680.1A Pending CN107391657A (en) | 2017-07-18 | 2017-07-18 | A kind of method and system for generating electronic invoice layout files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391657A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908950A (en) * | 2017-12-08 | 2018-04-13 | 泰康保险集团股份有限公司 | The generation method and device of electronic insurance policy |
CN108921627A (en) * | 2018-06-07 | 2018-11-30 | 国信电子票据平台信息服务有限公司 | A kind of method and system generating electronic invoice OFD layout files |
CN109614596A (en) * | 2018-12-13 | 2019-04-12 | 税友软件集团股份有限公司 | A kind of electronic note processing method, device and system |
CN109948369A (en) * | 2018-12-29 | 2019-06-28 | 航天信息股份有限公司 | A kind of printable data using bill generates the method and system of electronic layout files |
CN110459022A (en) * | 2019-08-13 | 2019-11-15 | 杭州有赞科技有限公司 | A kind of Small Ticket Printing System and method |
CN111192095A (en) * | 2019-12-18 | 2020-05-22 | 航天信息股份有限公司 | Method and system for issuing multiple electronic invoices |
CN111222930A (en) * | 2020-01-02 | 2020-06-02 | 大象慧云信息技术有限公司 | Invoice monitoring method, device and system supporting large-screen display |
CN111898982A (en) * | 2020-07-23 | 2020-11-06 | 百望股份有限公司 | Electronic invoice generation method |
CN111897777A (en) * | 2020-06-22 | 2020-11-06 | 百望股份有限公司 | Method, device and equipment for processing electronic invoice layout file and storage medium |
CN112037028A (en) * | 2020-09-01 | 2020-12-04 | 中国银行股份有限公司 | Transaction detail recording method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894398A (en) * | 2010-07-28 | 2010-11-24 | 浪潮齐鲁软件产业有限公司 | Method for automatically issuing invoices through connecting tax control machine by POS machine |
CN104679596A (en) * | 2013-12-02 | 2015-06-03 | 航天信息股份有限公司 | Message processing method and system for improving concurrence performance of server-side |
CN105096172A (en) * | 2015-06-12 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Electronic invoice generating and processing method and system based on e-commerce platform |
CN106485556A (en) * | 2016-10-21 | 2017-03-08 | 百望股份有限公司 | A kind of electronic invoice generates system |
-
2017
- 2017-07-18 CN CN201710585680.1A patent/CN107391657A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894398A (en) * | 2010-07-28 | 2010-11-24 | 浪潮齐鲁软件产业有限公司 | Method for automatically issuing invoices through connecting tax control machine by POS machine |
CN104679596A (en) * | 2013-12-02 | 2015-06-03 | 航天信息股份有限公司 | Message processing method and system for improving concurrence performance of server-side |
CN105096172A (en) * | 2015-06-12 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Electronic invoice generating and processing method and system based on e-commerce platform |
CN106485556A (en) * | 2016-10-21 | 2017-03-08 | 百望股份有限公司 | A kind of electronic invoice generates system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908950A (en) * | 2017-12-08 | 2018-04-13 | 泰康保险集团股份有限公司 | The generation method and device of electronic insurance policy |
CN108921627A (en) * | 2018-06-07 | 2018-11-30 | 国信电子票据平台信息服务有限公司 | A kind of method and system generating electronic invoice OFD layout files |
CN109614596A (en) * | 2018-12-13 | 2019-04-12 | 税友软件集团股份有限公司 | A kind of electronic note processing method, device and system |
CN109948369A (en) * | 2018-12-29 | 2019-06-28 | 航天信息股份有限公司 | A kind of printable data using bill generates the method and system of electronic layout files |
CN110459022A (en) * | 2019-08-13 | 2019-11-15 | 杭州有赞科技有限公司 | A kind of Small Ticket Printing System and method |
CN111192095A (en) * | 2019-12-18 | 2020-05-22 | 航天信息股份有限公司 | Method and system for issuing multiple electronic invoices |
CN111192095B (en) * | 2019-12-18 | 2024-03-26 | 航天信息股份有限公司 | Multi-time electronic invoice issuing method and system |
CN111222930A (en) * | 2020-01-02 | 2020-06-02 | 大象慧云信息技术有限公司 | Invoice monitoring method, device and system supporting large-screen display |
CN111897777A (en) * | 2020-06-22 | 2020-11-06 | 百望股份有限公司 | Method, device and equipment for processing electronic invoice layout file and storage medium |
CN111898982A (en) * | 2020-07-23 | 2020-11-06 | 百望股份有限公司 | Electronic invoice generation method |
CN112037028A (en) * | 2020-09-01 | 2020-12-04 | 中国银行股份有限公司 | Transaction detail recording method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391657A (en) | A kind of method and system for generating electronic invoice layout files | |
US9307341B2 (en) | Payment application download to mobile phone and phone personalization | |
CN107506193A (en) | A kind of development approach of subsystem page, storage medium and server | |
CN108037946A (en) | A kind of method, system and the server of the renewal of application program heat | |
CN109034988A (en) | A kind of accounting entry generation method and device | |
CN107862425B (en) | Wind control data acquisition method, device and system and readable storage medium | |
CN102169560A (en) | Electronic invoice management system and management method thereof | |
CN110033373A (en) | Device, method and the storage medium endorsed in block chain | |
CN110287247A (en) | Date storage method, device, equipment and storage medium based on Unionpay's system | |
CN109697071A (en) | Installation kit synthetic method, device, terminal and storage medium | |
EP3274952A1 (en) | A document verification system | |
CN108830715A (en) | Disk processing method and system are returned in batch documents part | |
CN103425471A (en) | Plug-in type taxation billing system | |
CN107632823A (en) | A kind of software development methodology and device | |
CN109214936A (en) | A kind of expense collection method, system and terminal device | |
CN107562552A (en) | A kind of service message generation method and system | |
CN107169810A (en) | A kind of batch issues the method and relevant apparatus of electronic invoice | |
CN108734566A (en) | Collage-credit data querying method, terminal device and medium | |
CN101587615A (en) | Information integrated platform of traffic IC card and bank card | |
CN107451301B (en) | Processing method, device, equipment and storage medium for real-time delivery bill mail | |
CN109669678A (en) | Template engine integration method, device, electronic equipment and storage medium | |
CN112085611A (en) | Asynchronous data verification method and device, electronic equipment and storage medium | |
CN107274161A (en) | For the online trading system for the alternative for handling electronic cash | |
CN111475468A (en) | Log access method, device, equipment and storage medium of newly added system | |
CN102612683A (en) | Maintaining data integrity across execution environments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |
|
RJ01 | Rejection of invention patent application after publication |