JPH03282722A - Sleeping mode control system by external device - Google Patents
Sleeping mode control system by external deviceInfo
- Publication number
- JPH03282722A JPH03282722A JP2083100A JP8310090A JPH03282722A JP H03282722 A JPH03282722 A JP H03282722A JP 2083100 A JP2083100 A JP 2083100A JP 8310090 A JP8310090 A JP 8310090A JP H03282722 A JPH03282722 A JP H03282722A
- Authority
- JP
- Japan
- Prior art keywords
- external device
- sleep mode
- microprocessor
- signal
- data receiving
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
−
本発明は、外部装置によるスリープモード制御方式に関
する。さらに具体的にいうと、本発明は、装置に内蔵さ
れているマイクロプロセッサのスリープモードを外部装
置によって制御させるようにした制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] - The present invention relates to a sleep mode control method by an external device. More specifically, the present invention relates to a control method in which the sleep mode of a microprocessor built into a device is controlled by an external device.
[背景技術とその問題点]
データ受信部で外部装置からの伝送制御キャラクタを受
信することにより動作開始を制御される装置は、動作を
終了すると、次に伝送制御キャラクタを受信するまでの
間、待機状態に入る。[Background Art and Problems Therewith] When a device whose operation start is controlled by receiving a transmission control character from an external device in a data receiving section, after the operation is finished, the device does not control the operation until the next transmission control character is received. Enters standby state.
従来にあっては、このような装置の待機状態においては
、単に外部装置からの伝送制御キャラクタの受信完了を
待つのみであり、待機状態における低消費電力化を図る
工夫はなされていなかった。Conventionally, when such a device is in a standby state, it simply waits for the completion of receiving a transmission control character from an external device, and no measures have been taken to reduce power consumption in the standby state.
このため、このような装置にあっては、単なる待機状態
においても、通常の動作時と同程度の電力を消費すると
いう問題があった。For this reason, such a device has a problem in that even in a mere standby state, it consumes about the same amount of power as in normal operation.
[発明が解決しようとする課題]
本発明は、叙上の従来例の欠点に鑑みてなされたもので
あり、データ受信部で外部装置からの伝送制御キャラク
タを受信することにより動作開始を制御される装置にお
いて、待機状態における省電力化を図ることを目的とし
てなされたものである。[Problems to be Solved by the Invention] The present invention has been made in view of the drawbacks of the conventional example described above, and the start of operation is controlled by receiving a transmission control character from an external device in a data receiving section. This was done with the aim of saving power in the standby state of the device.
[課題を解決するための手段]
このため、本発明の外部装置によるスリープモード制御
方式は、データ受信部以外の機能を禁止するスリープモ
ードを持つマイクロプロセッサ及びデータ受信部を有す
る装置と、このデータ受信部に接続された、前記装置へ
動作を開始させるための信号を送信する外部装置とを備
え、前記データ受信部で受信された外部装置からのスリ
ープモードを解除させるための信号によって前記マイク
ロプロセッサのスリープモードを解除させ、処理の終了
もしくはデータ受信部で受信された外部装置からのキャ
ンセル信号によって前記マイクロプロセッサをスリープ
モードへ突入させるようにしたことを特徴としている。[Means for Solving the Problems] Therefore, the sleep mode control method using an external device according to the present invention provides a device having a microprocessor and a data receiving section that has a sleep mode that prohibits functions other than the data receiving section, and a device that has the data receiving section. an external device connected to the data receiving section that sends a signal for causing the device to start operating; The present invention is characterized in that the microprocessor is released from the sleep mode and entered into the sleep mode upon completion of processing or a cancel signal from an external device received by the data receiving section.
[作用]
本発明にあっては、処理の終了もしくはキャンセル信号
により装置が待機状態に入ると、マイクロプロセッサが
スリープモードとなって、データ受信部以外の機能が直
ちに禁止される。したがって、待機時の消費電力を必要
最小限に抑えることが可能になる。[Operation] According to the present invention, when the device enters a standby state due to a processing end or cancel signal, the microprocessor enters a sleep mode and functions other than the data receiving section are immediately prohibited. Therefore, it becomes possible to suppress power consumption during standby to the necessary minimum.
また、待機状態においても、データ受信部は停止してい
ないので、データ受信部がスリープモード解除信号を受
信すると、直ちに装置が待機状態から抜は出し、データ
を受信して動作可能な状態となる。Furthermore, even in the standby state, the data receiving section does not stop, so when the data receiving section receives the sleep mode release signal, the device is immediately taken out of the standby state, receives data, and becomes operational. .
さらに、動作を開始させるための信号(伝送制御キャラ
クタ)を受信するデータ受信部でスリープモード解除信
号を受けてスリープモードを解除させ、キャンセル信号
を受けてスリープモードに突入させているので、データ
受信用の信号線をスリープモード制御用の制御線に共用
させることができる。したがって、スリープモード制御
用の特別な制御線が必要なく、構成が簡単になると共に
広い用途に用いることかできる。Furthermore, the data receiving section that receives the signal (transmission control character) to start the operation cancels the sleep mode upon receiving the sleep mode release signal, and enters the sleep mode upon receiving the cancel signal, so that data reception The signal line for sleep mode control can also be used as a control line for sleep mode control. Therefore, there is no need for a special control line for sleep mode control, which simplifies the configuration and allows it to be used in a wide range of applications.
しかも、待機状態ではスリープモードとなっているので
、待機時に装置の電源をオフにする場合と比較すると、
解除時の立ち上がり時間が短くなる。Moreover, since it is in sleep mode in standby mode, compared to turning off the power of the device during standby mode,
The startup time when canceling is shortened.
[実施例] 以下、本発明の実施例を添付図に基づいて詳述する。[Example] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
第1図に示すものは、本発明の一実施例であって、カー
ドリーダ1と、伝送制御キャラクタによりカードリーダ
1の動作開始を制御する外部装置2である。具体的にい
えば、これは、例えば自動現金支払機の一部を構成する
ものである。What is shown in FIG. 1 is an embodiment of the present invention, which shows a card reader 1 and an external device 2 that controls the start of operation of the card reader 1 using a transmission control character. Specifically, it forms part of, for example, an automated teller machine.
カードリーダ1は、第1図に示されているように、カー
ドリーダ1の処理制御を行なうマイクロプロセッサ3と
、カード入力用の2台の磁気ヘッド等の読み取りヘッド
7.8と、読み取り結果や伝送結果を表示するLED等
の表示器9と、カード入力の結果や伝送結果を報知させ
るためのブザー10と、外部装置2からの信号を受信す
るデータ受信部4と、外部装置2ヘデータを送信するデ
ータ送信部5とから構成されている。ここに、2台の読
み取りヘッド7,8は、カードの表裏の磁気記録データ
を読み取ってマイクロプロセッサ3へ入力させるためで
あり、カード差込み口(図示せず)内の両側に配置され
ている。As shown in FIG. 1, the card reader 1 includes a microprocessor 3 that controls the processing of the card reader 1, a reading head 7.8 such as two magnetic heads for card input, and a reading head 7.8 for reading the reading results. A display 9 such as an LED that displays the transmission result, a buzzer 10 that notifies you of the card input result and the transmission result, a data receiving section 4 that receives signals from the external device 2, and transmits data to the external device 2. and a data transmitting section 5. Here, the two reading heads 7 and 8 are for reading magnetically recorded data on the front and back sides of the card and inputting it to the microprocessor 3, and are placed on both sides of a card insertion slot (not shown).
また、上記マイクロプロセッサ3は、スリープモードの
機能を備えている。 スリープモード、とは、−膜内に
いえば、マイクロプロセッサの動作は停止するが、タイ
マーやシリアルコミュニケーションインターフェース等
は動作の継続が可能なモードであり、実施例に即してい
えば、データ受信部4以外の各部の機能を禁止し、マイ
クロプロセッサ3自身もスリープモードに入る。したが
って、スリープモードでは、カードリーダ1の消費電力
が、通常動作時に比較して低減する。Further, the microprocessor 3 has a sleep mode function. Sleep mode is a mode in which the microprocessor stops operating, but the timer, serial communication interface, etc. can continue operating, and in accordance with the embodiment, the data receiving unit The functions of each part other than 4 are prohibited, and the microprocessor 3 itself also enters sleep mode. Therefore, in the sleep mode, the power consumption of the card reader 1 is reduced compared to during normal operation.
外部装置2は、信号線6,6によって、データ受信部4
及びデータ送信部5に接続されている。The external device 2 is connected to the data receiving section 4 through signal lines 6, 6.
and is connected to the data transmitter 5.
しかして、信号線6を通じて外部装置2から送信された
カードリード許可を示す伝送制御キャラクタ(以下、B
NQキャラクタという。)が、データ受信部4で受信さ
れると、カードリーダ1は、 6
スリープモードから抜は出て待機状態を解除される。逆
に、信号線6を通じて外部装置2から送信されたキャン
セル信号(キャンセルキャラクタ)が、データ受信部4
で受信されると、カードリーダ1は、スリープモードに
突入する。さらに、カードリーダ1は、カード読み取り
処理を終了した時も、スリープモードに突入する。カー
ドリーダ1が、スリープモードに入っている時も、デー
タ受信部4は機能しているので、外部装置2からの信号
を受信することができ、従って、ENQキャラクタを受
信してスリープモードから抜は出ることができる。また
、待機状態で電源をオフにすると、待機状態から抜は出
て電源をオンにした時、立上がり時間が長いために、待
ち時間が長くなるが、本発明のようにスリープモードで
あれば、スリープモードを解除して待機状態から抜は出
す時の立上がり時間が短く、待ち時間が短縮される。Therefore, a transmission control character (hereinafter referred to as B
It's called an NQ character. ) is received by the data receiving unit 4, the card reader 1 is taken out of the sleep mode and released from the standby state. Conversely, a cancellation signal (cancellation character) transmitted from the external device 2 through the signal line 6 is transmitted to the data receiving section 4.
When received, the card reader 1 enters sleep mode. Furthermore, the card reader 1 also enters the sleep mode when the card reading process is completed. Even when the card reader 1 is in sleep mode, the data receiving section 4 is functioning, so it can receive signals from the external device 2, and therefore can receive the ENQ character and exit the sleep mode. can come out. Also, if you turn off the power in standby mode, the standby time will be longer when the power is turned on after being unplugged from standby mode, but the wait time will be longer due to the longer startup time. The startup time when exiting the sleep mode and exiting from the standby state is short, and the waiting time is shortened.
また、信号線6を通じて外部装置2から送信されたカー
ドリーダコントロールキャラクタが、データ受信部4で
受信されると、カードリーダ1がカードの読み取りを行
なう。すなわち、カードリードコントロールキャラクタ
は、待機状態解除後の両読み取りヘッド7.8の動作状
態(アクティブ/インアクティブ)を規定する情報であ
り、このキャラクタによって外部装置2から読み取りヘ
ッド7,8の動作状態を制御できる。従って、カードリ
ーダ1は、外部装置2からのENQキャラクタと、EN
Qキャラクタの次にくるカードリーダコントロールキャ
ラクタを受信することにより、カードの読み取りが可能
となる。Further, when a card reader control character transmitted from the external device 2 through the signal line 6 is received by the data receiving section 4, the card reader 1 reads the card. That is, the card read control character is information that defines the operating state (active/inactive) of both reading heads 7 and 8 after the standby state is released, and this character allows the external device 2 to control the operating state of the reading heads 7 and 8. can be controlled. Therefore, the card reader 1 receives the ENQ character from the external device 2 and the ENQ character from the external device 2.
The card can be read by receiving the card reader control character that follows the Q character.
第2図に示すものは、上記カードリーダ1の動作を示す
フローチャートである。このフローチャートにより、カ
ードリーダ1の動作を説明する。What is shown in FIG. 2 is a flowchart showing the operation of the card reader 1. As shown in FIG. The operation of the card reader 1 will be explained using this flowchart.
カードリーダlは、データ受信部4でENQキャラクタ
及びカードリーダコントロールキャラクタ(CRCC)
を受信したか否かを監視しており(S31)、両キャラ
クタを受信していない時は、ステップ31とステップ3
8を繰り返してスリープモードを維持して待機状態とな
っている。また、ステップ31で受信したキャラクタが
、ENQキャラクタを含んでいない場合も、再びスリー
プモードに突入しく538)、待機状態となる。The card reader l receives the ENQ character and the card reader control character (CRCC) in the data receiving unit 4.
(S31), and if both characters have not been received, steps 31 and 3 are performed.
8 is repeated to maintain the sleep mode and enter the standby state. Also, if the characters received in step 31 do not include the ENQ character, the device enters sleep mode again (538) and enters a standby state.
一方、ステップ31で受信したキャラクタが、ENQキ
ャラクタを含んでいれば、ENQキャラクタの受信割込
みにより、マイクロプロセッサ3はスリープモードを解
除する。ついで、スリープモードが解除されると、カー
ドリード許可を示すLEDのような表示器9が点灯され
る(S 32)。On the other hand, if the character received in step 31 includes an ENQ character, the microprocessor 3 cancels the sleep mode due to the reception interrupt of the ENQ character. Next, when the sleep mode is canceled, the indicator 9, such as an LED, indicating card read permission is lit (S32).
ついで、データ受信部4で外部装置2からキャンセル(
CAN)信号を受信しているか否か監視しながら、カー
トスワイプを実行させる(S33゜534)。スリープ
モードへの突入は、強制的に外部装置から実行すること
も可能となっており、キャンセル信号を受信すると(3
33)、カードリーダ1は、カートスワイプ処理を中断
し、再びスリープモードに突入し、待機状態となる(3
38)。なお、キャンセル信号は、例えば操作者による
キーの押し間違いや、取消キーの入力などがあった場合
に、外部装置からデータ受信部4へ送信される。カート
スワイプが完了すると(834)、 −
読み取りヘッド7,8から読み取ったカードデータ、あ
るいはエラー情報をデータ送信部5を通して外部装置へ
送信する(S 35)。送信が完了すると、再びキャン
セル信号の受信の有無を調べ(836)、キャンセル信
号を受信していれば、スリープモードに突入して(S
38)待機状態となる。キャンセル信号を受信していな
ければ、カードの読み取り結果や外部装置への伝送の結
果を表示器9やブザー10で操作者に知らせる(837
)。例えば、カードの読み取り結果を表示器9に表示さ
せ、あるいはカードの読み取りエラーや伝送エラーがあ
れば、それを表示器9に表示すると共にブザー10を鳴
らして報知する。こうして一連のカードリード処理が終
了すると、カードリーダ1は、自動的にスリープモード
に突入して(S 38)待機状態となる。Then, the data receiving unit 4 receives a cancellation request from the external device 2 (
Cart swipe is executed while monitoring whether or not a CAN signal is being received (S33°534). Entering sleep mode can also be forcibly executed from an external device, and when a cancel signal is received (3
33) The card reader 1 interrupts the cart swipe process, enters the sleep mode again, and enters the standby state (3
38). Note that the cancel signal is transmitted from the external device to the data receiving unit 4 when, for example, the operator presses a key incorrectly or inputs a cancel key. When the cart swipe is completed (834), - The card data read from the reading heads 7, 8 or error information is transmitted to the external device through the data transmitter 5 (S35). When the transmission is completed, it is checked again whether a cancellation signal has been received (836), and if a cancellation signal has been received, the system enters sleep mode (S
38) Goes into standby state. If the cancellation signal is not received, the operator is notified of the card reading result and the transmission result to the external device using the display 9 or the buzzer 10 (837).
). For example, the card reading result is displayed on the display 9, or if there is a card reading error or transmission error, it is displayed on the display 9 and a buzzer 10 is sounded to alert you. When the series of card reading processes is thus completed, the card reader 1 automatically enters the sleep mode (S38) and enters the standby state.
なお、本発明は、自動現金支払機に限らず、電子キャシ
ュレジスタ、POS (販売時点管理)システムなどの
広い用途に用いることかできる。また、スリープモード
を利用する装置も、カードリ−ダに限らず、種々の装置
とすることができる。Note that the present invention can be used not only for automatic cash dispensers but also for a wide range of applications such as electronic cash registers and POS (point of sale) systems. Furthermore, the device that utilizes the sleep mode is not limited to the card reader, but may be any other device.
[発明の効果]
本発明によれば、待機状態では、スリープモードとなり
、データ受信部以外の機能が禁止されるので、待機時の
消費電力を必要最小限に抑えることができ、省電力化を
図ることができる。また、スリープモード制御用の特別
な制御線が必要ないので、スリープモード制御のための
構成が簡単になり、応用性も高くなる。さらに、待機状
態から抜は出す時の立上がり時間が短くなり、待ち時間
を小さくできる。[Effects of the Invention] According to the present invention, in the standby state, the mode is set to sleep mode, and functions other than the data receiving section are prohibited, so power consumption during standby can be suppressed to the necessary minimum, and power saving can be achieved. can be achieved. Further, since a special control line for sleep mode control is not required, the configuration for sleep mode control is simplified and the applicability is increased. Furthermore, the rise time when the device is removed from the standby state is shortened, and the waiting time can be reduced.
第1図は本発明の一実施例を示す概略構成図、第2図は
同上のスリープモード制御動作を説明するフローチャー
トである。
■・・・カードリーグ
2・・・外部装置
3・・・マイクロプロセッサ
4・・・データ受信部
1FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart explaining the sleep mode control operation of the same. ■...Card league 2...External device 3...Microprocessor 4...Data receiving section 1
Claims (1)
ドを持つマイクロプロセッサ及びデータ受信部を有する
装置と、 このデータ受信部に接続された、前記装置へ動作を開始
させるための信号を送信する外部装置とを備え、 前記データ受信部で受信された外部装置からのスリープ
モードを解除させるための信号によって前記マイクロプ
ロセッサのスリープモードを解除させ、処理の終了もし
くはデータ受信部で受信された外部装置からのキャンセ
ル信号によって前記マイクロプロセッサをスリープモー
ドへ突入させるようにしたことを特徴とする外部装置に
よるスリープモード制御方式。(1) A device that has a microprocessor and a data receiver that has a sleep mode that prohibits functions other than the data receiver, and an external device that is connected to this data receiver and that sends a signal to start operation of the device. and a device for canceling the sleep mode of the microprocessor in response to a signal for canceling the sleep mode from the external device received by the data receiving unit, and canceling the sleep mode of the microprocessor by the signal received by the data receiving unit to terminate the processing or from the external device received by the data receiving unit. A sleep mode control method by an external device, characterized in that the microprocessor is caused to enter a sleep mode by a cancel signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2083100A JPH03282722A (en) | 1990-03-30 | 1990-03-30 | Sleeping mode control system by external device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2083100A JPH03282722A (en) | 1990-03-30 | 1990-03-30 | Sleeping mode control system by external device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03282722A true JPH03282722A (en) | 1991-12-12 |
Family
ID=13792775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2083100A Pending JPH03282722A (en) | 1990-03-30 | 1990-03-30 | Sleeping mode control system by external device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03282722A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6727952B1 (en) * | 1999-02-02 | 2004-04-27 | Sanyo Electric Co., Ltd. | Electronic device having common connector |
JP2021125265A (en) * | 2020-02-07 | 2021-08-30 | コンチネンタル テーヴェス アクチエンゲゼルシャフト ウント コンパニー オッフェネ ハンデルス ゲゼルシャフトContinental Teves AG & Co. OHG | Authentication method |
-
1990
- 1990-03-30 JP JP2083100A patent/JPH03282722A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6727952B1 (en) * | 1999-02-02 | 2004-04-27 | Sanyo Electric Co., Ltd. | Electronic device having common connector |
JP2021125265A (en) * | 2020-02-07 | 2021-08-30 | コンチネンタル テーヴェス アクチエンゲゼルシャフト ウント コンパニー オッフェネ ハンデルス ゲゼルシャフトContinental Teves AG & Co. OHG | Authentication method |
US11533310B2 (en) | 2020-02-07 | 2022-12-20 | Continental Teves Ag & Co. Ohg | Authentication method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0496163A (en) | Dma controller | |
JPS5856143B2 (en) | Terminal device test program startup method | |
JPH03282722A (en) | Sleeping mode control system by external device | |
JPH1097233A (en) | Display device | |
JPH0612376A (en) | Portable electronic device | |
JPH1166428A (en) | Vending managing device | |
US20070127059A1 (en) | Image processing apparatus, charge management device connection device, charge management program product and charge management method | |
JP2001202534A (en) | Automatic ticket vending machine | |
JP3282278B2 (en) | Communications system | |
JPH04330466A (en) | Image forming system | |
JPH03148799A (en) | Power source controller for sales data processor for oil station | |
JP3066094U (en) | Remote key continuous press judgment device for electronic equipment | |
JP2956241B2 (en) | Data processing system | |
JP2581881Y2 (en) | Card read / write device | |
JPS6155716B2 (en) | ||
JP2833794B2 (en) | Key input processing device | |
JPH03109690A (en) | Electronic ticket checking system | |
JPS6190297A (en) | Pos system | |
JP2545494B2 (en) | Terminal device | |
JPS5925260B2 (en) | electronic cash register | |
JPH04288696A (en) | Non-contact pass gate system | |
JPS6146119A (en) | Power source automatic disconnecting system | |
JP2000268133A (en) | Ic card reader-writer | |
JPH0656597B2 (en) | Terminal device | |
KR20010105605A (en) | System for sanction a credit card using personal computer |