CN106408356A - Billing method for saving flow and system thereof - Google Patents
Billing method for saving flow and system thereof Download PDFInfo
- Publication number
- CN106408356A CN106408356A CN201510467164.XA CN201510467164A CN106408356A CN 106408356 A CN106408356 A CN 106408356A CN 201510467164 A CN201510467164 A CN 201510467164A CN 106408356 A CN106408356 A CN 106408356A
- Authority
- CN
- China
- Prior art keywords
- invoice
- fpxx
- commodity
- business datum
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 108091092195 Intron Proteins 0.000 claims description 12
- 230000006835 compression Effects 0.000 claims description 10
- 238000007906 compression Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 239000003550 marker Substances 0.000 claims description 6
- 230000003993 interaction Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Embodiments of the invention provides a billing method for saving flow and a system thereof. An XML format is used to preserve invoice service data. One FPXX node is used to preserve one piece of invoice service data. The invoice service data includes an invoice header and a commodity list. A sub-node FPT of the FPXX is used to preserve the invoice header. A sub-node SPMX of the FPXX is used to preserve the commodity list. The invoice service data which is preserved as an XML format is processed and then is uploaded to a server. When a user billing amount is large, cost of a data flow required by billing software can be reduced as far as possible.
Description
Technical field
The present invention relates to communication technical field, more particularly, to a kind of billing method saving flow and system.
Background technology
Rise with mobile Internet, increasing equipment accesses the Internet, for complying with mobile Internet trend, the software of making out an invoice based on mobile network appliance for the existing many moneys on market by mobile network, docked with net ticket backstage by mobile network, realize issuing invoice whenever and wherever possible;
In prior art, due to invoice needs, in real time and background server carries out data interaction, so certain mobile data flow can be produced, when user's amount of making out an invoice than larger when, client's corresponding mobile data campus network can be increased, increase client's burden, be therefore directed to this problem, need badly and design a kind of minimizing and make out an invoice the method for software desired data flow.
Content of the invention
The embodiment provides a kind of billing method saving flow, there is provided following scheme:
Invoice business datum is preserved using XML format, wherein, an invoice business datum is preserved using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
The invoice business datum that described XML format is preserved uploads onto the server after processing.
According to the said method of the present invention, including:
Described invoice head includes some invoice head elements, and each invoice head element adopts an invoice head labeled marker, described invoice leader label and the arrangement of described invoice head element intervening sequences;
Described commodity are detailed to include some commodity specification element, and each commodity specification element adopts a commodity specification tag to indicate, and described commodity specification tag and described commodity specification element intervening sequences arrange.
According to the said method of the present invention, when preserving a plurality of commodity and being detailed, including:
Child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
According to the said method of the present invention, when preserving a plurality of invoice business datum, including:
Each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively.
According to the said method of the present invention, including:
The invoice business datum that described XML format is preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
Also provide according to a further aspect in the invention, a kind of billing system saving flow, including:
Business preserving module:It is used for preserving invoice business datum using XML format, wherein, preserves an invoice business datum using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
Upper transmission module:The invoice business datum that it is used for that described XML format is preserved uploads onto the server after processing.
According to a further aspect in the invention, including:
First sign unit:Described invoice head includes some invoice head elements, and it is used for using one invoice head element of an invoice head labeled marker, and invoice leader label and described invoice head element intervening sequences arrange;
Second sign unit:Described commodity are detailed to include some commodity specification element, and it is used for indicating a commodity specification element, commodity specification tag and the arrangement of described commodity specification element intervening sequences using a commodity specification tag.
According to a further aspect in the invention, described business preserving module, including:
Many child nodes SPMX module:It is used for when preserving a plurality of commodity and being detailed, and child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
According to a further aspect in the invention, described business preserving module, also includes:
Many FPXX node module:It is used for when preserving a plurality of invoice business datum, and each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively.
According to a further aspect in the invention, described upper transmission module, including:
Compression coding unit:The invoice business datum that it is used for described XML format is preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
Be can be seen that by the technical scheme that embodiments of the invention described above provide, the embodiment of the present invention adopts XML format to preserve invoice business datum, wherein, one invoice business datum is preserved using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;The invoice business datum that described XML format is preserved uploads onto the server after processing;When user's amount of making out an invoice than larger when it is also possible to reduce the expense of software desired data flow of making out an invoice as far as possible.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, in embodiment being described below, the accompanying drawing of required use is briefly described, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
A kind of process chart of the billing method of saving flow that Fig. 1 provides for the embodiment of the present invention one;
A kind of bill storage figure that Fig. 2 provides for the embodiment of the present invention one;
A kind of module map of the billing system of saving flow that Fig. 3 provides for the embodiment of the present invention two.
Specific embodiment
For ease of the understanding to the embodiment of the present invention, it is further explained explanation below in conjunction with accompanying drawing taking several specific embodiments as a example, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Embodiment one
This embodiment offers a kind of handling process of the billing method saving flow as shown in figure 1, including following process step:
Step 11, using XML format preserve invoice business datum, specifically as shown in Figure 2, wherein, one invoice business datum is preserved using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
Invoice head includes some invoice head elements, and each invoice head element adopts an invoice head labeled marker, described invoice leader label and the arrangement of described invoice head element intervening sequences;As shown in Figure 2, invoice leader label and invoice head arrangement of elements are:Invoice leader label ~ invoice head element ~
Specifically, under FPT child node:NSRSBH ~ Taxpayer Identification Number ~ NSRMC ~ taxpayer's title ~ KHMC ~ customer name ~ FPDM ~ invoice codes ~ FPHM ~ invoice number ~ KPRQ ~ make out an invoice the date ~ KPHJJE ~ Amount in Total of making out an invoice ~
Commodity are detailed to include some commodity specification element, and each commodity specification element adopts a commodity specification tag to indicate, and described commodity specification tag and described commodity specification element intervening sequences arrange.
As shown in Figure 2, commodity specification tag and commodity specification element are arranged as:Commodity specification tag ~ commodity specification element ~
Specifically, under SPMX child node:SPMC ~ trade name ~ SPDJ ~ cargo price ~ SPSL ~ commodity amount ~ SPJE ~ goods amount ~
When preserving a plurality of invoice business datum, including:
Each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively;
When preserving a plurality of commodity and being detailed, including:
Child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
Step 12, the invoice business datum that described XML format is preserved upload onto the server after processing.
Preferably, the invoice business datum described XML format being preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
Network service adopts http agreement, in order to reduce data traffic, removes redundant data, in the present embodiment, concrete protocol contents are designed as far as possible:
Gzip compresses
Base64 encodes xml business datum
Specific invoice business datum is preserved with xml form, and first xml data is carried out before carrying out network data exchange with base64 coding, then the data after base64 is encoded carries out gzip compression, reaches the purpose reducing transmission data;
In order to preferably reduce data traffic consumption, the data traffic that network interaction number of times and each network service produces should be reduced in process of service execution it is therefore desirable to be optimized to partial service flow process, the concrete business needing to optimize includes as far as possible:Login authentication, invoice uploads.
In terms of login authentication, when removing each login, download the net interaction such as taxpayer's information, supply of tickets data, make terminal preserve taxpayer's information of user, directly described taxpayer's information is loaded into after User logs in.
In terms of invoice upload, set the threshold value that invoiced amount uploads, when the invoiced amount uploading is more than given threshold, switchs to time delay and upload, invoice to be uploaded packing is uploaded onto the server.
Embodiment two
This embodiment offers a kind of billing system saving flow, it implements structure as shown in figure 3, following module specifically can be included:
Business preserving module 21:It is used for preserving invoice business datum using XML format, wherein, preserves an invoice business datum using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
Upper transmission module 22:The invoice business datum that it is used for that described XML format is preserved uploads onto the server after processing.
A kind of billing system saving flow, business preserving module 21, including:
First sign unit 211:Described invoice head includes some invoice head elements, and it is used for using one invoice head element of an invoice head labeled marker, and invoice leader label and described invoice head element intervening sequences arrange;
Second sign unit 212:Described commodity are detailed to include some commodity specification element, and it is used for indicating a commodity specification element, commodity specification tag and the arrangement of described commodity specification element intervening sequences using a commodity specification tag.
A kind of billing system saving flow, including:
Many child nodes SPMX module 23:It is used for when preserving a plurality of commodity and being detailed, and child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
Many FPXX node module 24:It is used for when preserving a plurality of invoice business datum, and each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively.
A kind of billing system saving flow, upper transmission module 22, including:
Compression coding unit 221:The invoice business datum that it is used for described XML format is preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
The detailed process made out an invoice saving flow with the system of the embodiment of the present invention is similar with preceding method embodiment, and here is omitted.
In sum, the embodiment of the present invention be can be seen that by the technical scheme being provided by embodiments of the invention described above, the embodiment of the present invention adopts XML format to preserve invoice business datum, wherein, one invoice business datum is preserved using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;The invoice business datum that described XML format is preserved uploads onto the server after processing;When user's amount of making out an invoice than larger when it is also possible to reduce the expense of software desired data flow of making out an invoice as far as possible.
One of ordinary skill in the art will appreciate that:Accompanying drawing is the schematic diagram of an embodiment, and the module in accompanying drawing or flow process are not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can realize by the mode of software plus necessary general hardware platform.Based on such understanding, what technical scheme substantially contributed to prior art in other words partly can be embodied in the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment(Can be personal computer, server, or network equipment etc.)Execution each embodiment of the present invention or some partly described methods of embodiment.
Each embodiment in this specification is all described by the way of going forward one by one, between each embodiment identical similar partly mutually referring to what each embodiment stressed is the difference with other embodiment.For device or system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, in place of correlation, the part referring to embodiment of the method illustrates.Apparatus and system embodiment described above is only schematically, the wherein said unit illustrating as separating component can be or may not be physically separate, as the part that unit shows can be or may not be physical location, may be located at a place, or can also be distributed on multiple NEs.The purpose to realize this embodiment scheme for some or all of module therein can be selected according to the actual needs.Those of ordinary skill in the art are not in the case of paying creative work, you can to understand and to implement.
The above; be only the present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, any those familiar with the art the invention discloses technical scope in; the change or replacement that can readily occur in, all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of save flow billing method it is characterised in that
Invoice business datum is preserved using XML format, wherein, an invoice business datum is preserved using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
The invoice business datum that described XML format is preserved uploads onto the server after processing.
2. a kind of billing method saving flow according to claim 1 is it is characterised in that include:
Described invoice head includes some invoice head elements, and each invoice head element adopts an invoice head labeled marker, described invoice leader label and the arrangement of described invoice head element intervening sequences;
Described commodity are detailed to include some commodity specification element, and each commodity specification element adopts a commodity specification tag to indicate, and described commodity specification tag and described commodity specification element intervening sequences arrange.
3. a kind of billing method saving flow according to claim 1 is it is characterised in that when preserving a plurality of commodity and being detailed, including:
Child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
4. according to claim 3 a kind of save flow billing method it is characterised in that when preserve a plurality of invoice business datum when, including:
Each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively.
5. a kind of billing method saving flow according to claim 4 is it is characterised in that include:
The invoice business datum that described XML format is preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
6. a kind of billing system saving flow is it is characterised in that include:
Business preserving module:It is used for preserving invoice business datum using XML format, wherein, preserves an invoice business datum using a FPXX node, wherein, invoice business datum includes invoice head and commodity are detailed, and child node FPT using FPXX preserves invoice head, preserves commodity using child node SPMX of FPXX detailed;
Upper transmission module:The invoice business datum that it is used for that described XML format is preserved uploads onto the server after processing.
7. a kind of billing system saving flow according to claim 6 is it is characterised in that include:
First sign unit:Described invoice head includes some invoice head elements, and it is used for using one invoice head element of an invoice head labeled marker, and invoice leader label and described invoice head element intervening sequences arrange;
Second sign unit:Described commodity are detailed to include some commodity specification element, and it is used for indicating a commodity specification element, commodity specification tag and the arrangement of described commodity specification element intervening sequences using a commodity specification tag.
8. a kind of billing system saving flow according to claim 6 is it is characterised in that described business preserving module, including:
Many child nodes SPMX module:It is used for when preserving a plurality of commodity and being detailed, and child node SPMX of each FPXX preserves a commodity detail, and a plurality of commodity detail is stored in multiple child nodes SPMX, multiple child node SPMX arranged in parallel successively, is stored in same FPXX node.
9. a kind of billing system saving flow according to claim 8, it is characterised in that described business preserving module, also includes:
Many FPXX node module:It is used for when preserving a plurality of invoice business datum, and each FPXX node preserves an invoice business datum, and a plurality of invoice business datum is stored in multiple FPXX nodes, multiple FPXX node arranged in parallel successively.
10. a kind of billing system saving flow according to claim 9 is it is characterised in that described upper transmission module, including:
Compression coding unit:The invoice business datum that it is used for described XML format is preserved carries out carrying out after base64 coding uploading onto the server after gzip compression again.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510467164.XA CN106408356A (en) | 2015-08-03 | 2015-08-03 | Billing method for saving flow and system thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510467164.XA CN106408356A (en) | 2015-08-03 | 2015-08-03 | Billing method for saving flow and system thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106408356A true CN106408356A (en) | 2017-02-15 |
Family
ID=58008104
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510467164.XA Pending CN106408356A (en) | 2015-08-03 | 2015-08-03 | Billing method for saving flow and system thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106408356A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040158510A1 (en) * | 2003-02-10 | 2004-08-12 | Fisher Jason M. | Systems and method for managing and processing of telecommunications invoices |
| CN202453952U (en) * | 2011-11-30 | 2012-09-26 | 航天信息股份有限公司 | Tax administration system based on mobile network |
| CN103532711A (en) * | 2012-07-02 | 2014-01-22 | 航天信息股份有限公司 | Encryption data transmission based real-time invoice authentication method and system |
| CN103679515A (en) * | 2012-09-26 | 2014-03-26 | 梅特勒-托利多(常州)测量技术有限公司 | Receipt printing method and receipt printing system |
| CN103886491A (en) * | 2014-02-28 | 2014-06-25 | 浪潮软件集团有限公司 | Mobile phone network invoice system based on IOS operating system |
| CN104463665A (en) * | 2014-12-11 | 2015-03-25 | 江苏爱信诺航天信息科技有限公司 | Method for conducting storage analyzing on general invoice data |
-
2015
- 2015-08-03 CN CN201510467164.XA patent/CN106408356A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040158510A1 (en) * | 2003-02-10 | 2004-08-12 | Fisher Jason M. | Systems and method for managing and processing of telecommunications invoices |
| CN202453952U (en) * | 2011-11-30 | 2012-09-26 | 航天信息股份有限公司 | Tax administration system based on mobile network |
| CN103532711A (en) * | 2012-07-02 | 2014-01-22 | 航天信息股份有限公司 | Encryption data transmission based real-time invoice authentication method and system |
| CN103679515A (en) * | 2012-09-26 | 2014-03-26 | 梅特勒-托利多(常州)测量技术有限公司 | Receipt printing method and receipt printing system |
| CN103886491A (en) * | 2014-02-28 | 2014-06-25 | 浪潮软件集团有限公司 | Mobile phone network invoice system based on IOS operating system |
| CN104463665A (en) * | 2014-12-11 | 2015-03-25 | 江苏爱信诺航天信息科技有限公司 | Method for conducting storage analyzing on general invoice data |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102768662B (en) | A kind of method and apparatus Loaded Image | |
| CN104715268B (en) | Inter-system data interaction platform and application process based on data label | |
| CN108933805A (en) | A kind of document transmission method and system | |
| CN106330788B (en) | Message fragment transmission method and device | |
| CN104954410A (en) | Message pushing method, device thereof and server | |
| CN101977218A (en) | Internet playing file transcoding method and system | |
| CN105681380B (en) | Client off-line method and its system | |
| CN104935612A (en) | Data processing method and server | |
| CN105302925A (en) | Method and device for pushing voice search data | |
| US20110225287A1 (en) | Method and system for distributed processing of web traffic analytics data | |
| CN109561117A (en) | Collecting method and device | |
| CN110769064A (en) | System, method and equipment for offline message pushing | |
| CN104468330A (en) | Data processing method and device of distributed information queue | |
| CN110377579A (en) | File memory method, device and server | |
| CN106998314B (en) | Account interaction method and device | |
| CN101211409A (en) | Systems and methods for capturing and analyzing multi-field two-dimensional codes | |
| CN108280228A (en) | A kind of processing method and relevant device of webpage | |
| CN107800717A (en) | A kind of communication processing system and method | |
| CN102523112B (en) | Information processing method and equipment | |
| CN106408356A (en) | Billing method for saving flow and system thereof | |
| CN105701047B (en) | A kind of multi-channel data transmission and virtual restoration method | |
| CN104408503A (en) | Processing method and system for two-dimensional code | |
| US20210065216A1 (en) | Primary Tagging in a Data Stream | |
| CN118397143A (en) | Poster making method, system, cloud service end and storage medium | |
| CN105915969A (en) | Video business card creating and displaying method, and video business card creating and displaying apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |