Summary of the invention
The purpose of this invention is to provide a kind of card machine and connect fuel charger; Adopt the ARM microprocessor as the nuclear core; Use linux system or WinCE system development design, oily machine control and payment function are disperseed, cooperate the on-line payment of accomplishing IC-card, bank card business dealing through payment control desk and backstage payment system; Oil machine control desk combines with the back bench control system, accomplishes real-time refueling operation and to the control of oily machine.
Card machine of the present invention connects fuel charger by oily machine control desk, payment control desk, conversion and control plate, audiofrequency output terminal, chopping machine, code keypad, tax control mainboard, card reader, read-out, conversion and control plate, power-off protection apparatus, oil-filling data memory device, power panel, backstage payment system, back bench control system; The oil-filling data memory device embeds oily machine control desk, and the oil-filling data memory size is 64M, stores 10,000 transactions; The payment control desk is connected with oily machine control desk through the RS232 interface, and the payment control desk is connected with the backstage payment system through ethernet; Card reader links to each other through the RS232 interface with the payment control desk; Code keypad links to each other with oily machine control desk through the RS232 interface; Power panel is connected with PRN device with oily machine control desk, card reader, payment control desk, read-out, tax control mainboard; The tax control mainboard provides I/O interface, is connected with the conversion and control plate through the TTL interface; The conversion and control plate is connected with oily machine control desk through the RS232 interface; Audio frequency apparatus is connected with oily machine control desk through audio input end, and power-off protection apparatus is connected with oily machine control desk through the RS232 interface; Oil machine control desk is connected with the back bench control system through ethernet; Oil machine control desk can freely connect chopping machine, audio frequency apparatus, display equipment, code keypad through parallel interface or VGA.
The card machine connects fuel charger can connect card reader through the payment control desk.Card reader adopts the multi-mode card reader, can support IC-card, bank card, contactless card.
It can be the RS232 interface of standard through the TTL interface conversion that the conversion and control plate provides the tax control mainboard that the card machine connects fuel charger.The oily machine control desk that the card machine connects fuel charger can transmit the network data that the oily machine protocol data that obtains converts standard to.
The card machine connects fuel charger payment control desk can carry out communication through RS232 interface and oily machine control desk.The instruction that the pre-authorization that oil machine control desk can send the payment control desk or other instruction transformation relevant with oily machine can be discerned for the tax control mainboard.In order to guarantee the accuracy of operating process, oily machine control desk also needs oily machine status information is passed to the payment control desk, guarantees normally carrying out of card delivery operation simultaneously.
The communication modes that the card machine connects fuel charger and background system (containing back bench control system and backstage payment system) adopts the ethernet mode to carry out, and wherein oily machine control desk links to each other with the back bench control system; The payment control desk links to each other with the backstage payment system.When the card pre-authorization refuels; The payment control desk is with other restricted information notice backstage payment system of the available balance of card, available volume read-out and some; The backstage payment system returns to payment control desk and oily machine control desk according to the card restricted information with execution result with the back bench control system, authorizes the transaction of fuel charger, behind card during payment transaction; The payment control desk reads the card internal information; With delivering to the backstage payment system on the card restricted information, the backstage payment system according on send the result, with collaborative completion of back bench control system fueling transaction is paid.
The power-off protection apparatus that the card machine connects fuel charger links to each other with oily machine control desk; If detecting civil power interrupts; Power-off protection apparatus then transmits the oil feeder control desk rapidly with this signal, and oily machine control desk sends to the tax control mainboard at once and stops the gas filed instruction, reliably accomplishes to guarantee last transaction.
Code keypad links to each other with oily machine control desk through RS232; The shell of code keypad and button link to each other with the grounding jumper of oily machine through grounding jumper simultaneously, so just can guarantee that the user just can discharge by easily that self is entrained electric charge in the process of carrying out the keyboard input.
Display equipment can link to each other with oily machine control desk through parallel port or VGA mouth, and display equipment can adopt dot matrix screen, true color screen or touch-screen.
The card machine connects fuel charger and adopts the modular design mode, and each module can arbitrarily reduce or increase.As only keep power panel and tax control mainboard (containing peripheral hardware) and then be common tax control fuel oil adding machine; After removing payment control desk and IC-card card reader, then be the network fuel charger.
The card machine connects fuel charger and except that the basic function with prior art fuel charger, also has following functional character:
1. the support of all kinds of cards: the card machine connects fuel charger and connects the payment that various dissimilar card reader are come all types of cards of convenient realization through the payment control desk.Difference according to type of card can be divided into 2 kinds of flow processs of pre-authorization and back payment.
2. printing function: the chopping machine that disposes on the general fuel charger all is to adopt fixed mode to print, and the card machine to connect fuel charger and to print resource in order rationally utilizing, and from following 2 aspects printing function is promoted:
1) selective printing: after payment finished, user's selective printing as required perhaps directly moved back card.
2) it is configurable print to join number: can configuring print 1 or 2 (one is user's counterfoil; One is the petrol service station counterfoil).
3. offline transaction and log store: the card machine connects fuel charger and utilizes the memory device in the oily machine control desk, can store the communication daily record of 10000 offline transactions and 7 days at least.
Beneficial effect
1. it is convenient that card machine connection oiling has High Performance, multi-functional characteristics, peripheral configuration is flexible, expansion is integrated, for petrol service station expansion new business provides strong platform.
2. the card machine connects the communications protocol (through the conversion of Machine for adding oil on material control main board) of the transmission employing standard of fuel charger and back bench control system, has strengthened the commonality of fuel charger greatly, has promoted the value of fuel charger itself.
3. card machine connection fuel charger can support the polytype card to refuel, and can attract more consumers, promotes the core competitiveness of petrol service station.
Specific embodiments
The specific embodiments that the card machine connects fuel charger will combine accompanying drawing to further describe.
As shown in Figure 1, card machine of the present invention connects fuel charger by oily machine control desk, payment control desk, conversion and control plate, audiofrequency output terminal, chopping machine, code keypad, tax control mainboard, card reader, read-out, conversion and control plate, power-off protection apparatus, oil-filling data memory device, power panel, backstage payment system, back bench control system; The oil-filling data memory device embeds oily machine control desk, and the oil-filling data memory size is 64M, stores 10,000 transactions; The payment control desk is connected with oily machine control desk through the RS232 interface, and the payment control desk is connected with the backstage payment system through ethernet; Card reader links to each other through the RS232 interface with the payment control desk; Code keypad links to each other with oily machine control desk through the RS232 interface; Power panel is connected with PRN device with oily machine control desk, card reader, payment control desk, read-out, tax control mainboard; The tax control mainboard provides I/O interface, is connected with the conversion and control plate through the TTL interface; The conversion and control plate is connected with oily machine control desk through the RS232 interface; Audio frequency apparatus is connected with oily machine control desk through audio input end, and power-off protection apparatus connects through RS232 interface oil machine control desk; Oil machine control desk is connected with the back bench control system through ethernet; Oil machine control desk can freely connect chopping machine, audio frequency apparatus, display equipment, code keypad through parallel interface or VGA.
Oily machine control desk is the core component that the card machine connects fuel charger with the payment control desk in card machine connection fuel charger.Oil machine control desk mainly can be accomplished functions such as protocol conversion, oily machine Communication Control, condition monitoring and printing; Functions such as the payment processes that the payment control desk mainly can be accomplished all kinds of cards and payment Communication Control.Oil machine control desk provides 100M Ethernet interface, USB interface, RS232 interface, keyboard interface, display device interfaces, audio input interface etc.; The payment control desk provides 100M Ethernet interface, RS232 interface.
The oily machine control main board that the card machine connects fuel charger is provided oily machine refueling control by embedded main board; Treater (CPU) adopts the EP9315-IBZ chipset; It is based on the ARM920T kernel, the command cache of interior band MMU, 16KB and the data cache of 16KB and Maverick Crunch math co-processor; Dominant frequency 200MHz, system bus 100MHz; NAND Flash memory device adopts Samsung K9F1208R0C, capacity 64M.The payment control desk adopts the hardware circuit of independent development and software unit to realize card payment control and management.
Chopping machine adopts UP-AJ58AH-D or UP-AJ58AH-A, supports multiple interfaces, serial interface (RS-232C is compatible) baud rate: 9600/19200bps (can switch through control command);
Code keypad can adopt KMY3501B; Product is through the international authentication high-quality of PCI corrosion-resistant steel punch forming code keypad; Waterproof and dustproof, anti-riot, anti-drilling (invasion), tamper, leakage-preventing, anti-monitoring, anti-displacement; Key, program and sensitive data are sealed off self-destruction, support DES and Triple DES algorithm standard RS-232 and standard USB 2.0 interfaces;
Card reader adopts Japanese ICM350-3R1170 or wound from CRT-350 multimode card reader.Can be to IC-card/RF card/magnetic card read-write, its application scope is wide, comprises self-aided terminal, stored value card, ATM etc., and head life 2,000,000 times can be supported 500,000 plug-in card operations, supports serial interface;
Audio frequency apparatus adopts the happy W3S-02-40B of Cole, and its power 4W is convenient to install;
Power-off protection apparatus adopts the UPS of APC BK500Y-CH or the special C1K/C1KS in mountain, and uninterrupted power supply (UPS) is provided, and under civil power interruption situation, stops to refuel, and accomplishes transaction and generates and payment.
The card machine connects the fuel charger oiling and payment flow is described below:
Consider the actual operation situation of China Service Station, the mode of operation that the card machine connects fuel charger comprises three kinds: self-help model, non-self-help model, offline mode.Can the finish the work switching of pattern of fuel charger self.
Under the self-help model, there is card to refuel, do not have card and can not refuel, and the mode of payment of card adopts the pre-authorization mode.Flow process is as shown in Figure 2, and concrete operations are following:
1. IC-card is inserted in the card reader of card machine connection fuel charger, card reader reads IC-card information;
2. select IC-card wallet type, the nozzle that selection will be used, the mode that selection is authorized (deposit volume, quantitative, unrestricted), the card machine connects fuel charger and tests the card request to the transmission of backstage payment system;
The backstage payment system backward the bench control system request specify the oil product information of nozzle;
4. back bench control system platform payment system backward returns oil product information;
5. the backstage payment system is returned to card machine connection fuel charger and is tested the card result;
6. the card machine connects fuel charger IC-card is carried out grey latching operation, and ash is locked the result sends to the backstage payment system;
7. nozzle is specified in the bench control system mandate after the request of backstage payment system;
8. the back bench control system sends to the backstage payment system with Authorization result;
9. after nozzle mandate success, the return authorization message of successful connects fuel charger to the card machine, and just can carry rifle and refuel this moment.
Under the non-self-help model, card arranged, do not have to block and all can refuel, and the mode of payment of card both can adopt the mode of pre-authorization, the mode that also can adopt the back to pay.The oiling flow process of pre-authorization is as shown in Figure 2, and the oiling flow process of back payment is as shown in Figure 3, and the concrete operations flow process is following:
1. after accomplishing 1 oiling, IC-card is inserted in the card reader of card machine connection fuel charger;
2. input nozzle number, the card machine connects fuel charger and does not all make friends with easy to backstage this rifle of payment system request;
3. backstage payment system inquiry back bench control system is not all made friends with easy;
4. the back bench control system will not made friends with and will be prone to deliver to the backstage payment system;
5. the backstage payment system will not made friends with and will be prone to return to card machine connection fuel charger;
6. select the transaction that will pay, the card machine connects fuel charger to be paid after the payment system request of backstage;
7. the backstage payment system receives Payment Request, and bench control system sends Payment Request backward;
8. the back bench control system returns transaction to the backstage payment system;
9. the backstage payment system is returned the notice that card machine connection fuel charger can be paid;
10. card machine connection fuel charger is withholdd to IC-card, and the result that will withhold sends to the backstage payment system;
11. the backstage payment system sends to the back bench control system with transaction results;
12. the backstage payment system transaction of back bench control system notice is accomplished;
Accomplish 13. backstage payment system announcement card machine connects the fuel charger transaction, the card machine connects fuel charger and prints the transaction receipt, and the bullet card.
Offline mode is a kind of abnormal condition, and this moment, fuel charger did not receive the control of background management system, can refuel voluntarily, and under this pattern, can't use to stick into to go and pay.