JP5557602B2 - Information processing method - Google Patents

Information processing method Download PDF

Info

Publication number
JP5557602B2
JP5557602B2 JP2010121564A JP2010121564A JP5557602B2 JP 5557602 B2 JP5557602 B2 JP 5557602B2 JP 2010121564 A JP2010121564 A JP 2010121564A JP 2010121564 A JP2010121564 A JP 2010121564A JP 5557602 B2 JP5557602 B2 JP 5557602B2
Authority
JP
Japan
Prior art keywords
data
pair
determined
check code
normal
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.)
Active
Application number
JP2010121564A
Other languages
Japanese (ja)
Other versions
JP2011248654A (en
Inventor
博之 太田
章平 鵜戸
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.)
Mitutoyo Corp
Original Assignee
Mitutoyo Corp
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 Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP2010121564A priority Critical patent/JP5557602B2/en
Publication of JP2011248654A publication Critical patent/JP2011248654A/en
Application granted granted Critical
Publication of JP5557602B2 publication Critical patent/JP5557602B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Description

本発明は、情報処理方法に関する。詳しくは、記憶手段に記憶したデータの一部に不具合が発生しても、信頼性の高いデータを取得できる情報処理方法に関する。   The present invention relates to an information processing method. Specifically, the present invention relates to an information processing method capable of acquiring highly reliable data even when a defect occurs in a part of data stored in a storage unit.

被測定物の寸法などを測定するデジタル表示式測定器、例えば、ノギス、マイクロメータ、インジケータ、ハイトゲージなどでは、複数の測定器からのデータをデータ処理装置によって一括管理するシステムが知られている(特許文献1参照)。
このようなシステムでは、各測定器固有のID番号を各測定器に設けられたメモリに記憶しておき、各測定器において取得した測定データをID番号とともにデータ処理装置に送信し、データ処理装置において、各測定器からの測定データおよびID番号を収集し、各測定器からの測定データをID番号で管理するように構成されている。
In digital display type measuring instruments that measure the dimensions of the object to be measured, such as calipers, micrometers, indicators, height gauges, etc., a system is known in which data from a plurality of measuring instruments is collectively managed by a data processing device ( Patent Document 1).
In such a system, an ID number unique to each measuring device is stored in a memory provided in each measuring device, and the measurement data acquired in each measuring device is transmitted to the data processing device together with the ID number. , The measurement data and the ID number from each measuring device are collected, and the measurement data from each measuring device is managed by the ID number.

また、測定器によっては、測定データを補正するための補正データをメモリに記憶しておき、測定によって取得された測定データを補正データで補正して出力するように構成されたものも知られている。   Some measuring instruments are also configured to store correction data for correcting measurement data in a memory, and to output the measurement data acquired by measurement with the correction data corrected. Yes.

従来、上述したID番号や補正データなどは、測定器の電源がオフになっても、保存しておかなければならないため、保存されたデータが消えない不揮発性メモリ、例えば、EEPROM(Electronically Erasable and Programmable Read Only Memory)等に書き込まれた状態で用いられる。   Conventionally, the above-described ID number, correction data, and the like must be stored even when the power of the measuring instrument is turned off, so that the stored data does not disappear, for example, an EEPROM (Electronically Erasable and Used in the state written in Programmable Read Only Memory).

特開2007−114906号公報JP 2007-114906 A

しかしながら、今まで、EEPROMを用いた測定器を含む各種製品においては、EEPROMに書き込まれたデータの一部が書き換わる不具合が発生することがあった。このような問題は、再現性もなく、また、その原因を特定することも困難であることから、有効な対策がとられていないのが現状である。
このような不具合が発生すると、測定器の場合、測定データの集中管理が不可能になるうえ、品質トラブルの原因となるため、不具合を解消するための対策が望まれていた。
However, until now, in various products including a measuring instrument using an EEPROM, there has been a problem that a part of the data written in the EEPROM is rewritten. Since such problems are not reproducible and it is difficult to identify the cause, no effective measures have been taken.
When such a problem occurs, in the case of a measuring instrument, centralized management of measurement data becomes impossible and causes a quality problem. Therefore, a countermeasure for solving the problem has been desired.

本発明の目的は、このような要望に応え、記憶手段に記憶したデータの一部に不具合が発生しても、信頼性の高いデータを取得できる情報処理方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing method that can obtain highly reliable data even if a defect occurs in a part of data stored in a storage means in response to such a demand.

本発明の情報処理方法は、記憶手段にデータを書き込むとともに、前記記憶手段からデータを読み出して処理する情報処理方法において、前記記憶手段にデータを書き込む際、前記データから該データが正常か否かを判定するためのチェックコードを生成し、このチェックコードとデータとを対にして、異なる3以上の記憶領域に同じデータを書き込み、前記記憶手段からデータを読み出す際、前記各記憶領域からデータとチェックコードとの対をそれぞれ読み出し、この読み出したデータとチェックコードとの対からデータの正常/異常を判定し、正常と判定された対が2対以上のときに、これらのチェックコードを比較し一致するチェックコードと対のデータを高信頼性データとして出力する、ことを特徴とする。 The information processing method of the present invention writes data to a storage means and reads the data from the storage means for processing. When writing data to the storage means, whether or not the data is normal from the data generating a check code for determining, and the check code and data in pairs, writing the same data to three different or more storage areas, when data is read from the storage means, and data from the respective storage areas reads the pairs of check codes respectively, and determines the normality / abnormality of the data from the pair of the data and check code read, pair is judged to be normal is when two or more pairs, compares these check code The matching check code and paired data are output as highly reliable data.

このような構成によれば、記憶手段にデータを書き込む際、異なる3以上の記憶領域に同じデータを書き込む。
記憶手段からデータを読み出す際、各記憶領域からデータをそれぞれ読み出し、これらのデータを比較する。一致するデータがあれば、そのデータを高信頼性データとして出力する。
従って、記憶手段の異なる3以上の記憶領域に同じデータを書き込むとともに、各記憶領域からデータをそれぞれ読み出し、これらのデータが一致するか否かを比較し、一致するデータを高信頼性データとして出力するようにしたので、記憶手段に書き込まれたデータの一部が損傷しても、信頼性の高いデータを得ることができる。
According to such a configuration, when writing data to the storage means, the same data is written to three or more different storage areas.
When data is read from the storage means, data is read from each storage area, and these data are compared. If there is matching data, the data is output as highly reliable data.
Therefore, the same data is written to three or more storage areas with different storage means, the data is read out from each storage area, and whether or not these data match is compared, and the matching data is output as highly reliable data Thus, even if a part of the data written in the storage means is damaged, highly reliable data can be obtained.

本発明においては、記憶手段にデータを書き込む際、データが正常か否かを判定するためのチェックコードを生成し、このチェックコードとデータとを対にして、異なる3以上の記憶領域に書き込む。
記憶手段からデータを読み出す際、各記憶領域からデータとチェックコードとの対をそれぞれ読み出し、この読み出したデータとチェックコードとの対からデータの正常/異常を判定する。正常と判定された対が2対以上のときに、これらのチェックコードを比較し、一致するチェックコードと対のデータを高信頼性データとして出力するようにしたので、より信頼性の高いデータを得ることができるとともに、処理時間を短縮できる。
つまり、正常と判定された対が2対以上のときに、これらのチェックコードの比較によりデータの一致を判定するようにしたので、データを比較するよりは、処理時間を短縮できる。
In the present invention, when writing data to the storage means, a check code for determining whether or not the data is normal is generated, and the check code and data are paired and written to three or more different storage areas.
When data is read from the storage means, a pair of data and a check code is read from each storage area, and normality / abnormality of data is determined from the read data and check code pair. When two or more pairs are judged to be normal, these check codes are compared, and the matching check code and pair data are output as highly reliable data. And the processing time can be shortened.
That is, when two or more pairs are determined to be normal, the data match is determined by comparing these check codes, so that the processing time can be shortened compared to comparing the data.

本発明の情報処理方法において、前記記憶手段から読み出したデータとチェックコードとの対からデータの正常/異常を判定した際、正常と判定された対が1対のとき、正常と判定された対のデータを高信頼性データとして出力する、ことが好ましい。
このような構成によれば、正常と判定された対が1対の場合でも、データが損傷している可能性が低いとみなすことができるので、正常と判定された対のデータを高信頼性データとして出力しても、信頼性を損なうことが少ない。
In the information processing method of the present invention, when the normality / abnormality of the data is determined from the pair of the data read from the storage means and the check code, when the pair determined to be normal is one pair, the pair determined to be normal Is preferably output as highly reliable data.
According to such a configuration, even if there is only one pair determined to be normal, it can be considered that the possibility that the data is damaged is low. Even if output as data, there is little loss of reliability.

本発明の情報処理方法において、前記記憶手段から読み出したデータとチェックコードとの対からデータの正常/異常を判定した際、異常と判定された対がある場合、その異常と判定された対が書き込まれた記憶領域に、正常と判定されたデータとチェックコードとの対を書き込む、ことが好ましい。
このような構成によれば、記憶手段から読み出したデータの正常/異常を判定した際、異常と判定された対がある場合、つまり、損傷したデータがある場合、損傷したデータ(およびチェックコード)が書き込まれた記憶領域に、正常と判定されたデータとチェックコードを書き込むようにしたので、損傷したデータを修復することができる。従って、常に信頼性が高いデータを得る状態を保つことができる。
In the information processing method of the present invention, when determining normality / abnormality of data from a pair of data read from the storage means and a check code, if there is a pair determined to be abnormal, the pair determined to be abnormal is It is preferable to write a pair of data and check code determined to be normal in the written storage area.
According to such a configuration, when the normality / abnormality of the data read from the storage means is determined, if there is a pair determined to be abnormal, that is, if there is damaged data, the damaged data (and check code) Since the data determined to be normal and the check code are written in the storage area in which is written, damaged data can be repaired. Therefore, it is possible to always maintain a state of obtaining highly reliable data.

本実施形態に係る情報処理方法を実施する測定器を示すブロック図。The block diagram which shows the measuring device which implements the information processing method which concerns on this embodiment. 同上実施形態において、記憶部への書込処理を示すフローチャート。4 is a flowchart showing a writing process to a storage unit in the embodiment. 同上実施形態において、記憶領域とデータ等との関係(書込時)を示す図。The figure which shows the relationship (at the time of writing) with a storage area, data, etc. in embodiment same as the above. 同上実施形態において、記憶部からの読出処理を示すフローチャート。4 is a flowchart showing a reading process from a storage unit in the embodiment. 同上実施形態において、記憶領域とデータ等との関係(異常時)を示す図。The figure which shows the relationship (at the time of abnormality) with a storage area, data, etc. in embodiment same as the above. 同上実施形態において、記憶領域とデータ等との関係(修復時)を示す図。The figure which shows the relationship (at the time of restoration) between a storage area, data, etc. in embodiment same as the above. 同上実施形態において、記憶部からの他の読出処理を示すフローチャート。The flowchart which shows the other reading process from a memory | storage part in embodiment same as the above.

先ず、本発明の情報処理方法を適用される測定器の前提となる、測定器の参考例を図面に基づいて説明する。
<測定器の構成(図1参照)>
本実施形態の測定器は、図1に示すように、被測定物の寸法などを測定する測定部1と、測定結果等を表示する表示部2と、記憶手段を構成する記憶部3と、制御手段を構成する制御部4とを備える。
First, a reference example of a measuring instrument , which is a premise of a measuring instrument to which the information processing method of the present invention is applied, will be described with reference to the drawings.
<Configuration of measuring instrument (see FIG. 1)>
As shown in FIG. 1, the measuring instrument of the present embodiment includes a measuring unit 1 that measures the dimensions of an object to be measured, a display unit 2 that displays measurement results and the like, a storage unit 3 that constitutes a storage unit, And a control unit 4 constituting control means.

測定部1は、図示省略するが、測定器本体と、この測定器本体に変位可能に設けられ被測定物に当接される可動部材(例えば、スピンドル等)と、この可動部材の変位量を電気的に検出するセンサなどから構成される。センサによって検出された検出値は、制御部4によって処理されたのち、表示部2に表示される。   Although not shown in the drawings, the measuring unit 1 is provided with a measuring device main body, a movable member (for example, a spindle) that is provided on the measuring device main body so as to be displaceable, and a displacement amount of the movable member. It consists of sensors that detect electrically. The detection value detected by the sensor is displayed on the display unit 2 after being processed by the control unit 4.

表示部2には、制御部4によって処理された値、つまり、測定データを数値で表示するための複数桁の表示素子が配列されている。
記憶部3は、不揮発性メモリ、ここでは、EEPROMによって構成されている。EEPROMには、測定器の電源オフ時にも保存しておかなければならないデータ、例えば、可動部材の変位位置に応じて設定された補正データなどが書き込まれる。
The display unit 2 includes a plurality of digits of display elements for displaying values processed by the control unit 4, that is, measurement data as numerical values.
The storage unit 3 is composed of a nonvolatile memory, here, an EEPROM. In the EEPROM, data that must be stored even when the measuring instrument is turned off, for example, correction data set in accordance with the displacement position of the movable member is written.

制御部4は、記憶部3にデータを書き込むデータ書込手段、記憶部3からデータを読み出すデータ読出手段、読み出したデータを処理するデータ処理手段などを構成し、例えば、記憶部3に保存された補正データを読み出して、この補正データで測定部1で得られた測定データを補正したのち、表示部2に表示する。
ここで、制御部4は、記憶部3にデータを書き込む際、図2に示すフローチャート(書込処理)に従って処理を行うとともに、記憶部3からデータを読み出す際、図4に示すフローチャート(読出処理)に従って処理を行う。以下、こられの書込処理および読出処理を説明する。
The control unit 4 includes a data writing unit that writes data to the storage unit 3, a data reading unit that reads data from the storage unit 3, a data processing unit that processes the read data, and the like, for example, stored in the storage unit 3 The correction data is read out, the measurement data obtained by the measurement unit 1 is corrected with the correction data, and then displayed on the display unit 2.
Here, the control unit 4 performs processing according to the flowchart (write processing) shown in FIG. 2 when writing data to the storage unit 3, and also reads the flowchart (read processing) shown in FIG. 4 when reading data from the storage unit 3. ). Hereinafter, the writing process and the reading process will be described.

<書込処理(図2参照)>
まず、データ(書込データ)から該データが正常か否かを判定するためのチェックコードを生成(計算)したのち(ST1)、「データ」と「チェックコード」とを対にして、記憶部3のメモリアドレスの離れた異なる3つの記憶領域1,2,3に書き込む(ST2〜ST4)。
すると、図3に示すように、記憶部3のメモリアドレスの異なる3つの記憶領域1,2,3に同じ「データ」と「チェックコード」との対が書き込まれる。
なお、「チェックコード」の導出アルゴリズムについては、特に限定されない。例えば、チェックサムやCRC(Cyclic Redundancy Check)コードなどを利用できる。また、3つの記憶領域1,2,3は、メモリアドレスができるだけ離れた領域が好ましい。
<Write process (see FIG. 2)>
First, after generating (calculating) a check code for determining whether or not the data is normal from the data (write data) (ST1), a pair of “data” and “check code” is stored in the storage unit. The data is written into three different storage areas 1, 2, and 3 separated by three memory addresses (ST2 to ST4).
Then, as shown in FIG. 3, the same “data” and “check code” pairs are written in three storage areas 1, 2, 3 having different memory addresses in the storage unit 3.
The “check code” derivation algorithm is not particularly limited. For example, a checksum or CRC (Cyclic Redundancy Check) code can be used. The three storage areas 1, 2 and 3 are preferably areas where the memory addresses are as far apart as possible.

<読出処理(図4参照)>
まず、同じデータを書き込んだ3つの記憶領域1,2,3から「データ」と「チェックコード」との対をそれぞれ読み出す(ST11)。
続いて、読み出した記憶領域1,2,3の「データ」を判定処理、つまり、各「データ」の正常/異常を判定し、その判定結果1,2,3を得る(ST12)。これには、各対の「データ」から「チェックコード」を再計算し、この再計算した「チェックコード」が読み出した「チェックコード」に一致するか否かで各対の正常/異常の判定結果1,2,3を取得する。
<Reading process (see FIG. 4)>
First, a pair of “data” and “check code” is read from the three storage areas 1, 2 and 3 in which the same data is written (ST11).
Subsequently, “data” in the read storage areas 1, 2 and 3 is determined, that is, whether each “data” is normal / abnormal is determined, and the determination results 1, 2 and 3 are obtained (ST12). This is done by recalculating the “check code” from the “data” of each pair, and determining whether each pair is normal or abnormal based on whether or not the recalculated “check code” matches the read “check code”. Obtain results 1, 2, and 3.

次に、判定結果1,2,3が正常か否かを判定する(ST13,ST14,ST15)。
(i)判定結果1,2,3の3つ全てが正常であると判定された場合、各対の「データ」、つまり、記憶領域1,2,3に記憶された各「データ」を比較し(ST17,ST18)、全ての「データ」が一致した場合、および、2つの「データ」一致した場合に、「データ」決定処理、つまり、一致した「データ」を確定データ(高信頼性データ)として出力する(ST20)。
全ての「データ」が一致しない場合および2つの「データ」が一致しない場合は、「読み出しエラー」を出力する(ST16)。
Next, it is determined whether the determination results 1, 2, and 3 are normal (ST13, ST14, ST15).
(I) When it is determined that all three of the determination results 1, 2, and 3 are normal, each pair of “data”, that is, each “data” stored in the storage areas 1, 2, and 3 is compared. (ST17, ST18) When all the “data” match and when two “data” match, “data” determination processing, that is, the matched “data” is confirmed data (high reliability data). ) Is output (ST20).
If all the “data” do not match and if the two “data” do not match, a “read error” is output (ST16).

(ii)判定結果1,2,3のうち2つが正常であると判定された場合、正常と判定された2つの「データ」を比較し(ST19)、この2つの「データ」が一致した場合は、一致した「データ」を確定データ(高信頼性データ)として出力する(ST20)。
2つの「データ」が一致しない場合は、「読み出しエラー」を出力する(ST16)。
(Ii) When two of the determination results 1, 2, and 3 are determined to be normal, two “data” determined to be normal are compared (ST19), and the two “data” match Outputs the matched “data” as definite data (high reliability data) (ST20).
If the two “data” do not match, a “read error” is output (ST16).

(iii)判定結果1,2,3のうち1つだけが正常であると判定された場合、正常と判定された1つの「データ」を確定データ(高信頼性データ)として出力する(ST20)。
判定結果1,2,3の3つ全てが異常であると判定された場合は、「読み出しエラー」を出力する(ST16)。
(Iii) When only one of the determination results 1, 2, and 3 is determined to be normal, one “data” determined to be normal is output as definite data (high reliability data) (ST20). .
If it is determined that all three of the determination results 1, 2, and 3 are abnormal, a “read error” is output (ST16).

また、確定データが出力された場合(ST20)は、異常と判定された「データ」があるかが判定され(ST21)、異常と判定された「データ」がある場合、その異常と判定された「データ」の修復処理が行われる。
例えば、図5に示すように、記憶領域1に書き込まれた「データ」と「チェックコード」との対が異常(破損)と判定され、記憶領域2,3に書き込まれた「データ」と「チェックコード」との対が正常と判定された場合は、図6に示すように、記憶領域1に、正常と判定された記憶領域2,3に書き込まれた「データ」と「チェックコード」との対が再書込される(ST22)。
Further, when the definite data is output (ST20), it is determined whether there is “data” determined to be abnormal (ST21), and when there is “data” determined to be abnormal, it is determined to be abnormal. “Data” repair processing is performed.
For example, as shown in FIG. 5, it is determined that the pair of “data” and “check code” written in the storage area 1 is abnormal (damaged), and “data” and “data” written in the storage areas 2 and 3 are When it is determined that the pair with the “check code” is normal, as shown in FIG. 6, “data” and “check code” written in the storage areas 2 and 3 determined to be normal are stored in the storage area 1. Are rewritten (ST22).

<実施形態の効果>
上述した実施形態によれば、記憶部3に「データ」を書き込む際、データが正常か否かを判定するための「チェックコード」を生成し、この「チェックコード」と「データ」とを対にして、異なる3つの記憶領域1,2,3に書き込み、記憶部3からデータを読み出す際、各記憶領域1,2,3から「データ」と「チェックコード」との対をそれぞれ読み出し、この読み出した「データ」と「チェックコード」との対からデータの正常/異常を判定し、正常と判定された対が2対以上のときに、これらの「データ」を比較し、一致する「データ」があれば、その「データ」を確定データ(高信頼性データ)として出力するようにしたので、記憶部3に書き込まれたデータの一部が損傷しても、信頼性の高いデータを得ることができる。
<Effect of embodiment>
According to the embodiment described above, when “data” is written in the storage unit 3, a “check code” for determining whether or not the data is normal is generated, and the “check code” and “data” are paired. Thus, when writing to three different storage areas 1, 2, 3 and reading data from the storage unit 3, a pair of “data” and “check code” is read from each storage area 1, 2, 3, The normality / abnormality of the data is determined from the pair of the read “data” and “check code”, and when there are two or more pairs determined to be normal, these “data” are compared, and the matching “data” "," The "data" is output as confirmed data (high reliability data), so even if a part of the data written in the storage unit 3 is damaged, highly reliable data is obtained. be able to.

しかも、記憶部3から読み出した「データ」と「チェックコード」との対から「データ」の正常/異常を判定した上で、正常と判定された対が2対以上のときに、これらの「データ」を比較し、一致する「データ」があれば、その「データ」を確定データ(高信頼性データ)として出力するようにしたので、より信頼性の高いデータを得ることができる。   In addition, after determining the normality / abnormality of “data” from the pair of “data” and “check code” read out from the storage unit 3, these “ If “data” is compared and if there is matching “data”, the “data” is output as confirmed data (highly reliable data), so that more reliable data can be obtained.

また、記憶部3から読み出した「データ」と「チェックコード」との対から「データ」の正常/異常を判定した際、正常と判定された対が1対のときでも、正常と判定された対の「データ」を確定データ(高信頼性データ)として出力するようにしたが、正常と判定された対が1対の場合でも、データが損傷している可能性が低いとみなすことができるので、正常と判定された対の「データ」を確定データ(高信頼性データ)として出力しても、信頼性を損なうことが少ない。   Further, when the normality / abnormality of “data” is determined from the pair of “data” and “check code” read from the storage unit 3, it is determined to be normal even when the pair determined to be normal is one pair. The “data” of the pair is output as the definite data (high reliability data), but even when there is only one pair determined to be normal, it can be considered that the possibility that the data is damaged is low. Therefore, even if a pair of “data” determined to be normal is output as definite data (high reliability data), the reliability is hardly impaired.

また、記憶部3ら読み出したデータの正常/異常を判定した際、異常と判定された対がある場合、つまり、損傷したデータがある場合、損傷した「データ」(および「チェックコード」)が書き込まれた記憶領域に、正常と判定された「データ」と「チェックコード」を書き込むようにしたので、損傷した「データ」を修復することができる。従って、常に信頼性の高いデータを得る状態を保つことができる。   Further, when normal / abnormal of the data read from the storage unit 3 is determined, if there is a pair determined to be abnormal, that is, if there is damaged data, the damaged “data” (and “check code”) Since “data” and “check code” determined to be normal are written in the written storage area, the damaged “data” can be repaired. Therefore, it is possible to always maintain a state of obtaining highly reliable data.

上記図1〜図6の参考例実施形態では、記憶部3の各記憶領域1,2,3から読み出した「データ」と「チェックコード」との対から「データ」の正常/異常を判定した際、正常と判定された対が2対以上のときに、「データ」を比較して、一致する「データ」を確定データとして出力するようにしたが、本発明では、前述した参考例における「データ」の比較に代えて、「チェックコード」の比較を行う
7に示すように、記憶部3から読み出した「データ」と「チェックコード」との対からデータの正常/異常を判定した際、正常と判定された対が2対以上のとき(ST13,14)、データを比較する処理に代えて、「チェックコード」を比較し(ST17,18,19)、一致する「チェックコード」と対の「データ」を確定データ(高信頼性データ)として出力(ST20)する。
In the reference embodiment shown in FIGS. 1 to 6 , normality / abnormality of “data” is determined from a pair of “data” and “check code” read from each storage area 1, 2, 3 of the storage unit 3. At this time, when there are two or more pairs determined to be normal, the “data” is compared and the matching “data” is output as the definite data. However, in the present invention, “ Instead of “data” comparison, “check code” comparison is performed .
As shown in FIG. 7, when determining the normality / abnormality of data from the pair of “data” and “check code” read from the storage unit 3, when two or more pairs are determined to be normal (ST13, 14) Instead of the process of comparing data, “check codes” are compared (ST17, 18, 19), and the matching “check code” and “data” paired are output as confirmed data (high reliability data). (ST20) you.

このようにすれば、上記と同様に、記憶部3に書き込まれた「データ」の一部が損傷しても、前記実施形態と同様に、より信頼性の高いデータを得ることができるほかに、処理時間を短縮できる。つまり、正常と判定された対が2対以上のときに、これらの「チェックコード」の比較により「データ」の一致を判定するようにしたので、「データ」を比較するよりは、処理時間を短縮できる。   In this way, as described above, even if a part of “data” written in the storage unit 3 is damaged, more reliable data can be obtained as in the above embodiment. , Processing time can be shortened. In other words, when there are two or more pairs determined to be normal, the comparison of “data” is determined by comparing these “check codes”. Therefore, the processing time is reduced rather than comparing “data”. Can be shortened.

<変形例>
本発明は、上記の実施形態に限定されるものでなく、本発明の目的を達成できる範囲での変形、改良などは本発明に含まれる。
図1〜図6の参考例および図7の本発明の実施形態では、記憶部3の各記憶領域1,2,3から読み出した「データ」と「チェックコード」との対が正常/異常であるかの判定を行ったのち、正常と判定された対の「データ」あるいは「チェックコード」を比較し、一致する「データ」、あるいは、「チェックコード」が一致する「データ」を確定データ(高信頼性データ)として出力するようにした。本発明には含まれないが、記憶部3にデータを書き込む際、異なる3つの記憶領域に同じデータを書き込み、記憶部3からデータを読み出す際、各記憶領域からデータをそれぞれ読み出し、これらの「データ」を比較し、一致する「データ」を確定データ(高信頼性データ)として出力するようにしてもよい。つまり、「チェックコード」から「データ」の正常/異常の判定を行うことなく、直接、3つの「データ」が一致するか否かを判定して、「データ」の正常/異常を判定するようにしてもよい。
<Modification>
The present invention is not limited to the above-described embodiment, and modifications, improvements, and the like within the scope that can achieve the object of the present invention are included in the present invention.
In an embodiment of the present invention Reference Examples and Figure 7 above Symbol FIGS. 1 6, the read from each storage area and third memory section 3 "data" and "check code" versus normal / After determining whether there is an abnormality, compare the “data” or “check code” of the pair that was determined to be normal, and confirm the matching “data” or “data” that matches the “check code” Output as data (high reliability data) . Although not included in the present invention, when data is written to the storage unit 3, the same data is written to three different storage areas, and when data is read from the storage unit 3, the data is read from each storage area. Data ”may be compared, and the matching“ data ”may be output as definite data (high reliability data). That is, without determining whether the “data” is normal / abnormal from the “check code”, it is determined whether the three “data” s match directly, and whether the “data” is normal / abnormal is determined. It may be.

また、上記図1〜図6の参考例および図7の本発明の実施形態では、記憶部3に「データ」を書き込む際、異なる3つの記憶領域に同じ「データ」および「チェックコード」の対を書き込むようにしたが、同じ「データ」および「チェックコード」の対を書き込む記憶領域は3つに限られず、3つ以上の記憶領域であってもよい。 1 to 6 and the embodiment of the present invention shown in FIG. 7, when “data” is written in the storage unit 3, the same “data” and “check code” pairs are stored in three different storage areas. However, the number of storage areas in which the same “data” and “check code” pairs are written is not limited to three, and may be three or more storage areas.

また、上記図1〜図6の参考例および図7の本発明の実施形態では、記憶部3にEEPROMを用いたが、これに限られない。例えば、RAM(Random Access Memory)などでもよい。
また、上記図1〜図6の参考例および図7の本発明の実施形態では、記憶部3に補正データを書き込むようにしたが、これに限られない。例えば、測定器固有のID番号などでもよい。
また、上記図1〜図6の参考例および図7の本発明の実施形態では、測定器の例について説明したが、測定器に限られない。例えば、加工機械や事務機器など、記憶手段を備える機器一般に利用できる。
In the reference example in FIGS. 1 to 6 and the embodiment of the present invention in FIG. 7 , the EEPROM is used for the storage unit 3. However, the present invention is not limited to this. For example, a RAM (Random Access Memory) may be used.
Further, in the reference examples in FIGS. 1 to 6 and the embodiment of the present invention in FIG. 7 , the correction data is written in the storage unit 3, but the present invention is not limited to this. For example, an ID number unique to the measuring instrument may be used.
Moreover, although the example of a measuring device was demonstrated in the reference example of the said FIGS. 1-6 and embodiment of this invention of FIG. 7, it is not restricted to a measuring device. For example, it can be used for general equipment including a storage means such as a processing machine or office equipment.

本発明は、測定器のほかに、加工機械や事務機器など、記憶手段を備える機器一般において、信頼性の高いデータを取得できる情報処理方法として利用できる。   INDUSTRIAL APPLICABILITY The present invention can be used as an information processing method capable of acquiring highly reliable data in general equipment including a storage device such as a processing machine and office equipment in addition to a measuring instrument.

1…測定部、
2…表示部、
3…記憶部、
4…制御部。
1 ... measurement part,
2 ... display part,
3 ... memory part,
4. Control unit.

Claims (3)

記憶手段にデータを書き込むとともに、前記記憶手段からデータを読み出して処理する情報処理方法において、
前記記憶手段にデータを書き込む際、前記データから該データが正常か否かを判定するためのチェックコードを生成し、このチェックコードとデータとを対にして、異なる3以上の記憶領域に書き込み、
前記記憶手段からデータを読み出す際、前記各記憶領域からデータとチェックコードとの対をそれぞれ読み出し、この読み出したデータとチェックコードとの対からデータの正常/異常を判定し、正常と判定された対が2対以上のときに、これらのチェックコードを比較し、一致するチェックコードと対のデータを高信頼性データとして出力する、
ことを特徴とする情報処理方法。
In the information processing method of writing data to the storage means and reading and processing the data from the storage means,
When writing data to the storage means, a check code for determining whether or not the data is normal is generated from the data, and the check code and data are paired and written to three or more different storage areas,
When reading data from the storage means, each pair of data and check code is read from each storage area, and the normality / abnormality of the data is determined from the read data and check code pair. When there are two or more pairs, these check codes are compared, and the matching check code and pair data are output as high reliability data.
An information processing method characterized by the above.
請求項に記載の情報処理方法において、
前記記憶手段から読み出したデータとチェックコードとの対からデータの正常/異常を判定した際、正常と判定された対が1対のとき、正常と判定された対のデータを高信頼性データとして出力する、ことを特徴とする情報処理方法。
The information processing method according to claim 1 ,
When the normality / abnormality of the data is determined from the pair of the data read from the storage means and the check code, when the pair determined to be normal is one pair, the paired data determined to be normal is regarded as highly reliable data. An information processing method characterized by outputting.
請求項1または請求項に記載の情報処理方法において、
前記記憶手段から読み出したデータとチェックコードとの対からデータの正常/異常を判定した際、異常と判定された対がある場合、その異常と判定された対が書き込まれた記憶領域に、正常と判定されたデータとチェックコードとの対を書き込む、ことを特徴とする情報処理方法。
The information processing method according to claim 1 or 2 ,
When determining the normality / abnormality of the data from the pair of the data read from the storage means and the check code, if there is a pair determined to be abnormal, there is a normal in the storage area in which the pair determined to be abnormal is written An information processing method comprising writing a pair of data and a check code determined to be.
JP2010121564A 2010-05-27 2010-05-27 Information processing method Active JP5557602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010121564A JP5557602B2 (en) 2010-05-27 2010-05-27 Information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010121564A JP5557602B2 (en) 2010-05-27 2010-05-27 Information processing method

Publications (2)

Publication Number Publication Date
JP2011248654A JP2011248654A (en) 2011-12-08
JP5557602B2 true JP5557602B2 (en) 2014-07-23

Family

ID=45413833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010121564A Active JP5557602B2 (en) 2010-05-27 2010-05-27 Information processing method

Country Status (1)

Country Link
JP (1) JP5557602B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013140427A (en) * 2011-12-28 2013-07-18 Daihatsu Motor Co Ltd In-vehicle storage processing device
JP5977847B2 (en) * 2015-02-13 2016-08-24 エヌ・ティ・ティ・インターネット株式会社 Biometric authentication platform system, biometric authentication information management apparatus, biometric authentication information management method, and biometric authentication information management program

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6217852A (en) * 1985-07-16 1987-01-26 Yokogawa Electric Corp Device for protecting data contents in eeprom
JPS6349860A (en) * 1986-08-19 1988-03-02 Mitsubishi Electric Corp Using system for e2prom
JPH01128147A (en) * 1987-11-13 1989-05-19 Hitachi Ltd Arithmetic unit
JPH01282659A (en) * 1988-05-10 1989-11-14 Nec Corp Majority decision circuit with error corection writing function
JPH036760A (en) * 1989-06-05 1991-01-14 Nec Corp Ram fault processing system
JPH0357048A (en) * 1989-07-25 1991-03-12 Sony Corp Semiconductor memory
JPH09134237A (en) * 1995-11-07 1997-05-20 Sony Corp Electronic equipment
JPH10143445A (en) * 1996-11-13 1998-05-29 Nec Eng Ltd Satellite line connector
JP3743271B2 (en) * 2000-08-11 2006-02-08 株式会社デンソー Data recovery device
JP4808839B2 (en) * 2000-11-16 2011-11-02 インヴェンサス・コーポレイション Memory system
JP2006018341A (en) * 2004-06-30 2006-01-19 Mitsuba Corp Controller for external storage device
JP2008097403A (en) * 2006-10-13 2008-04-24 Nec Corp Nonvolatile memory device

Also Published As

Publication number Publication date
JP2011248654A (en) 2011-12-08

Similar Documents

Publication Publication Date Title
JP6069415B2 (en) Method and apparatus for storing measurement data about vacuum gauge calibration parameters and vacuum gauge structure
TWI277098B (en) Fuse concept and method of operation
KR950704753A (en) INSTRUMENTATION SYSTEM WITH MULTIPLE SENSOR MODULES
JP5679704B2 (en) Strain gauge type load cell fault diagnosis device
US9897502B2 (en) Pressure transducer
JP5557602B2 (en) Information processing method
CN105865504A (en) Method for calibrating at least one sensor
JP4783142B2 (en) Sensor body and strain measuring device using the sensor body
KR102180128B1 (en) Fluid control device
CN1231744C (en) Method and apparatus for calibrating analog sensor measurement
JP6137678B2 (en) Strain measuring device
JP2006177959A (en) Method of performing functional test of position measuring device, and position measuring device for performing this method
CN109460324B (en) Data recovery system and data recovery method of FFR (fringe field switching) host
JP4745897B2 (en) Strain measurement circuit by 1 gauge method
JP5875900B2 (en) Surface texture measuring device, control device thereof, and adjustment method thereof
JP4863472B2 (en) Memory management method
JP5447700B2 (en) Measuring device
JP2010107266A (en) Load cell
JPH1068652A (en) Electronic scale
JP5286831B2 (en) Measuring device
US20210048362A1 (en) Strain gauge type pressure sensing
JP6575337B2 (en) Differential pressure measuring device, differential pressure measuring method, program
JP6799940B2 (en) Connection terminal for physical quantity detection sensor
JP6480828B2 (en) Calibration inspection system
JP7026587B2 (en) Work position determination device and work management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140312

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140527

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140603

R150 Certificate of patent or registration of utility model

Ref document number: 5557602

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250