Summary of the invention
The purpose of this utility model is to provide a kind of and can supports the keyboard input can support the touch-screen input again, and is simple to operate, the tax-control cash register of stable performance.
The purpose of this utility model is achieved by the following technical solution:
Tax-control cash register described in the utility model comprises casing, main control MCU, program storage, tax-control data storer, clock chip, keyboard, Customer Information display, IC-card interface module, communication interface modules and printer.Described program storage all is connected with described main control MCU by data bus, address bus and control bus with the tax-control data storer, described clock chip, keyboard, Customer Information display, IC-card interface module, communication interface modules and printer are connected respectively on the corresponding I/O mouth of described main control MCU, also be connected with the LCD touch screen module of supporting to touch input on the corresponding I/O mouth of described main control MCU, with described main control MCU two-way communication.
The main control MCU of this tax-control cash register is based on 32 bit processors of MIPS framework, built-in 32 real-time multi-task embedded OSs.Connected program storage adopts MX29LV160TTC-90 2M FLASH chip, and the tax-control data storer adopts K9F6408 8M FLASH chip.
Above-mentioned communication interface modules provides RS232 interface, USB interface and RJ11 interface, and it is apparent that wherein the RS232 interface connects computer, PDA, scanner, keyboard or visitor; USB interface adopts CH375 USB control chip, and the RJ11 interface connects the cash box of tax-control cash register.
The LCD touch screen module of this tax-control cash register is supported touch input operation and Chinese handwriting recognition.
This tax-control cash register also comprises back-up source.
The IC-card interface module of this tax-control cash register provides two IC-card interfaces, and the first IC-card interface that wherein is used to read and write tax-controlling card is a PLUG-IN type interface, and the second IC-card interface that is used to read and write subscriber card is an ID-1 type interface.
The printer of this tax-control cash register comprises the print control unit that is connected with described main control MCU, described print control unit connects step motor control circuit, print needle control circuit, signal deteching circuit and coil paper motor control circuit, described step motor control circuit, print needle control circuit, signal deteching circuit connect printhead, and described coil paper motor control circuit connects the invoice book coiler.
Tax-control cash register described in the utility model, the input of collection keyboard, touch input, the Chinese handwriting recognition is in one, powerful, simple to operate, security and reliability height, allow user experience keyboard input, touch input, the efficient and convenient property that the handwriting recognition operation brings, need be by other utility appliance, just can realize opening invoice fast by keyboard or touch operation, functions such as tax-control data monitoring, conveniently pay taxes user's working service improves user's efficient, simultaneously for being unfamiliar with the keyboard input or being reluctant user with the keyboard input, touch-screen input mode intuitively is provided, has reduced technical requirement the user.
This tax-control cash register is owing to 32 bit processors that adopted based on the MIPS framework, and built-in 32 real-time multi-task embedded OSs, makes the task processing speed of product improve greatly; Adopt MX29LV160TTC-902M FLASH chip and K9F6408 8M FLASH chip as program storage and tax-control data storer respectively, the shortcoming that data are easily lost when having overcome with RAM storage data, and memory space also obviously increases.
Communication interface modules provides three kinds of interface shapes, can support the external unit of a plurality of types simultaneously, and the user uses more convenient, is widely used in industries such as commerce, service sector, show business.
This tax-control cash register also includes back-up source, under the situation of sudden power, can guarantee the correctness and the integrality of relevant data in storer and the tax-controlling card.
Embodiment
Below in conjunction with accompanying drawing and embodiment the utility model is described in further detail:
As shown in Figure 5, the structure of tax-control cash register described in the utility model mainly comprises casing 1, keyboard 2, touch-screen 3, Customer Information display 4, main control MCU 5, back-up source 6, print control unit 7, invoice book coiler 8, printhead 9, deck 10, power supply 11 parts such as grade.Wherein main control MCU 5, back-up source 6, and print control unit 7, invoice book coiler 8, printhead 9, deck 10 and power supply 11 are installed in the casing 1.
As shown in Figure 1 to Figure 3, the basic circuit type structure in this tax-control cash register casing 1 mainly is made up of tax control mainboard 12 and printer control panel 13.
Program control mainboard 12 is tax control machine core circuit plates, finish the whole control and management of tax control machine, comprise main control MCU 5, program storage, the tax-control data storer, clock chip, IC-card interface module, communication interface modules, back-up source 6, keyboard interface, Customer Information display 4, and LCD touch-screen 3 modules.
Printer control panel 13 receives the print data that tax control mainboard 12 sends, the drive controlling printer prints comprises print control unit 7, the step motor control circuit that is connected with print control unit 7, print needle control circuit, signal deteching circuit and coil paper motor control circuit.
Main control MCU 5 is connected with the tax-control data storer with program storage by data bus, address bus and control bus, is connected with clock chip, keyboard 2, Customer Information display 4, IC-card interface module, communication interface modules, printer controller 7 on the main control MCU 5 corresponding I/O mouths, supports to touch the LCD touch screen module of importing.
Step motor control circuit in printer control panel 13 parts, print needle control circuit, signal deteching circuit connect printhead 9, and the coil paper motor control circuit connects invoice book coiler 8.
Wherein, main control MCU adopts the AR2000 of integrated LCD controller, TP controller, UART communication interface and AD converter as central processing unit, built-in 32 MIPS R3000 processor cores.Its work clock is 38.86MHz, has the calculation process ability of 24MIPS.Adopt 32 bit data bus address bus modes, support maximum 128M external RAM address space, support the outside FLASH address space of maximum 128M.
Program storage adopts MX29LV160TTC-90 2M FLASH chip, is used for storage system boot, hardware self testing procedure, operating system and character library.Program storage is connected with main control MCU 5 with control bus by data bus, address bus.
The tax-control data storer adopts the FLASH chip of K9F6408 8M, is used to store tax control application program and tax-control data, and it has power-down protection, and after power down, data can be preserved more than 10 years.The tax-control data storer is connected with main control MCU 5 with control bus by data bus, address bus.
The clock chip of real-time clock adopts HT1381, real-time clock does not adopt independently button cell power supply when having externally fed, the time every other day error be not more than 2.6 seconds, clock chip and main control MCU 5 are the I2C interface, the time of storage inside tax control machine, tax control machine after starting is read this time, and the RTC of CPU inside picks up counting.
Keyboard 2 is connected in the keyboard interface among Fig. 1, has dustproof, water-proof function; And, provide special function key at the tax control industry application demand, for example return ticket, the invalidated ticket key.Keyboard 2 provides 60 buttons, wherein can define 26 PLU keys commonly used, push button longevity 5,000 ten thousand times.All business operations of tax-control cash register can be realized by keyboard 2, and support Chinese pinyin, five-stroke input method.
The LCD touch screen module adopts the monochromatic 4 grades of gray scale giant-screen LCD modules (band touch-screen) in 240 (W) * 160 (H), is with yellowish green backlight function, backlight can control to open close, support touch control operation and Chinese handwriting recognition.All business operations of tax-control cash register can be realized by the touch-screen input; And when needs input text information, the LCD touch-screen can also be supported handwriting recognition, and supports Chinese pinyin, five-stroke input method.Such LCD touch-screen, the LM-Q2646RSL LCD module that can select for use market to purchase, it shows with dot matrix word library is 12 * 12 dot matrix fonts.
Customer Information display 4 employing LED charactrons can show 10 numerals, show many group digital informations as needing in the use, but scroll-up/down are turned over the screen demonstration; Can identify states such as unit price, total price, small change.
This tax-control cash register provides independently tax-controlling card and two IC-card interfaces of subscriber card, and the IC-card interface is supported GB18240.2-2003, and wherein PLUG-IN type interface is read and write tax-controlling card, the read-write of ID-1 type interface subscriber card, the also read-write jumbo MEMO card of ID-1 in addition.The IC-card interface module is supported two decks 10, is used to place tax-controlling card and subscriber card, and wherein the tax-controlling card deck is positioned at tax-control cash register inside, and interface is the PLUG-IN type; The subscriber card deck is positioned at the tax-control cash register sidewall, and interface is the ID-1 type.The technical requirement of interface contact should be satisfied GB/T 16649.1, and electrical specification should satisfy GB/T 16649.3, the character-oriented asynchronous half-duplex host-host protocol of the exchange data using T=0 of IC-card and tax-control cash register.The power supply of tax-controlling card and subscriber card, clock, reset, the data I equisignal line links to each other with the GPIO pin of CPU respectively, the card circuit has 3.3V and 5V supply voltage to select, and supports the IC-card read-write of two kinds of voltages.IC-card deck 10 can be operated the smart card that meets the ISO-7816 standard, and the operation of relevant IC-card comprises that the initialization of machine, user declare dutiable goods, the tax bureau is to user's inspection etc.
Be connected with communication interface modules on the corresponding I/O mouth of main control MCU 5, communication interface modules is supported two RS232 serial communication interfaces, supports 300 to 115200BPS traffic rates.These two RS232 communication interfaces can be used for connecting peripheral hardwares such as computer, keyboard, customer monitor, and serial communication interface meets the regulation of GB/T 6107-2000.Preferably, tax-control cash register of the present utility model also can have cash box, and above-mentioned communication interface modules provides the RJ11 interface simultaneously, and this RJ11 interface is used for being connected with cash box.Above-mentioned communication interface modules also provides USB interface, adopts CH375 USB control chip, supports the above agreement read-write of USB1.1, can be used for connecting equipment such as USB flash disk.
When working in view of cashing machine the most frequent appearance be abnormity of power supply unusually, comprise power network fluctuation, suddenly power down, transformer damage the correctness that all can cause the unusual of system power supply and then influence cashing machine operate as normal and tax-control data, and take provides back-up source to address this problem for this reason.This cashing machine also includes back-up source 6, and this back-up source 6 adopts the big electric capacity of 2.5V/3.3F, when system power supply occurs when unusual, uses back-up source 6 to guarantee that the safety of current tasks carries out and preserve data, thereby guarantees the safe and reliable of data.
Above-mentioned clock chip, keyboard 2, LCD touch screen module, client's display 4, IC-card interface module, communication interface modules, back-up source 6 etc. all are connected with main control MCU 5 corresponding pins, and concrete connected mode is referring to Fig. 2.
The print control unit 7 of printer adopts the A8351061F chips, and it is responsible for receiving the print data that main control MCU 5 issues, and the drive controlling printer prints, and write to each other with main control MCU 5, exchange message.Printing character library uses national standard 16 * 16 dot matrix word libraries.Print control unit 7 is connected with step motor control circuit, print needle control circuit, and by step motor control circuit and print needle control circuit control printhead 9 printed tickets.Printhead 9 is connected with signal deteching circuit, the signal deteching circuit print control unit 7 that is linked back again; Like this, the status information of printhead 9 just can feed back to print control unit 7 by signal deteching circuit.Above-mentioned printhead 9 can be selected M-U110 type printhead for use, and its print span is 76.2mm, and print speed is not less than per second 1.5 row Chinese.
Print control unit 7 also is connected with the coil paper motor control circuit, and the coil paper motor control circuit is connected with the invoice book coiler again.Print control unit 7 is coordinated with the printing action of printhead 9, with the timely rolling of the ticket stubs that print mutually by coil paper motor control circuit control invoice book coiler 8.
Power supply 11: the built-in power module, adopt direct current 24V/5V power supply plan.
As shown in Figure 4, the operating process of this tax-control cash register is described as follows:
(1), boot system login
Finish the detection of hardware, the startup initialization of software systems, the initialization data cleaning of application. the tax-control cash register opening initialization.
(2), cashing machine initialization
Registration tax-controlling card, preservation user initialization data.
(3), the invoice neck is purchased
Read subscriber card invoice neck and purchase record, be saved in the invoice volume database.
(4), change invoice volume
Tax-controlling card is responsible for the invoice volume of typing is carried out authentication, and upgrades the invoice storage file, the current invoice volume in the final updating cashing machine.
(5), open invoice
Tax-controlling card is responsible for splitting ticket data and is carried out validity checking, and according to the tax category tax items call number amount of money of making out an invoice is classified totally, upgrades the Day Trading record, generates invoice tax control sign indicating number.
(6), taxation declaration
Cashing machine generates and declares combined data, gives the electronic signature of declaring that tax-controlling card generates 128 bytes. and cashing machine carries out consistency check according to the status word of returning to both combined data, is aggregated in the subscriber card at last.
(7), upgrade the monitoring tax payment
Upgrade tax-controlling card monitoring management data, this declaration data of reading and saving is preserved monitor data, the tax items information of upgrading in the cashing machine at last in cashing machine from tax-controlling card.
This tax-control cash register software system module is divided into following a few part according to the tax control application flow:
(1), login management
Functions such as this module complete operation person's login, identity identifying and authenticating, password modification.Before the user does not have login, can not carry out tax control and use relevant operation.
(2), machine information
After tax-control cash register was finished initialization, this module can be checked user's initialization data, comprised machine dispatch from the factory information, monitor message, tax items information, storage space operating position etc.
(3), system management
Have only this module of keeper's ability register, other staff do not have authority to use.The function of this module is mainly carried out various management, parameter setting.Comprise the configuration management of category, PLU, cashier, client, systematic parameter.
(4), sale is made out an invoice
Finish the daily tax control counting operation operation of user and the printing of statistical report form.Comprise out that normal ticket, registration are returned ticket, invalidated ticket, inquiry, report printing that this cashier's day is added up.
(5), tax control management
Finish the operation of tax control application flow.Operations such as initialization, the tax-control data that comprises tax control machine declared, monitor data returns, invoice purchase.
(6), inquiry form
The statistical information of making out an invoice of different modes is provided, and user friendly inquiry is printed.Comprise a day sale form, month statistics.
(7), Tax Check
Towards the module that the inspector of tax office provides, function has the invoice data of verification, day operation data, declares historical data, revises clock.Only provide the identity of tax administration card could login this module.
(8), manufacturer safeguards
Software upgrading, maintenance, system version query function are provided.