# US 2022/0292223 A1 · Secure cross tabulation system, secure computation apparatus, secure cross tabulation method, and program

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

- Number: US 2022/0292223 A1
- Document ID: US20220292223A1
- Status: Published application
- Kind: A1
- Application number: 17/052,214
- Filed: 2019-05-14
- Published: 2022-09-15
- Earliest claimed: 2018-05-17
- Assignees: Nippon Telegraph and Telephone Corporation
- Applicants: Nippon Telegraph and Telephone Corporation
- Inventors: Dai IKARASHI
- Web page: https://patentgrep.com/patent/US20220292223A1

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 2209/46: Secure multiparty computation, e.g. millionaire problem
- 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)

## Abstract

To efficiently determine cross tabulation while keeping confidentiality. A flag conversion unit (11) converts a format of a share of a flag that represents a boundary between groups. A boundary number setting unit (12) generates a share of a vector in which the next element number is set when the flag representing a group boundary is true and the number of records is set when the flag is false. A sorting unit (13) generates a share of a sorted vector which has been sorted by a permutation that moves vectors such that the last elements of each group are sequentially arranged from beginning A count calculation unit (14) sets a difference between the value of one element and the value of the preceding element in the sorted vector and generates a share of a vector representing the number of records in each group.

## Claims

### Claim 1

A secure cross tabulation system comprising:
a plurality of secure computation apparatuses, wherein m is an integer equal to or greater than 2; [e] :=[e0], . . . , [em−1] is a share obtained by secret sharing of a flag e :=e0, . . . , em−1 in which last elements of each group are true and other elements are false when a table formed of a key attribute and a value attribute is grouped based on a value of the key attribute; {{σ}} is a share obtained by secret sharing of a permutation σ which moves elements such that the last elements of each group are sequentially arranged from beginning when the table is grouped based on the value of the key attribute; and g is a maximum number of such groups, and
each of the secure computation apparatuses comprising processing circuitry configured to:
generate a share [x] that becomes a vector x :=x0, . . . , xm−1 when reconstructed, using the share [e], by setting [xi] :=[i+1] when [ei] is true and setting [xi] :=[m] when [ei] is false for each integer i greater than or equal to 0 and smaller than or equal to m−1,
generate a share [σ(x)] that becomes a sorted vector σ(x) which is the vector x as sorted by the permutation σ when reconstructed, using the share [x] and the share {{σ}}, and
generate a share [c] that becomes a vector c:=C0, . . . , cmin(g,m)−1 representing the number of records in each group when reconstructed, using the share [σ(x)], by setting [ci] :=[σ(x)i-σ(x)i-1] for each integer i greater than or equal to 1 and smaller than or equal to min(g,m)-1 and setting [c0] :=[σ(x)0].

### Claim 2 (depends on 1)

The secure cross tabulation system according to claim 1, wherein
F is an arbitrary ring; nk is an integer greater than or equal to 1; and [k0], . . . , [knk-1] are shares obtained by secret sharing of key attributes k0, . . . , knk-1ϵFm, and
the processing circuitry is further configured to:
generate, from a share {b} that becomes a bit string b :=b0, . . . , bm−1 obtained by bit decomposition and concatenation of the key attributes k0, . . . , knk−1 when reconstructed, a share {{σ0}} that becomes permutation σ0 for performing a stable sort of the bit string b in ascending order when reconstructed, using the shares [k0], . . . , [knk−1],
generate a share {b′} that becomes a sorted bit string b′ :=b′0, . . . , b′m−1 which is the bit string b as sorted by the permutation σ0 when reconstructed, using the share {b} and the share {{σ0}},
generate the share {e} that becomes the flag e:=e0, . . . , em−1 when reconstructed, using the share {b′}, by setting {ei} :={b′i≠b′i+1} for each integer i greater than or equal to 0 and smaller than or equal to m−2 and setting {em-1} :={1}, and
generate the share {{σ}} that becomes the permutation σ for performing a stable sort of negation ¬e of the flag e in ascending order when reconstructed, using the share {e}.

### Claim 3

A secure computation apparatus,
where m is an integer equal to or greater than 2; [e] :=[e0], . . . , [em−1] is a share obtained by secret sharing of a flag e :=e0, . . . , em−1 in which last elements of each group are true and other elements are false when a table formed of a key attribute and a value attribute is grouped based on a value of the key attribute; {{σ}} is a share obtained by secret sharing of a permutation σ which moves elements such that the last elements of each group are sequentially arranged from beginning when the table is grouped based on the value of the key attribute; and g is a maximum number of such groups,
the secure computation apparatus comprising processing circuitry configured to:
generate a share [x] that becomes a vector x :=x0, . . . , xm−1 when reconstructed, using the share [e], by setting [xi] :=[i+1] when [ei] is true and set [xi] :=[m] when [ei] is false for each integer i greater than or equal to 0 and smaller than or equal to m−1;
generate a share [σ(x)] that becomes a sorted vector σ(x) which is the vector x as sorted by the permutation G when reconstructed, using the share [x] and the share {{σ}}; and
generate a share [c] that becomes a vector c :=c0, . . . , cmin(g,m)−1 representing the number of records in each group when reconstructed, using the share [σ(x)], by setting [ci] :=[σ(x)i−σ(x)i−1] for each integer i greater than or equal to 1 and smaller than or equal to min(g,m)−1 and setting [c0] :=[σ(x)0][[,]].

### Claim 4

A secure cross tabulation method for execution by a secure cross tabulation system including a plurality of secure computation apparatuses, wherein
m is an integer equal to or greater than 2; [e] :=[e0], . . . . [em−1] is a share obtained by secret sharing of a flag e :=e0, . . . , em-1 in which last elements of each group are true and other elements are false when a table formed of a key attribute and a value attribute is grouped based on a value of the key attribute; {{σ}} is a share obtained by secret sharing of a permutation σ which moves elements such that the last elements of each group are sequentially arranged from beginning when the table is grouped based on the value of the key attribute; and g is a maximum number of such groups,
the secure cross tabulation method comprising:
generating, by processing circuitry of each of the secure computation apparatuses, a share [x] that becomes a vector x :=x0, . . . , xm−1 when reconstructed, using the share [e], by setting [x1] :=[i+1] when [ei] is true and set [xi] :=[m] when [ei] is false for each integer i greater than or equal to 0 and smaller than or equal to m−1,
generating, by the processing circuitry of each of the secure computation apparatus, a share [σ(x)] that becomes a sorted vector σ(x) which is the vector x as sorted by the permutation σ when reconstructed, using the share [x] and the share {{σ}}, and
generating, by the processing circuitry of each of the secure computation apparatus, generates a share [c] that becomes a vector c :=c0, . . . , cmin(g,m)−1 representing the number of records in each group when reconstructed, using the share [σ(x)], by setting [ci] :=[σ(x)i−σ(x)i−1] for each integer i greater than or equal to 1 and smaller than or equal to min(g,m)−1 and setting [c0] :=[σ(x)0].

### Claim 5 (depends on 3)

A non-transitory computer-readable recording medium on which a program recorded thereon for causing a computer to function as the secure computation apparatus according to claim 3.
