GB2033627A - A method of error checking contents of a register - Google Patents
A method of error checking contents of a register Download PDFInfo
- Publication number
- GB2033627A GB2033627A GB7940874A GB7940874A GB2033627A GB 2033627 A GB2033627 A GB 2033627A GB 7940874 A GB7940874 A GB 7940874A GB 7940874 A GB7940874 A GB 7940874A GB 2033627 A GB2033627 A GB 2033627A
- Authority
- GB
- United Kingdom
- Prior art keywords
- register
- contents
- stored
- error
- value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00314—Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00362—Calculation or computing within apparatus, e.g. calculation of postage value
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00193—Constructional details of apparatus in a franking system
- G07B2017/00233—Housing, e.g. lock or hardened casing
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00193—Constructional details of apparatus in a franking system
- G07B2017/00241—Modular design
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00314—Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
- G07B2017/00322—Communication between components/modules/parts, e.g. printer, printhead, keyboard, conveyor or central unit
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00314—Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
- G07B2017/00338—Error detection or handling
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B17/00—Franking apparatus
- G07B17/00185—Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
- G07B17/00362—Calculation or computing within apparatus, e.g. calculation of postage value
- G07B2017/00427—Special accounting procedures, e.g. storing special information
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
A check sum is derived arithmetically from the contents of a register, complemented, and stored in a second register. Subsequently to perform an error check the check sum is recalculated, complemented, and subtracted from the stored check sum. A result different from zero indicates an error even where all stored data, i.e. the data and its complemented check sum, are affected consistently e.g. lost due to a shutdown.
Description
1 GB 2 033 627 A 1
SPECIFICATION
A method of error checking contents of a register This invention relates to a method of error checking contents of a register such as an ascending or descending register in an accounting machine or a postage meter.
According to the invention, we provide a method of error checking contents of a first register comprising deriving a first arithmetic value in accordance with a given relationship corresponding to the contents of said first register, complementing said first arithmetic value, and storing it in a second register, then deriving a second arithmetic value in accordance with said given relationship corresponding to the contents of said first register, complementing said second value, and then comparing said second value with the contents of said second register to produce an error signal in the absence of a predetermined relationship being established as a result of said comparsion.
This application is divided out of application No. 78 42183 published on 31 May 1979 (Publication Serial No. 2 008 030 A) and the reader is referred to the said publication for a full and exhaustive description of an electronic postage meter system. The method according to the present invention may be used in such a system. The contents of the said publication are hereby incorporated herein by reference, but will not be quoted in extenso for the sake of brevity.
An example of the present invention will be better understood by reference to the accomapnying draw- ings in which:- Figure 1 is a flow chart of a TNVM subroutine which checks for the presence of error indicators stored in a nonvolatile memory and Figure 2 is a flow chart of a CHKSM subroutine which generates error-detecting checksums for stored information.
Figure 3 is a flow chart showing modification of the TNVM subroutine of Figure 1, and Figure 4 is a flow chart showing a modification of the subroutine of Figure 2, Figures 3 and 4 herein illustrating the present invention.
For a fuller understanding of the basic organisation of a postage meter system within which, in accordance with one embodiment, the present invention may be incorporated, the reader is referred to the said Publication No. 2 008 030 A. Figures 1 - 4 herein correspond to Figures 30, 34, 52 and 53 of the publication.
Figure 1 is a flow chart of a subroutine herein called a TNVM subroutine which checks for correspondence between checksums and data stored in the nonvolatile memory. The subroutine also checks whether the sum of the contents of the ascending and descending registers equal the control sum.
The first step (block 3002) of the subroutine is to initialise registers to select the first register in the nonvolatile memory, to select a status character location into which an error code can be written and to set up a four count loop. Data stored in the selected register of the non-volatile memory, exclud- 130 ing stored checksum words, is summed to generate a checksurn for the register contents in an operation 3004. The checksum already stored in the register is retrieved and the generated check sum subtracted therefrom (block 3006). If the difference between the stored checksurn and the generated checksum are not equal to zero, indicating that errors have occurred either in writing data into or reading data from the nonvolatile memory, an error message is gener- ated (block 3008) for that particular register. If the stored checksum does equal the generated checksum, a determination (block 3010) is made as to whetherthe last nonvolatile memory register has been tested. If the last register has yet to be tested, the next register is selected (block 3012) and control is looped back to block 3004, to repeat the checksurn generation and comparison process. When the last nonvolatile register has been tested, any resulting error bits are written (block 3014) into status charac- ter zero (OSCO) of register two in random access memory 38.
By reference to Figure 19 of Publication No. 2 008 030 A referred to above, it will be realised that a status character is a 4-bit memory location. A binary 'Vin any bit of that word indicates a checksum error in the particular register associated with that bit.
The TNVM subroutine retrieves and adds the contents of the ascending register and descending register (block 3016) after which the sum is subtracted from the retrieved control sum. If a difference other than zero is noted, as it should be during proper operation, the accumulator carry bit is cleared. The last step on the subroutine (block 3018) is a branch back to the main program.
Figure 2 is a flow chart of a CHKSM subroutine which is called to generate new checksums for selected registers in the nonvolatile memory when the contents to those registers have been changed. The starting address of the NVM register has been selected, a pair of temporary registers are initialized (block 3402) by loading them with zeros. A four bit word from the selected nonvolatile memory register is then read and added to the contents of these registers, arbitrarily designated as register Rb. Carry bits are accumulated in an adjacent register Ra. During the first cycle of the CHKSM subroutine, there is of course no carry bit. The address register which indicates the nonvolatile memory word being read is incremented and a determination (block 3404) is made as to whether the last word in the register has been read. The decision 3404 is made using a count loop of the type discussed in Specification 2008 030 A. The count loop is not expressly illustrated in the CHKSM flow chart. 1
If the end of the selected NVM register has not been reached, the cycle is repeated with a new four bit word being read from memory and added to the previously accumulated words in register Rb. The carry (if any) which results from this step is added to the contents of register Ra. When the end of the loop is reached, the contents of registers Ra and Rb are written into the checksum locations for the selected NVIV1 register. The high order or carry is written into word 0 of the register while the low order is written into work 1. Control is returned to the main program.
2 GB 2 033 627 A 2 In the TNVM subroutine illustrated in Figure 1, a direct comparison was made between the stored checksum and data stored in the nonvolatile mem ory. In the event that all data have been lost during a shut-down period, then this checking operation would proceed normally. In order to avoid this, in accordance with a modification of the invention, the complement of the checksum may be stored in rows zero and one of the NVM register. This modification is illustrated in the subroutine of Figure 3, wherein the generator checksum derived from the register contents is complemented and subtracted from the complemented stored checksum in rows zero and one of the register. If the data in the register has been lost during the shut-down period, this comparison of the complements of the checksum will reveal the error.
The routine in accordance with Figure 3 therefore overcomes an additional source of possible error in the system.
In order to implement the routine of Figure 3, it is, of course, necessary to complement the stored checksum. This may be effected by the routine illustrated in Figure 4, which shows the necessary modification of the routine of Figure 2. Thus, before writing Ra and Rb in the NVIV1 checksurn location, these values must be complemented. While Figures 3 and 4 illustrate this modification as being software modification, it is, of course, apparent that they may also constitute a part of the hardware of the system in accordance with the invention.
The invention as disclosed with reference to Figures 3 and 4 ensures that binary ones and zeros are in each register. In the event of total loss of stored data each register would contain either all ones or all zeros, and consequently the complemented checksum routine will ensure recognition of the error.
Claims (2)
1. A method of error checking contents of a first register comprising deriving a first arithmetic value in accordance with a given relationship correspond- ing to the contents of said first register, complementing said first arithmetic value, and storing it in a second register, then deriving a second arithmetic value in accordance with said given relationship corresponding to the contents of said first register, complementing said second value, and then comprising said second value with the contents of said second registerto produce an error signal in the absence of a predetermined relationship being established as a result of said comparison.
2. A method according to claim land substantially as herein described with reference to Figures 3 and 4 of the accompanying drawings.
Printed for Her Majesty's Stationery Office by Croydon Printing Company Limited, Croydon Surrey, 1980. Published bythe Patent Office, 25 Southampton Buildings, London, WC2A lAY, from which copies may be obtained.
i
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US84652677A | 1977-10-28 | 1977-10-28 | |
US05/950,302 US4251874A (en) | 1978-10-16 | 1978-10-16 | Electronic postal meter system |
Publications (2)
Publication Number | Publication Date |
---|---|
GB2033627A true GB2033627A (en) | 1980-05-21 |
GB2033627B GB2033627B (en) | 1982-08-11 |
Family
ID=27126644
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB8039253A Expired GB2066735B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter |
GB7842183A Expired GB2008030B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter system |
GB7940874A Expired GB2033627B (en) | 1977-10-28 | 1978-10-27 | Method of error checking contents of a register |
GB8039108A Expired GB2066734B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB8039253A Expired GB2066735B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter |
GB7842183A Expired GB2008030B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB8039108A Expired GB2066734B (en) | 1977-10-28 | 1978-10-27 | Electronic postal meter |
Country Status (2)
Country | Link |
---|---|
FR (1) | FR2407536B1 (en) |
GB (4) | GB2066735B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2144246A (en) * | 1983-07-29 | 1985-02-27 | Westinghouse Brake & Signal | Proving safe operation |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4302821A (en) * | 1979-10-30 | 1981-11-24 | Pitney-Bowes, Inc. | Interposer control for electronic postage meter |
US4301507A (en) * | 1979-10-30 | 1981-11-17 | Pitney Bowes Inc. | Electronic postage meter having plural computing systems |
AT398649B (en) * | 1979-10-30 | 1995-01-25 | Pitney Bowes Inc | Franking machine control device |
GB2063160B (en) * | 1979-10-30 | 1984-01-11 | Pitney Bowes Inc | Electronic postage meter |
US4310755A (en) * | 1979-12-26 | 1982-01-12 | Pitney Bowes Inc. | Electronic postage meter radiant energy device circuit |
US4506329A (en) * | 1982-03-08 | 1985-03-19 | Pitney Bowes Inc. | Non-volatile memory serial number lock for electronic postage meter |
USRE32690E (en) * | 1983-12-08 | 1988-06-07 | R. R. Donnelley & Sons Company | Collating and binding system and method with postage indication |
US4674052A (en) * | 1983-12-08 | 1987-06-16 | R. R. Donnelley & Sons Company | Collating and binding system and method with postage indication |
US4500083A (en) * | 1983-12-08 | 1985-02-19 | R. R. Donnelley & Sons Company | Collating and binding system and method with postage indication |
GB2153165A (en) * | 1984-01-20 | 1985-08-14 | Avx Corp | Connector assembly |
US4760532A (en) * | 1985-12-26 | 1988-07-26 | Pitney Bowes Inc. | Mailing system with postage value transfer and accounting capability |
GB2256396B (en) * | 1991-05-29 | 1995-03-29 | Alcatel Business Systems | Method of remote diagnostics for franking machines |
FR2702068B1 (en) * | 1993-02-26 | 1995-06-30 | Secap | Franking machine with additional displays. |
DE69434037T2 (en) * | 1994-03-31 | 2005-10-06 | Secap | Postage meter with additional indications |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE1250164B (en) * | 1962-06-14 | 1967-09-14 | ||
US3820068A (en) * | 1972-06-29 | 1974-06-25 | Westinghouse Learning Corp | Background reference level system and method for document scanners |
GB1476338A (en) * | 1974-06-07 | 1977-06-10 | Pitney Bowes Inc | Flat bed printer and apparatus including same |
US3978457A (en) * | 1974-12-23 | 1976-08-31 | Pitney-Bowes, Inc. | Microcomputerized electronic postage meter system |
CA1077171A (en) * | 1976-07-14 | 1980-05-06 | Frank T. Check (Jr.) | Electronic postal meter having noise-rejecting input/output channel |
FR2375670A1 (en) * | 1976-12-21 | 1978-07-21 | Vickers Ltd | Electronic franking machine with digital registers - has print unit, postage paid value selector and tote register containing accumulated value and summing device |
-
1978
- 1978-10-27 GB GB8039253A patent/GB2066735B/en not_active Expired
- 1978-10-27 GB GB7842183A patent/GB2008030B/en not_active Expired
- 1978-10-27 GB GB7940874A patent/GB2033627B/en not_active Expired
- 1978-10-27 GB GB8039108A patent/GB2066734B/en not_active Expired
- 1978-10-30 FR FR7830751A patent/FR2407536B1/en not_active Expired
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2144246A (en) * | 1983-07-29 | 1985-02-27 | Westinghouse Brake & Signal | Proving safe operation |
Also Published As
Publication number | Publication date |
---|---|
FR2407536B1 (en) | 1989-04-28 |
GB2066734B (en) | 1982-12-01 |
GB2008030A (en) | 1979-05-31 |
GB2066735A (en) | 1981-07-15 |
GB2033627B (en) | 1982-08-11 |
GB2008030B (en) | 1982-06-09 |
GB2066735B (en) | 1983-07-13 |
GB2066734A (en) | 1981-07-15 |
FR2407536A1 (en) | 1979-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB2033627A (en) | A method of error checking contents of a register | |
KR100331139B1 (en) | Method and apparatus for correcting a multilevel cell memory by using error locating codes | |
US3711863A (en) | Source code comparator computer program | |
JP2772391B2 (en) | Bad data algorithm | |
KR101095639B1 (en) | Test equipment and test method | |
US5073853A (en) | Watchdog circuit for monitoring programs and detecting infinite loops using a changing multibit word for timer reset | |
EP0447995A2 (en) | Analyzing device for saving semiconductor memory failures | |
US4629342A (en) | Dot-matrix printer with pattern checking and pattern correcting means | |
CA2021274C (en) | Non-volatile memory usage | |
EP0186719A1 (en) | Device for correcting errors in memories | |
EP0185924A3 (en) | Buffer system with detection of read or write circuits' failures | |
CA1044607A (en) | Intermixed line heights and blank line formation in a buffered printer | |
EP0266837A2 (en) | Data processing system including a watch-dog circuit | |
US4084262A (en) | Digital monitor having memory readout by the monitored system | |
EP0448970A2 (en) | An information processing device having an error check and correction circuit | |
CN113590227B (en) | Method and system for loading binary programming format under embedded system | |
US5357521A (en) | Address sensitive memory testing | |
US5666368A (en) | System and method for testing the operation of registers in digital electronic systems | |
US5748638A (en) | Method for storing security relevant data | |
US4774712A (en) | Redundant storage device having address determined by parity of lower address bits | |
US5550849A (en) | Method and apparatus for detecting single or multiple bit errors instorage devices | |
GB2127995A (en) | Least recently used resolving network | |
EP0141562B1 (en) | Method and apparatus for generating a sequence of multibit words | |
CN108962322B (en) | Method and system for implementing non-volatile counter using non-volatile memory | |
US4414666A (en) | Error checking and correcting apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PE20 | Patent expired after termination of 20 years |
Effective date: 19981026 |