JPS63127315A - Data terminal equipment - Google Patents

Data terminal equipment

Info

Publication number
JPS63127315A
JPS63127315A JP61272978A JP27297886A JPS63127315A JP S63127315 A JPS63127315 A JP S63127315A JP 61272978 A JP61272978 A JP 61272978A JP 27297886 A JP27297886 A JP 27297886A JP S63127315 A JPS63127315 A JP S63127315A
Authority
JP
Japan
Prior art keywords
power
application program
memory
turned
program
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
Application number
JP61272978A
Other languages
Japanese (ja)
Other versions
JPH07122839B2 (en
Inventor
Hirokimi Shimizu
清水 裕公
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61272978A priority Critical patent/JPH07122839B2/en
Publication of JPS63127315A publication Critical patent/JPS63127315A/en
Publication of JPH07122839B2 publication Critical patent/JPH07122839B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To continuously simply execute a preserved program at the time of applying a power supply by storing processing information into a backed up memory at application of power next in operating a switch means so as to turn off a power. CONSTITUTION:When a power switch of a power control circuit 7 is depressed during the operation of the equipment, whether the application program is to be continued or executed again is discriminated and in case of consecution, the program is consecuted and the information of a CPU 1 and the status of device are preserved in a main memory 2. Then a flag F1 commanding the continuance of the application program is set to the memory 2 at the next power application. Then the equipment power of the circuit 7 is turned off. Moreover, in case of re-execution of the application program, the re-execution flag F2 of the memory 2 is set to turn off the equipment power supply. Through the constitution above, the application program is simply and consecutively executed at the time of applying a power supply.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデータ端末装置に関し、特に電源投入時に、前
に電源を切った時点からのアプリケーションプログラム
の継続実行を可能とするデータ端末装置に関する。。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data terminal device, and more particularly to a data terminal device that enables continuous execution of an application program from the point at which the power was previously turned off when the power is turned on. .

[従来の技術] 従来のデータ端末装置においては、電源投入時のプログ
ラムの実行方法は1つしかなかった。
[Prior Art] In a conventional data terminal device, there is only one method for executing a program when the power is turned on.

[発明が解決しようとする問題点] したがって、データ端末装置を使用していて業務(作業
)の途中で電源を切った場合には、もう1度始めから作
業をやりなおさなければならない。又は業務プログラム
が、どこまで業務が進んだかを保存しておき、電源を投
入してプログラムが実行された時に保存した情報にもと
づいてプログラムをすすめ業務を継続させなければなら
ない。したがって、オペレーションが煩雑になったり、
プログラムが複雑になったりするという欠点があった。
[Problems to be Solved by the Invention] Therefore, when a data terminal device is used and the power is turned off in the middle of a business (work), the work must be restarted from the beginning. Alternatively, the business program must save information on how far the business has progressed, and when the power is turned on and the program is executed, the program must proceed based on the saved information to continue the business. Therefore, operations become complicated,
The drawback was that the program became complicated.

本発明の目的は上記の欠点を除去し、電源投入時に保存
プログラムを簡単に継続実行することができるデータ端
末装置を提供する事にある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and provide a data terminal device that can easily continue executing a stored program when the power is turned on.

[問題点を解決するための手段1 本発明は、メモリと、メモリのバックアップ手段と、電
源をオン・オフするためのスイッチ手段と、電源をオフ
するようにスイッチ手段を操作したときに実行されてい
たアプリケーションプログラムを次回電源オン時に継続
させるかまたは始めから再実行するかを指定する指定手
段と、指定手段による指定結果に基づく次回電源オン時
の処理情報をメモリに記↑、Ωさせる手段とを具えたこ
とを特徴とする。
[Means for Solving Problems 1] The present invention includes a memory, a memory backup means, a switch means for turning on and off the power, and an operation executed when the switch means is operated to turn off the power. a specifying means for specifying whether to continue the application program that was being used the next time the power is turned on or to re-execute it from the beginning; and a means for recording processing information at the next power on in memory based on the specification result by the specifying means. It is characterized by having the following.

[作 用] 本発明によれば、電源をオフするように前記スイッチ手
段を操作したときに実行されていたアプリケーションプ
ログラムを次回電源オン時に継続させるかまたは始めか
ら再実行するかを指定し、当該指定結果に基づく次回電
源オン時の処理情報をバックアップされたメモリに記憶
させる。
[Function] According to the present invention, it is possible to specify whether the application program that was being executed when the switch means was operated to turn off the power is to be continued or re-executed from the beginning when the power is turned on next time, and Processing information for the next power-on based on the specified result is stored in the backed up memory.

[実施例1 以下に、図面を参照して、本発明の詳細な説明する。[Example 1 The present invention will be described in detail below with reference to the drawings.

第1図は本発明にかかるデータ端末装置の一実施例の構
成を示し、ここにおいて、1はCPU、2はメインメモ
リ、3は脱着可能なメモリパンク、4はデータ端末装置
の第3図、第4図に示す制御プログラムか記入されてい
るシステムROM、5はデータを人力するためのキーホ
ード、6は処理情報を表示する表示器、7は電源として
の電池8に接続され、その電源を制御する電源コントロ
ール回路である。本実施例においては、少なくともCP
U 1およびメインメモリ2か電池8によってバックア
ップされる。また本例の場合、電源コントロール回路7
は電源を切る時には装置の(ハックアップを除く)電源
を直接切るのではなく、CPU 1に割込み信号を入力
させてアプリケーションプログラムに通知し、電源を没
入する時には、(バックアップを除く)電源を没入する
回路であって、第2図にその詳細の一例を示す。第2図
において、8は電源としての電池、9は電イ原スイッチ
、10はCPUIからの電イ原市IN卸信号の入力端、
11は1ショットパルス回路を構成するトランジスタ、
12.13はフリップフロップ、14は電圧検出器、1
5は電源を0N10FFするためのトランジスタ、16
は電源電圧(Vcc)出力端、17はCPUIへの割込
み信号の出力端である。
FIG. 1 shows the configuration of an embodiment of a data terminal device according to the present invention, in which 1 is a CPU, 2 is a main memory, 3 is a removable memory block, 4 is a data terminal device as shown in FIG. A system ROM in which the control program shown in FIG. 4 is written, 5 a key fob for inputting data, 6 a display for displaying processing information, 7 connected to a battery 8 as a power source, and controlling the power source. This is a power supply control circuit. In this embodiment, at least CP
It is backed up by U 1 and main memory 2 or battery 8. In addition, in this example, the power supply control circuit 7
When turning off the power, the system does not directly turn off the power to the device (except for hack-ups), but instead inputs an interrupt signal to CPU 1 to notify the application program. FIG. 2 shows an example of the circuit in detail. In FIG. 2, 8 is a battery as a power source, 9 is a power source switch, 10 is an input terminal for a power source IN wholesale signal from the CPU,
11 is a transistor constituting a one-shot pulse circuit;
12.13 is a flip-flop, 14 is a voltage detector, 1
5 is a transistor for 0N10FF power supply, 16
1 is a power supply voltage (Vcc) output terminal, and 17 is an output terminal for an interrupt signal to the CPUI.

以上のような構成によれば、電源スィッチ9を押す事に
より、1ショットパルス回路11は割込み信号を出力す
ると共にフリップフロップ12のクロック(CK)入力
端にパスルを1個人力する。
According to the above configuration, when the power switch 9 is pressed, the one-shot pulse circuit 11 outputs an interrupt signal and also outputs one pulse to the clock (CK) input terminal of the flip-flop 12.

割込み信号の出力端17はC’PUIの割込み入力端に
接続され、CPLI 1は電源スィッチ9が押された事
を知る事かできる。
The output terminal 17 of the interrupt signal is connected to the interrupt input terminal of the C'PUI, so that the CPLI 1 can know that the power switch 9 has been pressed.

CPUIは電源スイッチ9が押されたときに次のように
動作する。すなわち、CPUIからの電源制御信号(す
なわち入力端10)は、通常(装置電源が切られている
状態)はプルアップされていて、この時電源スィッチ9
が押されると、フリツプフロツプ12のCK大入力1シ
ョットパルス回路+1からのパルスが人力され、そのQ
端子がオンしてトランジスタ15がオンし、出力端16
に電池8の電圧が現れる(すなわち装置の電源が投入さ
れる)。さらに、電源投入状態から電源スイッチ9が押
されると、後述のプログラムに従って、CPU 1から
の電源制御信号(入力端10)がlowになって、フリ
ップフロップ13のQ端子がlowとなり、その結果、
フリップフロップ12のQ端子がオフになって、トラン
ジスタ15がオフし、出力端16はオフされ装置電源か
切れる。
The CPUI operates as follows when the power switch 9 is pressed. That is, the power control signal from the CPU (i.e., the input terminal 10) is normally pulled up (when the device is powered off), and at this time the power switch 9 is pulled up.
When is pressed, the pulse from the CK large input 1-shot pulse circuit +1 of flip-flop 12 is input manually, and its Q
The terminal is turned on, the transistor 15 is turned on, and the output terminal 16 is turned on.
The voltage of the battery 8 appears (ie the device is powered on). Furthermore, when the power switch 9 is pressed from the power-on state, the power control signal (input terminal 10) from the CPU 1 becomes low according to the program described below, and the Q terminal of the flip-flop 13 becomes low, and as a result,
The Q terminal of the flip-flop 12 is turned off, the transistor 15 is turned off, the output terminal 16 is turned off, and the device power is turned off.

第3図は装置電源を切る時の前述の制御プログラムの流
れを示す。
FIG. 3 shows the flow of the aforementioned control program when turning off the device power.

なお、CPUIは装置動作中に電源スイッチ9が押され
ると、アプリケーションプログラムによって、制御プロ
グラムにデータ端末装置の電源を切るための手順を実行
させる時に、次の電7原没人時にアプリケーションプロ
グラムを現在の状、聾から継続実行するのか、又は始め
から再実行するのかを指定する。
Note that when the power switch 9 is pressed while the device is operating, the CPU causes the application program to execute the procedure for turning off the power to the data terminal device by the application program. Specify whether to continue execution from the deaf state or restart from the beginning.

第2図に示すように、装置動作中に電源スイッチ9が押
されると、アプリケーションプログラムの継続か再実行
かを判断しくステップ18) 、i続てあればステップ
19.20にすすんで継続に必要なCPU 1の情報お
よびデバイスの状態をメモリ(メインメモリ)中に保存
する。そしてステップ21において次の電源投入時にア
プリケーションプログラムの継続を指示するフラグF1
をメインメモリにセットする。ついて、ステップ22に
進んで電源コントロール回路7の入力端10に電源制御
信号としてlow侶号を人力して、装置電源を切る。
As shown in Figure 2, when the power switch 9 is pressed while the device is operating, it is determined whether the application program should be continued or re-executed (step 18), and if the application program continues, the process proceeds to step 19 and step 20. The information of the CPU 1 and the state of the device are saved in memory (main memory). Then, in step 21, a flag F1 instructs to continue the application program when the power is turned on next time.
set in main memory. Then, the process proceeds to step 22, where a low signal is input as a power control signal to the input terminal 10 of the power control circuit 7 to turn off the power of the apparatus.

ステップ18でアプリケーションプログラムの再実行の
ときはステップ23に進んでメインメモリの再実行フラ
グF2をセットし、ステップ22に進む。
If the application program is to be re-executed in step 18, the process proceeds to step 23, where the re-execution flag F2 in the main memory is set, and the process proceeds to step 22.

第4図は装置電源を投入した時の制御プログラムの流れ
図を示す。装置電源か切れている状態から電源スィッチ
9が押されたときは、CPUIおよびデバイス(システ
ムROM4等)はリセット状態であるから、それに必要
な処理を行う(ステップ24)。ついてステップ25で
前の電源切断時にセットされているメインメモリ内のフ
ラグF1の状態を調へて、アプリケーションプログラム
を継続実行するか、または再実行するかを判断する。維
続実行ならばステップ26.27に進んで、デバイスお
よびCPU 1の状態を電源切断時の状態にもどし、つ
いでステップ28において、アプリケーションプログラ
ムを電源を切った時の状態から継続する。ステップ25
において、継続実行指定てなけれは、ステップ29に進
んでプログラム管理状態をリセットし、ステップ30に
進んでアプリケーションプログラムを始めから実行する
FIG. 4 shows a flowchart of the control program when the device is powered on. When the power switch 9 is pressed while the device is powered off, the CPU and devices (system ROM 4, etc.) are in a reset state, so necessary processing is performed (step 24). Then, in step 25, the state of the flag F1 in the main memory, which was set when the power was previously turned off, is checked to determine whether to continue executing the application program or to re-execute it. If the execution is to be continued, the process proceeds to steps 26 and 27, where the states of the device and CPU 1 are returned to the state at which the power was turned off, and then, at step 28, the application program continues from the state at which the power was turned off. Step 25
If the application program is not designated to be continued, the process proceeds to step 29 to reset the program management state, and the process proceeds to step 30 to execute the application program from the beginning.

なお、電源スィッチ9は、ONのスイッチとOFFのス
イッチとが独立していてもよい。
Note that the power switch 9 may have an ON switch and an OFF switch independent of each other.

また本例では、制御プログラムに電源の切断を依頼する
時に次の電源没入時のアプリケーションプログラムの継
続実行または再実行を指定しているがこれは別の時点に
指定してもかまわない。
Further, in this example, when requesting the control program to turn off the power, it is specified that the application program should be continuously executed or re-executed at the next time the power is turned off, but this may be specified at another time.

[発明の効果] 以上説明したように、本発明によれば、例えばきわめて
簡単に次の電源投入時にアプリケーションプログラムの
?a続実行が可能となる。
[Effects of the Invention] As explained above, according to the present invention, for example, it is very easy to update the application program when the power is turned on next time. It becomes possible to execute a continuation.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるデータ端末装置の構成を示すブロ
ック図、 第2図は電源コントロール回路の一例を示す回路図、 第3図は木、発明にかかる制御プログラムの電源切断時
の制御フローを示すフローチャート、第4図は制御プロ
グラムの電源投入時の制御フローを示すフローチャート
である。 1・・・CPU。 2・・・データ端末装置本体内のメインメモリ、3・・
・データ端末装置に脱着可能なメモリバーク、4・・・
制御プログラムが置かれるシステムROM、5・・・キ
ーボード、 6・・・表示器、 7・・・電源コントロール回路、 8・・・電池、 9・・・電源0N10FFスイツチ、 10・・・電源制御信号の入力端、 11・・・1ショットパルス発生回路の一部を構成する
トランジスタ、 12.13・・・フリップフロップ、 14・・・電圧検出器、 15・・・電源を0N10FFするトランジスタ、16
・・・電源電圧(Vcc)出力端、17・・・割込み信
号の出力端。 第2図
FIG. 1 is a block diagram showing the configuration of a data terminal device according to the present invention, FIG. 2 is a circuit diagram showing an example of a power supply control circuit, and FIG. FIG. 4 is a flowchart showing the control flow when the control program is powered on. 1...CPU. 2...Main memory within the data terminal device main body, 3...
・Memory bark detachable to data terminal equipment, 4...
System ROM in which the control program is placed, 5...Keyboard, 6...Display unit, 7...Power control circuit, 8...Battery, 9...Power supply 0N10FF switch, 10...Power supply control signal 11...Transistor constituting a part of the 1-shot pulse generation circuit, 12.13...Flip-flop, 14...Voltage detector, 15...Transistor for turning the power supply 0N10FF, 16
. . . Power supply voltage (Vcc) output terminal, 17 . . . Interrupt signal output terminal. Figure 2

Claims (1)

【特許請求の範囲】 メモリと、 該メモリのバックアップ手段と、 電源をオン・オフするためのスイッチ手段 と、 電源をオフするように前記スイッチ手段を操作したとき
に実行されていたアプリケーションプログラムを次回電
源オン時に継続させるかまたは始めから再実行するかを
指定する指定手段と、該指定手段による指定結果に基づ
く次回電源オン時の処理情報を前記メモリに記憶させる
手段とを具えたことを特徴とするデータ端末装置。
[Scope of Claims] A memory, a backup means for the memory, a switch means for turning on and off a power source, and an application program that was being executed when the switch means was operated to turn off the power source next time. The present invention is characterized by comprising: a designation means for designating whether to continue or re-execute from the beginning when the power is turned on; and means for storing processing information in the memory at the next time the power is turned on based on the designation result by the designation means. data terminal equipment.
JP61272978A 1986-11-18 1986-11-18 Data processing device Expired - Lifetime JPH07122839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61272978A JPH07122839B2 (en) 1986-11-18 1986-11-18 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61272978A JPH07122839B2 (en) 1986-11-18 1986-11-18 Data processing device

Publications (2)

Publication Number Publication Date
JPS63127315A true JPS63127315A (en) 1988-05-31
JPH07122839B2 JPH07122839B2 (en) 1995-12-25

Family

ID=17521442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61272978A Expired - Lifetime JPH07122839B2 (en) 1986-11-18 1986-11-18 Data processing device

Country Status (1)

Country Link
JP (1) JPH07122839B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03141448A (en) * 1989-10-27 1991-06-17 Tokyo Electric Co Ltd Electronic equipment containing picture memory
US6108792A (en) * 1988-09-06 2000-08-22 Seiko Epson Corporation Article for providing continuity of operation in a computer
JP2015013439A (en) * 2013-07-05 2015-01-22 富士ゼロックス株式会社 Image forming apparatus, information processing apparatus, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6025002U (en) * 1983-07-25 1985-02-20 三菱電機株式会社 Control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6025002U (en) * 1983-07-25 1985-02-20 三菱電機株式会社 Control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108792A (en) * 1988-09-06 2000-08-22 Seiko Epson Corporation Article for providing continuity of operation in a computer
JPH03141448A (en) * 1989-10-27 1991-06-17 Tokyo Electric Co Ltd Electronic equipment containing picture memory
JP2015013439A (en) * 2013-07-05 2015-01-22 富士ゼロックス株式会社 Image forming apparatus, information processing apparatus, and program

Also Published As

Publication number Publication date
JPH07122839B2 (en) 1995-12-25

Similar Documents

Publication Publication Date Title
JP3799130B2 (en) Method for switching power saving mode of computer having power saving function while using network
KR910006823A (en) Computer system with control for controlling the power supply of the storage device
JPH11259189A (en) Power supply control device for peripheral equipment
JPH11353048A (en) Power saving mode shift control method for electronic equipment, electronic equipment and storage medium recorded with power saving mode shift control procedure
JPS63127315A (en) Data terminal equipment
JP2001014050A (en) Information processor and storage medium
JPH0651858A (en) Program interrupting/restarting system
JPS59140572A (en) Electronic apparatus
KR101236393B1 (en) Electric device and control method thereof
JPH06314211A (en) Diagnostic method in electronic instrument having power saving function
JP2517563B2 (en) Data processing device
JPH0332803B2 (en)
KR970000264B1 (en) Method of data back-up of computer
JPS63157238A (en) Computer
JPS6019229A (en) Menu reference system for data processor
JPH05274052A (en) Information processor with resume function
JPH027156A (en) Document backup device for document processor
JPH01251118A (en) Computer system
JPH0436816A (en) Electronic equipment containing power supply cut-off processing function
JPH05224770A (en) Method and device for processing data
JPH02272640A (en) Task switching system
JPS6350725B2 (en)
JPH0566883A (en) Coordinate inputting device
JPS61163423A (en) Processing unit with backup power feeding for memory
JPH0981275A (en) Arithmetic processing unit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term