Multifunctional antifraud reader-writer
Technical field
The present invention relates to data read-write equipment, particularly relate to a kind of IC-card, bar code, and multifunctional antifraud reader-writer of reading of the data recording on tape of financial credit card, bankbook of being used for.
Background technology
At present, development along with computer technology and integrated circuit, large scale integrated circuit and very large scale integration technology, IC-card, bar code and tape technologies have been widely used in many fields such as commerce, finance, communication, traffic, and the development of these technology and application make daily life and finance and commercial activity become more convenient.Data in above-mentioned IC-card, bar code and the tape all need to read or write data by read write line.Wherein tape is to write a kind of technology that form is preserved data with machine readable, has been widely used in the finance data record field, as the tape in financial credit card, the bankbook.Data recording on tape has and can read and write repeatedly, and read-write equipment is compatible strong, and cost is low, produces advantages such as simple.But it also has obvious defects, as the data recording on tape easy magnetization, causes the card folding to lose efficacy.Also because read-write equipment is compatible strong, the equipment of arbitrary identical standard can be read, and data can be write repeatedly, thereby be replicated easily, forge, alter.The data of tape almost come into the open and do not have any safeguard measure in addition, therefore become the important goal of all kinds of financial crimes, seriously disturbed normal financial security operation, and traditional false proof measure are powerless to this.For this reason, occurred a kind of magnetic watermark encoder tape technologies abroad, it is to adopt unique technology when producing tape, is arranged by the computer control particulate, form one group of unique and fixing never changeable coding, this coding has not reproducible, change and deletion.Yet the use of magnetic watermark encoder tape must have the high-performance magnetism watermark encoder read write line that is complementary with it to come supporting use.
Summary of the invention
Problems such as the data that the present invention is intended to solve existing common tape are easy to change, duplicate, forgery and functions of the equipments are single and a kind of read-write that integrates IC-card, bar code, tape is provided, and with possess the matching used multifunctional antifraud reader-writer of very strong anti-fraud functional magnetic watermark encoder tape.
For achieving the above object, the invention provides a kind of multifunctional antifraud reader-writer, it comprises tape read-write cell, communications interface unit, main control unit, and is provided with one and is used for false proof magnetic watermark encoder read unit, and above-mentioned each unit all is connected with main control unit.
It also is provided with IC-card read-write cell and bar code reading unit, and this Unit two all is connected with main control unit.
Described magnetic watermark encoder read unit comprises special-purpose magnetic head, amplification demodulation electricity number road and the word signal processing circuit of reading the magnetic watermark encoder, wherein special-purpose magnetic head and common magnetic head are set up in parallel, and with amplify demodulator circuit and be connected, digital signal processing circuit is connected in the output terminal of amplification demodulator circuit.
Demodulator circuit and digital signal processing circuit all adopt dedicated IC chip.
Any unit in IC-card read-write cell, the bar code reading unit or both common and tape read-write cell, magnetic watermark encoder read unit, communications interface unit and main control unit constitute one or more can false proof read write line.
Communications interface unit adopts many communication ports to select circuit.
The control flow of main control unit is:
A, be in when main control singlechip begins and receive the host computer coomand mode;
B, receive effective order after, automatically switch to corresponding units according to order and to communicate by letter, and control this cell operation;
C, valid data are returned to host computer, and get back to and wait for and receive coomand mode.
Contribution of the present invention is that it efficiently solves the anti-pseudo problem that is applied in the tape in the finance data record field, can effectively take precautions against financial crime, guarantees the safe operation of finance device.Since the magnetic watermark encoder not reproducible, can not change and unsuppressible characteristic, thereby the data that read write line of the present invention is read must be correct, unique magnetic watermark encoder data, thereby have very strong anti-fake effect.Also, realized a tractor serves several purposes, thereby can reduce hold facility area and equipment room wiring owing to the read-write capability of read write line of the present invention with IC-card, bar code, tape is integrated in one.It is more comprehensive that read write line of the present invention has function, and it is more reliable to work, use safer, characteristics such as efficient is higher.
Description of drawings
Fig. 1 is a structured flowchart of the present invention.
Fig. 2 is a magnetic watermark encoder read unit structured flowchart of the present invention.
Fig. 3 is an IC-card read-write cell circuit block diagram.
Fig. 4 is a bar code reading element circuit block diagram.
Fig. 5 is a tape read-write cell circuit block diagram.
Fig. 6 is a magnetic watermark encoder read unit circuit diagram.
Fig. 7 is a main flow chart of the present invention.
Embodiment
The following examples are to further specify and explain of the present invention, and the present invention is not constituted any limitation.
Referring to Fig. 1, multifunctional antifraud reader-writer basic comprising of the present invention comprises tape read-write cell 30, communications interface unit 40 and the main control unit 50 that is attached thereto, above-mentioned each unit can constitute a common magnetic tape read write system, tape read-write cell structure as shown in Figure 5, it comprises a reading head 31, write head 32, the amplification and rectification circuit 33 that links to each other with reading head, the driving circuit 34 that links to each other with write head and be used for the central processing unit 35 of data recording on tape read-write, amplification and rectification circuit and driving circuit all link to each other with central processing unit, amplification and rectification circuit, driving circuit and central processing unit all adopt custom circuit and device.Main control unit 50 also adopts custom circuit, mainly is made of a 8-bit microcontroller and peripheral circuit, and its external bus is connected with random access memory, and has expanded the I/O interface line.Main control unit is communicated by letter by the serial asynchronous communication that meets the IEEEE standard of communications interface unit 40 with the tape read-write cell, waits as RS232, PS/2, USB and realizes.Communications interface unit adopts many communication ports to select circuit, and communication port is switched by the Single-chip Controlling electronic switch.
Main points of the present invention are, on above-mentioned common magnetic tape read write system, be provided with one and be used for false proof magnetic watermark encoder read unit 60, its structure as shown in Figure 2, this unit comprises the special-purpose magnetic head 61 of reading the magnetic watermark encoder, amplify demodulator circuit 62 and digital signal processing circuit 63, wherein magnetic head 61 is to be exclusively used in the magnetic head that reads the magnetic watermark encoder, its existing commercially available prod can be for selecting for use, this magnetic head must be used with the magnetic watermark encoder tape on credit card or the bankbook, magnetic watermark encoder tape then is a kind of magnetic recording data tape of special construction, its compatible common tape medium, it is the 1st years old, 2,3 magnetic tracks according to the ISO standard, its the 0th road then is a magnetic watermark encoder magnetic track, and antiforge function is promptly realized by this magnetic track.Magnetic watermark encoder tape has been a kind of mature technology, by atomic arrangement on the computer control tape, can form one group of unique, fixing, never changeable coding, make each card, compromise contain a security identification number like this, in case this number solidifies then is constant forever, not reproducible, change and deletion.Special-purpose magnetic head 61 is set up in parallel with common magnetic head, and is connected with the amplification demodulator circuit, and digital signal processing circuit is connected in the output terminal that amplifies demodulator circuit.Magnetic watermark encoder read unit circuit as shown in Figure 6, demodulator circuit 63 and digital signal processing circuit 64 all adopt dedicated IC chip, demodulator circuit employing model is the integrated circuit (IC) chip of YK4800 in this example, and it is the chip of YK4700 that digital signal processing circuit adopts model.Special-purpose magnetic head 61 is connected on the chip YK4800, and C301 is a coupling capacitance, and C302 be the electric capacity of uncoupling, and the EN pin is the sheet choosing, OFFSET be the high level chip to the magnetic signal demodulation, low level quits work, sheet choosing back CP exports synchronizing pulse, RD output data.The magnetic induction signal sends chip YK4700 to by chip YK4800 rough handling, obtains magnetic watermark encoder data by its decoding, is uploaded to the single-chip microcomputer of main control unit by the serial port of communications interface unit.Light emitting diode D301 flicker expression decoding error, D302 lights the expression decoding correctly.
Main points of the present invention are that also it also is provided with IC-card read-write cell and bar code reading unit, and this Unit two all is connected with main control unit.Obviously, the present invention can have multiple combination, promptly by any unit in IC-card read-write cell, the bar code reading unit or both common and tape read-write cell, magnetic watermark encoder read unit, communications interface unit and main control unit constitute one or more can false proof read write line.
IC-card read-write cell circuit 10 structures as shown in Figure 3, it comprises the central processing unit 11 that is used for IC-card read-write and the clock driver circuit 12 that is attached thereto, plug-in card testing circuit 13.Its central processing unit and circuit all adopt conventional device and circuit.The IC-card that meets the ISO relevant criterion can be read and write in this unit.
Bar code reading unit 20 structures as shown in Figure 4, it comprises photoelectric sensor 21, light source 22, amplification and rectification circuit 23 and is used for the central processing unit 24 of bar code reading that its photoelectric sensor, central processing unit and circuit all adopt conventional device or circuit.The bar code that meets the ISO relevant criterion can be read in this unit
Referring to Fig. 7, the control flow of main control unit 50 of the present invention is:
A, be in when main control singlechip begins and receive the host computer coomand mode;
B, receive effective order after, automatically switch to corresponding units according to order and to communicate by letter, and control this cell operation;
C, valid data are returned to host computer, and get back to and wait for and receive coomand mode.