JPH02236754A - Information processor - Google Patents

Information processor

Info

Publication number
JPH02236754A
JPH02236754A JP1058663A JP5866389A JPH02236754A JP H02236754 A JPH02236754 A JP H02236754A JP 1058663 A JP1058663 A JP 1058663A JP 5866389 A JP5866389 A JP 5866389A JP H02236754 A JPH02236754 A JP H02236754A
Authority
JP
Japan
Prior art keywords
written
information
record
memory card
processing
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
JP1058663A
Other languages
Japanese (ja)
Inventor
Satoshi Tanio
谷尾 聰
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 JP1058663A priority Critical patent/JPH02236754A/en
Publication of JPH02236754A publication Critical patent/JPH02236754A/en
Priority to US08/097,624 priority patent/US5764659A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To improve the maintainability of a specific data block by applying a check processing on the specific data block selectively at every record. CONSTITUTION:A file name to be written on a memory card 6 is designated, and one record is read out from the memory card. When it is designated that a checksum processing is performed by information that is to be set as the directory of the memory card, addition without code is performed on read out data in unit of byte, and after that, the complement on one is taken, and the data of one record is written, then, the value of a checksum is also written. Also, when it is designated that no checksum is performed, the data of one record is written on the card as it is, and it is decided that all the files are written, and the same processing is repeated when the file remains, and the processing is completed after all the files are written. Thus, saving/loading with an equipment main body on the memory card in file unit is performed by applying the checksum processing. Thereby, the maintainability can be improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は記憶装置に情報を書き込む際、正しく書き込む
情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device that correctly writes information to a storage device.

[従来の技術] 従来、記憶装置のメモリカードとのファイル単位でのア
クセスは、カード自身からメディアの仕様を読みとり、
その仕様に従って論理的なファイル管理を行うことによ
り、なされていた。
[Prior Art] Conventionally, file-by-file access to a memory card of a storage device involves reading the media specifications from the card itself, and
This was done by logically managing files according to the specifications.

[発明が解決しよう1としている課題]しかしながら、
様々な環境下において記憶装置のメモリカードは使用さ
れるわけであるからメモリカードのメモリ自身の信頼性
という点では確実とは言えない。そして、業務上におい
て使用される場合には特に信頼性が要求されるわけだが
、上記従来例ではメモリカードに対し、レコード単位で
アクセスする際に何らデータの保全対策がなされていな
かったという゛欠点があった。
[Problem that the invention seeks to solve] However,
Since the memory card of the storage device is used under various environments, the reliability of the memory itself of the memory card cannot be said to be reliable. Reliability is particularly required when used for business purposes, but the conventional example described above has the disadvantage that no data security measures are taken when accessing memory cards in record units. there were.

[課題を解決するための手段(及び作用)]本発明によ
れば、記憶手段に情報を書き込む情報処理装置に於いて
、前記記憶手段に情報を書ぎ込む場合、情報の書き込み
と当該情報のチェック処理結果を書き込むか否かを選択
する選択手段と、前記選択手段の選択に基づいて、前記
記憶手段に情報の書き込みと、当該情報のチェック情報
を書き込む手段とを有する情報処理装置を提供する。
[Means for Solving the Problems (and Effects)] According to the present invention, in an information processing apparatus that writes information to a storage means, when writing information to the storage means, writing of information and An information processing device is provided, comprising a selection means for selecting whether or not to write a check processing result, and means for writing information in the storage means and writing check information of the information based on the selection of the selection means. .

[実施例] 第1図は本発明の1実施例を示す外観図である。同図に
於いて、lは情報処理装置のハンディターミナルである
。2はそのキーボードである.3は表示器である。4は
プリンタ部である.5はリ−ダライタ部で、着脱可能な
記憶装置のメモリカード6に情報を書き込んだり、カー
ド6から情報を読み取ったりする。5aはカード挿入口
である.6はメモリカードで、ディレクトリと実体部と
が有り、ディレクトリはファイル名とチェック処理を必
要とするからかの情報を有する。7は電源スイッチであ
る。
[Embodiment] FIG. 1 is an external view showing one embodiment of the present invention. In the figure, l is a handy terminal of an information processing device. 2 is the keyboard. 3 is a display device. 4 is the printer section. A reader/writer section 5 writes information to a memory card 6 of a removable storage device and reads information from the card 6. 5a is a card insertion slot. Reference numeral 6 denotes a memory card, which has a directory and an entity part, and the directory has a file name and information that requires checking processing. 7 is a power switch.

第2図は第1図の外観図のブロック図を示す。FIG. 2 shows a block diagram of the external view of FIG. 1.

図中、第1図と同じものには同じ符番を付す.同図に於
いて8は処理部のCPUである.9は第3図内已に示す
本発明の制御手順を記憶する制御メモリのROMである
.10は処理用のデータ等が記憶されるメモリRAMで
ある.11はリーダライタのコントロールである.12
はデータ、アドレス、制御の信号を転送するバスである
.上述の実施例の作動を第3図A.Bを参照して説明す
る。
In the figure, the same parts as in Figure 1 are given the same numbers. In the figure, 8 is the CPU of the processing section. Reference numeral 9 denotes a ROM as a control memory that stores the control procedure of the present invention shown in FIG. 3. 10 is a memory RAM in which processing data and the like are stored. 11 is the control of the reader/writer. 12
is a bus that transfers data, addresses, and control signals. The operation of the above embodiment is illustrated in FIG. This will be explained with reference to B.

第3図Aにおいて、ステップS1にてメモリカード6へ
書き込むファイル名をキーボードより指定し、ステップ
S2でその1レコード分をメモリカードから読み出し、
ステップS3でチェックサムを行うようメモリカードの
ディレクトリにする情報により指定されたら、ステップ
S4にてステップS2で読み出したデータをバイト単位
で付号無し加算を行ウた後、lの補数を取り、ステップ
S5で1レコード分のデータを書き込んだ後、そのチェ
ックサム値も書き込む。又、ステップS3でチェックサ
ムを行なわないようメモリカードのディレクトリにある
情報により指定されれば、そのまま1レコード分カード
に書き込み、ステップS7でファイルが全て書き込まれ
たかどうかを判断し、もし、まだ残っていれば再びステ
ップS2へ戻り、全てファイルを書き込んだら終了する
ものである. 第3図Bにおいて、ステップS8でメモリカード6より
読み出すファイルをキーボードより指定し、ステップS
9でチェックサムを行って、書き込まれたファイルがデ
ィレクトリにある情報により判断し、もしチェックサム
処理を施こされたファイルであれば、ステップSIOで
カードより1レコード分のデータ及びチェックサム値を
読み出す。ステップSttでその1レコード分のデータ
に対し再び、第3図AのステップS4と同様にチェック
サムを行ない、ステップ310で読み出されたチェック
サム値と一致していたかどうかをステップS12の判断
部で行なう。このとき、もし両者の値が一致していなけ
ればエラーとしてステップS15にてその旨を表示器3
で表示する。
In FIG. 3A, in step S1 the file name to be written to the memory card 6 is specified from the keyboard, and in step S2 one record is read from the memory card,
When it is specified by the information in the memory card directory to perform a checksum in step S3, in step S4, the data read in step S2 is added without a sign in units of bytes, and then the complement of l is taken. After writing data for one record in step S5, its checksum value is also written. If the information in the directory of the memory card specifies that the checksum is not to be performed in step S3, one record is written to the card as is, and in step S7 it is determined whether all the files have been written, and if there are any remaining files. If it is, the process returns to step S2 and ends after all files have been written. In FIG. 3B, in step S8 the file to be read from the memory card 6 is designated from the keyboard, and in step S8
A checksum is performed in step 9, and the written file is determined based on the information in the directory. If the file has been subjected to checksum processing, data for one record and the checksum value are extracted from the card in step SIO. read out. In step Stt, checksum is again performed on the data for one record in the same manner as in step S4 of FIG. Let's do it. At this time, if the two values do not match, an error message is displayed on the display 3 in step S15.
Display in .

又、両者が一致していればそのデータを機器本体ヘロー
ドする.そしてステップS7にてファイルが全てロード
されたかを判断し、まだ残っていればステップ510へ
戻り、全てファイルがロードされたら終了する.一方、
ステップS9でチェックサム処理がなされていないファ
イルであるとわかればステップS16.17で1レコー
ド分づつカードより読み出してそれをロードし、全てロ
ードされたら終了するものである。
Also, if the two match, the data will be loaded to the device itself. Then, in step S7, it is determined whether all the files have been loaded. If there are still files left, the process returns to step 510, and when all the files have been loaded, the process ends. on the other hand,
If it is determined in step S9 that the file has not been subjected to checksum processing, one record at a time is read from the card and loaded in step S16.17, and when all are loaded, the process ends.

この実施例において、メモリカードへのファイル単位で
の機器本体とのセーブ/ロードはチェックサム処理を施
すことにより保全性が向上し、もし異常があれば、ファ
イルロード時にその旨が知らされる。チェック処理をす
るか否かはディレクトリの中に選択的に書き込まれてい
ることを前提に説明したが、キーボードより入力するよ
うにしても良い。
In this embodiment, integrity is improved by performing checksum processing when saving/loading files to/from the device into a memory card, and if there is an abnormality, it will be notified when the file is loaded. Although the explanation has been made on the assumption that whether or not to perform the check process is selectively written in the directory, it may also be input from the keyboard.

[発明の効果] 以上説明したように、選択的に特定のデータブロックに
対し1レコードごとにチェック処理を施すことによりそ
のデータブロックの保全性が向上し、かつブロックごと
にチェック処理を施すことが可能となるため効率的であ
る.さらに本考案では1レコードごとにチェック処理を
行なっているので、もしチェック処理によりあるレコー
ドで異常発見された際にも、その他のデータに対しては
保障されているわけであるから、信頼性の向上という点
で効果がある.
[Effects of the Invention] As explained above, by selectively performing check processing for each record on a specific data block, the integrity of the data block is improved, and it is possible to perform check processing for each block. It is efficient because it is possible. Furthermore, since the present invention performs a check process for each record, even if an abnormality is found in a certain record during the check process, this is guaranteed for other data, so the reliability can be improved. It is effective in terms of improvement.

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

第1図は本発明による実施例の斜視図 第2図は第1図に示す実施例のブロック図第3図A,B
は制御手順を示す図 6・・・メモリカード 8・・・CPU 9・・・ROM 10・・・RAM 湾2図 6Xモソカート− 八ン名゜ターSナIL−裟IQ@ル記 第1 昭
Fig. 1 is a perspective view of an embodiment according to the present invention Fig. 2 is a block diagram of the embodiment shown in Fig. 1 Fig. 3 A, B
Figure 6 shows the control procedure Memory card 8 CPU 9 ROM 10 RAM Bay 2 Figure 6

Claims (1)

【特許請求の範囲】 記憶手段に情報を書き込む情報処理装置に於いて、 前記記憶手段に情報を書き込む場合、情報の書き込みと
当該情報のチェック処理結果を書き込むか否かを選択す
る選択手段と、 前記選択手段の選択に基づいて、前記記憶手段に情報の
書き込みと、当該情報のチェック情報を書き込む手段と
を有する情報処理装置。
[Scope of Claims] In an information processing device that writes information to a storage means, when writing information to the storage means, a selection means for selecting whether to write the information and write a check processing result of the information; An information processing apparatus comprising means for writing information into the storage means and writing check information of the information based on the selection by the selection means.
JP1058663A 1989-03-10 1989-03-10 Information processor Pending JPH02236754A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1058663A JPH02236754A (en) 1989-03-10 1989-03-10 Information processor
US08/097,624 US5764659A (en) 1989-03-10 1993-07-27 Apparatus for preventing writing to a releasable storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1058663A JPH02236754A (en) 1989-03-10 1989-03-10 Information processor

Publications (1)

Publication Number Publication Date
JPH02236754A true JPH02236754A (en) 1990-09-19

Family

ID=13090826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1058663A Pending JPH02236754A (en) 1989-03-10 1989-03-10 Information processor

Country Status (1)

Country Link
JP (1) JPH02236754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1017028A2 (en) * 1998-12-22 2000-07-05 International Business Machines Corporation Extended card file system
JP2000194590A (en) * 1998-12-22 2000-07-14 Internatl Business Mach Corp <Ibm> Extension card file system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1017028A2 (en) * 1998-12-22 2000-07-05 International Business Machines Corporation Extended card file system
JP2000194590A (en) * 1998-12-22 2000-07-14 Internatl Business Mach Corp <Ibm> Extension card file system
EP1017028A3 (en) * 1998-12-22 2003-05-07 International Business Machines Corporation Extended card file system

Similar Documents

Publication Publication Date Title
JP2854636B2 (en) Apparatus and method for issuing portable medium
JPH02236754A (en) Information processor
JP3923546B2 (en) IC card
JPS59116875A (en) Ipl method of multiprocessor system
JPH026115B2 (en)
JPS6346553A (en) File copying method
JPS5952465B2 (en) Storage device write/read control method
JP3022011B2 (en) Data backup system
JP2598056B2 (en) Portable electronic devices
JPH04152488A (en) Ic card
JP2568284Y2 (en) Handheld electronic calculator
JP3576233B2 (en) Information storage medium issuance processing data creation device and creation method
JPH04186492A (en) Ic card issuing processor
JP2523007B2 (en) How to check the card reader / writer
JPH01137348A (en) Data writing system
JPH0247029B2 (en)
JPH0553733A (en) Ic card control system
JPH01147686A (en) Portable electronic device
JPH06250845A (en) Memory copying system
JPH04205694A (en) Electronic device provided with information storage device
JPS63301388A (en) Ic card
JPS59106017A (en) Testing of input/output controller
JPS61250735A (en) Table copy control system
JPS62282321A (en) Electronic typewriter
JPS63223995A (en) Portable electronic equipment