# US 2016/0365871 A1 · Method in a computer system, computer program and data processing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0365871 A1
- Document ID: US20160365871A1
- Status: Published application
- Kind: A1
- Application number: 15/176,943
- Filed: 2016-06-08
- Published: 2016-12-15
- Earliest claimed: 2015-06-09
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: JAN RICHTER; MAXIMILIAN WALTER; KARL-HERMANN WITTE
- Web page: https://patentgrep.com/patent/US20160365871A1

## CPC

- H03M 7/00: Conversion of a code where information is represented by a given sequence or number of digits to a code where the same {, similar or subset of} information is represented by a different sequence or number of digits
- G06F 11/008: {Reliability or availability analysis}
- G06F 11/0796: {Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- H03M 13/07: Arithmetic codes
- H04L 1/12: by using return channel
- H04M 13/00: Party-line systems (substation equipment H04M1/00; exchange equipment H04M3/00, H04M5/00; metering arrangements H04M15/36)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

In a method in a computer system for recoding a coded intermediate variable into a recoded result variable a product is formed by multiplying an input constant by an input variable to be coded. The coded intermediate variable is formed as a function of the product and a multiplicative inverse is determined on the basis of the input constant. The multiplicative inverse is applied to the coded intermediate variable, so that no uncoded or partially uncoded interim result is produced and/or an error information potentially contained in the coded intermediate variable is still detectable in the interim result.

## Claims

### Claim 1

A method in a computer system for recoding a coded intermediate variable into a recoded result variable, comprising:
forming a product by multiplying an input constant by an input variable to be coded;
forming the coded intermediate variable as a function of the product;
determining a multiplicative inverse on the basis of the input constant; and
applying the multiplicative inverse to the coded intermediate variable, so that no uncoded or partially uncoded interim result is produced and/or an error information potentially contained in the coded intermediate variable is still detectable in the interim result.

### Claim 2 (depends on 1)

The method of claim 1, further comprising applying a product of the multiplicative inverse and a recoded result constant to the coded intermediate variable, so that no uncoded or partially uncoded interim result is produced and/or an error information potentially contained in the coded intermediate variable is still detectable in the interim result.

### Claim 3 (depends on 1)

The method of claim 1, wherein an input signature and/or an input operand is constantly zero, and/or other, additional input signatures and/or other, additional input operands are used.

### Claim 4 (depends on 2)

The method of claim 2, wherein the step of applying the multiplicative inverse to the coded intermediate variable or the step of applying the product of the multiplicative inverse and the recoded result constant to the coded intermediate variable represents a first step.

### Claim 5 (depends on 1)

The method of claim 1, wherein the multiplicative inverse has a remainder class ring modulo 2powern, with n representing a bit width of the coded intermediate variable.

### Claim 6 (depends on 1)

The method of claim 1, further comprising ignoring arithmetic overruns.

### Claim 7 (depends on 1)

The method of claim 1, wherein any potentially existing error is inverted by applying the multiplicative inverse.

### Claim 8 (depends on 2)

The method of claim 2, further comprising forming the result constant in such a way that the input variable is replicated.

### Claim 9 (depends on 1)

The method of claim 1, wherein the coded intermediate variable is formed by multiplying the input variable by the input constant and by adding a static, variable-dependent input signature and a dynamic, cycle-dependent input operand, further comprising recoding the intermediate variable into a recoded result variable with a recoded result constant, a recoded, static variable-dependent result signature, and a recoded, dynamic cycle-dependent result operand, by:
creating a first interim result by multiplying the intermediate variable by a first parameter, with the first parameter being a multiplication of the multiplicative inverse with reference to the input constant and the recoded result constant,
creating a second interim result by adding a second parameter to the first interim result, with the second parameter being the recoded result signature minus the multiplication of the input signature by the first interim result
creating a third interim result by adding the recoded dynamic, cycle-dependent result operand to the second interim result, and
creating the recoded result variable by subtracting the first parameter from the third interim result.

### Claim 10 (depends on 9)

The method of claim 9, wherein the result constant is formed by one minus the input constant multiplied by 2powern, with n being a bit width of the intermediate variable, so that any potentially existing error value is inverted.

### Claim 11 (depends on 10)

The method of claim 10, wherein the recoded, static variable-dependent result signature and the recoded dynamic, cycle-dependent result operand are freely selectable.

### Claim 12 (depends on 9)

The method of claim 9, wherein the result constant is replicated by adding 2powern to one, so that the input variable is replicated.

### Claim 13 (depends on 10)

The method of claim 10, wherein the recoded static variable-dependent result signature and the recoded dynamic, cycle-dependent result operand (D′) are set to zero.

### Claim 14 (depends on 9)

The method of claim 9, wherein the result constant is set to one, and at the same time the recoded static, variable-dependent result signature and the recoded dynamic, cycle-dependent result operand are set to zero, so that the recoding is a decoding of the coded intermediate variable, wherein the error information potentially contained in the coded intermediate variable is still detectable.

### Claim 15 (depends on 1)

A computer program comprising computer executable program code recorded on a computer readable non-transitory storage medium to carry out a method as claimed in claim 1, when the computer program is executed on a computer.

### Claim 16

A data processing system for providing a recoded result variable from a coded intermediate variable, comprising:
a product by multiplying an input constant by an input variable to be coded;
an intermediate variable coded at least on the basis of the product;
a multiplicative inverse of the input constant;
the recoded result variable by applying the multiplicative inverse to the coded intermediate variable, so that no uncoded or partially uncoded interim result is produced and/or an error information potentially contained in the coded intermediate variable is still detectable in the interim result.

### Claim 17 (depends on 16)

The data processing system of claim 16, wherein the coded intermediate variable is formed by multiplying an input variable by an input constant and by adding a static, variable-dependent input signature and a dynamic, cycle-dependent input operand, further comprising:
provision of a first interim result by multiplying the intermediate variable by a first parameter, with the first parameter being a multiplication of the multiplicative inverse with reference to the input constant and the recoded result constant,
provision of a second interim result by adding a second parameter to the first interim result, with the second parameter being the recoded result signature minus the multiplication of the input signature by the first interim result,
provision of a third interim result by adding the recoded dynamic, cycle-dependent result operand to the second interim result, and
provision of the recoded result variable by subtracting the first parameter from the third interim result.
