CN101975937A - Smart card simulator device and using method thereof - Google Patents
Smart card simulator device and using method thereof Download PDFInfo
- Publication number
- CN101975937A CN101975937A CN2010102777717A CN201010277771A CN101975937A CN 101975937 A CN101975937 A CN 101975937A CN 2010102777717 A CN2010102777717 A CN 2010102777717A CN 201010277771 A CN201010277771 A CN 201010277771A CN 101975937 A CN101975937 A CN 101975937A
- 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.)
- Granted
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
Technical field
The present invention relates to the detection technique field of the local expense of intelligent electric energy meter control function, be specifically related to a kind of intelligent card artificial apparatus 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.A large amount of electric energy meters that use are all according to the unified design of the intelligent electric energy meter technical manual of up-to-date promulgation in system, and also carry out and become it is pressed for time the vital issue that is faced in system's process of construction because of bid concentrated at the testing of the electric energy meter of these new criteria, the detection of especially local expense control intelligent electric energy meter (band IC-card mouth) more relates to up to a hundred sub-test items, how guaranteeing that testing result improves detection efficiency under the prerequisite accurately, becoming the puzzlement power industry and detect the dispatch from the factory difficult problem of relevant departments such as detection department of department and instrument industry.When traditional pick-up unit takes the control function in this locality of detecting intelligent electric energy meter, because local expense control comprises a plurality of different subfunctions, so detection at different subfunctions, need at first utilize the IC-card of card sender (general card sender) distribution corresponding function, detect in the draw-in groove with this IC-card insertion ammeter then.Whole expense control Function detection of an electric energy meter need repeat repeatedly the plug-in card work of difference in functionality test card, whole testing process executes about time of 4 to 6 hours of needs, efficient reduces because of the hair fastener and the plug-in card work of repeatability, and the error because of the testing staff causes the situation of wrong plug card to happen occasionally in testing process, influences carrying out smoothly of testing.
Summary of the invention
In order to solve the problem of repeated hair fastener, the present invention has designed the multi-functional hair fastener simulator of a kind of simple and high-efficient, a plurality of cards and deck are integrated on the surface-mounted integrated circuit the independent output that main control unit in the adapting device and multi-channel switch are realized multiple function card.When detecting a certain subfunction, main control unit is as the control maincenter of device, be responsible for receiving the hair fastener instruction of sending by host computer, the file structure of the corresponding function card that comprises in the hair fastener instruction and data are written on certain card in the device, by the unique output of the interface circuit of main control unit control and this card connection, finish the issuing working of this function card in the testing process then as device.The output of the signal of this function card is connected with the card contact of the existing simulation prefabricated card-inserting device of ammeter pick-up unit at present, moves by the plug-in card of simulating prefabricated card-inserting device and finishes detection to this function of ammeter.With need to utilize card sender to repeat hair fastener in the traditional detection process to compare, this device has reduced the work of repeatedly sending out the difference in functionality card, avoided simultaneously reducing the unnecessary trouble that misoperation brings when increasing work efficiency because the problem that misoperation causes sending out wrong card occurs.
According to a kind of intelligent card artificial apparatus of the present invention, comprising: main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit, indicator unit and the circuit board that is connected each unit by electric wire; Described main control unit links to each other with the host computer that emulator is connected by communication unit, reception is write card data or card output order by what host computer was sent, main control unit and all IC-card unit are all by being electrically connected, power supply unit receives and imports from the power supply outside the emulator, and the treatment circuit of process power supply unit provides power supply output for each unit on the entire circuit plate, the main control card unit only links to each other with main control unit, when writing data, the IC unit provides master control key at main control unit, four general purpose I C card unit, the unit is installed under the key, key recovery card unit, short-circuit test card unit all links to each other with main control unit and corresponding IC-card output unit respectively, be respectively applied for and receive writing the card data and corresponding data being exported of main control unit input, each indicator unit links to each other with each IC-card unit, when data output was arranged in this IC unit, pilot lamp was glittering.
The invention allows for a kind of method of using above-mentioned device to realize the local expense control of distribution intelligent electric meter Function detection card, comprise: the card of main control card and other types is integrated in the hair fastener simulator apparatus, after main control unit receives the hair fastener instruction of host computer, what receive that host computer transmits writes the card data again, by main control unit is that the data pin of single-chip microcomputer and the I/O pin of IC-card are electrically connected, corresponding data is write in the card, international standard ISO/IEC7816-3 " the integrated circuit card electric signal and the host-host protocol of contact-carrying " is followed in communication, the different detection cards that form difference in functionality of data that this moment, this IC-card basis write can be to be installed under the key, the key recovery card, the card of opening an account, purchase the electricity card, mend card, on-site parameters is provided with card, the preset parameter card, the relay test card, electric weight increases card, table number is provided with any one in card and the short circuit card; After data write successfully, main control unit received the order of host computer, and control is with to issue the card output unit output that successful card links to each other effective.
Wherein, the main control unit hair fastener flow process that described table number is provided with card is: at first carry out self check after device powers on, wait for the host computer instruction then, after main control unit receives writing table number and card is set instructs of host computer, the table number that the reception host computer is sent is provided with the card data, transport protocol standard according to the integrated circuit card of ISO/IEC7816-3 contact-carrying writes in the IC-card 1 one by one then, whenever write the successful information that data will receive that IC-card 1 is replied, write in the card up to total data, after main control unit is finished and is write card, reply successful information and give host computer, receive the hair fastener instruction of host computer then, make the output unit circuit of IC-card 1 correspondence effective, table number is provided with outside the card signal output unit, so far finish the hair fastener work that table number is provided with card, return 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 the human operational error.
4 functions of changing part card in the hair fastener emulator at any time (promptly under main control card, short-circuit test card, key, be installed and the key recovery card all the other cards), the read-write number of times of every card of balance damages with the frequent read-write of avoiding certain card.
Description of drawings
The present invention is further described below in conjunction with accompanying drawing.
Fig. 1 is the structural representation of device of the present invention.
Fig. 2 is that with table number card to be set be example tracing device main control unit hair fastener process flow diagram.
Embodiment
As shown in Figure 1, this device is made up of main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit and pilot lamp etc..Main control unit is made up of 8051 (model is PIC18F64J11) single-chip microcomputers and clock circuit, key control unit as device, be responsible for the work between each module of coordination, receive the instruction of host computer (computing machine that the realization test item that refers to be connected with pick-up unit is controlled) by communication unit, and according to command request some IC-cards unit is issued operation or revised data manipulation, control of the signal output of IC-card output unit then with the corresponding function card.The IC-card unit is made up of IC-card and deck, and IC-card is the SIM packing forms, and the electric signal of responsible fixedly IC-card of deck and IC-card is drawn and is connected to corresponding control output unit.Issue into the function corresponding card according to the operation of main control unit, 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 the card, and international standard ISO/IEC7816-3 " the integrated circuit card electric signal and the host-host protocol of contact-carrying " is followed in communication.Communication unit is finished hardware circuit interface and the protocol conversion with host computer.Power supply unit be responsible for will device the input power supply (+9V) be converted to the power supply that device circuit board needs (+5V).The IC-card output unit is made up of 7 path switching circuits, can be according to the requirement automatic switchover different cards output of main control unit.Two groups of totally 11 pilot lamp are arranged, indicating device power supply power supply respectively, communications status and 7 IC-card duties in the device.
Have 8 IC-card unit in this device, comprise under 1 main control card unit, 1 short-circuit test card unit, 1 key and adorn test card unit and 1 key recovery test card unit and 4 IC-card unit, wherein preceding four card unit are that function is fixing.4 IC-card unit, back can become the IC-card of difference in functionality according to the host computer instruction flexible configuration that main control unit receives, card, preset parameter card are set, increase the electric weight card, relay test card, the card of opening an account, purchase the electricity card, mend and block and on-site parameters is provided with card as table number, wherein table number card, preset parameter card are set, increase under electric weight card, relay test card and the key be installed, key recovery card and short-circuit test card be the instrument card of ammeter manufacturer various functions of simulate electric energy meter in design ammeter process, main control card is used for providing key to above-mentioned instrument card.Open an account card, purchase electricity card, mending card and on-site parameters, card is set is that ammeter is paid the user to use before operation maintenance department by ammeter be the control card of Utilities Electric Co.'s every function when detecting the ammeter commencement of commercial operation, above-mentioned IC-card all needs the testing agency of ammeter to come analog distribution except that main control card and is used for the detection of every function.Describe all kinds of fastening justice below in detail:
1, CPU card: dispose storer and logic control circuit and little processing (MCU) circuit, the Contact Type Ic Card that can be repeatedly used.All IC-cards that occur in this patent are the CPU card, and the core of the card sheet platform that uses is the CIU51G16B intelligent card chip that possesses the SM1 algorithm, and the file structure of setting up on the IC-card of difference in functionality is different with the file data that writes.
2, subscriber card: be the message exchange media between electric energy meter and the IC-card electricity-selling system, be used for purchasing the amount of money, can when plug-in card, return the current information of instrument simultaneously, hold by the user to the electric energy meter increase of running status.Subscriber card calls off the family card in different phase title difference when the ammeter user opens an account for the first time, be used to purchase crying of electricity after opening an account and purchase electric the card, purchases the subscriber card of handling again after the electricity card is lost and blocks benefit.
3, be installed under the key: be used for instrument is modified as formal key state from the production key state.Be in the production key state when ammeter dispatches from the factory, must utilize to be installed under the key before installing it is revised as formal key state, the instrument that is under the formal key state can not be operated with the IC-card beyond the Utilities Electric Co..
4, key recovery card: be used for instrument is reverted to the production key state from formal key state, so that parameter is overhauled or reinitialized to instrument.
5, on-site parameters is provided with card: be used for the function card that parameters such as electric energy meter rate is provided with and revises in the commencement of commercial operation process.
6, preset parameter card: be used in process of production the parameter of electric energy meter being carried out initialized function card, except parameter is set, also remove information such as the former electricity consumption amount of money simultaneously behind the plug-in card, and after revising key, can carry out account-opening.
7, table number is provided with card: be used in process of production electric energy meter being carried out the function card that table number is provided with.
8, increase electricity charge card: be used in process of production electric energy meter being carried out the function card that the electricity charge are supplemented with money.
9, relay test card: be used for the function card the in process of production relay of ammeter tested.
10, main control card: store master control key, be used to protect the key master card of key in other function cards.
11, short-circuit test card: the function card that is used to test ammeter bayonet socket short-circuit function.
Invention has been described according to specific exemplary embodiment herein.It will be conspicuous carrying out suitable replacement to one skilled in the art or revise under not departing from the scope of the present invention.Exemplary embodiment only is illustrative, rather than to the restriction of scope of the present invention, scope of the present invention is by appended claim definition.
Claims (3)
1. an intelligent card artificial apparatus is characterized in that comprising: main control unit, IC-card unit, communication unit, power supply unit, IC-card output unit, indicator unit and the circuit board that is connected each unit by electric wire; Described main control unit links to each other with the host computer that emulator is connected by communication unit, reception is write card data or card output order by what host computer was sent, main control unit and all IC-card unit are all by being electrically connected, power supply unit receives and imports from the power supply outside the emulator, and the treatment circuit of process power supply unit provides power supply output for each unit on the entire circuit plate, the main control card unit only links to each other with main control unit, when writing data, the IC unit provides master control key at main control unit, four general purpose I C card unit, the unit is installed under the key, key recovery card unit, short-circuit test card unit all links to each other with main control unit and corresponding IC-card output unit respectively, be respectively applied for and receive writing the card data and corresponding data being exported of main control unit input, each indicator unit links to each other with each IC-card unit, when data output was arranged in this IC unit, pilot lamp was glittering.
2. one kind is used the described device of claim 1 to realize the local method of taking control Function detection card of distribution intelligent electric meter, comprise: the card of main control card and other types is integrated in the hair fastener simulator apparatus, after main control unit receives the hair fastener instruction of host computer, what receive that host computer transmits writes the card data again, by main control unit is that the data pin of single-chip microcomputer and the I/O pin of IC-card are electrically connected, corresponding data is write in the card, international standard ISO/IEC7816-3 " the integrated circuit card electric signal and the host-host protocol of contact-carrying " is followed in communication, the different detection cards that form difference in functionality of data that this moment, this IC-card basis write can be to be installed under the key, the key recovery card, the card of opening an account, purchase the electricity card, mend card, on-site parameters is provided with card, the preset parameter card, the relay test card, electric weight increases card, table number is provided with any one in card and the short circuit card; After data write successfully, main control unit received the order of host computer, and control is with to issue the card output unit output that successful card links to each other effective.
3. method as claimed in claim 2, it is characterized in that the main control unit hair fastener flow process that described table number is provided with card is: at first carry out self check after device powers on, wait for the host computer instruction then, after main control unit receives writing table number and card is set instructs of host computer, the table number that the reception host computer is sent is provided with the card data, transport protocol standard according to the integrated circuit card of ISO/IEC7816-3 contact-carrying writes in the IC-card 1 one by one then, whenever write data and will receive that the successful letter of IC-card 1 answer opens, write in the card up to total data, after main control unit is finished and is write card, reply successful information and give host computer, receive the hair fastener instruction of host computer then, make the output unit circuit of IC-card 1 correspondence effective, table number is provided with outside the card signal output unit, so far finish the hair fastener work that table number is provided with card, return master routine, wait for hair fastener instruction next time.
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 true CN101975937A (en) | 2011-02-16 |
CN101975937B 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) |
Cited By (9)
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 |
CN103198575A (en) * | 2013-03-25 | 2013-07-10 | 国家电网公司 | Function test method for local cost control intelligent electric energy meter |
CN105109166A (en) * | 2015-09-11 | 2015-12-02 | 宁波长阳科技有限公司 | Anti-adsorption coating type polyester film for reflection and preparation method thereof |
CN105915540A (en) * | 2016-06-01 | 2016-08-31 | 中国南方电网有限责任公司电网技术研究中心 | Method and system for testing key updating function of charge control electric energy meter |
CN106093832A (en) * | 2016-05-27 | 2016-11-09 | 南方电网科学研究院有限责任公司 | Account opening function test method and system for charge control electric energy meter |
CN106093833A (en) * | 2016-05-27 | 2016-11-09 | 南方电网科学研究院有限责任公司 | Method and system for testing initialization function of charge control electric energy meter |
CN102385373B (en) * | 2011-10-21 | 2016-12-14 | 深圳市科陆电子科技股份有限公司 | A kind of automatic programming method of intelligent electric energy meter |
CN108344909A (en) * | 2018-01-11 | 2018-07-31 | 福建联迪商用设备有限公司 | IC card premises automation test method and its system, host computer |
CN108449229A (en) * | 2018-03-06 | 2018-08-24 | 数据通信科学技术研究所 | A kind of concurrent test system and method |
Citations (5)
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 |
-
2010
- 2010-09-10 CN CN201010277771.7A patent/CN101975937B/en active Active
Patent Citations (5)
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 |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385373B (en) * | 2011-10-21 | 2016-12-14 | 深圳市科陆电子科技股份有限公司 | A kind of automatic programming method of intelligent electric energy meter |
CN102592364A (en) * | 2011-12-29 | 2012-07-18 | 中国电力科学研究院 | Encryption and decryption functions based field service terminal and application method thereof |
CN103198575A (en) * | 2013-03-25 | 2013-07-10 | 国家电网公司 | Function test method for local cost control intelligent electric energy meter |
CN103198575B (en) * | 2013-03-25 | 2016-08-03 | 国家电网公司 | Function test method for local cost control intelligent electric energy meter |
CN105109166A (en) * | 2015-09-11 | 2015-12-02 | 宁波长阳科技有限公司 | Anti-adsorption coating type polyester film for reflection and preparation method thereof |
CN106093833A (en) * | 2016-05-27 | 2016-11-09 | 南方电网科学研究院有限责任公司 | Method and system for testing initialization function of charge control electric energy meter |
CN106093832A (en) * | 2016-05-27 | 2016-11-09 | 南方电网科学研究院有限责任公司 | Account opening function test method and system for charge control electric energy meter |
CN106093832B (en) * | 2016-05-27 | 2019-08-23 | 南方电网科学研究院有限责任公司 | Account opening function test method and system for charge control electric energy meter |
CN106093833B (en) * | 2016-05-27 | 2019-08-23 | 南方电网科学研究院有限责任公司 | Method and system for testing initialization function of charge control electric energy meter |
CN105915540A (en) * | 2016-06-01 | 2016-08-31 | 中国南方电网有限责任公司电网技术研究中心 | Method and system for testing key updating function of charge control electric energy meter |
CN108344909A (en) * | 2018-01-11 | 2018-07-31 | 福建联迪商用设备有限公司 | IC card premises automation test method and its system, host computer |
CN108449229A (en) * | 2018-03-06 | 2018-08-24 | 数据通信科学技术研究所 | A kind of concurrent test system and method |
CN108449229B (en) * | 2018-03-06 | 2020-10-27 | 数据通信科学技术研究所 | Concurrent test system and method |
Also Published As
Publication number | Publication date |
---|---|
CN101975937B (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101975937B (en) | Smart card simulator device and using method thereof | |
CN103901387B (en) | Electricity meter detection system | |
CN103997079B (en) | A kind of electric vehicle alternating-current charging pile and using method thereof | |
CN102044137A (en) | Intelligent spot inspection system supporting multiple access methods and construction method and spot inspection method of intelligent spot inspection system | |
CN105891764A (en) | Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication | |
CN103050000A (en) | STM32-based handheld automatic meter reader | |
CN102331569B (en) | Intelligent interactive detection apparatus for detection on electric energy meter | |
CN204303085U (en) | A kind of mancarried device for detecting intelligent electric energy meter expense control function | |
CN102121977A (en) | Method and device for detecting IC (Integrate Circuit) card electric energy meter | |
CN205103450U (en) | Intelligence fiber optic distribution frame | |
CN205539239U (en) | Testing device | |
CN208077394U (en) | A kind of the communication test plate and communication test system of concentrator communication module | |
CN201796358U (en) | Intelligent card simulator device | |
CN109541430A (en) | A kind of NOR FLASH class chip test system | |
CN101447697A (en) | Microcomputer measuring and controlling protective device for centralized type digital transformer substation | |
CN208110030U (en) | A kind of communication test plate of ammeter communication module | |
CN210839614U (en) | Handheld terminal supporting detection of communication protocols of multiple types of ammeter modules | |
CN106384497A (en) | Portable electric operation and maintenance carrier meter reading adapter | |
CN207732510U (en) | Gentle straight communication mistake proofing system based on fall electric detection | |
CN102622815A (en) | Electric vehicle charging tolling system based on power line carrier | |
CN202189093U (en) | Remote control intelligent ammeter | |
CN201821314U (en) | Modularized microcomputer excitation regulator | |
CN204667545U (en) | Intelligent Card for Gas Meter mainboard automated detection system | |
CN202615500U (en) | Charging device for charging electric car based on power line carrier (PLC) | |
CN101923631B (en) | CPLD-based low-frequency ID card real-time simulator |
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 |