Patent ID: 7228469

Claim:
A portable information device for communications comprising: a volatile memory that stores first information; a nonvolatile memory that stores second information; an error detecting unit that detects a number of erroneous data-blocks, which include errors, in the first information, and determines whether the number is greater than a predetermined threshold; a writing unit that writes the first information over the second information, and stores the first information as updated information in the nonvolatile memory, when the detecting unit detects that there is no erroneous data-block in the first information; and an information recovering unit that replaces the first information stored in the volatile memory with all of the updated information stored in the nonvolatile memory, when the error detecting unit determines that the number is greater than the threshold, and replaces the erroneous data-blocks in the first information stored in the volatile memory with a portion of data-blocks that are included in the updated information stored in the nonvolatile memory, the portion of data-blocks corresponding to the erroneous data-blocks in the first information in the volatile memory, when the error detecting unit determines that the number is not greater than the threshold.