CN108038399A - A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method - Google Patents

A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method Download PDF

Info

Publication number
CN108038399A
CN108038399A CN201810075995.6A CN201810075995A CN108038399A CN 108038399 A CN108038399 A CN 108038399A CN 201810075995 A CN201810075995 A CN 201810075995A CN 108038399 A CN108038399 A CN 108038399A
Authority
CN
China
Prior art keywords
card
analog
interface
data
gas meter
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.)
Granted
Application number
CN201810075995.6A
Other languages
Chinese (zh)
Other versions
CN108038399B (en
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.)
HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
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 HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd filed Critical HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201810075995.6A priority Critical patent/CN108038399B/en
Publication of CN108038399A publication Critical patent/CN108038399A/en
Application granted granted Critical
Publication of CN108038399B publication Critical patent/CN108038399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/0873Details of the card reader

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The present invention relates to a kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method.The device is by IC card data and control interface, IC card selection analog switch module, IC card switching analoging switch module, analog switch module, logic encryption card chip, CPU card chip and analog interface card form IC card in place.The present invention instead of the necessary tool card in kind of traditional detection mode using online fabrication mode, the step of instead of previously prepared tool card in traditional detection mode, saves the consumption of entity IC, reduces the workload of fabrication, thread-changing;It will be drawn by the way of analog interface card in the deck interface of inspection taximeter or gas meter, flow meter complete machine, the mode triggered with reference to online fabrication and electronic control signal, it instead of the manually action of plug-in card repeatedly in traditional detection mode, only need to be inserted into analog interface card when starting in detection process, manual operation intensity is reduced, has prevented the generation of maloperation.

Description

A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method
Technical field
The present invention relates to a kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method.
Background technology
Civilian IC card intelligent gas meter the manufacturing during, the detection-phase of taximeter and complete machine generally require by Specific data is input in taximeter or complete machine by carrier of IC card, while it is carrier from taximeter or complete machine to be also required to using IC card Inspection correctness is compared in middle acquisition data.Under traditional manual detection mode, need be prepared in advance relevant write Card data, operation computer make corresponding instrument IC card by card reader/writer, and operating personnel require according to procedure technology, in phase To taximeter or the corresponding instrument IC card of gas meter, flow meter complete machine deck insertion under the detecting step answered.Due among whole detection process Many detecting steps all need with instrument IC card to taximeter or complete machine input data to meet the needs of detection, therefore just need Operating personnel continually plug the instrument IC card of not same-action in whole detection process, maloperation easily occur, and detect It is inefficient, in order to meet the needs of production capacity again, it is necessary to which multiple stations are carried out at the same time detection, this, which result in, uses instrument IC card The increase of amount, make the making of instrument IC card, management, calling, change work very it is cumbersome.
The content of the invention
For problems of the prior art, it is an object of the invention to provide a kind of Intelligent Card for Gas Meter read-write card The technical solution of automatic detection device and detection method.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that:The device is by IC card number According to control interface, IC card selection analog switch module, IC card switching analoging switch module, IC card in place analog switch module, Logic encryption card chip, CPU card chip and analog interface card composition, IC card data and control interface and IC card selection analog switch Analog switch module is connected in place for module, IC card switching analoging switch module and IC card, logic encryption card chip and CPU card chip It is connected with IC card selection analog switch module, IC card switching analoging switch module and IC card selection analog switch module and simulation Interface card is connected, and analog switch module is connected IC card with analog interface card in place.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the IC card data and control By IC card data-interface, IC card, control interface, IC card switching control interface and IC card selection control interface form interface processed in place, IC card data and control interface be a circuit interface, receive exterior control signal also serve as at the same time IC card data input and Output interface;The IC card data-interface is connected by IC card reading and writing data bus with IC card switching analoging switch module, IC card By IC card, analog switch module is connected control line control interface in place with IC card in place in place, and IC card switching control interface passes through IC card switching control line is connected with IC card switching analoging switch module, IC card select control interface by IC card select control line with IC card selection analog switch module connection, control interface, IC card switching control interface and IC card select control interface to IC card in place For receiving the control signal of peripheral control unit, to IC card analog switch module, IC card switching analoging switch module, IC card in place The analog switching ic of selection analog switch inside modules is controlled.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the IC card selection simulation Switch module is made of analog switching ic and IC card selection control line, and analog switching ic is internally provided with a list Dpdt double-pole double-throw (DPDT) type simulant electronic switch, one in two non-moving ends of single-pole double-throw type simulant electronic switch passes through logic encryption card Data/address bus is connected with logic encryption card chip, another in two non-moving ends of single-pole double-throw type simulant electronic switch passes through CPU card data/address bus is connected with CPU card chip, and the common port of single-pole double-throw type simulant electronic switch is connected to IC card data connection In bus, analog switching ic selects control line to be connected to IC card and selects control interface, single-pole double throw pattern by IC card Intend electronic switch and the control signal on control line is selected by single-pole double-throw type simulant electronic switch common port and two according to IC card A connection in non-moving end, so that logic encryption card chip or CPU card chip are passed through logic encryption card data/address bus or CPU Card data/address bus is connected to IC card data connection bus.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the IC card switching simulation Switch module is made of analog switching ic and IC card switching control line, and analog switching ic is internally provided with a list Dpdt double-pole double-throw (DPDT) type simulant electronic switch, one in two non-moving ends of single-pole double-throw type simulant electronic switch is read and write number by IC card It is connected according to bus with IC card data-interface, another in two non-moving ends of single-pole double-throw type simulant electronic switch passes through simulation Card connection bus is connected with analog interface card, and it is total that the common port of single-pole double-throw type simulant electronic switch is connected to IC card data connection On line, analog switching ic is connected to IC card switching control interface, single-pole double-throw type simulation by IC card switching control line Electronic switch is according to the control signal on IC card switching control line by the common port of single-pole double-throw type simulant electronic switch and two A connection in a non-moving end, so that IC card data connection bus is connected bus with IC card read-write data/address bus or analog card Connection.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the IC card is simulated in place By analog switching ic and IC card, control line forms switch module in place, and analog switching ic is internally provided with a hilted broadsword Singly throw simulant electronic switch, the both ends of single-pole single-throw(SPST simulant electronic switch respectively with the location switch contact I on analog interface card Connected with location switch contact II, by IC card, control line is connected to IC card and controls in place and connects analog switching ic in place Mouthful, according to IC card, the control signal on control line is closed or opened single-pole single-throw(SPST simulant electronic switch in place, so as to control simulation The on or off between location switch contact I and location switch contact II on interface card.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the analog interface card by Standard IC card contact and location switch contact composition, location switch contact is by II group of location switch contact I and location switch contact Into;The analog interface card meets the electronic circuit board of 7810 standards of ISO/IEC for a piece of appearance and size, and in ISO/IEC The location arrangements of 7810 standards requirement have the standard IC card contact, and standard IC card contact is connected bus connection with analog card; The standard IC card contact is used for when analog interface card is inserted into taximeter or gas meter, flow meter complete machine upper blocking seat to be checked and in deck Switch jaw contact connects, and connects so that the IC card in taximeter to be checked or gas meter, flow meter complete machine is read and write bus and is connected bus with analog card Connect, then lead under the control of single-pole double-throw type simulant electronic switch inside analog switching ic, the analog switching ic Cross IC card data connection bus, logic encryption card data/address bus and CPU card data/address bus and logic encryption card chip or CPU card core Piece connects, and taximeter or gas meter, flow meter complete machine is read and write IC card chip in device.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the location switch contact I and location switch contact II be used to distinguish in the IC card deck that analog interface card is inserted into taximeter to be checked or gas meter, flow meter complete machine Connected with the mechanical location switch both ends in deck, so that the switch ends in deck are connected in analog switching ic The both ends of portion's single-pole single-throw(SPST simulant electronic switch, make the IC card control signal that control interface receives in place be controlled in place by IC card Line traffic control analog switching ic processed, with to IC card seat plug-in card location switch break-make in taximeter to be checked or gas meter, flow meter complete machine into Row control.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the logic encryption card core Piece is a material object SLE4442 logic encryption card, after IC card selection analog switch module gating, switches simulation by IC card and opens Module selection is closed to connect with IC card data-interface or with analog interface card, when being connected with IC card data-interface, outside control Device writes data into logic encryption card chip by IC card data-interface, becomes a required tool card of detection, Data can be read from logic encryption card chip, so as to obtain the inner parameter in inspection taximeter or gas meter, flow meter complete machine;When with When analog interface card connects, connected by analog interface card with the IC card seat on inspection taximeter or gas meter, flow meter complete machine, realization makes With read-write of the taximeter or gas meter, flow meter complete machine of logic encryption card to logic encryption card chip.
A kind of Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that the CPU card chip is After one CPU card in kind, with IC card selection analog switch module gating, pass through the selection of IC card switching analoging switch module and IC Card data-interface is connected with analog interface card, and when being connected with IC card data-interface, peripheral control unit passes through IC card data Interface writes data into CPU card chip, becomes a required tool card of detection, can also be read from CPU card chip Go out data, so as to obtain the inner parameter in inspection taximeter or gas meter, flow meter complete machine;When being connected with analog interface card, pass through simulation Interface card is connected with the IC card seat on inspection taximeter or gas meter, flow meter complete machine, is realized whole using the taximeter or gas meter, flow meter of CPU card Read-write of the machine to CPU card chip.
A kind of Intelligent Card for Gas Meter read-write card automatic testing method, it is characterised in that detection method is as follows:
When peripheral control unit needs to transfer data to inspection taximeter or gas meter, flow meter complete machine, Card Reader control signal processed is sent first IC card chip is connected with peripheral control unit, writes data into IC card chip, then sends plug-in card control signal again, IC card core Piece is connected with inspection taximeter or gas meter, flow meter complete machine, is finally sent and is snapped into signal, is triggered in inspection taximeter or gas meter, flow meter complete machine IC card chip is written and read;
Peripheral control unit can all send card selection control signal immediately after Card Reader control signal and plug-in card control signal processed is sent, with Indicate to be currently needed for operating is logic encryption card or CPU card.
Advantages of the present invention:
1st, the necessary tool card in kind of traditional detection mode instead of using online fabrication mode, instead of in traditional detection mode The step of previously prepared tool card, save the consumption of entity IC, reduce the workload of fabrication, thread-changing;
2nd, will be drawn by the way of analog interface card in the deck interface of inspection taximeter or gas meter, flow meter complete machine, with reference to online fabrication With the mode of electronic control signal triggering, the action of plug-in card instead of in traditional detection mode manually repeatedly, in detection process Only need to be inserted into analog interface card when starting, reduce manual operation intensity, prevented the generation of maloperation;
3rd, using online fabrication, electronic control signal triggering, inspection taximeter or gas meter, flow meter complete machine are obtained by the way of online Card Reader Internal data, compared with the mode rapid and convenient that tool card in kind is used in traditional detection mode;
4th, it is convenient using logic encryption card and the detection of the gas meter, flow meter of CPU card class IC card, switching to take into account.
Brief description of the drawings
Fig. 1 is the structure diagram of the present invention.
Embodiment
With reference to Figure of description, the invention will be further described:
For the deficiency of traditional detection means, the present invention provides a kind of Intelligent Card for Gas Meter read-write card automatic detection device, The device can be by peripheral control unit input control signal and fabrication data, by erasable obtaining phase to the real-time of internal IC card chip The required instrument IC card of process should be detected, obtained instrument IC card and the taximeter or gas meter, flow meter complete machine deck in inspection can be connected It is logical, and can external trigger taximeter or the plug-in card of gas meter, flow meter complete machine in place signal make its to the IC card chip inside the present apparatus into Row read-write, the function of data is transmitted so as to fulfill off-balancesheet to taximeter or gas meter, flow meter complete machine.The present apparatus can also be read through charging Data and exported in the IC card chip that device or gas meter, flow meter complete machine were read and write to peripheral control unit, so as to fulfill taximeter or combustion is obtained The function of gas meter complete machine inner parameter.The present apparatus has been internally integrated logic encryption card and the two kinds of IC card chip of CPU card, can The IC card chip to be operated is chosen by peripheral control unit, to support respectively to the taximeter or complete machine using both types IC card Detection need.
The present invention is by IC card data and control interface 1, IC card selection analog switch module 2, IC card switching analoging switch Analog switch module 4, logic encryption card chip 5, CPU card chip 6 and analog interface card 7 form in place for module 3, IC card, IC Card data select analog switch module 2, IC card switching analoging switch module 3 and IC card mould in place with control interface 1 and IC card Intend switch module 4 to be connected, logic encryption card chip 5 and CPU card chip 6 are connected with IC card selection analog switch module 2, IC Card switching analoging switch module 3 is connected with IC card selection analog switch module 2 and analog interface card 7, and IC card is simulated out in place Module 4 is closed with analog interface card 7 to be connected.IC card data are controlled in place with control interface 1 by IC card data-interface 11, IC card Interface 12, IC card switching control interface 3 and IC card selection control interface 14 form, and IC card data are one with control interface 1 Circuit interface, the control signal for receiving outside also serve as input and the output interface of IC card data at the same time;IC card data-interface 11 It is connected by IC card reading and writing data bus 111 with IC card switching analoging switch module 3, control interface 12 passes through IC to IC card in place Snapping into control line 42, analog switch module 4 is connected in place with IC card, and IC card switching control interface 13 passes through IC card switching control Line 32 is connected with IC card switching analoging switch module 3, and IC card selects control interface 14 to select control line 22 and IC by IC card Card selection analog switch module 2 connects, IC card control interface 12, IC card switching control interface 3 and IC card selection control in place Interface 14 is used to receive the control signal of peripheral control unit, to IC card analog switch module 4, IC card switching analoging switch in place Analog switching ic inside module 3, IC card selection analog switch module 2 is controlled.
The IC card selection analog switch module 2 of the present invention selects control line 22 by analog switching ic 21 and IC card Composition, analog switching ic 21 are internally provided with a single-pole double-throw type simulant electronic switch, single-pole double-throw type simulation electronic One in two non-moving ends of switch is connected by logic encryption card data/address bus 51 with logic encryption card chip 5, and hilted broadsword is double Another thrown in two non-moving ends of type simulant electronic switch is connected by CPU card data/address bus 61 with CPU card chip 6, single The common port of dpdt double-pole double-throw (DPDT) type simulant electronic switch is connected in IC card data connection bus 112, and analog switching ic 21 is logical Cross IC card selection control line 22 and be connected to IC card selection control interface 14, single-pole double-throw type simulant electronic switch is selected according to IC card Control signal on control line 22 is selected by a company in single-pole double-throw type simulant electronic switch common port and two non-moving ends It is logical, so that logic encryption card chip 5 or CPU card chip 6 are passed through logic encryption card data/address bus 51 or CPU card data/address bus 61 It is connected to IC card data connection bus 112.
The IC card switching analoging switch module 3 of the present invention is by analog switching ic 31 and IC card switching control line 32 compositions, analog switching ic 31 are internally provided with a single-pole double-throw type simulant electronic switch, single-pole double-throw type simulation electricity One in two non-moving ends of sub switch is read and write data/address bus 111 by IC card and is connected with IC card data-interface 11, hilted broadsword Another in two non-moving ends of double-throw type simulant electronic switch is connected by analog card connection bus 711 with analog interface card 7 Connect, the common port of single-pole double-throw type simulant electronic switch is connected in IC card data connection bus 112, and analog switch integrates electricity Road 31 is connected to IC card switching control interface 13, single-pole double-throw type simulant electronic switch root by IC card switching control line 32 According to the control signal on IC card switching control line 32 by the common port of single-pole double-throw type simulant electronic switch and two non-moving ends In one connection so that by IC card data connection bus 112 and IC card read-write data/address bus 111 or analog card be connected bus 711 connections.
The IC card of the present invention in place analog switch module 4 by analog switching ic 41 and IC card control line in place 42 compositions, analog switching ic 41 are internally provided with a single-pole single-throw(SPST simulant electronic switch, single-pole single-throw(SPST simulant electronic switch Both ends be connected respectively with the location switch contact I 721 on analog interface card 7 and location switch contact II 722, analog switch By IC card, control line 42 is connected to IC card control interface 12 in place, single-pole single-throw(SPST simulant electronic switch to integrated circuit 41 in place According to IC card, the control signal on control line 42 is closed or opened in place, so as to control the location switch on analog interface card 7 to touch On or off between point I 721 and location switch contact II 722.
The analog interface card 7 of the present invention is made of standard IC card contact 71 and location switch contact 72, location switch contact 72 are made of location switch contact I 721 and location switch contact II 722;The analog interface card 7 is a piece of appearance and size Meet the electronic circuit board of 7810 standards of ISO/IEC, and have the mark in the location arrangements of 7810 standards of ISO/IEC requirement Quasi- IC card contact 71, standard IC card contact 71 are connected bus 711 with analog card and connect;The standard IC card contact 71 is used for Analog interface card 7 connects when being inserted into taximeter or gas meter, flow meter complete machine upper blocking seat to be checked with the switch jaw contact in deck, so as to will treat IC card read-write bus in inspection taximeter or gas meter, flow meter complete machine is connected bus 711 with analog card and connects, then is integrated in analog switch Circuit 21,31 inside single-pole double-throw type simulant electronic switch of analog switching ic control under pass through IC card data connection Bus 112, logic encryption card data/address bus 51 and CPU card data/address bus 61 connect with logic encryption card chip 5 or CPU card chip 6 It is logical, taximeter or gas meter, flow meter complete machine is read and write IC card chip in device.
The location switch contact I 721 and location switch contact II 722 of the present invention is used to be inserted into analog interface card 7 Connected respectively with the mechanical location switch both ends in deck during IC card deck in taximeter or gas meter, flow meter complete machine to be checked, so that will Switch ends in deck are connected to the both ends of 41 inside single-pole single-throw(SPST simulant electronic switch of analog switching ic, make IC Snapping into the control signal that control interface 12 receives, control line 42 controls analog switching ic 41 in place by IC card, To be controlled to IC card seat plug-in card location switch break-make in taximeter to be checked or gas meter, flow meter complete machine.Original plug-in card machinery is dynamic Make triggering conversion in order to which electronic control signal triggers.
The logic encryption card chip 5 of the present invention is a material object SLE4442 logic encryption card, and analog switch is selected with IC card After module 2 gates, pass through the selection of IC card switching analoging switch module 3 and IC card data-interface 11 or and analog interface card 7 connections, when being connected with IC card data-interface 11, peripheral control unit writes data into logic add by IC card data-interface 11 Close the core of the card piece 5, becomes a required tool card of detection, also can read data from logic encryption card chip 5, from And obtain the inner parameter in inspection taximeter or gas meter, flow meter complete machine;When being connected with analog interface card 7, pass through analog interface card 7 Connected with the IC card seat on inspection taximeter or gas meter, flow meter complete machine, realize taximeter or gas meter, flow meter complete machine using logic encryption card Read-write to logic encryption card chip 5.
The CPU card chip 6 of the present invention is a CPU card in kind, after being gated with IC card selection analog switch module 2, is passed through The selection of IC card switching analoging switch module 3 is connected with IC card data-interface 11 or with analog interface card 7, when with IC card number When being connected according to interface 11, peripheral control unit writes data into CPU card chip 6 by IC card data-interface 11, becomes one The required tool card of detection is opened, also can read data from CPU card chip 6, so as to obtain in inspection taximeter or gas meter, flow meter The inner parameter of complete machine;When being connected with analog interface card 7, by analog interface card 7 with examining taximeter or gas meter, flow meter complete machine On the connection of IC card seat, realize the read-write to CPU card chip 6 of taximeter or gas meter, flow meter complete machine using CPU card.
A kind of Intelligent Card for Gas Meter read-write card automatic testing method, method are as follows:
When peripheral control unit needs to transfer data to inspection taximeter or gas meter, flow meter complete machine, Card Reader control signal processed is sent first IC card chip is connected with peripheral control unit, writes data into IC card chip, then sends plug-in card control signal again, IC card core Piece is connected with inspection taximeter or gas meter, flow meter complete machine, is finally sent and is snapped into signal, is triggered in inspection taximeter or gas meter, flow meter complete machine IC card chip is written and read;Peripheral control unit can all be sent immediately after Card Reader control signal and plug-in card control signal processed is sent Card selection control signal, is logic encryption card or CPU card with indicate to be currently needed for operating.
The present apparatus receives fabrication or Card Reader control signal by IC card switching control interface 13 first, is cut by IC card The analog switching ic 31 that control line 32 is transferred in IC card switching analoging switch module 3 is changed, analog switch integrates electricity Road 31 connects IC card data connection bus 112 with IC card reading and writing data bus 111 after receiving Card Reader control signal processed, it The present apparatus selects control interface 13 to receive the card selection control signal that peripheral control unit is sent by IC card afterwards, is selected by IC card The analog switching ic 21 that control line 22 is transferred in IC card selection analog switch module 2 is selected, analog switch integrates electricity Road 21 selects logic encryption card data/address bus 51 or CPU card data/address bus 61 and IC card number according to received card selection control signal Connected according to connection bus 112.Two above step is completed, peripheral control unit can be read and write by IC card data-interface 11, IC card Data/address bus 111, IC card data connection bus 112, logic encryption card data/address bus 51 or CPU card data/address bus 61 and logic Encrypted card chip 5 or CPU card chip 6 connect, and erasable operation is carried out to card.
Erasable into rear, the present apparatus receives plug-in card control signal by IC card switching control interface 13, is cut by IC card The analog switching ic 31 that control line 32 is transferred in IC card switching analoging switch module 3 is changed, analog switch integrates electricity Road 31 connects IC card data connection bus 112 with analog card connection bus 711 after receiving plug-in card control signal;Afterwards originally Device selects control interface 13 to receive the card selection control signal that peripheral control unit is sent by IC card, selects to control by IC card Line 22 processed is transferred to the analog switching ic 21 in IC card selection analog switch module 2, analog switching ic 21 select logic encryption card data/address bus 51 or CPU card data/address bus 61 and IC card data according to received card selection control signal Connection bus 112 connects.Two above step is completed, can pass through standard IC card contact in inspection taximeter or gas meter, flow meter complete machine 71st, analog card connection bus 711, IC card data connection bus 112, logic encryption card data/address bus 51 or CPU card data are total Line 61 is connected with logic encryption card chip 5 or CPU card chip 6.
After the completion of connection, by IC card, control interface receives and snaps into signal the present apparatus in place, is controlled in place by IC card Line 42 processed is transferred to IC card analog switch mould analog switching ic 41 in the block in place, analog switching ic 41 Receive and snap into single-pole single-throw(SPST simulant electronic switch closure internal after signal, touched by the location switch in analog interface card 7 Point I 721, location switch contact II 722 realize the triggering to the location switch in inspection taximeter or gas meter, flow meter complete machine deck, make Standard IC card contact 71, analog card connection bus 711, IC card data connection are begun through in inspection taximeter or gas meter, flow meter complete machine Bus 112, logic encryption card data/address bus 51 or CPU card data/address bus 61 and logic encryption card chip 5 or CPU card chip 6 Carry out exterior read-write card operation.
When peripheral control unit needs to obtain the internal data in inspection taximeter or gas meter, flow meter complete machine, will first press aforesaid operations will One group of data is transferred in inspection taximeter or gas meter, flow meter complete machine by the present apparatus, this is being read in inspection taximeter or gas meter, flow meter complete machine Inherent parameters retrography can be returned to the IC card chip in the present apparatus after group data(Logic encryption card chip 5 or CPU card chip 6) In.Peripheral control unit will send system/Card Reader control signal again afterwards, and the present apparatus is received by IC card switching control interface 13 To Card Reader control signal processed, the simulation being transferred to by IC card switching control line 32 in IC card switching analoging switch module 3 is opened Integrated circuit 31 is closed, analog switching ic 31 is received 112 He of IC card data connection bus after Card Reader control signal processed IC card reading and writing data bus 111 connects.The present apparatus selects control interface 13 to receive peripheral control unit hair by IC card afterwards The card selection control signal gone out, selects control line 22 to be transferred to IC card and selects the simulation in analog switch module 2 to open by IC card Integrated circuit 21 is closed, analog switching ic 21 selects logic encryption card data/address bus according to received card selection control signal 51 or CPU card data/address bus 61 connected with IC card data connection bus 112.Complete two above step, peripheral control unit It is total by IC card data-interface 11, IC card read-write data/address bus 111, IC card data connection bus 112, logic encryption card data Line 51 or CPU card data/address bus 61 are connected with logic encryption card chip 5 or CPU card chip 6, and reading is connected in IC card chip Data so that obtain inspection taximeter or gas meter, flow meter complete machine internal data.

Claims (10)

  1. A kind of 1. Intelligent Card for Gas Meter read-write card automatic detection device, it is characterised in that:The device is by IC card data and control Analog switch module, the logic encryption in place of interface, IC card selection analog switch module, IC card switching analoging switch module, IC card The core of the card piece, CPU card chip and analog interface card composition, IC card data and control interface and IC card selection analog switch module, IC Analog switch module is connected card switching analoging switch module in place with IC card, and logic encryption card chip and CPU card chip are and IC Card selection analog switch module is connected, IC card switching analoging switch module and IC card selection analog switch module and analog interface card It is connected, analog switch module is connected IC card with analog interface card in place.
  2. 2. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 1, it is characterised in that described By IC card data-interface, IC card, control interface, IC card switching control interface and IC card select IC card data in place with control interface Control interface forms, and IC card data and control interface are a circuit interface, and the control signal for receiving outside also serves as IC at the same time The input of card data and output interface;The IC card data-interface passes through IC card reading and writing data bus and IC card switching analoging switch Module connects, and by IC card, analog switch module is connected control line control interface IC card in place with IC card in place in place, and IC card is cut Change control interface to be connected with IC card switching analoging switch module by IC card switching control line, IC card selection control interface passes through IC Card selection control line and IC card select analog switch module to be connected, IC card control interface, IC card switching control interface and IC in place Card selection control interface is used for the control signal for receiving peripheral control unit, and to IC card, analog switch module, IC card switch mould in place Intend switch module, the analog switching ic of IC card selection analog switch inside modules is controlled.
  3. 3. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 2, it is characterised in that described IC card selects analog switch module to be made of analog switching ic and IC card selection control line, in analog switching ic Portion is equipped with a single-pole double-throw type simulant electronic switch, and one in two non-moving ends of single-pole double-throw type simulant electronic switch is logical Cross logic encryption card data/address bus to connect with logic encryption card chip, in two non-moving ends of single-pole double-throw type simulant electronic switch Another connected by CPU card data/address bus with CPU card chip, the common port of single-pole double-throw type simulant electronic switch is connected to In IC card data connection bus, analog switching ic selects control line to be connected to IC card and selects control interface by IC card, Single-pole double-throw type simulant electronic switch selects the control signal on control line by single-pole double-throw type simulant electronic switch according to IC card Common port is connected with one in two non-moving ends, so that logic encryption card chip or CPU card chip are passed through logic encryption card Data/address bus or CPU card data/address bus are connected to IC card data connection bus.
  4. 4. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 3, it is characterised in that described IC card switching analoging switch module is made of analog switching ic and IC card switching control line, in analog switching ic Portion is equipped with a single-pole double-throw type simulant electronic switch, and one in two non-moving ends of single-pole double-throw type simulant electronic switch is logical IC card read-write data/address bus is crossed to be connected with IC card data-interface, it is another in two non-moving ends of single-pole double-throw type simulant electronic switch One connects bus by analog card and is connected with analog interface card, and the common port of single-pole double-throw type simulant electronic switch is connected to IC In card data connection bus, analog switching ic is connected to IC card switching control interface by IC card switching control line, single Dpdt double-pole double-throw (DPDT) type simulant electronic switch is according to the control signal on IC card switching control line by single-pole double-throw type simulant electronic switch Common port connected with one in two non-moving ends so that by IC card data connection bus and IC card read-write data/address bus or mould Intend card connection bus connection.
  5. 5. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 2, it is characterised in that described By analog switching ic and IC card, control line forms analog switch module IC card in place in place, in analog switching ic Portion is equipped with a single-pole single-throw(SPST simulant electronic switch, the both ends of single-pole single-throw(SPST simulant electronic switch respectively with arriving on analog interface card Bit switch contact I and location switch contact II connect, and by IC card, control line is connected to IC card to analog switching ic in place Control interface in place, according to IC card, the control signal on control line is closed or opened single-pole single-throw(SPST simulant electronic switch in place, from And control the location switch contact I on analog interface card and the on or off between location switch contact II.
  6. 6. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 5, it is characterised in that described Analog interface card is made of standard IC card contact and location switch contact, and location switch contact is by location switch contact I and in place Switch contact II forms;The analog interface card meets the electronic circuit of 7810 standards of ISO/IEC for a piece of appearance and size Plate, and have the standard IC card contact, standard IC card contact and simulation in the location arrangements of 7810 standards of ISO/IEC requirement Card connection bus connection;The standard IC card contact is used to be inserted on taximeter to be checked or gas meter, flow meter complete machine in analog interface card and blocks Connected during seat with the switch jaw contact in deck, so that by the IC card read-write bus in taximeter to be checked or gas meter, flow meter complete machine with simulating Card connection bus connection, then single-pole double-throw type simulation electronic is opened inside analog switching ic, analog switching ic Pass through IC card data connection bus, logic encryption card data/address bus and CPU card data/address bus and logic encryption card under the control of pass Chip or the connection of CPU card chip, make taximeter or gas meter, flow meter complete machine read and write IC card chip in device.
  7. 7. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 5, it is characterised in that described Location switch contact I and location switch contact II are used to be inserted into the IC in taximeter to be checked or gas meter, flow meter complete machine in analog interface card Connect with the mechanical location switch both ends in deck during card deck, opened so that the switch ends in deck are connected to simulation respectively The both ends of IC interior single-pole single-throw(SPST simulant electronic switch are closed, lead to the IC card control signal that control interface receives in place Cross IC card and control line traffic control analog switching ic in place, to be arrived to IC card seat plug-in card in taximeter to be checked or gas meter, flow meter complete machine Bit switch break-make is controlled.
  8. 8. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 5, it is characterised in that described Logic encryption card chip is a material object SLE4442 logic encryption card, after IC card selection analog switch module gating, passes through IC The selection of card switching analoging switch module is connected with IC card data-interface or with analog interface card, is connected when with IC card data-interface When, peripheral control unit writes data into logic encryption card chip by IC card data-interface, become one detection required for Tool card, also can read data from logic encryption card chip, thus obtain inspection taximeter or gas meter, flow meter complete machine in Portion's parameter;When being connected with analog interface card, pass through analog interface card and the IC card seat on inspection taximeter or gas meter, flow meter complete machine Connection, is realized using read-write of the taximeter or gas meter, flow meter complete machine of logic encryption card to logic encryption card chip.
  9. 9. a kind of Intelligent Card for Gas Meter read-write card automatic detection device according to claim 5, it is characterised in that described CPU card chip is a CPU card in kind, after IC card selection analog switch module gating, passes through IC card switching analoging switch mould Block selection is connected with IC card data-interface or with analog interface card, and when being connected with IC card data-interface, peripheral control unit leads to Cross IC card data-interface and write data into CPU card chip, become a required tool card of detection, also can be from CPU Data are read in the core of the card piece, so as to obtain the inner parameter in inspection taximeter or gas meter, flow meter complete machine;Connected when with analog interface card When, connected by analog interface card with the IC card seat on inspection taximeter or gas meter, flow meter complete machine, realize the taximeter using CPU card Or read-write of the gas meter, flow meter complete machine to CPU card chip.
  10. 10. a kind of Intelligent Card for Gas Meter read-write card automatic testing method, it is characterised in that detection method is as follows:
    When peripheral control unit needs to transfer data to inspection taximeter or gas meter, flow meter complete machine, Card Reader control signal processed is sent first IC card chip is connected with peripheral control unit, writes data into IC card chip, then sends plug-in card control signal again, IC card core Piece is connected with inspection taximeter or gas meter, flow meter complete machine, is finally sent and is snapped into signal, is triggered in inspection taximeter or gas meter, flow meter complete machine IC card chip is written and read;
    Peripheral control unit can all send card selection control signal immediately after Card Reader control signal and plug-in card control signal processed is sent, with Indicate to be currently needed for operating is logic encryption card or CPU card.
CN201810075995.6A 2018-01-26 2018-01-26 Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter Active CN108038399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810075995.6A CN108038399B (en) 2018-01-26 2018-01-26 Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810075995.6A CN108038399B (en) 2018-01-26 2018-01-26 Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter

Publications (2)

Publication Number Publication Date
CN108038399A true CN108038399A (en) 2018-05-15
CN108038399B CN108038399B (en) 2023-06-30

Family

ID=62097420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810075995.6A Active CN108038399B (en) 2018-01-26 2018-01-26 Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter

Country Status (1)

Country Link
CN (1) CN108038399B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766985A (en) * 2019-03-13 2019-05-17 楚天龙股份有限公司 A kind of chip initiation production and processing line of electronics license
CN111062222A (en) * 2018-10-17 2020-04-24 深圳市文鼎创数据科技有限公司 IC device payment method, IC device, card reading equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11102480A (en) * 1997-09-26 1999-04-13 Paloma Ind Ltd Gas supply controller
CN102074074A (en) * 2010-12-17 2011-05-25 桂林市利通电子科技有限责任公司 Prepaid wireless smart gas meter
CN202362865U (en) * 2011-11-02 2012-08-01 华北电网有限公司计量中心 Fault detection device for IC (integrated circuit) card pre-payment electric energy meter
CN205540856U (en) * 2016-01-28 2016-08-31 北京握奇智能科技有限公司 Multi -functional IC -card of sharing IC -card contact

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11102480A (en) * 1997-09-26 1999-04-13 Paloma Ind Ltd Gas supply controller
CN102074074A (en) * 2010-12-17 2011-05-25 桂林市利通电子科技有限责任公司 Prepaid wireless smart gas meter
CN202362865U (en) * 2011-11-02 2012-08-01 华北电网有限公司计量中心 Fault detection device for IC (integrated circuit) card pre-payment electric energy meter
CN205540856U (en) * 2016-01-28 2016-08-31 北京握奇智能科技有限公司 Multi -functional IC -card of sharing IC -card contact

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062222A (en) * 2018-10-17 2020-04-24 深圳市文鼎创数据科技有限公司 IC device payment method, IC device, card reading equipment and storage medium
CN111062222B (en) * 2018-10-17 2023-11-17 深圳市文鼎创数据科技有限公司 IC device payment method, IC device, card reading equipment and storage medium
CN109766985A (en) * 2019-03-13 2019-05-17 楚天龙股份有限公司 A kind of chip initiation production and processing line of electronics license
CN109766985B (en) * 2019-03-13 2024-04-30 楚天龙股份有限公司 Chip initialization production processing line of electronic license

Also Published As

Publication number Publication date
CN108038399B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN206920978U (en) A kind of high-speed type Signal transacting board analysis
CN101206614B (en) Simulator for simulating register with specific function
CN109144036B (en) Manipulator simulation test system and test method based on FPGA chip
CN105095040B (en) A kind of chip adjustment method and device
CN108038399A (en) A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method
CN101778007B (en) System and method for automatically testing I/O pin of CAN bus control module
CN105791560A (en) Data network access control method and user terminal
CN101706762A (en) Intelligent type signal transfer system
CN109307833A (en) Apparatus for testing chip and chip detecting method
CN107015209A (en) A kind of Radar Display and Control Terminal performance detecting system and method
CN108287537A (en) A kind of CAN bus protocol controller test method
CN207690091U (en) A kind of Intelligent Card for Gas Meter read-write card automatic detection device
CN106024036A (en) FPGA-based multi-channel audio data format conversion method
CN106776195B (en) A kind of SOC chip adjustment method and equipment
CN101169755A (en) Test pin free contact type CPU card test method
CN101452413B (en) Automatic detection system for note type computer keyboard interface and method thereof
CN205786886U (en) Detect the detecting system of multiple combiner simultaneously
CN101373891A (en) Mainboard using 32-bit DSP as kernel for microcomputer protection device
CN106873507B (en) The Automatic parameter of semiconductor chip full-automatic sealed in unit stores and call method
CN209728477U (en) A kind of multichannel temperature data acquisition circuit
CN203434992U (en) Networking protocol serial port test device
CN208954104U (en) Multichannel SIM card read-write equipment
CN110955164A (en) Single-channel multi-channel signal acquisition circuit
CN107577574B (en) Debugging switching circuit and debugging circuit board
CN206726210U (en) The expansion interface circuit of the one-to-many universal serial bus of near-end

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant