CN101975937B - Smart card simulator device and using method thereof - Google Patents

Smart card simulator device and using method thereof Download PDF

Info

Publication number
CN101975937B
CN101975937B CN201010277771.7A CN201010277771A CN101975937B CN 101975937 B CN101975937 B CN 101975937B CN 201010277771 A CN201010277771 A CN 201010277771A CN 101975937 B CN101975937 B CN 101975937B
Authority
CN
China
Prior art keywords
card
unit
main control
control unit
data
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.)
Active
Application number
CN201010277771.7A
Other languages
Chinese (zh)
Other versions
CN101975937A (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.)
STATE GRID METERING CENTER
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
STATE GRID METERING CENTER
China Electric Power Research Institute Co Ltd CEPRI
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 STATE GRID METERING CENTER, China Electric Power Research Institute Co Ltd CEPRI filed Critical STATE GRID METERING CENTER
Priority to CN201010277771.7A priority Critical patent/CN101975937B/en
Publication of CN101975937A publication Critical patent/CN101975937A/en
Application granted granted Critical
Publication of CN101975937B publication Critical patent/CN101975937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention provides a method for issuing a smart electric energy meter local cost control function detection card. The method comprises the following steps of: receiving a card issuance instruction of an upper computer by using a main control unit on a card issuance simulator circuit board; writing card writing data transmitted by the upper computer into a corresponding integrated circuit (IC) card unit on the card issuance simulator circuit board; and receiving a command of the upper computer to control the output of a card output unit which is connected with a successfully issued card to be valid. According to different card writing data transmitted by the upper computer, detection cards with different detection functions can be issued at the IC card unit on the card issuance simulator circuit board. Different detection cards are not issued by a universal card issuance device and repetitive card insertion operation are avoided, so that detection time of smart electric energy meter local cost control is shortened, and detection risk due to errors, such as repetitive card issuance and card insertion operation, is reduced.

Description

A kind of smart card simulator device and using method thereof
Technical field
The detection technique field that the present invention relates to intelligent electric energy meter local charge control function, is specifically related to a kind of smart card simulator device and using method thereof.
Background technology
State Grid Corporation of China carried out the comprehensive unified building-up work of power consumer power information acquisition system in 2008, proposed unified standard, uniform bidding and the unified principle of building of construction system.In system, a large amount of electric energy meters that use are all according to the intelligent electric energy meter technical manual Uniting of up-to-date promulgation, and for the testing of the electric energy meter of these new criteria also because the vital issue facing in system Construction process is carried out and become it is pressed for time to bid concentrated, especially the detection of local charge control intelligent electric energy meter (band IC-card mouth) more relates to up to a hundred sub-test items, how to guarantee that testing result improves detection efficiency under prerequisite accurately, become the difficult problem that puzzlement power industry detects the relevant departments such as department and instrument industry factory testing department.Traditional pick-up unit is when detecting the local charge control function of intelligent electric energy meter, because local charge control comprises a plurality of different subfunctions, so detection for different subfunctions, need to first utilize the IC-card of card sender (general card sender) distribution corresponding function, then will in the draw-in groove of this IC-card insertion ammeter, detect.An electric energy meter whole are taken the repeatedly plug-in card work of difference in functionality test card of control Function detection needs, whole testing process executes about needs time of 4 to 6 hours, efficiency reduces because of repeated hair fastener and plug-in card work, and in testing process, the error because of testing staff causes the situation of wrong plug card to happen occasionally, and affects carrying out smoothly of testing.
Summary of the invention
In order to solve the problem of repeated hair fastener, the present invention has designed a kind of succinct Multi-functional hairpin simulator efficiently, a plurality of cards and deck are integrated on a surface-mounted integrated circuit, and the main control unit in adapting device and multi-channel switch are realized the independent output of several functions card.When detecting a certain subfunction, main control unit is as the control axis of device, be responsible for receiving the hair fastener instruction of being sent by host computer, the file structure of the corresponding function card comprising in hair fastener instruction and data are written on certain card in device, then by main control unit, control with this and link the interface circuit that connects as unique output of installing, complete the issuing working of this function card in testing process.The signal output of this function card is connected with the card contact of the current existing simulation prefabricated card-inserting device of ammeter pick-up unit, by simulating the card action of prefabricated card-inserting device, completes the detection to this function of ammeter.With in traditional detection process, need to utilize card sender to repeat hair fastener to compare, this device has reduced the work of repeatedly sending out difference in functionality card, avoided occurring because misoperation causes the problem of sending out wrong card simultaneously, when increasing work efficiency, reduced the unnecessary trouble that misoperation brings.
According to a kind of smart card simulator device of the present invention, comprising: main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit, indicator unit and by electric wire, be connected the circuit board of each unit, described main control unit is connected with emulator connected host computer by communication unit, reception is sent by host computer writes card data or card output order, main control unit and all IC-card unit are all by electrical connection, power supply unit receives from the power supply input outside emulator, and export for each unit on whole circuit board provides power supply through the treatment circuit of power supply unit, main control card unit is only connected with main control unit, master control key is provided during to IC unit data writing at main control unit, four general purpose I C card unit, unit is installed under key, key recovery card unit, short-circuit test card unit is all connected with main control unit and corresponding IC-card output unit respectively, be respectively used to receive writing card data and corresponding data being exported of main control unit input, each indicator unit is connected with each IC-card unit, while having data output in this IC unit, pilot lamp is glittering.
The invention allows for a kind of method of using above-mentioned device to realize distribution intelligent electric meter local charge control Function detection card, comprise: the card of main control card and other types is integrated in hair fastener simulator apparatus, main control unit receives after the hair fastener instruction of host computer, what receive that host computer transmits writes card data again, by main control unit, be that the data pin of single-chip microcomputer and the I/O pin of IC-card are electrically connected, corresponding data is write in card, integrated circuit card electric signal and the host-host protocol > > of international standard ISO/IEC7816-3 < < contact-carrying followed in communication, now this IC-card is according to the different detection cards that form difference in functionality of the data that write, can be to be installed under key, key recovery card, the card of opening an account, power purchase card, mend card, on-site parameters arranges card, preset parameter card, relay test card, electric weight increases card, table number arranges any one in card and short circuit card, after data write successfully, main control unit receives the order of host computer, controls and issues card output unit output that successful card is connected effectively.
Wherein, the main control unit hair fastener flow process that described table number arranges card is: after device powers on, first carry out self check, then wait for host computer instruction, the table number of writing that receives host computer when main control unit arranges after card instruction, the table number that reception host computer is sent arranges card data, then according to the transport protocol standard of the integrated circuit card of ISO/IEC7816-3 contact-carrying, write one by one in IC-card 1, often write the successful information that data will receive that IC-card 1 is replied, until total data writes in card, main control unit completes to be write after card, reply successful information to host computer, then receive the hair fastener instruction of host computer, make the output unit circuit of IC-card 1 correspondence effective, table number is arranged outside card signal output unit, so far complete the hair fastener work that table number arranges card, return to master routine, wait for hair fastener instruction next time.
The advantage of technical solution of the present invention is:
1 this device can reduce the wearing and tearing of card;
2 can realize automatic detection, raise the efficiency, and reduce operating personnel's workload;
3 reduce human operational error.
4 functions of changing at any time part card in hair fastener emulator (under main control card, short-circuit test card, key, be installed and key recovery card all the other cards), the read-write number of times of every card of balance damages to avoid the frequent read-write of certain card.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described.
Fig. 1 is the structural representation of device of the present invention.
Fig. 2 take table number card to be set as example tracing device main control unit hair fastener process flow diagram.
Embodiment
As shown in Figure 1, this device is comprised of main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit and pilot lamp etc..Main control unit is comprised of 8051 (model is PIC18F64J11) single-chip microcomputers and clock circuit, key control unit as device, be responsible for coordinating the work between modules, by communication unit, receive the instruction of host computer (refer to be connected with pick-up unit realize the computing machine that test item is controlled), and according to command request, operation or Update Table operation are issued in some IC-cards unit, then control IC-card output unit by the signal output of corresponding function card.IC-card unit is comprised of IC-card and deck, and IC-card is SIM packing forms, and the electric signal of the responsible fixedly IC-card of deck IC-card is drawn and is connected to corresponding control output unit.According to the operation of main control unit, issue into corresponding function card, this distribution process refers to be electrically connected by the I/O pin of the data pin of single-chip microcomputer and IC-card, corresponding data is write in card, and integrated circuit card electric signal and the host-host protocol > > of international standard ISO/IEC7816-3 < < contact-carrying followed in communication.Communication unit completes hardware circuit interface and the protocol conversion with host computer.Power supply unit is responsible for the input power (+9V) of device to be converted to the power supply (+5V) that device circuit board needs.IC-card output unit is comprised of 7 path switching circuits, can be according to the requirement automatic switchover different cards output of main control unit.In device, there are two groups of totally 11 pilot lamp, respectively indicating device Power supply, communications status and 7 IC-card duties.
In this device, have 8 IC-card unit, comprise under 1 main control card unit, 1 short-circuit test card unit, 1 key and fill test card unit and 1 key recovery test card unit and 4 IC-card unit, wherein front four card unit are that function is fixing.The host computer instruction flexible configuration that rear 4 IC-card unit can receive according to main control unit becomes the IC-card of difference in functionality, as table number arranges card, preset parameter card, increase electric weight card, relay test card, the card of opening an account, power purchase card, benefit card and on-site parameters, card is set, wherein table number card, preset parameter card are set, increase under electric weight card, relay test card and key be installed, the tool card of key recovery card and the short-circuit test Ka Shi ammeter manufacturer various functions of simulate electric energy meter in design ammeter process, main control card is for providing key to above-mentioned tool card.Open an account card, power purchase card, mending card and on-site parameters, card is set is that ammeter is paid user with being the control card of Utilities Electric Co.'s various functions while detecting ammeter commencement of commercial operation before by the operation maintenance department of ammeter, above-mentioned IC-card all needs the testing agency of ammeter to carry out analog distribution and for the detection of various functions except main control card.Describe all kinds of engaging justice below in detail:
1, CPU card: dispose storer and logic control circuit and micro-processing (MCU) circuit, the Contact Type Ic Card that can be repeatedly used.The all IC-cards that occur in this patent are CPU card, and the card chip platform using is the CIU51G16B intelligent card chip that possesses SM1 algorithm, and the file structure of setting up on the IC-card of difference in functionality is different with the file data writing.
2, subscriber card: be the message exchange medium between electric energy meter and IC-card electricity-selling system, increase and purchase the amount of money for the electric energy meter to running status, can return to the current information of instrument when plug-in card, held by user simultaneously.Subscriber card is different in different phase title, calls off family card when ammeter user opens an account for the first time, after opening an account for power purchase be power purchase card, the subscriber card that power purchase card is handled after losing again makes benefit block.
3, under key, be installed: for instrument is modified as to formal key state from production key state.When ammeter dispatches from the factory, in production key state, must utilize under key and be installed and be revised as formal key state before installation, the instrument under formal key state can not operate with the IC-card beyond Utilities Electric Co..
4, key recovery card: for instrument is reverted to production key state from formal key state, so that parameter is overhauled or reinitialized to instrument.
5, on-site parameters arranges card: for the function card that the parameters such as electric energy meter rate is arranged and revised in commencement of commercial operation process.
6, preset parameter card: in process of production the parameter of electric energy meter being carried out to initialized function card, except parameters, also remove the information such as the former electricity consumption amount of money after plug-in card simultaneously, and can carry out account-opening after revising key.
7, table number arranges card: in process of production electric energy meter being carried out the function card of table number setting.
8, increase electricity charge card: in process of production electric energy meter being carried out to the function card that the electricity charge are supplemented with money.
9, relay test card: for the function card of in process of production relay of ammeter being tested.
10, main control card: store master control key, for the protection of the key master card of key in other function cards.
11, short-circuit test card: for testing the function card of ammeter bayonet socket short-circuit function.
According to specific exemplary embodiment, invention has been described herein.It will be apparent under not departing from the scope of the present invention, carrying out to one skilled in the art suitable replacement or revise.Exemplary embodiment is only illustrative, rather than the restriction to scope of the present invention, and scope of the present invention is defined by appended claim.

Claims (2)

1. use smart card simulator device to realize a method for distribution intelligent electric meter local charge control Function detection card, described smart card simulator device comprises: main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit, indicator unit and by electric wire, be connected the circuit board of each unit, described main control unit is connected with emulator connected host computer by communication unit, reception is sent by host computer writes card data or card output order, main control unit and all IC-card unit are all by electrical connection, power supply unit receives from the power supply input outside emulator, and export for each unit on whole circuit board provides power supply through the treatment circuit of power supply unit, main control card unit is only connected with main control unit, master control key is provided during to IC-card unit data writing at main control unit, four general purpose I C card unit, unit is installed under key, key recovery card unit, short-circuit test card unit is all connected with main control unit and corresponding IC-card output unit respectively, be respectively used to receive writing card data and corresponding data being exported of main control unit input, each indicator unit is connected with each IC-card unit, while having data output in this IC-card unit, pilot lamp is glittering, it is characterized in that, the method comprises:
The card of main control card and other types is integrated in hair fastener simulator apparatus, main control unit receives after the hair fastener instruction of host computer, what receive that host computer transmits writes card data again, by main control unit, be that the data pin of single-chip microcomputer and the I/O pin of IC-card are electrically connected, corresponding data is write in card, integrated circuit card electric signal and the host-host protocol > > of international standard ISO/IEC7816-3 < < contact-carrying followed in communication, now this IC-card is according to the different detection cards that form difference in functionality of the data that write, can be to be installed under key, key recovery card, the card of opening an account, power purchase card, mend card, on-site parameters arranges card, preset parameter card, relay test card, electric weight increases card, table number arranges any one in card and short circuit card, after data write successfully, main control unit receives the order of host computer, controls and issues IC-card output unit output that successful card is connected effectively.
2. the method for claim 1, it is characterized in that the main control unit hair fastener flow process that described table number arranges card is: after device powers on, first carry out self check, then wait for host computer instruction, the table number of writing that receives host computer when main control unit arranges after card instruction, the table number that reception host computer is sent arranges card data, then according to the integrated circuit card electric signal of ISO/IEC7816-3 < < contact-carrying and host-host protocol > >, write one by one in IC-card, often write the successful information that data will receive that IC-card is replied, until total data writes in card, main control unit completes to be write after card, reply successful information to host computer, then receive the hair fastener instruction of host computer, make the output unit circuit that IC-card is corresponding effective, table number is arranged outside card signal output unit, so far complete the hair fastener work that table number arranges card, return to master routine, wait for hair fastener instruction next time.
CN201010277771.7A 2010-09-10 2010-09-10 Smart card simulator device and using method thereof Active CN101975937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010277771.7A CN101975937B (en) 2010-09-10 2010-09-10 Smart card simulator device and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010277771.7A CN101975937B (en) 2010-09-10 2010-09-10 Smart card simulator device and using method thereof

Publications (2)

Publication Number Publication Date
CN101975937A CN101975937A (en) 2011-02-16
CN101975937B true CN101975937B (en) 2014-03-26

Family

ID=43575839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010277771.7A Active CN101975937B (en) 2010-09-10 2010-09-10 Smart card simulator device and using method thereof

Country Status (1)

Country Link
CN (1) CN101975937B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592364A (en) * 2011-12-29 2012-07-18 中国电力科学研究院 Encryption and decryption functions based field service terminal and application method thereof
CN103198575B (en) * 2013-03-25 2016-08-03 国家电网公司 Function test method for local cost control intelligent electric energy meter
CN105109166B (en) * 2015-09-11 2017-10-20 宁波长阳科技股份有限公司 A kind of anti-absorption application type reflection polyester film and preparation method thereof
CN106093832B (en) * 2016-05-27 2019-08-23 南方电网科学研究院有限责任公司 Open an account function test method and the system of expense control electric energy meter
CN106093833B (en) * 2016-05-27 2019-08-23 南方电网科学研究院有限责任公司 Take the function of initializing test method and system of control electric energy meter
CN105915540A (en) * 2016-06-01 2016-08-31 中国南方电网有限责任公司电网技术研究中心 Secret key update function test method and system of cost control electric energy meter
CN108344909B (en) * 2018-01-11 2020-10-30 福建联迪商用设备有限公司 Automatic test method and system for IC card terminal and upper computer
CN108449229B (en) * 2018-03-06 2020-10-27 数据通信科学技术研究所 Concurrent test system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5679945A (en) * 1995-03-31 1997-10-21 Cybermark, L.L.C. Intelligent card reader having emulation features
US5743512A (en) * 1995-10-26 1998-04-28 United Technologies Corporation Wedge lock butterfly valve
CN2372730Y (en) * 1999-06-09 2000-04-05 北京天大天财智能卡系统有限公司 Intelligent IC card tax controller for electronic cash register
CN1316719A (en) * 2000-04-04 2001-10-10 王耀 Device for translating interface type and extending number of interfaces for IC card read/write device
CN201126582Y (en) * 2007-09-19 2008-10-01 深圳市东方神盾智能科技有限公司 Multifunctional detection hairpin machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5679945A (en) * 1995-03-31 1997-10-21 Cybermark, L.L.C. Intelligent card reader having emulation features
US5743512A (en) * 1995-10-26 1998-04-28 United Technologies Corporation Wedge lock butterfly valve
CN2372730Y (en) * 1999-06-09 2000-04-05 北京天大天财智能卡系统有限公司 Intelligent IC card tax controller for electronic cash register
CN1316719A (en) * 2000-04-04 2001-10-10 王耀 Device for translating interface type and extending number of interfaces for IC card read/write device
CN201126582Y (en) * 2007-09-19 2008-10-01 深圳市东方神盾智能科技有限公司 Multifunctional detection hairpin machine

Also Published As

Publication number Publication date
CN101975937A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN101975937B (en) Smart card simulator device and using method thereof
CN103997079B (en) A kind of electric vehicle alternating-current charging pile and using method thereof
CN104166119B (en) A kind of intelligent electric energy meter program Detection of Stability system based on error injection
CN101727106B (en) Simulation test platform of process layer of digitalization transformer substation
CN104656632A (en) Integrated interface test system and detection method for aircraft semi-physical simulation tests
CN104502832A (en) Automatic tester and testing method based on hand-held POS machine mainboard
CN102331569B (en) Intelligent interactive detection apparatus for detection on electric energy meter
CN204156542U (en) A kind of electric vehicle alternating-current charging pile
CN202339718U (en) Extendible nuclear power DCS automatic testing device
CN110611312B (en) On-line simulation system and method for panoramic data of substation bay level
CN102121977A (en) Method and device for detecting IC (Integrate Circuit) card electric energy meter
CN208077394U (en) A kind of the communication test plate and communication test system of concentrator communication module
CN202736023U (en) In-batch asynchronous intelligent terminal software maintenance equipment
CN201796358U (en) Intelligent card simulator device
CN102073313A (en) Remote management measurement and control system of solar photovoltaic power stations
CN202093088U (en) Electrical parameter measuring device
CN210839614U (en) Handheld terminal supporting detection of communication protocols of multiple types of ammeter modules
CN208110030U (en) A kind of communication test plate of ammeter communication module
CN101447697A (en) Microcomputer measuring and controlling protective device for centralized type digital transformer substation
CN207732510U (en) A kind of soft straight-through letter fail-safe system based on detection of power loss
CN106384497A (en) Portable electric operation and maintenance carrier meter reading adapter
CN203720314U (en) Apparatus for integrated testing of circuit board functions
CN109541430A (en) A kind of NOR FLASH class chip test system
CN201821314U (en) Modularized microcomputer excitation regulator
CN207557362U (en) A kind of full production cycle automatic test device of distribution terminal

Legal Events

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