Memory diagnostic method, device, and non-transitory computer-readable storage medium for diagnosing a memory used by a process during execution of the process
First Claim
1. A memory diagnostic method of diagnosing a memory used by a process during execution of the process, comprising:
- a variable domain diagnostic step with a variable domain of the memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the withdrawal region and determining whether the data is same as the written known data; and
a fixed domain diagnostic step with a fixed domain of the memory storing second data that are not subject to change during execution of the process, the fixed domain divided into two or more parts, the fixed domain diagnostic step comprising adding an error-detecting code for each part of the fixed domain and storing the error-detecting code for each part in the fixed domain in advance, and comparing the error-detecting code calculated from data read from a part of the fixed domain with the added and stored error-detecting code of the same part of the fixed domain to determine whether there is any data error.
1 Assignment
0 Petitions
Accused Products
Abstract
In a memory diagnostic method, a fixed domain stores data that are not changed during process execution. A variable domain stores data that are subject to writing during process execution. A fixed domain diagnostic part adds an error-detecting code to data to be stored in the fixed domain. The fixed domain diagnostic part compares an error-detecting code calculated from data read from the fixed domain with the added error-detecting code to determine whether there is any data error. A variable domain diagnostic part temporarily stores data stored in the variable domain in a memory region different from the memory storing the data, and writes known data in the variable domain where the temporarily stored data were stored. The variable domain diagnostic part reads data from the region where the known data were written and determines whether the data is the same as the written known data.
9 Citations
11 Claims
-
1. A memory diagnostic method of diagnosing a memory used by a process during execution of the process, comprising:
-
a variable domain diagnostic step with a variable domain of the memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the withdrawal region and determining whether the data is same as the written known data; and a fixed domain diagnostic step with a fixed domain of the memory storing second data that are not subject to change during execution of the process, the fixed domain divided into two or more parts, the fixed domain diagnostic step comprising adding an error-detecting code for each part of the fixed domain and storing the error-detecting code for each part in the fixed domain in advance, and comparing the error-detecting code calculated from data read from a part of the fixed domain with the added and stored error-detecting code of the same part of the fixed domain to determine whether there is any data error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A memory diagnostic device diagnosing a memory used by a process during execution of the process, comprising:
-
a variable domain diagnostic part that, with a variable domain of the memory storing first data that are possibly subject to writing by the process, stores the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writes known data in the variable domain where the first data stored in the withdrawal region were stored, and reads data in the withdrawal region and determines whether the data is same as the written known data; and a fixed domain diagnostic part that, with a fixed domain of the memory storing second data that are not subject to change during execution of the process, divides the fixed domain into two or more parts, adds an error-detecting code for each part of the fixed domain and stores the error-detecting code for each part in the fixed domain in advance, and compares the error-detecting code calculated from data read from a part of the fixed domain with the added and stored error-detecting code of the same part of the fixed domain to determine whether there is any data error.
-
-
11. A non-transitory computer-readable storage medium on which is recorded a memory diagnostic program allowing a computer to execute the following steps while the computer executes a process:
-
a variable domain diagnostic step with a variable domain of a memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from a memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the withdrawal region and determining whether the data is same as the written known data; and a fixed domain diagnostic step with a fixed domain of the memory storing second data that are not subject to change during execution of the process, the fixed domain divided into two or more parts, the fixed domain diagnostic step comprising adding an error-detecting code for each part of the fixed domain and storing the error-detecting code for each part in the fixed domain in advance, and comparing the error-detecting code calculated from data read from a part of the fixed domain with the added and stored error-detecting code of the same part of the fixed domain to determine whether there is any data error.
-
Specification