Claims
- 1. A data recording method in a card memory in which a consumed amount up to a predetermined natural number P is recorded, which comprises the steps of:
- setting a predetermined natural number N so that said value P is exactly divisible by N and obtaining a quotient Q through a division of P/N;
- providing a first recording area on said card memory having an adequate number of record bits (a through j) equal to the obtained quotient Q which are unchangeable when marked so as to provide high security;
- providing a second recording area on said card memory having changeable memory means (M) and recording an initial value in said second recording area;
- dividing said consumed amount by said natural number N so as to obtain a quotient q and a remainder;
- recording said quotient q in said first recording area unchangeable by marking up to the same number of record bits as said quotient q;
- reproducing a value recorded in said second recording area;
- adding said remainder to said reproduced value so as to obtain a sum S; and
- recording said sum S in said second recording area as a new value when S is less than N, and when S is at least as great as N, recording the difference S-N in said second recording area as a new value and marking one more record bit in said first recording area.
- 2. A data recording method in a card memory in which a consumed amount up to a predetermined natural number value P is recorded, which comprises the steps of:
- setting a predetermined natural number N so that said value P is exactly divisible by N;
- providing a first recording area on said card memory having an adequate number of record bits (A-J) which are unchangeable when marked so as to provide high security;
- providing a second recording area on said card memory having changeable memory means (M) and recording an initial value in said second recording area;
- dividing said consumed amount by said number N so as to obtain a quotient q and a remainder;
- recording said quotient q in said first recording area unchangeable by marking up to the same number of record bits as said quotient q;
- reproducing a value recorded in said second recording area;
- subtracting said remainder from said reproduced value so as to obtain a difference T; and
- recording said difference T in said second recording area as a new value when T is positive, and when T is negative or 0, recording the sum T+N in said second recording area as a new value and marking one more record bit in said first recording area.
Priority Claims (1)
Number |
Date |
Country |
Kind |
60-107929 |
May 1985 |
JPX |
|
Parent Case Info
This is a continuation application Ser. No. 06/865,013 filed May 20, 1986, now abandoned.
US Referenced Citations (10)
Foreign Referenced Citations (2)
Number |
Date |
Country |
60-175192 |
Sep 1985 |
JPX |
60-254371 |
Dec 1985 |
JPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
865013 |
May 1986 |
|