Background technology
NFC read write line/intelligent card read/write device reaches with products such as the utensil of functions of card reader such as POS machines most because limit to outward appearance, structure and inner space, and it is enough large that the non-contact card reader antenna area can not be done, and this has directly affected card reader Card Reader performance.On the other hand, have on the market a large amount of special-shaped cards to use, this class card is packaged into various grotesque ornaments shapes, and general card antenna area is narrow and small.The too narrow and small or response frequency card devious of some area uses at our POS machine-read card device and impalpable situation can occur in this type of special-shaped card.And the gradually maturation along with Mobile-Payment Technology, the increasing mobile phone card-brushing that uses with payment function (based on the NFC technology) on the market, the 13.56M antenna of this type of embedded in mobile phone is attached on the cell phone rear cover battery more, because battery of mobile phone and the many metal materials of mobile phone itself, and the contactless Card Reader technology of 13.56M base inductive coupling principle, affected by metal, therefore the Card Reader effect is not ideal enough mostly.
For this generic card, we can show good recognition at card reader, and at present can only be in POS machine setting option the antenna gain value be established height for the special-shaped card of this class miniature antenna, but cross high-gain and may cause the generic card unsettled problem of also communicating by letter, how to accomplish all-embracingly to be independent of each other again, our performance requirement of product has been proposed challenge.
In existing NFC read write line/intelligent card read/write device, mostly take to improve antenna reception and gain to improve receiving sensitivity, the read-write of the card that is difficult to distinguish under the usual conditions such as realization small difference type card and mobile phone with payment function.But simply strengthen antenna gain and cause the Antenna Anti-jamming reduction, making communicates by letter is easy to be subject to extraneous subtle disruption and makes communication unstable, also may cause unstablely so that those standards meet the conventional cards of ISO/IEC 14443-1 size, affect card reader overall performance and stable row.
Therefore, in order to overcome the defective of prior art, be necessary to develop a kind of antenna gain method that can adapt to the NFC read write line of various smart cards.
Summary of the invention
The object of the invention is to overcome the defective of prior art, and a kind of antenna gain method of NFC read write line is provided, by this method, can identify quickly various standard intelligent card and special-shaped smart card; So that card reader compatibility that is can be to all kinds of antenna sizes narrow and small and that be in all types of cards under the disadvantageous surrounding enviroment gets a promotion, do not affect the readwrite performance to the common standard card simultaneously.
For achieving the above object, the present invention is by the following technical solutions:
A kind of antenna gain method of NFC read write line, the method are to increase by one to ask card gain process when the inquiry card of NFC read write line; This inquiry card process may further comprise the steps: (1) is carried out nominal gain and is ask card; (2) read/write circuit of read write line is judged asking the card result, when response is arranged, enters step (9); During without response, cumulative to counter, counting enters next step when reaching setting value, otherwise, enter step (1); (3) carry out high-gain and ask card, counter is carried out zero clearing; (4) read/write circuit of read write line is judged asking the card result, when response is arranged, enters next step, during without response, enters step (1); (5) card is ask in the gain that resets; (6) read/write circuit of read write line is judged asking the card result, during without response, enters next step, when response is arranged, enters step (9); (7) antenna of read write line is set to high-gain and askes card; (8) read/write circuit of read write line is judged asking the card result, when response is arranged, enters step (10), during without response, enters step (1); (9) antenna of read write line is set to nominal gain and askes card; (10) follow-up mutual.
Its further technical scheme is: the yield value that described high-gain is ask card is 150%~500% of nominal gain inquiry card.
Its further technical scheme is: the yield value that card is ask in the described gain that resets is 50%~80% of nominal gain inquiry card.
Its further technical scheme is: the setting value of described counter is 9 times.
The present invention's beneficial effect compared with prior art is: use the read write line of this method can normally distinguish generic card in 9 nominal gain inquiry cards, put into generic card when using high-gain 1 time, can automatically be transformed into nominal gain; When 9 nominal gain are ask card, can not distinguish small difference type card, when using high-gain 1 time, can normally distinguish small difference type card, and can normally keep this high-gain and be applied to follow-up mutual to this card.Influenced hardly for generic card on time, and slightly prolong than the read write line that does not use present technique for the inquiry card time of small difference type card, but basic not obvious sluggish sensation.This method is for solving non-fit read write line read-write miniature antenna and having good result with the read-write problem such as the payment function mobile phone of metal environment.
The invention will be further described below in conjunction with the drawings and specific embodiments.
Embodiment
In order to more fully understand technology contents of the present invention, below in conjunction with specific embodiment technical scheme of the present invention is further introduced and explanation, but be not limited to this.
As shown in Figure 1, the antenna gain method of a kind of NFC read write line of the present invention, the method are to increase by one to ask card gain process when the inquiry card of NFC read write line; This inquiry card process may further comprise the steps:
(1) carries out nominal gain and ask card;
(2) read/write circuit of read write line is judged asking the card result, when response is arranged, enters step (9); During without response, cumulative to counter, counting enters next step when reaching setting value, otherwise, enter step (1);
(3) carry out high-gain and ask card, counter is carried out zero clearing;
(4) read/write circuit of read write line is judged asking the card result, when response is arranged, enters next step, during without response, enters step (1);
(5) card is ask in the gain that resets;
(6) read/write circuit of read write line is judged asking the card result, during without response, enters next step, when response is arranged, enters step (9);
(7) antenna of read write line is set to high-gain and askes card;
(8) read/write circuit of read write line is judged asking the card result, when response is arranged, enters step (10), during without response, enters step (1);
(9) antenna of read write line is set to nominal gain and askes card;
(10) follow-up mutual.
Wherein, the yield value of high-gain inquiry card is 150%~500% of nominal gain inquiry card; The yield value that card is ask in the gain that resets is 50%~80% of nominal gain inquiry card; The setting value of counter S be 9 times for optimal values.
Be described more specifically as follows: because standard intelligent card and special-shaped smart card (mainly are application businessman discount card, member card, reach all kinds of individual character cards, it much is small difference type card that this type of card has, the card dimensions out-of-shape, antenna size differs) quantity inconsistent, but standard card still occupies the majority.Through estimation and testing authentication, per 9 nominal gain are inserted high-gain inquiry card one time after asking card, substantially can obtain both balances, this means, when putting into generic card, have at least 90% probability to come mutual phase with normal nominal gain, this is on several the ignoring of impact of the Transaction Success rate of conventional cards.And if put into the small difference type card that could identify when only having high-gain, the duration of its wait also is acceptable.The gain that resets wherein is in order further to reduce the probability of erroneous judgement: the nominal gain of setting is higher than reset defaults, generally, we use this reset defaults also is (holder places the position of card usually in this scope) that can recognize within the specific limits generic card, and small difference type card can not use this reset defaults to recognize usually.This provides a chance to us: utilize the minimum identification gain difference between generic card and the small difference type card.When using high-gain to ask card, ask card with high-gain for the first time, if without response, without card, program continues to ask card by 9 times/1 time in the declared range; If any response, then yield value is made as the acquiescence gain that resets and again askes card, if response is arranged, illustrate this inquiry to be likely conventional cards or can be by the normal abnormal shape card that arrives of asking, be set to nominal gain do follow-up mutual (reason such as aforementioned, nominal gain is higher than the acquiescence gain that resets usually, if reset acquiescence gain can identification card then nominal gain should be also can), if without response then be likely small difference type card, arranges back high-gain to gain this moment, again ask block and follow-up alternately.After this kind processing, the problem of just putting into generic card when the high-gain that 10% probability can be occured in most of situation is ask card solves, and can correctly automatically be transformed into nominal gain.And the inquiry card of small difference type card is substantially unaffected, and the shortcoming of bringing is to need two secondary cards of asking this moment more, has prolonged and has a bit ask the card time.
In other embodiment, the setting value of counter S also can be other numerical value, is 5,6,7,8,10 or 11 such as establishing it.
In sum, use the read write line of this method in 9 nominal gain inquiry cards, can normally distinguish generic card, when using high-gain 1 time, put into generic card, can automatically be transformed into nominal gain; When 9 nominal gain are ask card, can not distinguish small difference type card, when using high-gain 1 time, can normally distinguish small difference type card, and can normally keep this high-gain and be applied to follow-up mutual to this card.Influenced hardly for generic card on time, and slightly prolong than the read write line that does not use present technique for the inquiry card time of small difference type card, but basic not obvious sluggish sensation.This method is for solving non-fit read write line read-write miniature antenna and having good result with the read-write problem such as the payment function mobile phone of metal environment.
Above-mentionedly only further specify technology contents of the present invention with embodiment, so that the reader is more readily understood, do not only limit to this but do not represent embodiments of the present invention, any technology of doing according to the present invention is extended or recreation, all is subjected to protection of the present invention.Protection scope of the present invention is as the criterion with claims.