CN1932900A - Tax control cash register capable of storing data permanently - Google Patents

Tax control cash register capable of storing data permanently Download PDF

Info

Publication number
CN1932900A
CN1932900A CN 200510102747 CN200510102747A CN1932900A CN 1932900 A CN1932900 A CN 1932900A CN 200510102747 CN200510102747 CN 200510102747 CN 200510102747 A CN200510102747 A CN 200510102747A CN 1932900 A CN1932900 A CN 1932900A
Authority
CN
China
Prior art keywords
tax
cpu
cash register
data
source
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 200510102747
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.)
Shanghai Xinyue Instrument Factory
Original Assignee
Shanghai Xinyue Instrument Factory
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 Shanghai Xinyue Instrument Factory filed Critical Shanghai Xinyue Instrument Factory
Priority to CN 200510102747 priority Critical patent/CN1932900A/en
Publication of CN1932900A publication Critical patent/CN1932900A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

One tax control and gathering machine with data permanent conservation, relates to one CPU, first storage controlled under CPU for controlling tax, second storage using for data permanent conservation and connecting with the said CPU. The said tax control and gathering machine owns a electrical source circuit cell in support which having a electrical source switch circuit connecting with the said CPU, other peripheral fixtures and outside electrical source. It also connects with an electrical source in support at the same time which in case to start the electrical source in support to drive CPU and other peripheral fixtures when the outside electrical source is out of work. The said CPU gives order to copy data and storage the data of the said first storage into second storage after accepting the signal when outside electrical source is out of work. The second storage is flash memory. This owns long storage time and low cost for adopting flash memory to storage copy data.

Description

But a kind of tax-control cash register of storing data permanently
Technical field
Invention relates to a kind of tax-control cash register, relates in particular to the improvement that it preserves memory of data.
Background technology
Tax-control cash register is a kind of cashing machine that has tax control function with law seriousness and infrangibility, and it is not only the competent assistant of commercial enterprise management management, also is the taxing data are gathered by the tax authority to enterprise law enforcement representative.Automatic record is equipped with but the tax-controlling memory that can not change and erase in its inside, writing down business data and the tax liability of every day, so that can transmit tax-control data accurately and effectively to the office of paying taxes by all means, for preventing being distorted of data, its general special " lead sealing " means that adopt is fixed on machine intimate, and anyone can not open except that the tax and full-time registration maintenance personal.
In general, tax-control cash register consists of the following components: 1, the display system of energy Chinese display; 2, can print the print system of Chinese; 3, special-purpose central processing system, i.e. CPU; 4, special-purpose tax control disposal system, CPU carries out the first memory of sequential operation comprising assistance, and the second memory of the permanent record data of trying one's best; 5, dedicated peripherals drive system comprises peripheral hardwares such as keyboard, mouse; 6, power supply, battery system; 8, the cabinet of band physical security assurance; 9, handling procedure etc.That the second memory that is used for the stored record data of existing tax-control cash register generally adopts is static memory SRAM, after tax-control cash register power down or shutdown, rely on the data of backup battery assurance SRAM not lose, this is that power down is loss of data because static memory can not power down; But because static memory power consumption is bigger, and the big more power consumption of memory span is big more; Therefore, when the tax-control cash register that uses static memory is stopped using, when if the capacity of static memory is very big, the storage time of data will not enough half a year, and for tax-control data, especially the backup at big data quantity is that requirement was stored more than 10 years, and therefore the data storage of existing tax-control cash register is undesirable.In addition, the back-up source of existing support static memory generally is a lithium battery, the serviceable life of lithium battery is generally about 5 years, therefore, tax-control cash register is after using more than 5 years, and wherein Cun Chu data are irretrievably lost possibility and raise greatly, in case the back-up source breaking-up, the data of the last storage will irretrievably be lost, thereby cause tax control function to suffer damage.
Summary of the invention
But purpose of the present invention promptly is to provide a kind of tax-control cash register of storing data permanently, its second memory with the back-up storage data changes flash memory flash into, utilize the ability of the permanent storage data of flash memory, overcome the loss of data defective that existing tax-control cash register may occur.And the flash memory cost is low far beyond static memory, can reduce cost.
But the tax-control cash register of a kind of storing data permanently of the present invention, it comprises a CPU, and under this CPU control, realize the first memory that tax control is handled, and one be used for the second memory that permanent data stores, be connected with described CPU communication, wherein, described tax-control cash register also comprises a power backup circuit unit, and it comprises
One power supply switch circuit is connected between described CPU and peripheral equipment thereof and the external power, is electrically connected with a back-up source simultaneously, is used for enabling back-up source when external power interrupts and drives CPU and peripheral equipment thereof;
Described CPU promptly sends data backup command behind the signal that receives the external power interruption, the data in the described first memory are saved in the described second memory;
Described second memory is a flash memory.
Described tax-control cash register, wherein, described power backup circuit unit also comprises a charging circuit, is electrically connected with described external power and back-up source, is used for charging to back-up source.
Described tax-control cash register, wherein, described power backup circuit unit also comprises a charge-discharge protection circuit, is electrically connected with described back-up source, and is electrically connected with described charging circuit and power supply switch circuit respectively, is used to protect described back-up source.
Described tax-control cash register, wherein, described back-up source is a lithium battery.
But the tax-control cash register of a kind of storing data permanently of the present invention, because employing is the second memory of flash memory as the back-up storage data, storage time is permanent, data storage safety, and cost is low.
Brief Description Of Drawings
Below in conjunction with accompanying drawing,, will make technical scheme of the present invention and beneficial effect thereof apparent by detailed description to preferred embodiment of the present invention.
In the accompanying drawing,
But Fig. 1 is the partial circuit block scheme of the tax-control cash register of a kind of storing data permanently of the present invention;
But Fig. 2 A and Fig. 2 B are respectively power supply switching and mu balanced circuit, charging circuit and the charge-discharge protection circuit circuit theory diagrams of the tax-control cash register of a kind of storing data permanently of the present invention;
Fig. 3 writes data the schematic diagram of flash memory from synchronous dynamic random access memory SDRAM for tax-control cash register power down of the present invention or shutdown back CPU.
Embodiment
The present invention has utilized flash memory flash technology, flash memory still can keep institute's data information stored under powering-off state, but its data write is not to be unit with single byte but to be unit with fixing block, so speed is static and dynamic storage is slow.Its block size generally by 256K to 20MB, so its memory capacity is big, and the price of flash chip is not high, cost is low.Flash memory is becoming the substitute of EPROM at present, because they are easy to be upgraded.
As shown in Figure 1, but be the partial circuit block scheme of the tax-control cash register of a kind of storing data permanently of the present invention,, do not repeat them here because other partial circuits of tax-control cash register of the present invention are the content of prior art.In the tax-control cash register of the present invention, also be provided with a power supply switch circuit 130 between the CPU120 of external power 110 and tax-control cash register, this power supply switch circuit 130 cuts off being electrically connected of CPU and a back-up source 140 under external power continued power situation; And outside during power interruption, back-up source can be switched to power supply, the usefulness of the operation of supply tax-control cash register.The CPU of described tax-control cash register connects simultaneously and controls one and realize the first memory 210 that tax control is handled, and as shown in Figure 3, is for general under the controlling of described CPU and carries out the tax control computing; And a second memory 220, be used for comparatively permanent preservation data.This second memory 220 of the present invention is flash memory flash, because its speed that reads and writes data is slow, therefore, simultaneously, tax-control cash register of the present invention also is provided with a back-up source support, this concrete back-up source can the time lithium battery.When external power was powered continually and steadily, this external power 110 charged by 150 pairs of these back-up sources 140 of a charging circuit simultaneously.In addition, also be provided with a charge-discharge protection circuit 151 before back-up source, the dash current when preventing to discharge and recharge is to the infringement of back-up source.
Circuit theory is shown in Fig. 2 A and Fig. 2 B, and external power 110 is 5V, is serially connected with a diode D11, D12 in the same way respectively simultaneously with in the power backup circuit, can switch between external power and back-up source by this two diode.Also be provided with a mu balanced circuit 160 simultaneously and be serially connected in the feed circuit, also be provided with a control chip 170 simultaneously, when external power 110 interrupts suddenly, can experience look-at-me, and to the signal of CPU transmission about this power interruption.In Fig. 2 B, what illustrate is a charging circuit 150 of the present invention and a charge-discharge protection circuit 151, is connected on the described back-up source 140, is used to prevent this back-up source 140, and promptly a rechargeable battery suffers dash current in charge and discharge process.
As shown in Figure 3, in tax-control cash register of the present invention, the effect of described back-up source 140 is, when external power 110 interrupts, described CPU120 can in time send the instruction of data backup after receiving the signal (as power down or shutdown) that external power interrupts, the data to be backed up that are stored in the first memory of volatibility RAM are write flash memory.Because the read or write speed of flash memory is slow, therefore, this power supply switch circuit and back-up source can guarantee data security writes flash memory.And because flash memory is preserved the non-powered support of data, and can reach its serviceable life more than 100 years, therefore, will be very permanent with the data that flash memory is preserved.Simultaneously, the price of flash memory is lower, therefore can reduce cost effectively.
In sum; but the tax-control cash register of a kind of storing data permanently of the present invention; its technical scheme and beneficial effect thereof can change or replace to those skilled in the art, and all these changes or replacement all should belong to the protection domain of claim of the present invention.

Claims (4)

  1. But 1, a kind of tax-control cash register of storing data permanently, it comprises a CPU, and under this CPU control, realize the first memory that tax control is handled, and one be used for the second memory that permanent data stores, be connected with described CPU communication, it is characterized in that described tax-control cash register also comprises a power backup circuit unit, it comprises
    One power supply switch circuit is connected between described CPU and peripheral equipment thereof and the external power, is electrically connected with a back-up source simultaneously, is used for enabling back-up source when external power interrupts and drives CPU and peripheral equipment thereof;
    Described CPU promptly sends data backup command behind the signal that receives the external power interruption, the data in the described first memory are saved in the described second memory;
    Described second memory is a flash memory.
  2. 2, tax-control cash register according to claim 1 is characterized in that, described power backup circuit unit also comprises a charging circuit, is electrically connected with described external power and back-up source, is used for charging to back-up source.
  3. 3, tax-control cash register according to claim 2; it is characterized in that described power backup circuit unit also comprises a charge-discharge protection circuit, be electrically connected with described back-up source; and be electrically connected with described charging circuit and power supply switch circuit respectively, be used to protect described back-up source.
  4. 4, tax-control cash register according to claim 3 is characterized in that, described back-up source is a lithium battery.
CN 200510102747 2005-09-14 2005-09-14 Tax control cash register capable of storing data permanently Pending CN1932900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510102747 CN1932900A (en) 2005-09-14 2005-09-14 Tax control cash register capable of storing data permanently

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510102747 CN1932900A (en) 2005-09-14 2005-09-14 Tax control cash register capable of storing data permanently

Publications (1)

Publication Number Publication Date
CN1932900A true CN1932900A (en) 2007-03-21

Family

ID=37878721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510102747 Pending CN1932900A (en) 2005-09-14 2005-09-14 Tax control cash register capable of storing data permanently

Country Status (1)

Country Link
CN (1) CN1932900A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010072148A1 (en) * 2008-12-22 2010-07-01 Mediatek Inc. Reliable femtocell system for wireless communication networks
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010072148A1 (en) * 2008-12-22 2010-07-01 Mediatek Inc. Reliable femtocell system for wireless communication networks
TWI404444B (en) * 2008-12-22 2013-08-01 Mediatek Inc Reliable functionality,reliable method and related femtobase stations
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters

Similar Documents

Publication Publication Date Title
US8868957B2 (en) Auxiliary power supply, a method of providing power to a data storage system and a back-up power supply charging circuit
US7126857B2 (en) Storage subsystem with embedded circuit for protecting against anomalies in power signal from host
CN102156679B (en) PCIE interface-based solid state disk power-down protection method and device
CN102662802A (en) Full-system power failure recovery method and equipment based on nonvolatile memory
CN100474271C (en) Multi-level buffering type memory system and method therefor
CN101826060A (en) Method and device for protecting power failure data of solid state disk
CN2560039Y (en) Data-processing equipment without missing data after power-off
CN102496907B (en) Set top box, power fail safeguard device and power fail data protection method
CN109189605A (en) A kind of power-off protection of solid state disk method
CN103049070A (en) Cache data power failure protection method and computer equipment
US9104397B2 (en) Computer and data saving method
CN101963891A (en) Method and device for data storage and processing, solid-state drive system and data processing system
CN201036001Y (en) Magnetic disk array device
CN101710252A (en) Power supply method and power supply device of storage system
CN101702533B (en) Power supply method and equipment
CN101364138B (en) Power supply management method and device of solid hard disk storage system
CN201788502U (en) Magnetic-disc caching data backup and recovery device for accidental power outage
CN103559119B (en) File operation requests disposal route and device
CN2629129Y (en) Tax control cash collecting machine capable of permanently storing data
CN1932900A (en) Tax control cash register capable of storing data permanently
CN104834610A (en) Magnetic disk power-down protection circuit and method
CN202887178U (en) Electronic device capable of realizing power-off protection of hard disc
CN202584103U (en) Full-system outage recovering device on basis of nonvolatile internal memory
CN109325373B (en) Metadata storage method, device and equipment and readable storage medium
CN212486629U (en) Power-off protection system for preventing data loss when camera power failure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Wang Wenling

Document name: Notice of publication of application for patent for invention

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Wang Wenling

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication