CN2333032Y - Magnetic card reading keyboard - Google Patents

Magnetic card reading keyboard Download PDF

Info

Publication number
CN2333032Y
CN2333032Y CN 97247830 CN97247830U CN2333032Y CN 2333032 Y CN2333032 Y CN 2333032Y CN 97247830 CN97247830 CN 97247830 CN 97247830 U CN97247830 U CN 97247830U CN 2333032 Y CN2333032 Y CN 2333032Y
Authority
CN
China
Prior art keywords
keyboard
magnetic card
card reader
control circuit
cpu
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.)
Expired - Fee Related
Application number
CN 97247830
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.)
SHIDA TERMINAL EQUIPMENT CO Ltd FUJIAN PROV
Original Assignee
SHIDA TERMINAL EQUIPMENT CO Ltd FUJIAN PROV
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 SHIDA TERMINAL EQUIPMENT CO Ltd FUJIAN PROV filed Critical SHIDA TERMINAL EQUIPMENT CO Ltd FUJIAN PROV
Priority to CN 97247830 priority Critical patent/CN2333032Y/en
Application granted granted Critical
Publication of CN2333032Y publication Critical patent/CN2333032Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model relates to a magnetic card reading keyboard, which is characterized in that a magnetic card reader and a keyboard are a dismountable combined type structure; the magnetic card reader and the keyboard are connected by cables. If external interrupt resources of CPU and I/O port wires are reasonably distributed, the CPU automatically realizes the switching between the input of the keyboard and the data input of the magnetic card. An indicating lamp and a buzzer prompt whether the card drawing is correct or not. The software design of the magnetic card reading keyboard adopts double buffering and double checkout technology; the problem that the prior art has slow processing speed and high mistake rate is solved. Simultaneously, the exchange of components is convenient; the problem that the keyboard and the magnetic card reader have nonuniform service life is solved. The magnetic card reading keyboard can be widely used in various fields of finance, post and telecommunication, customs, traffic, etc.

Description

Magnetic card is read keyboard
The utility model belongs to the user terminal input equipment that computer data is handled.The magnetic card that is a kind of operator's of being used for data typing is specifically read keyboard.
Along with the development of country's " gold card " engineering, the use of magnetic card is increasingly extensive, and many occasions need magnetic card reader and keyboard to be used.Traditional way be keyboard and magnetic card reader as input equipment independently separately, keyboard is connected on the keyboard mouth of main frame, magnetic card reader is connected on the serial communication interface of main frame.This discrete input is provided with shortcoming and is: 1. line is many and complicated, not only takes up room but also brings the performance unreliability; 2. to write two cover drivers, increase the complicacy of software design; 3. the operating equipment branch is located at the main frame both sides, has both taken the host interface resource, makes troubles to operator's work again.
The purpose of this utility model provides a kind of easy for the user, and practical magnetic card is read keyboard.
According to the purpose of this utility model, the magnetic card of inventor's design is read keyboard, comprises keyboard, magnetic card reader.Keyboard can adopt the PC1O1 keyboard; Magnetic card reader by wiring board, shell, card read head for ID, switch be set form.The wiring board of magnetic card reader is made up of governor circuit, keyboard interface control circuit, card read head for ID interface control circuit, ON-OFF control circuit, connecting line, pilot lamp control circuit, buzzer drive circuit.It is characterized in that keyboard and magnetic card reader make up adult by securing member, detachable, realize being electrically connected by connecting line between the two.The card clock signal of card read head for ID interface control circuit is given in the external interrupt resources allocation of CPU in the governor circuit, and 2,3 road cards of card read head for ID interface control circuit insert the I/O mouth line that takies a CPU behind the signals " line with "; Governor circuit is by input of ON-OFF control circuit automatic switchover keyboard and magnetic card reader input; Governor circuit is by driving the pilot lamp flicker, and whether buzzer call points out Card Reader correct, and adopts design of software corresponding to realize that this software solidification is in the EEPROM of the inside of CPU.
Above-mentioned magnetic card reader is fixed on the extension tray of keyboard lower cover.
Compared with prior art, advantage of the present utility model is: 1. the data of the data of magnetic card and keyboard all send to main frame by keyboard cable, have both saved the serial port resource of main frame; Need not write the serial port drive program of magnetic card reader again; Line few, take up room little, easy to use, practicality is good; 3. magnetic card reader CPU adopts 89 series monolithics, adopts double buffering, duplication check technology on the software design, has both improved the data on magnetic card processing speed, again the Card Reader bit error rate is dropped to minimumly, improves system performance price ratio greatly; 4. the user can judge the correctness of stamping the card according to the cry of hummer, and is so both directly perceived, improved work efficiency again; 5. this magnetic card is read keyboard and can be operated in power save mode.
Specifically describe the utility model below in conjunction with accompanying drawing:
Accompanying drawing 1. the utility model structure outside drawings
Accompanying drawing 2. one-piece construction theory diagrams of the present utility model
Accompanying drawing 3. the utility model governor circuit theory diagrams
Accompanying drawing 4. the utility model ON-OFF control circuit and keyboard interface circuit theory diagram
Accompanying drawing 5. the utility model buzzer drive circuit theory diagrams
Accompanying drawing 6. the utility model pilot lamp control circuit theory diagrams
Accompanying drawing 7. the utility model software module process flow diagrams
With reference to Fig. 1, keyboard 1 adopts the PC1O1 keyboard, and magnetic card reader 2 is fixed on the extension tray 11 of keyboard 1 lower cover.Magnetic card reader 2 comprises wiring board 21, shell 22, card read head for ID 23, switch 24 is set, and the user can whether effective by switch 24 is set if setting data on magnetic card and host communication form and magnetic card reader.If in a period of time, be damaged and cisco unity malfunction without magnetic card reader or magnetic card reader, it is disarmed state that the user can set magnetic card reader, at this moment, keyboard 1 operate as normal, magnetic card reader 2 enter dormant state, it is invalid to stamp the card, the power consumption that whole magnetic card is read keyboard is reduced to minimum, energy conservation mode that magnetic card reads keyboard that Here it is.Keyboard 1 and magnetic card reader 2 are realized being electrically connected by connecting line 215.
With reference to Fig. 1,2, card read head for ID 23 is selected GIGA MSR216-10 or KDR-1560 for use, and wiring board 21 is by governor circuit 211, keyboard interface control circuit 212, card read head for ID interface control circuit 213, ON-OFF control circuit 214, connecting line 215, pilot lamp control circuit 216, buzzer drive circuit 217 is formed.Main frame can be terminal or PC.
With reference to Fig. 3, the central processor CPU of governor circuit 211 adopts 89 serial CMOS low-power consumption, low suppling voltage singlechip chip, the power supply voltage range of permission (2V-6V).CPU obtains to be provided with the state value of switch by the content of read buffer.External interrupt resource INT0*, the INT1* of CPU distributes to 2,3 road card clock signals of card read head for ID interface control circuit respectively, and 2,3 road cards of card read head for ID interface control circuit take a CPU I/O mouth line after inserting signals " line with ".Data line card, card that other I/O mouth line of CPU is distributed to the card read head for ID interface control circuit insert signal, buzzer drive circuit, pilot lamp control circuit etc.CPU obtains to be provided with the state value of switch 24 by read buffer.
With reference to Fig. 4, connecting line 215 comprises following signal wire: clock signal clk IN, the data-signal DATAIN of keyboard 1 given in clock signal clk OUT, data DATAOUT, power lead, ground wire, magnetic card reader 2 loopbacks that keyboard 1 is given magnetic card reader.ON-OFF control circuit 214 is made up of I/O mouth line T0, the gauge tap of CPU.When not stamping the card, CPU opens keyboard 1 passage by T0 mouth line, and keyboard is input as default conditions; When stamping the card, the governor circuit sampling CLKOUT of magnetic card reader judges whether keyboard is in input state: if, then CPU waits for, this moment, CLKOUT, DATAOUT were in pass-through state with CLKIN, DATAIN respectively, clock CLKOUT, the data DATAOUT of keyboard gives the ON-OFF control circuit 214 of magnetic card reader respectively by connecting line 215, give keyboard by CLKIN, DATAIN loopback again, give main frame by 5 core keyboard cables again; If keyboard is in idle condition, then governor circuit 211 cuts off keyboard 1 passage by the T0 mouth line of ON-OFF control circuit 214, data-switching is become the data layout of AT or XT keyboard, give keyboard by CLKIN, DATAIN respectively, give main frame by 5 core keyboard cables again, in the meantime, the input of keyboard 1 is invalid, data send and finish, governor circuit 211 is opened keyboard 1 passage by T0 mouth line, and the input of keyboard 1 becomes pass-through state.
Fig. 5 is the theory diagram of buzzer drive circuit 217, this circuit is by resistance R 1, amplifying triode BG1, resistance R 2, capacitor C, hummer J, diode D1 form, amplifying triode BG1 works in the cascode configuration, hummer J adopts the pulsed hummer, its circuit connecting mode is as follows: one of resistance R 1 terminates on the CPU I/O mouth line, the base stage of another termination BG1, the collector of one termination BG1 of resistance R 2, the negative pole of another termination hummer J, the positive pole of hummer J connects+the direct supply E of 5V, and capacitor C is in parallel with resistance R 2, and diode D1 is in parallel with hummer J.Pilot lamp control circuit 216 is made up of 2 road indicator light circuits, 3 road indicator light circuits, and its circuit theory is the same.Be example explanation now with 2 road indicator light circuits, its circuit as shown in Figure 6, this circuit is made up of CPU I/O mouth line, current-limiting resistance R3, amplifying triode BG2, pilot lamp D2.Current-limiting resistance R3 one termination CPU I/O mouth line, the other end is connected on the base stage of BG2, and pilot lamp D2 is connected on the emitter of BG2.When stamping the card, if the magnetic card reader magnetic head is read magnetic card 2 road data on magnetic card, CPU drives pilot lamp control circuit 216,2 road pilot lamp flickers once, if the magnetic card reader magnetic head is read magnetic card 3 road data on magnetic card, CPU drives 216, the 3 road pilot lamp flickers of pilot lamp control circuit once.Governor circuit 211 is gathered data on magnetic card that card read head for ID interface control circuits 213 send here and is kept in the data buffer of ram in slice of CPU.Data in the CPU deal with data buffer zone: if data are correct, then drive buzzer drive circuit 217, hummer is one; If error in data then drives buzzer drive circuit 217, hummer is three.
With reference to Fig. 7, the software of magnetic card reader 2 of the present utility model adopts modular design, it comprise initialization module, power save mode module, data on magnetic card processing module, with host communication module, CARD_ERROR (card error handling processing module).This software support just, reverse stamping the card.In the data on magnetic card processing module, adopt double buffering, the duplication check technology.The double buffering technology refers to: when stamping the card, CPU preserves data on magnetic card in corresponding data buffer, then data in the buffer zone is handled, if data are correct, preserve back again in the buffer zone, with the host communication module directly from buffer zone reading of data, change, give main frame; If data are made mistakes, CPU turns to the card error handling processing.The dual test technology refers to: in the process of handling data on magnetic card, whether CPU checks character to the data on magnetic card check bit sum correctly judges.Software solidification in the EEPROM of the inside of 89 series monolithics, totally 8192 bytes; Data-carrier store directly uses the CPU ram in slice, totally 256 bytes.
Software flow as shown in Figure 7, CPU reads in the value of setting that switch 24 is set when initialization, and to decide working method of the present utility model according to the value of setting be power save mode or normal mode.In power save mode, it is invalid that the keyboard input of magnetic card reading keyboard is normally stamped the card; In normal mode, CPU finishes initialization, and wait is stamped the card.
When stamping the card, CPU carries out the data on magnetic card processing module, process is as follows: CPU preserves data on magnetic card in corresponding data buffer, and then data on magnetic card in the data buffer zone judged and checking treatment, if it is incorrect, CPU carries out CARD_ERROR (card make mistakes module), and program is returned, and waits for and stamping the card next time; If data on magnetic card is correct, then preserve data.CPU judges keyboard state again: if keyboard is in input state, then CPU waits for; Otherwise CPU cuts off keyboard passage, procedure turn and host communication module.With the function of host communication module is to give main frame the data layout that data on magnetic card converts PCAT keyboard or XT keyboard to.Data Transfer Done, CPU are opened the keyboard passage, and keyboard is input as pass-through state, and program is returned, and wait for next time and stamp the card.
Press the magnetic card reading keyboard that the utility model constitutes, magnetic card reader and keyboard are dismountable fabricated structures, and arbitrary subassembly lost efficacy all replaceable, thereby had solved the problem of keyboard and magnetic card reader inequality in serviceable life.The software double buffering, the duplication check technology, the data on magnetic card processing speed is slow in the solution prior art, the problem that fault rate is high.This keyboard merges the function of keyboard and magnetic card reading, can be widely used in every field such as finance, post and telecommunications, customs, traffic, has the optimum ratio of performance to price.

Claims (4)

1. a magnetic card is read keyboard, comprise keyboard (1), magnetic card reader (2), wherein magnetic card reader (2) is by wiring board (21), shell (22), card read head for ID (23), switch (24) is set to be formed, wiring board (21) is by governor circuit (211), keyboard interface control circuit (212), card read head for ID interface control circuit (213), ON-OFF control circuit (214), connecting line (215), pilot lamp control circuit (216), buzzer drive circuit (217) is formed, it is characterized in that keyboard (1) and magnetic card reader (2) are by securing member combination adult, detachably, realize being electrically connected by connecting line (215) between the two: the card clock signal of card read head for ID interface control circuit (213), 2 of card read head for ID interface control circuit (213) are given in the external interrupt resources allocation of the central processor CPU of governor circuit (211), 3 road cards insert the I/O mouth line that takies a CPU behind the signals " line with "; Governor circuit (211) is by input of ON-OFF control circuit (214) automatic switchover keyboard and magnetic card reader input.
2. read keyboard according to the described magnetic card of claim 1; the buzzer drive circuit (217) that it is characterized in that magnetic card reader (2) is made up of resistance R 1, amplifying triode BG1, resistance R 2, capacitor C, hummer J, protection diode D1; its circuit connecting mode is as follows: one of resistance R 1 terminates on the CPU I/O mouth line; the base stage of another termination BG1; the collector of one termination BG1 of resistance R 2; the negative pole of another termination hummer J; the positive pole of hummer J connects+the direct supply E of 5V; capacitor C is in parallel with resistance R 2, and diode D1 is in parallel with hummer J.
3. read keyboard according to the described magnetic card of claim 1, the lower cover that it is characterized in that keyboard (1) stretches out and forms pallet (11), and magnetic card reader (2) is detachable shape and is fixed on the pallet (11).
4. read keyboard according to the described magnetic card of claim 1, it is characterized in that keyboard (1) provides clock signal CLKOUT, data-signal DATAOUT to magnetic card reader (2), magnetic card reader (2) loopback clock signal clk IN, data-signal DATAIN give main frame by 5 core cables of keyboard (1).
CN 97247830 1997-11-19 1997-11-19 Magnetic card reading keyboard Expired - Fee Related CN2333032Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 97247830 CN2333032Y (en) 1997-11-19 1997-11-19 Magnetic card reading keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 97247830 CN2333032Y (en) 1997-11-19 1997-11-19 Magnetic card reading keyboard

Publications (1)

Publication Number Publication Date
CN2333032Y true CN2333032Y (en) 1999-08-11

Family

ID=33955211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 97247830 Expired - Fee Related CN2333032Y (en) 1997-11-19 1997-11-19 Magnetic card reading keyboard

Country Status (1)

Country Link
CN (1) CN2333032Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254138A (en) * 2011-08-11 2011-11-23 福建实达电脑设备有限公司 Multifunctional RFID (radio frequency identification) card reader capable of being matched with pinpad for use
CN107437043A (en) * 2017-07-05 2017-12-05 哈尔滨新中新电子股份有限公司 A kind of data inputting method of sealing electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254138A (en) * 2011-08-11 2011-11-23 福建实达电脑设备有限公司 Multifunctional RFID (radio frequency identification) card reader capable of being matched with pinpad for use
CN102254138B (en) * 2011-08-11 2014-03-19 福建实达电脑设备有限公司 Multifunctional RFID (radio frequency identification) card reader capable of being matched with pinpad for use
CN107437043A (en) * 2017-07-05 2017-12-05 哈尔滨新中新电子股份有限公司 A kind of data inputting method of sealing electronic device

Similar Documents

Publication Publication Date Title
CN209690904U (en) A kind of storage medium realizing BMC and being interacted with BIOS information
CN201438269U (en) Motion control main board, motion control board and motion controller
CN2824127Y (en) Complex impedance dispensing apparatus with integrated controller for microwave load tracting measurement
CN2333032Y (en) Magnetic card reading keyboard
CN100533424C (en) Single line transmission interface and single byte operational keyboard display module
CN2510902Y (en) Computer main board failure diagnosis card
CN2590059Y (en) Separated type circuit board
CN213751062U (en) IO expansion circuit of Feiteng platform
CN208766646U (en) A kind of multifunctional encoder
CN211653642U (en) Multitask input/output interface
CN201118597Y (en) Electrical signal loop circuit and optical receiving/transmission module with this loop
CN2519346Y (en) Interface data collector
CN205910839U (en) Handheld network meter recorder
CN219642237U (en) Combined small-sized modularized serial port card
CN215814162U (en) Embedded system board
CN214586473U (en) Spliced input/output module circuit
CN218332569U (en) Multi-carrier data resource conversion device
CN213423847U (en) Novel server front panel
CN2625968Y (en) Electronic game machine
CN211528970U (en) Configuration data writing device for axle counting system
CN210983393U (en) System for realizing self management of functional module through single-wire protocol
CN221650930U (en) Mainboard and computer based on Loongson 3A6000 processor
CN218630552U (en) Motor drive singlechip and electrical equipment
CN2763043Y (en) Pneumatic marking device
CN218004058U (en) Computer mainboard compatible with various serial port output interfaces

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee