Summary of the invention
The object of the invention is to design a kind of self-aid type IC card fee-charging control method, can overcome the shortcoming of manually supplementing with money, and the user can supplement with money IC-card by certain modes of payments as required voluntarily.
Another object of the present invention is to provide a kind of self-aid type IC card fee-charging device, and the user can supplement with money IC-card by certain modes of payments as required voluntarily by this device.
Purpose of the present invention is achieved by the following technical solution: design a kind of self-aid type IC card fee-charging control method, concrete steps are as follows:
1, judges the validity of the rechargeable card that the user inserts, if dead card then moves back card and handles.
2, the remaining sum on the demonstration rechargeable card, and prompting is inserted bank card or is sent into bank note.
3, judge user's mode of operation:, then carry out bank note and supplement operation with money if insertion is bank note; If what insert is bank card, then carries out bank card and supplement operation with money; If the user selects to move back card, then move back card and handle:
1) bank note is supplemented operation with money, comprises the following steps:
The prompting user imports recharge amount, and provides " determining " and " withdrawing from " two kinds operation selection to the user, and user's bank note is advanced the coin processing,
A, wait user supplement with money in cash, and pick up counting: if the user does not advance coin and selection operation mode, the dead time is for the first time overtime, then points out the user to advance coin, and after the user advanced coin, equipment advances coin to be handled; Secondary is overtime if the user pauses accumulative total, then moves back bill handling.
If b user selects " withdrawing from ", then move back bill handling: whether the execution that judgment device is moved back the coin instruction is normal, if normal, then record moves back coin information; If undesired then record trouble information, and get the fault document, send Call for assistance.
If c user selects " determining ", equipment guiding user finishes and supplements with money, after each recharging payment success, adds corresponding record in recharging payment counterfoil table; If transaction is unsuccessful, record trouble information then, and get the fault document, send Call for assistance.
2) bank card is supplemented operation with money, comprises the following steps:
A, advance card and handle: the validity of judging bank card: the user inserts bank card, and equipment judges at first whether bank card is effective, if what insert is dead card, then cue card is invalid, moves back card processing; If what insert is effective card, equipment reads bank card information, and shows remaining sum, then bank card is returned the user, if move back card crash, and record trouble information then, and get the fault document, send Call for assistance.
B, prompting input recharge amount provide " determining " and " withdrawing from " two kinds of operations to select to the user, and pick up counting:
If the user does not import recharge amount and selection operation mode, the time is for the first time overtime, then points out the user to import recharge amount; Secondary is overtime if the user pauses accumulative total, then moves back card and handles.
If the user selects " withdrawing from ", then move back card and handle.
If the user selects " determining ", then carry out following steps:
At first check the password of bank card: password is imported in prompting, and provides " determining " and " withdrawing from " two kinds of operations to select to the user, and picks up counting:
If the user does not input password and selects, the dead time is for the first time overtime, then the user is pointed out; Secondary is overtime if the user pauses accumulative total, then moves back card and handles;
If the user selects " withdrawing from ", then move back card and handle;
If the user inputs password and selects " determining ", then carry out following steps: carry out bank transaction and handle, if withhold failure, the reason of failing to user prompt then is if withhold success then to supplementing processing with money; Supplement processing then with money: the guiding user finishes and supplements with money, after each recharging payment success, adds corresponding record in recharging payment counterfoil table; If transaction is unsuccessful, record trouble information then, and get the fault document, send Call for assistance.
3, move back card and handle, may further comprise the steps:
1) when card was moved back in user's operation overtime or selection, device prompts withdrawed from rechargeable card.
If fail to move back smoothly card, record trouble information then, and get the fault document, send Call for assistance;
2) if move back card smoothly, then point out user's card taking repeatedly, until taking away.
4, log information is handled: finish above supplement the control operation step with money after, relevant information is recorded in the daily record.
The present invention also provides a kind of self-aid type IC card fee-charging device, comprising: the industrial computer that device is carried out master control; Detect IC-card validity and remaining sum, send this information to industrial computer, and can receive the industrial computer instruction writes new data to IC-card IC-card read write line; Receiving the industrial computer instruction shows IC-card read write line testing result and points out the user to supplement the display device of operation with money; Accept and detect user's payment, the payment of confirming is sent to the payment devices of industrial computer; Accept the industrial computer instruction, print the printing device of this recharging result.
Described payment devices can be paper money identification equipment, bank card card-reading apparatus or both combinations.
Described printing device comprises receipt printer, document printer;
Described industrial computer is also controlled general controller, electromagnetic door lock and controller, built-in lighting lamp, note amplifier;
Described general controller is accepted industrial computer instruction control utility appliance, monitoring sensor, distribution system.
Described utility appliance comprises code keypad, rechargeable card connecting gear, action button, secondary monitor and keyboard;
Also ad hoc calling together helped button in the described action button;
Described controller switching equipment comprises ups power, AC distribution equipment, DC distribution equipment;
Described self-aid type IC card fee-charging device also is provided with the network interface that is used for industrial computer and up host communication.
The advantage of implementing the present invention program is, control the whole operating process of supplementing with money owing to not only adopted industrial computer, make to supplement with money and become a self-service process fully, and provide bank note to supplement with money to the user to supplement dual mode and man-machine dialog interface easily with money with bank card, not only make to administer and maintain more convenient fast, what is more important provides better service to the user.
Embodiment
Self-aid type IC card fee-charging method of the present invention, as shown in Figure 1, concrete steps are as follows:
1, judges the validity of the rechargeable card that the user inserts, if dead card then moves back card and handles;
2 if effectively block, and shows the remaining sum on the rechargeable card, and prompting is inserted bank card or sent into bank note;
3, judge user's mode of operation:, then carry out bank note and supplement operation with money if insertion is bank note; If what insert is bank card, then carries out bank card and supplement operation with money; If the user selects to move back card, then move back card and handle:
4, bank note is supplemented operation with money, comprises the following steps:
The prompting user imports recharge amount, and provides " determining " and " withdrawing from " two kinds operation selection to the user, and user's bank note is advanced the coin processing,
A, wait user supplement with money in cash, and pick up counting: if the user does not advance coin and selection operation mode, the dead time is for the first time overtime, then points out the user to advance coin, and after the user advanced coin, equipment advances coin to be handled; Secondary is overtime if the user pauses accumulative total, then moves back coin and handles.
If b user selects " withdrawing from ", then move back coin and handle.
If c user selects " determining ", equipment guiding user finishes and supplements with money, after each recharging payment success, adds corresponding record in recharging payment counterfoil table; If transaction is unsuccessful, record trouble information then, and get the fault document, send Call for assistance;
D, move back coin and handle: whether the execution that judgment device is moved back the coin instruction is normal, if normal, then record moves back coin information; If undesired then record trouble information, and get the fault document, send Call for assistance.
6, bank card is supplemented operation with money, comprises the following steps:
A, advance card and handle: the validity of judging bank card: the user inserts bank card, and equipment judges at first whether bank card is effective, if what insert is dead card, then cue card is invalid, moves back bank card and handles; If what insert is effective card, equipment reads bank card information, and shows remaining sum, then bank card is returned the user, if move back card crash, and record trouble information then, and get the fault document, send Call for assistance.
B, prompting input recharge amount provide " determining " and " withdrawing from " two kinds of operations to select to the user, and pick up counting:
If the user does not import recharge amount and selection operation mode, the time is for the first time overtime, then points out the user to import recharge amount; Secondary is overtime if the user pauses accumulative total, then moves back card and handles.
If the user selects " withdrawing from ", then move back card and handle.
If the user selects " determining ", then carry out following steps:
At first check the password of bank card: password is imported in prompting, and provides " determining " and " withdrawing from " two kinds of operations to select to the user, and picks up counting:
If the user does not input password and selects, the dead time is for the first time overtime, then the user is pointed out; Secondary is overtime if the user pauses accumulative total, then moves back card and handles;
If the user selects " withdrawing from ", then move back card and handle;
If the user inputs password and selects " determining ", then carry out following steps: carry out bank transaction and handle, if withhold failure, the reason of failing to user prompt then is if withhold success then to supplementing processing with money; Supplement processing then with money: what the guiding user finished supplements with money, after each recharging payment success, adds corresponding record in recharging payment counterfoil table; If transaction is unsuccessful, record trouble information then, and get the fault document, send Call for assistance;
C, move back card and handle, may further comprise the steps:
When card was moved back in user's operation overtime or selection, device prompts withdrawed from rechargeable card.
If fail to move back smoothly card, record trouble information then, and get the fault document, send Call for assistance;
If move back card smoothly, then point out user's card taking repeatedly, until taking away;
D, log information handle: finish above supplement the control operation step with money after, relevant information is recorded in the daily record.
Self-aid type IC card fee-charging device of the present invention as shown in Figure 2, mainly comprises:
1, device is carried out the industrial computer of master control; Industrial computer is used for the signal according to general controller and hardware transmission, controls the running of whole self-aid type IC card fee-charging device.
2, detect IC-card validity and remaining sum, send this information to industrial computer, and can receive the industrial computer instruction writes new data to IC-card IC-card read write line.The rechargeable card read write line, employing designs voluntarily, band SAM card, when the read write line initialization, reply SAM wherein sticks into the row detection, and testing result is reported main frame, is used to finish supplementing with money of rechargeable card.
3, receiving the industrial computer instruction shows IC-card read write line testing result and points out the user to supplement the display device of operation with money; Described display device can adopt LCD display, and the VGA interface is used to guide the user to supplement operation with money, and display message.
4, accept and detect user's payment, the payment of confirming is sent to the payment devices of industrial computer.Payment devices comprises paper money identification equipment, bank card card-reading apparatus, also can the two select one.
5, accept the industrial computer instruction, print the printing device of this recharging result, comprise receipt printer (giving the user), document printer (counterfoil).
6, described industrial computer is also controlled general controller, electromagnetic door lock and controller, built-in lighting lamp, note amplifier.
Described electromagnetic door and controller: adopt used electromagnetic door lock product.Be used for the control of maintenance door behind the cabinet.
Described note amplifier: the voice suggestion that is mainly used in output system.
This installs incidental built-in lighting lamp: the illumination when providing maintenance, maintainer to open cabinet to carry out work.After the back door was normally opened, system opened this illuminating lamp automatically, closed then automatic behind the door powered-down.This control is directly controlled by the switch pick-up unit of door.
Described general controller: be the distribution system of this device of control, the control module that processing respectively disperses sensor, form by singlechip CPU plate and interface conversion plate.CPU board is provided with a serial communication mouth (RS232C), is used for and host communication.The interface conversion plate is then isolated the I/O port process of CPU board, conversion, makes it to satisfy the interface requirement of integrated management controller.The integrated management controller mainly manages and controls following content: the control of rechargeable card connecting gear, top-up machines sensor signal monitor, control, the distribution control of code keypad control (simulation with), operation keyboard, carry out mensal UPS power supply detections, device control parameter management, daily servicing management, specialty and safeguard to detect and manage.
7, described general controller is accepted industrial computer instruction control utility appliance, monitoring sensor, distribution system.
Described utility appliance comprises code keypad, rechargeable card connecting gear, action button, secondary monitor and keyboard;
Code keypad: adopt passive keyboard, be connected with the integrated management controller by the I/O mouth, and the control that is subjected to, be used for supplementing gold and bank card password with money for input.
Rechargeable card conveyer: be used for the input of rechargeable card and withdraw from.Its structure adopts plastic components as far as possible, to reduce the influence to the rechargeable card read-write.Specifically implement two kinds of ways: the first, adopt existing electric bullet formula card reader to transform, install the support and the necessary detecting sensor of rechargeable card read write line additional, interface is the I/O interface; The second, design electrodynamic type mechanism voluntarily, adopt direct current 24V motor (rotating speed is between 15-30RPM) to drive, MXL type synchronous toothed belt and toothed belt wheel transmission are equipped with three positions from effect type photoelectric testing sensor.Control interface is I/O control.
Action button: be designed to passive key, with integrated management control unit interface (I/O mouth).Also ad hoc calling together helped button, when the user has the staff of needs to help, and can be by this button.For guaranteeing to call together the reliable transmission of helping button information, this button adopts electric direct connection, the manual design proposal that combines automatically with computer of user.Also ad hoc calling together helped button in the action button, sends Call for assistance when the user wants help.
Described monitoring sensor: mainly contain three kinds:
(1) line voltage monitoring sensor;
(2) machine box door adopts the door magnetic detector;
(3) the card position detecting device of rechargeable card connecting gear, each state detector of cabinet adopt custom-designed, as to have self-checking function photoelectric detection switch.
Described controller switching equipment comprises ups power, AC distribution equipment, DC distribution equipment.
Special DC controller switching equipment: input voltage: 220VAC ± 10%; Output voltage: 24VDC/6A.
Special-purpose AC distribution equipment: advance piezoelectric voltage: 220VAC ± 10%.
8, described self-aid type IC card fee-charging device also is provided with the network interface that is used for industrial computer and up host communication.
The course of work of self-aid type IC card fee-charging device of the present invention is as follows as shown in Figure 3:
Fig. 3 is a kind of method of work of self-aid type IC card fee-charging device, realizes IC-card is supplemented with money the initialization of device, safeguarded, checks out automatically, supplements with money functions such as control, daily servicing, specialty maintenance, wait supervision and log information processing automatically, and concrete steps are as follows:
1, start after, according to the initialization steering order of backstage control subway automatic value-charging device is carried out the initialization setting, the initial value of indexed variable and all related datas in the internal memory is set;
2, judge whether to carry out the day arrangement: (1) at first carries out arrangement every day if desired, as the cleaning local data, delete expired record, the checkout facility situation is downloaded backstage control data etc., judge whether then UPS is carried out monthly test, if desired, then carry out UPS is carried out automatic monthly test; (2), then carry out next step if do not need.
3, judge whether and need check out automatically: (1) if desired, proving cass accounts are then printed inventory, recommendation for admission to school checkout information etc.; (2) if condition does not satisfy, then carry out next step.
4, judge whether and should quit work: (1) is then closed cash and card-reading apparatus and prompting and is supplemented work with money if stop; (2), then carry out next step if do not stop.
5, judged whether input operation:
(1), then carry out following dissimilar operation if input operation signal is arranged:
If a input signal is daily servicing instruction, then equipment is carried out routine examination and adjust, return then, from the beginning carry out the step except that initialization;
If the b input signal is professional maintenance instruction, then equipment is carried out specialty detection and maintenance, return then, from the beginning carry out the step except that initialization, perhaps as required, to carry out log information and handle, preservation information also withdraws from.
If the c input signal is to supplement instruction with money, then equipment is supplemented with money control, what the guiding user carried out supplements operation with money, returns then, from the beginning carries out the step except that initialization.
(2) if there is not input operation signal, then wait for also hardware, the sensor states of surveillance equipment, if unusual, then carry out log information and handle, return then, from the beginning carry out the step except that initialization.