CN1851708A - Indefinite-long tax-controlled electronic invoice storage method - Google Patents

Indefinite-long tax-controlled electronic invoice storage method Download PDF

Info

Publication number
CN1851708A
CN1851708A CN 200610043910 CN200610043910A CN1851708A CN 1851708 A CN1851708 A CN 1851708A CN 200610043910 CN200610043910 CN 200610043910 CN 200610043910 A CN200610043910 A CN 200610043910A CN 1851708 A CN1851708 A CN 1851708A
Authority
CN
China
Prior art keywords
concordance list
storage
invoice
tax
record
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
CN 200610043910
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.)
Shandong Inspur Software Co Ltd
Original Assignee
SHANDONG LANGCHAO ELECTRONIC EQUIPMENT CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANDONG LANGCHAO ELECTRONIC EQUIPMENT CO Ltd filed Critical SHANDONG LANGCHAO ELECTRONIC EQUIPMENT CO Ltd
Priority to CN 200610043910 priority Critical patent/CN1851708A/en
Publication of CN1851708A publication Critical patent/CN1851708A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present invented method sets space for storing fixed length and random length invoice in tax control cash register memory; adopting establishing indexed list mode finding or storing Invoice details and electronic stub; indexed list one-to-one correspondence with electronic stub, i.e. electronic stub containing most of information of indexed list, while indexed list assigning storage location capacity of electronic stub; according to the difference of indexed list, electronic stub storage mode and data, used in different function module. The present invented storage mode has safety, reliable, capable of satisfying multiple data storage requirement, being in favor of updating increasing or reducing storage space. Said invention can be widely used in all classes of tax control cash register, financial tax control cash register, common trade cash register, control printer, fueling unit, taximeter, tobacco terminal etc all classes of embedded system product.

Description

A kind of storage means of indefinite-long tax-controlled electronic invoice
1, technical field
The present invention specifically relates to a kind of finance device, specifically a kind of a kind of method to the various data storage of tax-control cash register commercial version.
2, technical background
The storage data method of all kinds of tax control machines, invoice machinery and the finance tax-controlling cashing machine of prior art, can only satisfy unilateral demand in the tax control field, and for the national tax industry, the demand of commercial management is a lot of, also there are two kinds of fixed length and random lengths for the specification of invoice, if indefinite the invoice data of form storage according to the fixed length invoice then needs to take a large amount of storage spaces, increased machine cost undoubtedly.If store according to the chained list mode, the performance of then inquiring about counterfoil or count off is not high, and needs to increase the workload of investigation user's request, has increased cost of development undoubtedly, makes troubles to the user yet.
3, summary of the invention
The present invention mainly opens up the space of storage fixed length and random length invoice in the tax-control cash register storer, adopt the mode of setting up concordance list to search or store invoice detail, electronics counterfoil.Concordance list and electronics counterfoil are corresponded manner one by one, and promptly the electronics counterfoil comprises the concordance list most information, and concordance list is specified electronics counterfoil memory location capacity etc.According to the different application of concordance list and electronics counterfoil storage mode, data in different functional modules.For the information of searching, adopt the mode of binary search concordance list record, speed is very fast.And find the more detailed invoice information of data according to index record.This kind storage mode is safe and reliable, and can satisfy multiple storage demand.Help upgrading and increase or reduce storage space.This storage means is applied in the product of all kinds of embedded systems such as all kinds of tax-control cash registers, finance tax-controlling cashing machine, common commercial cashing machine, fiscal printer, fuel charger, taximeter, commercial cashing machine, tobacco terminal equally.
4, description of drawings
Concordance list in the accompanying drawing 1 tax-control cash register storer and the data flow synoptic diagram between the electronics counterfoil;
Accompanying drawing 2 tax-control cash register invoice data storing step synoptic diagram;
Accompanying drawing 3 tax-control cash register invoice query steps synoptic diagram.
5, embodiment
The invention discloses a kind of method that the storage mode of supporting different invoice tax-control cash registers is set up concordance list and counterfoil file satisfies the demands.Thereby adopt this kind storage means to improve exploitative saving greatly, maintenance management is convenient.Step is as follows:
5) in tax-control cash register Flash, open up the concordance list record space
A, concordance list interrecord structure are the fixed storage mode;
B, concordance list record number is certain, is the maximum quantity of stored record.
6) in tax-control cash register Flash, open up electronics counterfoil storage space
How much calculating of a, stored record with maximum storage capacity;
B, need with part-structure check and correction in the concordance list, to confirm the correctness of data.
7) storage
A, note the address of an index table information;
B, according to the calculation of capacity of this logon data if the successful address space that takies of storage;
C, store assigned address into.
8) inquiry
A, according to querying condition search index table record;
The concordance list recording address that b, basis inquire takes out the electronics counterfoil;
C, concordance list record and electronics counterfoil comparison verification;
D, affirmation find effective record.
Storage means of the present invention adopts the mode of concordance list to store, be two files of each bar invoice recording storage, index record is a static store, be used to store the address of the critical item and the dynamic electron counterfoil log file of invoice, dynamic electron counterfoil log file stored be all the elements of invoice, comprising order.
Storage means of the present invention adopts the mode of binary search concordance list record to search information fast, and the details of invoice are searched according to the index record data.
In storage means of the present invention, different functional modules are meant the utility appliance of tax-control cash register.
5, embodiment
Method of the present invention has been applied to tide RE-350FB tax-control cash register.Because the function of RE-350FB tax-control cash register is more, belongs to a kind of multi-functional commercial version tax-control cash register, also satisfies the national tax demand when satisfying the land tax demand.Also support to print the random length invoice the fixed length invoice except supporting to print,, also support the food and drink demand except supporting the supermarket demand.Various types will not developed different types according to the demand in market before using the inventive method, take a large amount of spaces.Be unfavorable for version management and later upgrade maintenance.Adopt method of the present invention, the tax-control cash register that is suitable for the current market demand can be set easily, saved various exploiting natural resources greatly, can guarantee reliably operation accurately of software.Reduced the quantity of product version.

Claims (4)

1, a kind of storage means of indefinite-long tax-controlled electronic invoice, it is characterized in that, in the tax-control cash register storer, open up the space of storage fixed length and random length invoice, employing is set up the mode of concordance list and is searched or store the detailed and electronics counterfoil of invoice, concordance list and electronics counterfoil are corresponded manner one by one, be that the electronics counterfoil comprises the concordance list most information, and concordance list is specified the memory location capacity of electronics counterfoil, different according to concordance list, electronics counterfoil storage mode and data are applied to different functional modules;
Storing step is as follows:
1) in tax-control cash register Flash, open up the concordance list record space:
A, concordance list interrecord structure are the fixed storage mode;
B, concordance list write down several one maximum quantity that is decided to be stored record;
2) in tax-control cash register Flash, open up electronics counterfoil storage space:
How much calculating of a, stored record with maximum storage capacity;
B, need with part-structure check and correction in the concordance list, to confirm the correctness of data;
3) storage:
A, note the address of an index table information;
B, according to the calculation of capacity of this logon data if the successful address space that takies of storage;
C, store assigned address into;
4) inquiry:
A, according to querying condition search index table record;
The concordance list recording address that b, basis inquire takes out the electronics counterfoil;
C, concordance list record and electronics counterfoil comparison verification;
D, affirmation find effective record.
2, storage means according to claim 1, it is characterized in that, adopt the mode of concordance list to store, be two files of each bar invoice recording storage, index record is a static store, be used to store the address of the critical item and the dynamic electron counterfoil log file of invoice, dynamic electron counterfoil log file stored be all the elements of invoice, comprising order.
3, storage means according to claim 1 is characterized in that, adopts the mode of binary search concordance list record to search information fast, and the details of invoice are searched according to the index record data.
4, storage means according to claim 1 is characterized in that, different functional modules are meant the utility appliance of tax-control cash register.
CN 200610043910 2006-04-30 2006-04-30 Indefinite-long tax-controlled electronic invoice storage method Pending CN1851708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610043910 CN1851708A (en) 2006-04-30 2006-04-30 Indefinite-long tax-controlled electronic invoice storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610043910 CN1851708A (en) 2006-04-30 2006-04-30 Indefinite-long tax-controlled electronic invoice storage method

Publications (1)

Publication Number Publication Date
CN1851708A true CN1851708A (en) 2006-10-25

Family

ID=37133187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610043910 Pending CN1851708A (en) 2006-04-30 2006-04-30 Indefinite-long tax-controlled electronic invoice storage method

Country Status (1)

Country Link
CN (1) CN1851708A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464351C (en) * 2007-03-14 2009-02-25 浪潮齐鲁软件产业有限公司 Automatic data collecting and making out invoice method for tax controller to oil filler
CN103544790A (en) * 2012-07-11 2014-01-29 北京旋极信息技术股份有限公司 Invoice tax control data processing method
CN104714860A (en) * 2013-12-16 2015-06-17 航天信息股份有限公司 Network invoice secret key backup device
CN106569749A (en) * 2016-11-09 2017-04-19 百望金赋科技有限公司 Method and system for storing tax-control data
CN108415852A (en) * 2018-03-01 2018-08-17 曲阜师范大学 A kind of data access method of flash storage
CN112527828A (en) * 2020-12-10 2021-03-19 福建新大陆支付技术有限公司 Tax control record storage method and retrieval query method for tax control machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464351C (en) * 2007-03-14 2009-02-25 浪潮齐鲁软件产业有限公司 Automatic data collecting and making out invoice method for tax controller to oil filler
CN103544790A (en) * 2012-07-11 2014-01-29 北京旋极信息技术股份有限公司 Invoice tax control data processing method
CN103544790B (en) * 2012-07-11 2016-06-01 北京旋极信息技术股份有限公司 The treatment process of a kind of invoice tax control data
CN104714860A (en) * 2013-12-16 2015-06-17 航天信息股份有限公司 Network invoice secret key backup device
CN104714860B (en) * 2013-12-16 2018-04-10 航天信息股份有限公司 A kind of cipher key backup device of invoice
CN106569749A (en) * 2016-11-09 2017-04-19 百望金赋科技有限公司 Method and system for storing tax-control data
CN108415852A (en) * 2018-03-01 2018-08-17 曲阜师范大学 A kind of data access method of flash storage
CN112527828A (en) * 2020-12-10 2021-03-19 福建新大陆支付技术有限公司 Tax control record storage method and retrieval query method for tax control machine

Similar Documents

Publication Publication Date Title
CN1851708A (en) Indefinite-long tax-controlled electronic invoice storage method
US10089017B2 (en) Method and apparatus for SSD storage access
US20190042571A1 (en) Update-Insert for Key-Value Storage Interface
US20130124796A1 (en) Storage method and apparatus which are based on data content identification
US20140040540A1 (en) Metadata Management For Virtual Volumes
CN102521419A (en) Hierarchical storage realization method and system
CN101320458A (en) Method and system for completing bill checking of mass data
CN103473314A (en) Key value pair storing method and device based on shared memory
CN105117351A (en) Method and apparatus for writing data into cache
CN103399823A (en) Method, equipment and system for storing service data
US20170206011A1 (en) Enhancing performance-cost ratio of a primary storage adaptive data reduction system
CN101645043A (en) Methods for reading and writing data and memory device
CN202472635U (en) Flash memory wear leveling device
CN1731376A (en) A data transmission apparatus and method based on file allocation table (FAT)
CN1277703A (en) POS terminal, method of controlling the POS terminal, POS system using the POS terminal, and information storage medium
CN112637305A (en) Data storage and query method, device, equipment and medium based on cache
CN103268292B (en) A kind of method and long-lived outer deposit system of high speed extending the non-volatile external memory life-span
CN114547095A (en) Data rapid query method and device, electronic equipment and storage medium
CN105528425A (en) Method of implementing asynchronous data storage based on files in cloud computing environment
CN101788951B (en) Storage method for network computer
CN103309619A (en) NAND Flash memory data storage method
CN102169497A (en) Method and device for managing metadata through bitmaps
CN1818887A (en) Built-in file system realization based on SRAM
CN103841168A (en) Data copy updating method and metadata server
CN113342822A (en) Data query method and device based on multi-type database, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
ASS Succession or assignment of patent right

Owner name: SHANDONG LANGCHAO CHEELOOSOFT CO.,LTD

Free format text: FORMER OWNER: SHANDONG LANGCHAO ELECTRONIC EQUIPMENT CO., LTD.

Effective date: 20061229

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20061229

Address after: 250014 No. 224 mountain road, Lixia District, Shandong, Ji'nan

Applicant after: Shandong Inspur software Co., Ltd.

Address before: 250014 No. 224 mountain road, Lixia District, Shandong, Ji'nan

Applicant before: Shandong Langchao Electronic Equipment Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication