JPH0944589A - Bar code collection terminal device - Google Patents

Bar code collection terminal device

Info

Publication number
JPH0944589A
JPH0944589A JP7189267A JP18926795A JPH0944589A JP H0944589 A JPH0944589 A JP H0944589A JP 7189267 A JP7189267 A JP 7189267A JP 18926795 A JP18926795 A JP 18926795A JP H0944589 A JPH0944589 A JP H0944589A
Authority
JP
Japan
Prior art keywords
data
bar code
storage area
barcode
terminal device
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
JP7189267A
Other languages
Japanese (ja)
Inventor
Rei Kubo
玲 久保
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7189267A priority Critical patent/JPH0944589A/en
Publication of JPH0944589A publication Critical patent/JPH0944589A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the bar code collection terminal device which can securely restore data having the same contents through easy operation even if the contents of a volatile memory are destroyed by some trouble. SOLUTION: This device is equipped with a RAM 11 which stores bar code data read by a bar code read means, a flash memory 12 which has a 1st storage area stored previously with a data recovery program and a 2nd storage area for storing the bar code data, a CPU 1 which stores the bar code data read by the bar code read means in the RAM 11 and also stores the data in the flash memory 12 as well, and a wired communication control part 9 which executes the data recovery program stored in the 1st storage area of the flash memory 12, when a recovery key 4 provided separately from ordinary input keys is operated, to output the bar code data stored in the 2nd storage area to the outside.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はバーコード収集端末
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code collecting terminal device.

【0002】[0002]

【従来の技術】従来より、例えばスーパーマーケット等
において商品に印刷されたバーコードを光学的に読みと
って商品の値段や種別を表すバーコードデータを収集す
るバーコード収集端末装置が知られている。このような
バーコード収集端末装置においては、読取り手段によっ
て読取ったバーコードデータをRAM等の揮発性のメモ
リに記憶するのが通例であった。
2. Description of the Related Art Conventionally, there has been known a bar code collecting terminal device which optically reads a bar code printed on a product in a supermarket or the like and collects bar code data representing the price or type of the product. In such a bar code collecting terminal device, it is customary to store the bar code data read by the reading means in a volatile memory such as a RAM.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
た従来のバーコード収集端末装置では、揮発性のメモリ
を使用してバーコードデータを記憶しているのでメモリ
の内容を保持するためには常に電流を流し続ける必要が
あった。また、装置本体を誤って落としたときの衝撃に
よってメモリの内容が破壊されてしまう場合があった。
However, in the above-mentioned conventional bar code collecting terminal device, since the bar code data is stored by using the volatile memory, the current is always kept in order to retain the contents of the memory. Had to keep running. Moreover, the contents of the memory may be destroyed by the impact when the device body is dropped by mistake.

【0004】したがって、本体への電源の供給が切断さ
れたり、メモリの内容が破壊されたときのデータの回復
は極めて困難であった。本発明の目的は、何らかの障害
によって揮発性メモリの内容が破壊されても、同じ内容
のデータを簡単な操作で確実に復旧できるようにするこ
とである。
Therefore, it is extremely difficult to recover the data when the power supply to the main body is cut off or the contents of the memory are destroyed. An object of the present invention is to ensure that even if the contents of the volatile memory are destroyed due to some kind of failure, the data of the same contents can be reliably recovered by a simple operation.

【0005】[0005]

【課題を解決するための手段】本発明の手段は次の通り
である。揮発性メモリは、バーコード読取り手段によっ
て読取られたバーコードデータを記憶する。不揮発性メ
モリは、データリカバリプログラムが予め記憶された第
1の記憶領域と、前記バーコードデータを記憶するため
の第2の記憶領域とを具備する。
The means of the present invention are as follows. The volatile memory stores the barcode data read by the barcode reading means. The non-volatile memory includes a first storage area in which a data recovery program is stored in advance and a second storage area for storing the barcode data.

【0006】データ二重化手段は、前記バーコード読取
り手段によって読取られたバーコードデータを前記揮発
性メモリに記憶するとともに、前記不揮発性メモリにも
記憶する。出力手段は、通常の入力キーと別個に設けら
れた所定のキーが操作されたときに、前記不揮発性メモ
リの第1の記憶領域に記憶されたデータリカバリプログ
ラムを実行して、第2の記憶領域に記憶されているバー
コードデータを外部に出力する。上記した本発明の手段
の作用は次の通りである。読取り手段によって読取られ
たバーコードデータは揮発性メモリに記憶される。この
とき、読取られたバーコードデータは、第1及び第2の
記憶領域を有し、第1の記憶領域にデータリカバリプロ
グラムが予め記憶された不揮発性メモリの第2の記憶領
域にもデータ二重化手段によって記憶される。そして、
通常の入力キーと別個に設けられた所定のキー、すなわ
ち、リカバリキーが操作されたときに、前記不揮発性メ
モリの第1の記憶領域に記憶されたデータリカバリプロ
グラムを実行して、第2の記憶領域に記憶されているバ
ーコードデータを外部、例えば、他のバーコード収集端
末装置に出力するようにする。
The data duplication means stores the barcode data read by the barcode reading means in the volatile memory and also in the nonvolatile memory. The output unit executes the data recovery program stored in the first storage area of the non-volatile memory when a predetermined key provided separately from the normal input key is operated, and outputs the second storage. The bar code data stored in the area is output to the outside. The operation of the above-mentioned means of the present invention is as follows. The barcode data read by the reading means is stored in the volatile memory. At this time, the read barcode data has first and second storage areas, and data duplication is also performed in the second storage area of the non-volatile memory in which the data recovery program is stored in advance in the first storage area. Stored by means. And
When a predetermined key provided separately from the normal input key, that is, a recovery key is operated, the data recovery program stored in the first storage area of the nonvolatile memory is executed to execute the second recovery operation. The barcode data stored in the storage area is output to the outside, for example, to another barcode collecting terminal device.

【0007】[0007]

【発明の実施の形態】以下に図1乃至図7を参照して本
発明の実施の形態を詳細に説明する。図1は本発明が適
用されるバーコード収集端末装置の構成を示すブロック
図である。図1において、各部の制御を行なうCPU1
には商品等に印刷されているバーコードを読取るバーコ
ード読取り部2と、CPU1に対して所定の指示を行っ
たり、データを入力するためのキー入力部3と、何らか
の障害によりRAM11の内容が破壊されたときに、同
一内容のデータの復旧を指示するリカバリキー4と、バ
ーコード読取り部2で読取られたバーコードデータを記
憶するための揮発性メモリとしてのRAM11及び不揮
発性メモリとしてのフラッシュメモリ12と、無線通信
制御部5によって外部へ無線でデータを送信するための
無線送信部6と、赤外線通信制御部7によって赤外線デ
ータの送受信を行なうための赤外線送受信部8と、有線
通信制御部9によって有線でデータの送受信を行なうた
めの通信ポート10とを具備する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of a bar code collecting terminal device to which the present invention is applied. In FIG. 1, a CPU 1 that controls each part
Is a bar code reading unit 2 for reading a bar code printed on a product or the like, a key input unit 3 for issuing a predetermined instruction to the CPU 1 or inputting data, and contents of the RAM 11 due to some trouble. When destroyed, a recovery key 4 for instructing recovery of data having the same content, a RAM 11 as a volatile memory for storing the barcode data read by the barcode reading unit 2, and a flash as a nonvolatile memory A memory 12, a wireless transmission unit 6 for wirelessly transmitting data to the outside by the wireless communication control unit 5, an infrared transmission / reception unit 8 for transmitting / receiving infrared data by the infrared communication control unit 7, and a wired communication control unit. And a communication port 10 for wired data transmission / reception.

【0008】図2は上記したフラッシュメモリ12の構
成を示す図であり、通常のデータ処理を行なうためのメ
インプログラムを記憶するためのメインプログラム領域
121と、データの復旧処理を実行するデータリカバリ
プログラムを記憶するためのデータリカバリプログラム
領域122と、バーコードデータを記憶するためのバー
コードデータ領域123とによって構成されている。
FIG. 2 is a diagram showing the configuration of the flash memory 12 described above. A main program area 121 for storing a main program for performing normal data processing and a data recovery program for executing data recovery processing. And a bar code data area 123 for storing bar code data.

【0009】以下に図3のフローチャートを参照してバ
ーコードの読取り処理の詳細を説明する。まず、バーコ
ード読取り部2によって商品等に印刷されたバーコード
を読取り(ステップS1)、読取ったバーコードデータ
をRAM11に書き込む(ステップS2)。同時に読取
ったバーコードデータをこの書き込みタイミングでフラ
ッシュメモリ12のバーコードデータ領域123にも書
き込む(ステップS3)。すなわち、バーコード読取り
部2によって読取られたバーコードデータは、データ二
重化手段としてのCPU1によって二重化されてRAM
11とフラッシュメモリ12に書き込まれる。次に読取
りが終了か否かを判断し(ステップS4)、読取るべき
バーコードがある場合はステップS1に戻ってバーコー
ドの読取りを再度行なう。そして読取るべきバーコード
がなくなった時点でバーコードの読取り処理を終了す
る。
The details of the barcode reading process will be described below with reference to the flowchart of FIG. First, the barcode printed on the product etc. is read by the barcode reading unit 2 (step S1), and the read barcode data is written in the RAM 11 (step S2). At the same time, the read bar code data is also written in the bar code data area 123 of the flash memory 12 (step S3). That is, the bar code data read by the bar code reading unit 2 is duplicated by the CPU 1 as a data duplicating means, and the data is RAM.
11 and the flash memory 12. Next, it is judged whether or not the reading is completed (step S4). If there is a bar code to be read, the process returns to step S1 and the bar code is read again. Then, when there are no more bar codes to be read, the bar code reading process ends.

【0010】以下に図4のフローチャートを参照してリ
セット処理の詳細を説明する。まず、電源がONされる
か又はリセットキーが操作されたときの処理について説
明する。この場合、電源が正常かどうかをチェックし、
各部の回路に供給される電源がONされる(ステップS
10、S11)。次にCPU1のリセットが解除された
後(ステップS12)、フラッシュメモリ12のメイン
プログラム領域121に記憶されたメインプログラムの
先頭番地にジャンプして初期化処理を行なう(ステップ
S13、S14)。
The reset process will be described in detail below with reference to the flowchart of FIG. First, the processing when the power is turned on or the reset key is operated will be described. In this case, check if the power supply is normal,
The power supplied to the circuit of each part is turned on (step S
10, S11). Next, after the reset of the CPU 1 is released (step S12), the CPU jumps to the head address of the main program stored in the main program area 121 of the flash memory 12 and performs initialization processing (steps S13 and S14).

【0011】次にステップS15において、リカバリキ
ー4が操作されたか否かの判断が行われるが、この場合
はNOとなってステップS17に進んでメインプログラ
ムが実行される。
Next, in step S15, it is determined whether or not the recovery key 4 has been operated. In this case, the determination is NO and the process proceeds to step S17 to execute the main program.

【0012】次に、データの復旧を指示すべくリカバリ
キー4が操作されたときの処理について説明する。この
場合も上記した通りステップS10乃至S14が実行さ
れるが、今度はステップS15の判断はYESとなって
ステップS16に進んでデータリカバリプログラムが実
行される。
Next, the processing when the recovery key 4 is operated to instruct the recovery of data will be described. In this case as well, steps S10 to S14 are executed as described above, but this time the determination in step S15 is YES and the process proceeds to step S16 and the data recovery program is executed.

【0013】図5はこのようなデータリカバリプログラ
ムの処理内容を示すフローチャートである。まず、フラ
ッシュメモリ12に記憶されたバーコードデータを所定
単位毎に読み出す(ステップS20)。次に、読み出さ
れたバーコードデータを有線通信制御部9に出力する。
そして有線通信制御部9の制御の基に、図7に示すよう
に通信ポート10からケーブル100を介して当該バー
コード収集端末装置101から他のバーコード収集端末
装置102にバーコードデータを転送する(ステップS
21)。次に送信すべきデータが終了か否かを判断し
(ステップS22)、終了でない場合はステップS20
に戻ってバーコードデータの読み出しを再度行なう。そ
して、読み出すべきバーコードデータがなくなったとき
に通信終了コマンドを出力して他のバーコード収集端末
装置102に通信終了を告知する(ステップS23)。
FIG. 5 is a flow chart showing the processing contents of such a data recovery program. First, the barcode data stored in the flash memory 12 is read for each predetermined unit (step S20). Next, the read barcode data is output to the wired communication control unit 9.
Then, under the control of the wired communication control unit 9, the barcode data is transferred from the barcode collection terminal device 101 to another barcode collection terminal device 102 through the cable 100 from the communication port 10 as shown in FIG. (Step S
21). It is determined whether the data to be transmitted next is the end (step S22), and if not, the step S20.
Return to and read the barcode data again. Then, when there is no bar code data to be read, a communication end command is output to notify the other bar code collecting terminal device 102 of the end of communication (step S23).

【0014】次に他のバーコード収集端末装置102か
らバーコードデータを受信する場合のデータ受信処理の
詳細を図6のフローチャートを参照して説明する。ま
ず、当該バーコード収集端末装置101の有線通信制御
部9をデータ受信可能状態にする(ステップS30)。
次に他のバーコード収集端末装置102からケーブル1
00を介してバーコードデータを受信し(ステップS3
1)、受信したバーコードデータをRAM11に書き込
む(ステップS32)。次に、受信データが完了か否か
を判断し(ステップS33)、まだ受信すべきデータが
ある場合はステップS31に戻ってデータの受信を継続
して行なう。そして、受信すべきデータがなくなったと
きにデータ受信処理を終了する。
Next, details of the data receiving process when the barcode data is received from another barcode collecting terminal device 102 will be described with reference to the flowchart of FIG. First, the wired communication control unit 9 of the barcode collection terminal device 101 is set to a data receivable state (step S30).
Next, from the other bar code collecting terminal device 102 to the cable 1
The barcode data is received via 00 (step S3
1) Write the received barcode data in the RAM 11 (step S32). Next, it is determined whether or not the received data is completed (step S33), and if there is data to be received, the process returns to step S31 and data reception is continued. Then, when there is no more data to be received, the data reception process ends.

【0015】上記した実施の形態によれば、読取ったバ
ーコードデータをRAM11に書き込むのと同じタイミ
ングで自動的にフラッシュメモリ12にも書き込むよう
にしたので、ユーザが意識することなくデータの2重化
を実行できる。また、データの復旧はリカバリキー4を
操作するのみで簡単かつ確実に行なうことができる。
According to the above-described embodiment, the read bar code data is automatically written into the flash memory 12 at the same timing as when the read bar code data is written into the RAM 11. Can be implemented. Further, data recovery can be easily and surely performed only by operating the recovery key 4.

【0016】なお、上記した実施の形態ではデータの2
重化を行なうタイミングはバーコードデータの書き込み
時に固定されていたが、変形例として、データの2重化
タイミングをユーザが制御できるようにしてもよい。こ
れによって、データ2重化のタイミングをアプリケーシ
ョンレベルで制御可能となる。
In the above-described embodiment, the data 2
The duplication timing is fixed at the time of writing the barcode data, but as a modification, the data duplication timing may be controlled by the user. This makes it possible to control the timing of data duplication at the application level.

【0017】[0017]

【発明の効果】本発明によれば、何らかの障害によって
揮発性メモリの内容が破壊されても、同じ内容のデータ
を簡単な操作で確実に復旧することができるようにな
る。
According to the present invention, even if the contents of the volatile memory are destroyed due to some kind of failure, the data of the same contents can be reliably recovered by a simple operation.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明が適用されるバーコード収集端末装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a barcode collection terminal device to which the present invention is applied.

【図2】フラッシュメモリの構成を示す図である。FIG. 2 is a diagram showing a configuration of a flash memory.

【図3】バーコードの読取り処理の詳細を説明するため
のフローチャートである。
FIG. 3 is a flowchart for explaining details of a barcode reading process.

【図4】リセット処理の詳細を説明するためのフローチ
ャートである。
FIG. 4 is a flowchart for explaining details of reset processing.

【図5】データリカバリ処理の詳細を説明するためのフ
ローチャートである。
FIG. 5 is a flowchart for explaining details of data recovery processing.

【図6】データ受信処理の詳細を説明するためのフロー
チャートである。
FIG. 6 is a flowchart for explaining details of data reception processing.

【図7】データリカバリ時における当該バーコード収集
端末装置と他のバーコード収集端末装置との接続の様子
を示す図である。
FIG. 7 is a diagram showing a connection state between the barcode collecting terminal device and another barcode collecting terminal device at the time of data recovery.

【符号の説明】[Explanation of symbols]

1…CPU、2…バーコード読取り部、3…キー入力
部、4…リカバリキー、5…無線通信制御部、6…無線
送信部、7…赤外線通信制御部、8…赤外線送受信部、
9…有線通信制御部、10…通信ポート、11…RA
M、12…フラッシュメモリ。121…メインプログラ
ム領域、122…データリカバリプログラム領域、12
3…バーコードデータ領域。
1 ... CPU, 2 ... Bar code reading unit, 3 ... Key input unit, 4 ... Recovery key, 5 ... Wireless communication control unit, 6 ... Wireless transmission unit, 7 ... Infrared communication control unit, 8 ... Infrared transmission / reception unit,
9 ... Wired communication control unit, 10 ... Communication port, 11 ... RA
M, 12 ... Flash memory. 121 ... Main program area, 122 ... Data recovery program area, 12
3 ... Bar code data area.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バーコード読取り手段によって読取られ
たバーコードデータを記憶するための揮発性メモリと、 データリカバリプログラムが予め記憶された第1の記憶
領域と、前記バーコードデータを記憶するための第2の
記憶領域とを具備する不揮発性メモリと、 前記バーコード読取り手段によって読取られたバーコー
ドデータを前記揮発性メモリに記憶するとともに、前記
不揮発性メモリにも記憶するデータ二重化手段と、 通常の入力キーとは別個に設けられた所定のキーが操作
されたときに、前記不揮発性メモリの第1の記憶領域に
記憶されたデータリカバリプログラムを実行して、第2
の記憶領域に記憶されているバーコードデータを外部に
出力する出力手段と、 を具備したことを特徴とするバーコード収集端末装置。
1. A volatile memory for storing the bar code data read by the bar code reading means, a first storage area in which a data recovery program is stored in advance, and a bar code data for storing the bar code data. A nonvolatile memory having a second storage area; a data duplication unit that stores the barcode data read by the barcode reading unit in the volatile memory and also in the nonvolatile memory; When a predetermined key provided separately from the input key is operated, the data recovery program stored in the first storage area of the nonvolatile memory is executed to
An output unit for outputting the barcode data stored in the storage area of the above to the outside, and a barcode collection terminal device.
JP7189267A 1995-07-25 1995-07-25 Bar code collection terminal device Pending JPH0944589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7189267A JPH0944589A (en) 1995-07-25 1995-07-25 Bar code collection terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7189267A JPH0944589A (en) 1995-07-25 1995-07-25 Bar code collection terminal device

Publications (1)

Publication Number Publication Date
JPH0944589A true JPH0944589A (en) 1997-02-14

Family

ID=16238460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7189267A Pending JPH0944589A (en) 1995-07-25 1995-07-25 Bar code collection terminal device

Country Status (1)

Country Link
JP (1) JPH0944589A (en)

Similar Documents

Publication Publication Date Title
JP4768237B2 (en) Portable electronic device and method for controlling portable electronic device
CN1331683C (en) Printing device, printing system and printing control method
KR880006619A (en) IC card with false record exclusion function
JP2005020101A (en) Recording apparatus and recording control method thereof
JP2615137B2 (en) Printing device
KR100381001B1 (en) Method for booting time abbreviate in mobile communication terminal
JPH0664249A (en) Printing equipment having automatic emulation changeover function
JPH0944589A (en) Bar code collection terminal device
KR20060050114A (en) Retrieval of configuration information from information processing apparatus
JPH11242596A (en) Electronic device and program writing system and method
JP3549288B2 (en) Air conditioner
JP2001047694A (en) Printer and image processing device with the printer
US4677543A (en) Transportable and detachable data input/output unit providing automatic character insertion or deletion
JP2002312110A (en) Portable information terminal device
JP2004295587A (en) Memory control system
JP4047361B2 (en) Information processing apparatus, control method therefor, and recording medium
JP4125361B2 (en) Information processing apparatus, control method therefor, and recording medium
JPH1115648A (en) System equipment
JPH10187362A (en) Storage device
JPH01175026A (en) Receiving data storage system in printer
JP2009070303A (en) Program rewriting method in erasing reset vector
JPH03256128A (en) Method for loading program
EP1180742A1 (en) System and method for reprogramming individual items in a barcode printer's flash memory
JPH06295226A (en) Program memory contents rewritable printer
JPH081655B2 (en) Control method for contactless information card

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040519

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041124