CN108021832A - A kind of electric energy meter of compatible more card operations knows chucking method - Google Patents

A kind of electric energy meter of compatible more card operations knows chucking method Download PDF

Info

Publication number
CN108021832A
CN108021832A CN201711370095.6A CN201711370095A CN108021832A CN 108021832 A CN108021832 A CN 108021832A CN 201711370095 A CN201711370095 A CN 201711370095A CN 108021832 A CN108021832 A CN 108021832A
Authority
CN
China
Prior art keywords
card
electric energy
energy meter
knows
compatible
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.)
Pending
Application number
CN201711370095.6A
Other languages
Chinese (zh)
Inventor
丁小燕
赖济民
毛犇
杨建明
胡钱波
金海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN201711370095.6A priority Critical patent/CN108021832A/en
Publication of CN108021832A publication Critical patent/CN108021832A/en
Pending legal-status Critical Current

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/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0021Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers for reading/sensing record carriers having surface contacts
    • 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/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The present invention relates to a kind of electric energy meter of compatible more card operations to know chucking method, and the described method includes A, electric energy meter timing send card seeking instruction;B, detect port and enter first kind card recognition pattern according to card seeking instruction, card is identified;If C, judging the non-first kind card of the card, the second class card recognition pattern is gone to;If D, the card is the first kind or the second class card, subsequent operation is carried out;If E, the non-first kind of the card or the second class card, end operation.Relative to the prior art, the present invention can effectively realize more card operation fusions, and convenient user, economizes on resources.

Description

A kind of electric energy meter of compatible more card operations knows chucking method
Technical field
A kind of electric energy meter the present invention relates to electric energy meter technology, more particularly to a variety of cards of compatibility knows chucking method.
Background technology
With the development of science and technology, electric energy meter design is more and more intelligent, people can be by swiping card mode pre-payment, but the party Formula also brings many inconvenience.
The electric energy meter sample diversified in specifications of different operators design, the debit card species supporting with it is also different, some need Consumed using IC card, some need are paid using radio-frequency card, can not compatible mutual payment between the electric energy meter of different moneys Card, once this causes user to replace the electric energy meter for employing different manufacturers, then can not just be continuing with original debit card, if former Many electricity charge are also prestored in debit card, then user need to go to power supply bureau to handle the formalities such as a turn card, cancellation, can take out remaining in card Volume, this not only adds burden to user, causes user to be discontented with, while the card after cancellation is used without it again, causes the wasting of resources.
The content of the invention
In view of the above problems, it is an object of the invention to provide a kind of electric energy meter of compatible more card operations to know chucking method, should Electric energy meter can compatible different debit card, it is allowed to which consumer uses debit card according to the selection of oneself demand, and user's is same facilitating When, also save resource.
To achieve these goals, the technical solution adopted by the present invention is:A kind of electric energy meter of compatible more card operations knows card Method, it is characterised in that:The described method includes,
A, electric energy meter timing sends card seeking instruction;
B, detect port and enter first kind card recognition pattern according to card seeking instruction, card is identified;
If C, judging the non-first kind card of the card, the second class card recognition pattern is gone to;
If D, the card is the first kind or the second class card, subsequent operation is carried out;
If E, the non-first kind of the card or the second class card, end operation.
Further, the first kind card recognition pattern seeks radio frequency mode card, the second class card recognition for timing Pattern is detection contact card intercalation model.
Further, the card seeking instruction includes detecting radio-frequency card instruction and the card instruction of detection contact, described instruction The different card seeking signals sent by the card seeking chip in electric energy meter according to electric energy meter, which correspond to, to be produced.
Further, the different card seeking signal sends detection radio-frequency card every T1ms including electric energy meter to card seeking chip Card seeking signal and every T2ms to card seeking chip send detection contact card card seeking signal.
Further, the timing seeks radio frequency mode card and is specially:
After the card enters detection port areas, if detection port can detect the card according to detection radio-frequency card instruction Piece information, then judge to successfully be detected radio-frequency card, lock the radio-frequency card, perform D;If being not detected by the card image, Perform C.
Further, the detection contact card intercalation model is specially:
A card image is detected in the detection port according to the instruction of detection contact card every T2ms, and works as and detect During the card image, plug-in card variable is added 1;
After being carried out continuously n detection, by plug-in card variable accumulation result compared with setting value;
If accumulation result is equal with setting value, judgement successfully be detected contact card, D be performed, conversely, then performing E.
Further, the plug-in card variable uses octal number, and initial value is 0000;Every time before detection card image, By octal system plug-in card variable left one.
Further, the timing is sought radio frequency mode card and is further included, and before card image is detected, has also carried out anti-card Conflict or interference operation.
Further, T2 values 10ms, T1 value 500ms, the n value 4.
Further, the subsequent operation is included after the type of card is successfully judged, judges the conjunction of card format Method, if illegal, end operation.
Further, if to further include card format legal for the subsequent operation, electric energy meter carries out ESAM certifications with card, And in certification by rear, the operation such as data interaction is carried out, supplements with money, if certification is not by end operation.
Further, the card format legitimacy include the initial code of file structure in detection card, data check and, Whether end code is correct, or whether card is unissued blank card.
Compared with prior art, the advantage of the invention is that:Existing electric energy meter compatible can not block operation more, and of the invention Method electric energy meter, which is directed to different types of card, sends the signal of different frequency can be identified to radio-frequency card and IC card, according to The signal of different frequency reads corresponding card image using different data reading modes, can realize that the operation of a variety of cards is melted Close, ensure the smooth reception data of electric energy meter, realize seamlessly transitting for electric energy meter compatibility performance;And this method allows user according to certainly Body demand choice cards, while user-friendly, also saves resource, reduces the waste of invalid card.
Brief description of the drawings
Fig. 1 is the compatible electric energy meter overall workflow figure of the embodiment of the present invention.
Fig. 2 is that radio-frequency card operating process is sought in the timing of the embodiment of the present invention.
Fig. 3 is the detection contact card operating process of the embodiment of the present invention.
Fig. 4 is that card, the electric energy meter of the embodiment of the present invention realize ESAM identifying procedure figures.
Embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or has the function of same or like element.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.
As shown in Figure 1, the method for the present invention, which is related to a kind of electric energy meter of compatible more card operations, knows chucking method, this method corresponds to Electric energy meter there is detection port, during specific use, proceed as follows operation:
1) when there is card to enter detection port, radio frequency mode card is first sought using timing card image is detected;
2) when that can detect signal using this kind of mode, then locking radio frequency card, and judge the legal of the card format Property;
If 3) can not detect signal by this kind of mode, using detection contact card intercalation model detection card letter Breath;
If 4) can detect information, the legitimacy of the card format is judged;Specifically, the legitimacy includes including detection The initial code of file structure in card, data check and, end code it is whether correct, or whether card is unissued blank card Piece;
If 5) card format is legal, electric energy meter and card are authenticated using ESAM modes;
6) if certification is by with regard to carrying out data interaction, supplementing with money, the practical operation such as deduct money;
7) if detection contact card tablet mode can not detect card signal, or judge that card format is unqualified, or recognize Card can not be by, then end operation.
Electric energy meter can send inquiry radio frequency card signal every 500ms when carrying out aforesaid operations to card seeking chip, every 10ms sends inquiry contact card signal to card seeking chip, and corresponding, card seeking chip after above-mentioned signal is received, The instruction of detection radio-frequency card and the card instruction of detection contact can be correspondingly formed respectively, and foregoing timing is sought radio frequency mode card and corresponded to Radio-frequency card instruction is detected, detection contact card tablet mode corresponds to the card instruction of detection contact.
Specifically it is illustrated to periodically seeking radio frequency mode card and detection contact card tablet mode below.
Fig. 2 is illustrated that radio frequency mode card is sought in timing, and electric energy meter sends card seeking signal, card seeking per 500ms to card seeking chip After chip receives card seeking signal, start to send card seeking instruction, carry out excluding card conflict or interference operation during card seeking, with Anti- misjudgment, and selected card image is read out, can be effective if the operation carried out according to detection radio-frequency card instruction Card image is read, then judges that successfully be detected radio-frequency card swipes the card.
Fig. 3 be illustrated that detection contact card tablet mode, electric energy meter every 10ms to card seeking chip send card seeking signal after, The detection port of electric energy meter then can inquire about a plug-in card with identical frequency, i.e., 1 plug-in card data is sampled per 10ms, is specifically being sampled During, a plug-in card variable CardSamp, initial time 0 are set for the operation, which uses octal representation mode, Every time before collection, plug-in card variable CardSamp moves to left one, and when detecting card image, then carries out plus 1 operates, this After sample is carried out continuously four detections, plug-in card variable is obtained, by plug-in card variate-value this moment compared with the value set, if the two It is equal, then judge successfully be detected contact card insertion, if the two is unequal, and plug-in card variable be equal to 0 when, judge do not have Card insertion enters or card is pulled out away, end operation;If the two is differed, and plug-in card variable is not 0, then direct end operation.
Per 10ms, sampling once, has detected whether that card insertion enters, continuous to detect 4 times, using stabilization fault tolerant mechanism, can effectively carry The accuracy that height judges, certainly, in actual design, the number continuously detected can be other rational numbers.
Meanwhile it can also be other conjunctions that electric energy meter, which sends detection radio frequency card signal and the interval of detection contact card signal, Reason value, is set with specific reference to actual needs.
Specific identifying procedure is illustrated below.
There are ESAM modules in electric energy meter, verification process is broadly divided into four parts:
First, electric energy meter sends card reset command to card, after card receives the order, realizes and resets, and returns to 8 Byte discrete element, electric energy meter receive the 8 byte discrete element;
Then, electric energy meter sends to ESAM modules and takes random number order, after ESAM modules 8 byte random numbers of acquisition that its is anti- It is fed to electric energy meter;
Electric energy meter sends discrete, dispersion factor and generation temporary key order to ESAM modules, and ESAM modules receive the life After order, the temporary key of generation is back to electric energy meter;
Electric energy meter sends temporary key, random number and ESAM encryption orders, ESAM modules to ESAM modules again and generates 8 words Electric energy meter is returned it to after section ciphertext K1;
Secondly, electric energy meter sends random number and card encryption order to card, and card receives that to generate 8 bytes after the information close Literary K2, and 8 byte cryptogram K2 is returned into electric energy meter;
Finally, ciphertext K1 and K2 are compared by electric energy meter, if the two is consistent, represent certification by after can then carrying out It is continuous the practical operation such as to supplement, deduct fees with money.
The electric energy meter of this method is directed to different types of card, the signal of different frequency is sent, according to the letter of different frequency The different data reading mode of number use reads corresponding card image, can effectively realize the operation fusion of a variety of cards, ensure The smooth reception data of electric energy meter, realize seamlessly transitting for electric energy meter compatibility performance;And this method allows user according to self-demand Choice cards, while user-friendly, also saves resource, reduces the waste of invalid card.
In addition to above-mentioned improvement, other similar improvement are also contained in the improvement threshold of the present invention, are not just existed herein Repeat.Although an embodiment of the present invention has been shown and described, it will be appreciated by those skilled in the art that:The present invention is not being departed from Principle and objective in the case of can to these embodiments carry out it is a variety of change, modification, replace and deformation, the scope of the present invention Limited by claim and its equivalent.

Claims (12)

1. a kind of electric energy meter of compatible more card operations knows chucking method, it is characterised in that:The described method includes,
A, electric energy meter timing sends card seeking instruction;
B, detect port and enter first kind card recognition pattern according to card seeking instruction, card is identified;
If C, judging the non-first kind card of the card, the second class card recognition pattern is gone to;
If D, the card is the first kind or the second class card, subsequent operation is carried out;
If E, the non-first kind of the card or the second class card, end operation.
2. the electric energy meter of compatible more card operations according to claim 1 knows chucking method, it is characterised in that:
The first kind card recognition pattern seeks radio frequency mode card for timing, and the second class card recognition pattern contacts for detection Formula card intercalation model.
3. the electric energy meter of compatible more card operations according to claim 2 knows chucking method, it is characterised in that:
The card seeking instruction includes detecting radio-frequency card instruction and the card instruction of detection contact, and described instruction is by seeking in electric energy meter The different card seeking signals that the core of the card piece is sent according to electric energy meter, which correspond to, to be produced.
4. the electric energy meter of compatible more card operations according to claim 3 knows chucking method, it is characterised in that:
The different card seeking signal include electric energy meter every T1ms to card seeking chip send detection radio-frequency card card seeking signal and The card seeking signal of detection contact card is sent to card seeking chip every T2ms.
5. the electric energy meter of the more card operations of compatibility according to claim 3 or 4 knows chucking method, it is characterised in that:The timing Seek radio frequency mode card specifically,
After the card enters detection port areas, if detection port can detect that the card is believed according to detection radio-frequency card instruction Breath, then judge to successfully be detected radio-frequency card, lock the radio-frequency card, perform D;If being not detected by the card image, perform C。
6. the electric energy meter of compatible more card operations according to claim 4 knows chucking method, it is characterised in that:The detection contact Formula card intercalation model specifically,
A card image is detected in the detection port according to the instruction of detection contact card every T2ms, and described when detecting During card image, plug-in card variable is added 1;
After being carried out continuously n detection, by plug-in card variable accumulation result compared with setting value;
If accumulation result is equal with setting value, judgement successfully be detected contact card, D be performed, conversely, then performing E.
7. the electric energy meter of compatible more card operations according to claim 6 knows chucking method, it is characterised in that:
The plug-in card variable uses octal number, and initial value is 0000;Every time before detection card image, octal system plug-in card is become Amount moves to left one.
8. the electric energy meter of compatible more card operations according to claim 5 knows chucking method, it is characterised in that:The timing, which is sought, penetrates Frequency mode card further includes, and before card image is detected, has also carried out anti-card conflict or interference operation.
9. the electric energy meter of compatible more card operations according to claim 7 knows chucking method, it is characterised in that:
T2 values 10ms, T1 value 500ms, the n value 4.
10. the electric energy meter of compatible more card operations according to claim 1 knows chucking method, it is characterised in that:
The subsequent operation is included after the type of card is successfully judged, judges the legitimacy of card format, if illegal, Then end operation.
11. the electric energy meter of compatible more card operations according to claim 10 knows chucking method, it is characterised in that:
If it is legal that the subsequent operation further includes card format, electric energy meter carries out ESAM certifications with card, and passes through in certification Afterwards, carry out data interaction, the operation such as supplement with money, if certification is not by end operation.
12. the electric energy meter of the more card operations of compatibility according to claim 10 or 11 knows chucking method, it is characterised in that:
The card format legitimacy include the initial code of file structure in detection card, data check and, end code whether just Really, or whether card is unissued blank card.
CN201711370095.6A 2017-12-18 2017-12-18 A kind of electric energy meter of compatible more card operations knows chucking method Pending CN108021832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711370095.6A CN108021832A (en) 2017-12-18 2017-12-18 A kind of electric energy meter of compatible more card operations knows chucking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711370095.6A CN108021832A (en) 2017-12-18 2017-12-18 A kind of electric energy meter of compatible more card operations knows chucking method

Publications (1)

Publication Number Publication Date
CN108021832A true CN108021832A (en) 2018-05-11

Family

ID=62074151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711370095.6A Pending CN108021832A (en) 2017-12-18 2017-12-18 A kind of electric energy meter of compatible more card operations knows chucking method

Country Status (1)

Country Link
CN (1) CN108021832A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969782A (en) * 2019-11-13 2020-04-07 上海动联信息技术股份有限公司 Non-card-receiving card reading method for POS machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346862A (en) * 2011-09-20 2012-02-08 飞天诚信科技股份有限公司 Authentication method and device of contactless card
CN103021081A (en) * 2012-11-21 2013-04-03 江苏鸿信系统集成有限公司 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application
CN103310175A (en) * 2013-06-24 2013-09-18 飞天诚信科技股份有限公司 Standard CCID protocol based working method for multi-card-slot card reader
CN104299316A (en) * 2014-09-28 2015-01-21 飞天诚信科技股份有限公司 Method for automatically detecting card types through financial terminal
CN104317761A (en) * 2014-10-27 2015-01-28 飞天诚信科技股份有限公司 Multi-interface mobile security equipment with power management and operation method of multi-interface mobile security equipment
CN106022180A (en) * 2016-05-27 2016-10-12 武汉源启科技股份有限公司 Method and device for identifying a plurality of types of cards through single card slot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346862A (en) * 2011-09-20 2012-02-08 飞天诚信科技股份有限公司 Authentication method and device of contactless card
CN103021081A (en) * 2012-11-21 2013-04-03 江苏鸿信系统集成有限公司 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application
CN103310175A (en) * 2013-06-24 2013-09-18 飞天诚信科技股份有限公司 Standard CCID protocol based working method for multi-card-slot card reader
CN104299316A (en) * 2014-09-28 2015-01-21 飞天诚信科技股份有限公司 Method for automatically detecting card types through financial terminal
CN104317761A (en) * 2014-10-27 2015-01-28 飞天诚信科技股份有限公司 Multi-interface mobile security equipment with power management and operation method of multi-interface mobile security equipment
CN106022180A (en) * 2016-05-27 2016-10-12 武汉源启科技股份有限公司 Method and device for identifying a plurality of types of cards through single card slot

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程国卿 等: "《安防系统工程方案设计 第2版》", 31 March 2017 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969782A (en) * 2019-11-13 2020-04-07 上海动联信息技术股份有限公司 Non-card-receiving card reading method for POS machine

Similar Documents

Publication Publication Date Title
US7565396B2 (en) Service providing system, second connecting part, service providing device, second connecting part control program and service providing device control program
CN105261130B (en) A kind of intelligence POS terminal
US9806531B2 (en) Power supply device and method, and program
JP2008516354A5 (en)
CN103218646A (en) All-in-one digital mobile card and implementation method thereof
CN103778705A (en) Realization method and system of NFC (near field communication) electronic lock and NFC electronic lock card reader
CN207523456U (en) Shared electric bicycle charging system
CN204117216U (en) A kind of NFC electronic lock card reader and NFC electronic lock system
CN106300534B (en) A kind of method and device of mobile phone charging
CN101923752B (en) Electromobile charging management device with billing function
CN106384183A (en) ID card management system
US20150130296A1 (en) Power supply device and method, and program
US20140088784A1 (en) Power supply device and method, and program
CN113345165A (en) Charging and billing starting method in offline state of charging pile and charging pile
CN204242233U (en) A kind of NFC mobile phone payment system
WO2009020264A1 (en) Mobile terminal power up by external device
CN101727683B (en) Public transport IC card identity identifying and authenticating system
CN108021832A (en) A kind of electric energy meter of compatible more card operations knows chucking method
CN107274566A (en) A kind of application system of electric automobile charging pile on public bicycles website
CN108229950A (en) A kind of intelligent Service method that mobile communication terminal user based on low coverage space quick and precisely identifies
CN203179179U (en) POS machine based on speech recognition
CN215264950U (en) Plug-and-play charging system based on intelligent charging gun
CN1955641B (en) Counting device and method for implementing function changing by communication mode
KR101052775B1 (en) Carbon credits processing method and system
CN107093241A (en) Electric locking and lock control method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication