JPH0831119B2 - IC card data processing method - Google Patents
IC card data processing methodInfo
- Publication number
- JPH0831119B2 JPH0831119B2 JP63174402A JP17440288A JPH0831119B2 JP H0831119 B2 JPH0831119 B2 JP H0831119B2 JP 63174402 A JP63174402 A JP 63174402A JP 17440288 A JP17440288 A JP 17440288A JP H0831119 B2 JPH0831119 B2 JP H0831119B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- card
- data processing
- power supply
- processing unit
- 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.)
- Expired - Fee Related
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロコンピュータ、メモリ、送受信
回路を集積回路に内蔵して各種のデータ処理やデータの
授受などに用いるIC(Integrated Circuit)カードのデ
ータ処理方法に関する。Description: TECHNICAL FIELD The present invention relates to an IC (Integrated Circuit) card used for various data processing, data transfer, etc. by incorporating a microcomputer, a memory, and a transmission / reception circuit in an integrated circuit. Data processing method
〔従来の技術〕 従来、ICカードは、非接触でIDコードの認識を行うこ
とができるので、バーコードに代わってFA(Factory Au
tomation)システムや入退出管理システムなどに用いら
れている。[Prior Art] Conventionally, an IC card can recognize an ID code in a contactless manner. Therefore, an FA (Factory Au
It is used for a tomation system and an entrance / exit management system.
FAシステムでは、たとえば、第4図に示すように、レ
ール2上を移動するワーク4の側面部に必要なコードな
どを記憶させたICカード6が取り付られ、ワーク4をIC
カード6を以て検知してICカード6との間で必要なデー
タの授受を行うためのカードリード・ライタ8が設置さ
れ、カードリード・ライタ8には主処理装置10が接続さ
れる。すなわち、ワーク4に対する加工や計測などの種
々の処理およびその処理位置を記憶させ、その処理操作
を主処理装置10側との無線で交信することにより、行う
ものである。In the FA system, for example, as shown in FIG. 4, an IC card 6 storing a necessary code and the like is attached to the side surface of the work 4 moving on the rail 2 to attach the work 4 to the IC.
A card read / writer 8 is installed for detecting necessary data with the card 6 and exchanging necessary data with the IC card 6, and the main processing unit 10 is connected to the card read / writer 8. That is, various processing such as processing and measurement for the work 4 and the processing position thereof are stored, and the processing operation is performed by wirelessly communicating with the main processing unit 10 side.
また、入退出管理システムでは、入退出者がICカード
6を携帯し、チェック箇所で主処理装置10との交信を行
って、退出者を監視する。Further, in the entry / exit management system, the entry / exit person carries the IC card 6, communicates with the main processing device 10 at the check point, and monitors the exit / entry person.
このようなFAシステムや入退出管理システムなどに用
いられるICカード6では、内蔵された電源を以てデータ
処理、データの送受信などが行われており、電池の消耗
などによって電圧が低下すると、データ処理が不可能に
なるので、電源の異常を監視する必要がある。In the IC card 6 used for such FA system and entry / exit management system, data processing, data transmission / reception, etc. are carried out by the built-in power supply, and when the voltage drops due to battery exhaustion, etc. Since it becomes impossible, it is necessary to monitor the power supply for abnormalities.
従来、電源の異常として、たとえば、その電圧の低下
を監視しており、その監視の結果がICカード6から主処
理装置10側に他のデータとともに電圧異常を表するデー
タとして伝送されている。Conventionally, for example, a voltage drop is monitored as an abnormality of a power supply, and the result of the monitoring is transmitted from the IC card 6 to the main processing unit 10 side together with other data as data indicating the voltage abnormality.
ところで、ICカード6によって伝送されるデータは、
第5図に示すように、1キャラクタCRがスタートビット
ST、データビットDT、パリティビットPTおよびストップ
ビットSPの8ビットを以て構成されており、従来、デー
タビットDTの1ビットを電池の消耗データの伝送に当
て、電池の消耗を主処理装置10側に告知する方法が取ら
れてきた。このような方法では、全データ長の20%が電
池の消耗告知のために費やされるため、そのビット分が
IDコードなどの伝送分を抑制することにより、効率的な
データ伝送を妨げていた。By the way, the data transmitted by the IC card 6 is
As shown in Fig. 5, 1 character CR is the start bit
It consists of 8 bits of ST, data bit DT, parity bit PT and stop bit SP. Conventionally, 1 bit of data bit DT is used for transmission of battery consumption data, and battery consumption is transferred to the main processing unit 10 side. The method of announcing has been taken. In such a method, 20% of the total data length is spent for notification of battery exhaustion, so that bit is saved.
Efficient data transmission was hindered by suppressing the transmission of ID code.
そこで、この発明は、電池の消耗を表すデータをスト
ップビットの転用により、効率的に伝送可能にしたICカ
ードのデータ処理方法の実現を目的とする。Therefore, an object of the present invention is to realize a data processing method for an IC card, which makes it possible to efficiently transmit data representing battery consumption by using stop bits.
[課題を解決するための手段] この発明のICカードのデータ処理方法は、データ処理
手段(データ処理部20)、主処理装置(10)側との送受
手段(キャリア発振器26、変調器28、電力増幅器30)と
ともに電源(32)を内蔵したICカードのデータ処理方法
であって、前記電源の電圧異常を検知し、この電圧異常
を、1キャラクタの末尾に設置されるストップデータを
表すストップビットを用いて表すとともに、主処理装置
側に送信することを特徴とする。[Means for Solving the Problems] A data processing method for an IC card according to the present invention includes a data processing means (data processing unit 20), a means for transmitting / receiving data to / from the main processing device (10) (carrier oscillator 26, modulator 28, A data processing method for an IC card having a power supply (32) and a power supply (32) built-in, wherein a voltage abnormality of the power supply is detected, and this voltage abnormality is indicated by a stop bit representing stop data set at the end of one character. And is transmitted to the main processing unit side.
このようにすれば、ICカードに内蔵された電源の異
常、たとえば、電池の消耗による電圧異常を検知し、こ
の異常状態を、1キャラクタのストップビットで表すこ
とにより、ストップデータと電源異常とが1ビットによ
って表わされ、他のビット分が電源異常を表すデータに
よって妨げられることがなく、効率的なデータ伝送が実
現される。In this way, by detecting the abnormality of the power supply built in the IC card, for example, the voltage abnormality due to the consumption of the battery, and expressing this abnormal state by the stop bit of one character, the stop data and the power abnormality can be detected. Efficient data transmission is realized without being disturbed by the data that is represented by 1 bit and the other bits are represented by the power supply abnormality.
第1図は、この発明のICカードのデータ処理方法を示
す。FIG. 1 shows a data processing method for an IC card according to the present invention.
ICカード6は、たとえば、矩形のカードに形成され、
FAシステムでは、第4図に示すように、ICカード6がワ
ーク4に取り付けられ、また、入退出管理システムでは
そのICカード6を入退出者に携帯させる。The IC card 6 is, for example, formed into a rectangular card,
In the FA system, as shown in FIG. 4, an IC card 6 is attached to the work 4, and in the entrance / exit management system, the IC card 6 is carried by the entering / leaving person.
このICカード6の周縁部には、データ伝達媒体である
電波の送受を行うためのループアンテナ12が設置されて
おり、ICカード6が主処理装置10側のカードリード・ラ
イタ8の監視エリアに入ると、主処理装置10側から電波
によって送信されている高周波信号を受信することがで
きる。この高周波信号がループアンテナ12を通して同調
回路14に加えられ、同調回路14ではキャリアCrの周波数
frと等しい同調周波数frが設定されているので、その周
波数frの高周波信号が選択される。この高周波信号は検
波回路16に加えられ、検波回路16で包絡線検波によって
データを表す変調信号が検波され、その検波出力信号
は、増幅器18にて増幅される。この結果、データ処理部
20には、データ入力端子DATAから主処理装置10側にデー
タDMが取り込まれる。A loop antenna 12 for transmitting and receiving a radio wave which is a data transmission medium is installed in the peripheral portion of the IC card 6, and the IC card 6 is placed in the monitoring area of the card read / writer 8 on the main processing unit 10 side. Upon entering, the high-frequency signal transmitted by radio waves from the main processing device 10 side can be received. This high-frequency signal is applied to the tuning circuit 14 through the loop antenna 12, and the tuning circuit 14 causes the frequency of the carrier C r to rise.
Since f r equal tuning frequency f r is set, the high-frequency signal of the frequency f r is selected. This high-frequency signal is applied to the detection circuit 16, the detection signal of the data is detected by envelope detection in the detection circuit 16, and the detection output signal is amplified by the amplifier 18. As a result, the data processing unit
The data D M is loaded into the main processing unit 10 from the data input terminal DATA.
また、ICカード6には、必要なコード入力を行うため
のコード設定部22が設けられ、たとえば、ICカード6を
携帯している者またはICカード6が取り付けられている
物のIDコードが設定される。コード設定部22は、たとえ
ば、コードパターン数216×4の設定のため、4行、16
列のマトリクス回路などで構成され、任意の行線の切断
などによって必要なコード入力が設定される。Further, the IC card 6 is provided with a code setting section 22 for inputting a necessary code, and for example, an ID code of a person carrying the IC card 6 or an object to which the IC card 6 is attached is set. To be done. The code setting unit 22 sets, for example, 4 lines, 16 lines for setting the number of code patterns 2 16 × 4.
It is composed of a matrix circuit of columns and the like, and a necessary code input is set by cutting an arbitrary row line or the like.
そして、データ処理部20には、たとえば、第2図に示
すように、マイクロコンピュータが設置されており、デ
ータ処理を行う中央処理装置(CPU)201、データ処理を
行うためのプログラムや必要なデータを記憶するメモリ
202およびデータの入出力を行う入出力部(I/O)203が
アドレスバス204、データバス205およびコントロールバ
ス206を以て連係されている。このマイクロコンピュー
タによる処理は、クリスタス発振素子24によって発生さ
せたクロックパルスを以てタイミングが取られている。As shown in FIG. 2, for example, a microcomputer is installed in the data processing unit 20, a central processing unit (CPU) 201 for performing data processing, a program for performing data processing, and necessary data. Memory to store
202 and an input / output unit (I / O) 203 for inputting / outputting data are linked by an address bus 204, a data bus 205 and a control bus 206. The processing by this microcomputer is timed by the clock pulse generated by the crystal oscillator 24.
このデータ処理部20では、取り込んだデータDMが主処
理装置10からのものであるか否かを判別し、主処理装置
10からのデータであると判断した場合には、コード送出
命令信号COとともに、コード出力部CODEOUTからコード
を表すたとえば、第3図のAに示すデータDKが出力され
る。コード送出命令信号COは、高(H)低(L)2レベ
ルのスイッチング信号であり、キャリア発振器26の駆動
命令となる。たとえば、コード送出命令信号COがHレベ
ルに移行すると、キャリア発振器26が動作を開始し、こ
のキャリア発振器26から周波数frのたとえば第3図のB
に示すキャリアCrが出力される。このキャリアCrは、変
調器28に加えられ、データ処理部20から変調信号として
出力されるデータDKによってパルス変調が施される。In the data processing unit 20, it is determined whether or not the captured data D M is from the main processing device 10, and the main processing device
When it is determined that the data is from 10, the code output command signal C O is output from the code output unit CODEOUT, for example, the data D K shown in A of FIG. 3 is output. The code transmission command signal C O is a high (H) low (L) 2-level switching signal and serves as a drive command for the carrier oscillator 26. For example, when the code transmission command signal C O shifts to the H level, the carrier oscillator 26 starts operating, and the carrier oscillator 26 starts to operate at a frequency f r of, for example, B in FIG.
The carrier C r shown in is output. The carrier C r is applied to the modulator 28 and pulse-modulated by the data D K output as a modulation signal from the data processing unit 20.
変調器28から得られた変調出力MOは、電力増幅器30で
増幅された後、ループアンテナ12に加えられ、変調出力
MOが電波としてカードリード・ライタ8に伝送される。The modulation output M O obtained from the modulator 28 is amplified by the power amplifier 30, and then added to the loop antenna 12 to obtain the modulation output.
M O is transmitted to the card reader-writer 8 as a radio wave.
このようなICカード6においてデータ処理、データ授
受など総ての処理には、ICカード6に内蔵されているリ
チウム電池などから成る電源32が用いられている。この
電源32の電圧の消耗を監視するために、電圧検知器34が
設置されており、電圧検知部34では、電源32の電圧が正
常であるか否かを検知する。電圧検知部34には、電源32
の電圧VDDの異常の有無に応じて切り換えられるスイッ
チSWが設置され、データ処理部20に接続された電源32か
ら電圧VDDが加えられている。データ処理部20では電圧V
DDが加えられることによってクリスタル発振素子24によ
る発振が行われ、スタンバイ後、OSCON信号が出力され
てスイッチSWに加えられる。そこで、電圧検知部34で
は、電源32が正常な電圧VDDを発生しているか否かを検
出し、正常である場合には、スイッチSWが導通状態とな
って、OSCON信号がスイッチSWを通して電源リセット部3
6に加えられ、また、電池交換時や、電圧VDDが異常値で
ある場合には、スイッチSWが遮断状態となる。A power supply 32 including a lithium battery incorporated in the IC card 6 is used for all the processes such as data processing and data exchange in the IC card 6. A voltage detector 34 is installed in order to monitor the consumption of the voltage of the power source 32, and the voltage detector 34 detects whether the voltage of the power source 32 is normal. The voltage detector 34 has a power supply 32
A switch SW that is switched according to whether or not there is an abnormality in the voltage V DD is installed, and the voltage V DD is applied from the power supply 32 connected to the data processing unit 20. Data processing unit 20 voltage V
The crystal oscillator 24 oscillates by adding DD , and after standby, the OSCON signal is output and applied to the switch SW. Therefore, the voltage detection unit 34 detects whether or not the power supply 32 is generating a normal voltage V DD, and if it is normal, the switch SW is turned on and the OSCON signal is supplied via the switch SW to the power supply. Reset part 3
In addition to 6, the switch SW is cut off when the battery is replaced or when the voltage V DD is an abnormal value.
そして、電源リセット部36では、電圧検知部34からOS
CON信号の有無によって表される検知出力に応じたリセ
ット信号Rが得られる。このリセット信号Rは、OSCON
信号の有無に基づいた高低2レベルのスイッチング信号
であり、たとえば、正常時にはHレベル、異常時にはL
レベルとなり、電圧VDDが正常か否かが表される。ま
た、電源リセット部36の動作は、電気交換時などのデー
タ処理部20に対するイニシャルリセットを行うためにも
用いられ、その場合、電源リセット部36はラッチ動作と
なる。Then, in the power reset unit 36, the voltage detection unit 34
The reset signal R corresponding to the detection output represented by the presence or absence of the CON signal is obtained. This reset signal R is OSCON
It is a high / low 2-level switching signal based on the presence / absence of a signal. For example, it is H level when normal and L when abnormal.
It becomes a level and indicates whether or not the voltage V DD is normal. The operation of the power supply reset unit 36 is also used to perform an initial reset for the data processing unit 20 at the time of electrical exchange, and in that case, the power supply reset unit 36 becomes a latch operation.
そこで、データ処理部20では、電源32が正常である場
合には、電源リセット部36からのリセット信号R(H)
に基づいて、第3図のAに示すように、高低2レベルの
信号の高低レベルによって表される1キャラクタCRの末
尾に置かれているストップビットSPのストップデータを
Hレベルに設定する。この場合、このデータDKと、第3
図のBに示すキャリアDrによって第3図のCに示す変調
出力MOが得られ、主処理装置10側にループアンテナ12を
通して送られる。主処理装置10では、ストップビットSP
がHレベルであることを読み取り、1キャラクタCRの区
分の認識によって調歩同期が取られるとともに、電源32
が正常であることを知ることができ、正常なデータ処理
が行われる。Therefore, in the data processing unit 20, when the power supply 32 is normal, the reset signal R (H) from the power supply reset unit 36 is used.
3, the stop data of the stop bit SP placed at the end of one character CR represented by the high and low levels of the high and low 2-level signals is set to the H level. In this case, this data D K and the third
The carrier D r shown in FIG. 3B obtains the modulation output M O shown in FIG. 3C and is sent to the main processing unit 10 side through the loop antenna 12. In the main processing unit 10, the stop bit SP
Is detected at the H level, the start-stop synchronization is achieved by recognizing the 1-character CR segment, and the power supply 32
Is known to be normal, and normal data processing is performed.
また、データ処理部20では、電源32が異常である場
合、リセット信号R(L)に基づき、第3図のEに示す
ように、1キャラクタCRの末尾に置かれているストップ
ビットSPをLレベルに変更する。この場合、このデータ
DKと、第3図のBに示すキャリアCrによって第3図のF
に示す変調出力MOが得られ、主処理装置10側にループア
ンテナ12を通して送られる。主処理装置10側では、スト
ップビットSPがLレベルであることから、次のキャラク
タCRの区分が困難になり、同期情報が欠如して調歩同期
が維持されないので、その後のデータの信頼性を失い、
データの受入を停止する。この結果、ICカード6の電源
32が異常であることが判る。When the power supply 32 is abnormal, the data processing unit 20 sets the stop bit SP at the end of one character CR to L as shown in E of FIG. 3 based on the reset signal R (L). Change to level. In this case, this data
By D K and carrier C r shown in B of FIG. 3, F of FIG.
The modulated output M O shown in is obtained and sent to the main processing unit 10 side through the loop antenna 12. On the side of the main processing unit 10, since the stop bit SP is at the L level, it becomes difficult to distinguish the next character CR, and since the synchronization information is lacking and the start-stop synchronization is not maintained, the reliability of the data thereafter is lost. ,
Stop accepting data. As a result, IC card 6 power supply
It turns out that 32 is abnormal.
このように、ICカード6側の電源32が正常であるか否
かを1キャラクタCRのストップビットSPを以て表すこと
により、キャラクタCRの区分と同時に電源32の異常、た
とえば、電池の消耗による電圧低下を知ることができ、
可及的速やかに電池交換を行うことができる。In this way, by indicating whether or not the power supply 32 on the IC card 6 side is normal by using the stop bit SP of one character CR, an abnormality of the power supply 32 at the same time as the division of the character CR, for example, a voltage drop due to battery exhaustion You can know
The battery can be replaced as soon as possible.
なお、実施例では、データによるキャリアの変調を行
う場合、パルス変調を例に取って説明したが、この発明
は、ASK変調、FSK変調、PSK変調など各種の変調方式を
用いることができる。In addition, in the embodiment, when the carrier is modulated by data, the pulse modulation is described as an example, but the present invention can use various modulation methods such as ASK modulation, FSK modulation, and PSK modulation.
以上説明したように、この発明によれば、ICカードに
内蔵された電源の電圧異常を、1キャラクタの末尾に設
置されるストップデータを表すストップビットを用いて
表すようにしたので、ストップデータと電圧異常とが1
ビットによって表わされ、他のビット分が電圧異常を表
すデータによって妨げられることなく、IDコードなどの
主たるデータの効率的な伝送が実現される。As described above, according to the present invention, the voltage abnormality of the power supply incorporated in the IC card is represented by using the stop bit indicating the stop data set at the end of one character. Abnormal voltage is 1
Efficient transmission of main data such as an ID code is realized without being disturbed by data that is represented by a bit and other bits are represented by a voltage abnormality.
第1図はこの発明のICカードのデータ処理方法に用いる
ICカードの構成例を示すブロック図、第2図は第1図に
示したICカードにおけるデータ処理部を示す図、第3図
はこの発明のICカードのデータ処理方法の実施例を示す
図、第4図はFAシステムの概要を示す図、第5図は伝送
データの1キャラクタを示す図である。 6…ICカード 10…主処理装置 20…データ処理部(データ処理手段) 26…キャリア発振器 28…変調器 30…電力増幅器 32…電源 CR…キャラクタ SP…ストップビットFIG. 1 is used for the IC card data processing method of the present invention.
FIG. 2 is a block diagram showing a configuration example of an IC card, FIG. 2 is a diagram showing a data processing unit in the IC card shown in FIG. 1, and FIG. 3 is a diagram showing an embodiment of a data processing method of the IC card of the present invention. FIG. 4 is a diagram showing an outline of the FA system, and FIG. 5 is a diagram showing one character of transmission data. 6 ... IC card 10 ... Main processing unit 20 ... Data processing unit (data processing means) 26 ... Carrier oscillator 28 ... Modulator 30 ... Power amplifier 32 ... Power supply CR ... Character SP ... Stop bit
Claims (1)
段とともに電源を内蔵したICカードのデータ処理方法で
あって、 前記電源の電圧異常を検知し、この電圧異常を、1キャ
ラクタの末尾に設置されるストップデータを表すストッ
プビットを用いて表すとともに、主処理装置側に送信す
ることを特徴とするICカードのデータ処理方法。1. A data processing method for an IC card having a built-in power supply together with a data processing means, a transmission / reception means for the main processing device side, wherein a voltage abnormality of the power source is detected, and the voltage abnormality is detected at the end of one character. A data processing method for an IC card, characterized in that it is represented by using a stop bit that represents the stop data installed in the main processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63174402A JPH0831119B2 (en) | 1988-07-13 | 1988-07-13 | IC card data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63174402A JPH0831119B2 (en) | 1988-07-13 | 1988-07-13 | IC card data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0223493A JPH0223493A (en) | 1990-01-25 |
JPH0831119B2 true JPH0831119B2 (en) | 1996-03-27 |
Family
ID=15977941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63174402A Expired - Fee Related JPH0831119B2 (en) | 1988-07-13 | 1988-07-13 | IC card data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0831119B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57763A (en) * | 1980-06-02 | 1982-01-05 | Toshiba Corp | External memory device |
-
1988
- 1988-07-13 JP JP63174402A patent/JPH0831119B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0223493A (en) | 1990-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0247612B1 (en) | Microwave data transmission apparatus | |
US4353064A (en) | Battery operated access control card | |
US5352877A (en) | Non-contact transaction system with token presence detection | |
US7348875B2 (en) | Semi-passive radio frequency identification (RFID) tag with active beacon | |
JPH08316888A (en) | Tag identification system and method | |
US6104290A (en) | Contactless identification and communication system and method of operating the same | |
JP4992971B2 (en) | Active non-contact information storage device for accumulating detection values by sensors | |
JPH0897755A (en) | High-frequency transponder device | |
JP5141173B2 (en) | Information device, program and method capable of wireless communication with read / write device | |
EP0827100A3 (en) | Communication system and method | |
EP0492482B1 (en) | Non contact type IC-card | |
US20060022798A1 (en) | Reader/writer for transmitting command to IC tag, communication method and communication system based thereon | |
JPH03282581A (en) | Price indicating system and method related to said system | |
US20070015465A1 (en) | System comprising controlled-supply bluetooth communication module, radio communication assembly, methods and readers | |
JP2012023565A (en) | Communication system and communication device | |
JP2006040185A (en) | Semiconductor device for ic tag, ic tag and method for controlling ic tag | |
JPH0831119B2 (en) | IC card data processing method | |
JP2007174130A (en) | Hybrid-type soft id tag with multi-communication corresponding sensor function | |
JP2002007978A (en) | Data carrier system | |
JP2659070B2 (en) | IC card | |
JP2642426B2 (en) | IC card | |
JP2542142B2 (en) | Contact method of contactless identification device | |
JP2006081105A (en) | Individual object recognition wireless device and system | |
GB2156128A (en) | Electronic guard patrol systems | |
JP2000242739A (en) | Non-contact ic card reader-writer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |