Patent · US2026106725A1 · A1 · US
Electronic apparatus and controlling method thereof
- (11) Publication number
- US2026106725A1
- (21) Application number
- 19/354,949
- (22) Filing date
- 2025-10-10
- (30) Priority date
- 2024-10-10
- (43) Publication date
- 2026-04-16
- (52) CPC
- H04L Transmission of digital information, e.g. telegraphic communication: 9/008
- (54) Title
- Electronic apparatus and controlling method thereof
- (57) Abstract
An electronic device is disclosed. The electronic device includes at least one processor including processing circuitry and memory, the at least one processor configured to obtain a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector, obtain length information of the first ciphertext, obtain calculation count based on the length information, obtain a unit vector corresponding to the length information, and generate a second ciphertext indicating a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector.
- Full text
- View on Google Patents
Claims (1)
- An electronic apparatus comprising: at least one processor including processing circuitry; and memory, wherein the at least one processor obtains a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector, obtains length information of the first ciphertext, obtains calculation count based on the length information, obtains a unit vector corresponding to the length information, and generates a second ciphertext that indicates a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector. 2. The electronic apparatus of claim 1, wherein the first ciphertext is a binary vector having a value of 0 or 1, and the second ciphertext is a one-hot vector having only one value of 1. 3. The electronic apparatus of claim 1, wherein the unit vector is a vector including a value of 1 by as much as the length information. 4. The electronic apparatus of claim 1, wherein the first ciphertext is a homomorphically encrypted vector, and the unit vector is a plaintext vector. 5. The electronic apparatus of claim 1, wherein the at least one processor applies the calculation count, the unit vector and the first ciphertext to a first function to obtain first intermediate information, obtains filter information based on the length information, applies the calculation count, the unit vector, the first intermediate information and the filter information to a second function to obtain second intermediate information, and applies a plurality of intermediate values included in the second intermediate information to a third function to obtain the second ciphertext. 6. The electronic apparatus of claim 5, wherein the first function is a function indicating an OR calculation that identifies whether a value of 1 is present based on a predetermined group unit, the second function is a function removing a value of 1 selectively based on a predetermined group unit, and the third function is a function indicating a calculation of multiplying a plurality of intermediate values. 7. The electronic apparatus of claim 6, wherein the length information is in a 2 n form, the calculation count are obtained based on log 2 N, and N is the length information. 8. The electronic apparatus of claim 6, wherein the first function is A k = 1 → - (1 → - A k - 1) (1 → - rot N 2 k (A k - 1)) k = 1, …, x - 1, k is a calculation unit increased from 1 to x−1, Ak is the first intermediate information, {right arrow over (1)} is the unit vector, rot N 2 k (A k - 1) is a function rotating a component in a predetermined direction by as much as N 2 k with respect to A k−1, and N is the length information. 9. The electronic apparatus of claim 8, wherein the second function is B k = A k · (1 → - rot N 2 k + 1 (A k · h k)) k = 0, …, x - 1, k is a calculation unit increased from 0 to x−1, Bk is the second intermediate information, hk is the filter information, A k ·h k is a value of multiplication of the first intermediate information and the filter information, rot N 2 k + 1 (A k · h k) is a function rotating a component in a predetermined direction by as much as N 2 k + 1 with respect to A k ·h k, and A 0 is the first ciphertext. 10. The electronic apparatus of claim 9, wherein the third function is C=B 0 ·B 1 ·... ·B x-1, C is the second ciphertext, and x is the calculation count. 11. A controlling method of an electronic apparatus, the method comprising: obtaining a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector; obtaining length information of the first ciphertext; obtaining calculation count based on the length information; obtaining a unit vector corresponding to the length information; and generating a second ciphertext that indicates a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector. 12. The method of claim 11, wherein the first ciphertext is a binary vector having a value of 0 or 1, and the second ciphertext is a one-hot vector having only one value of 1. 13. Then method of claim 11, wherein the unit vector is a vector including a value of 1 by as much as the length information. 14. The method of claim 11, wherein the first ciphertext is a homomorphically encrypted vector, and the unit vector is a plaintext vector. 15. The method of claim 11, wherein the obtaining a second ciphertext includes applying the calculation count, the unit vector and the first ciphertext to a first function to obtain first intermediate information, obtaining filter information based on the length information, applying the calculation count, the unit vector, the first intermediate information and the filter information to a second function to obtain second intermediate information, and applying a plurality of intermediate values included in the second intermediate information to a third function to obtain the second ciphertext. 16. The method of claim 15, wherein the first function is a function indicating an OR calculation that identifies whether a value of 1 is present based on a predetermined group unit, the second function is a function removing a value of 1 selectively based on a predetermined group unit, and the third function is a function indicating a calculation of multiplying a plurality of intermediate values. 17. The method of claim 16, wherein the length information is in a 2 n form, the calculation count are obtained based on log 2 N, and N is the length information. 18. The method of claim 16, wherein the first function is A k = 1 → - (1 → - A k - 1) (1 → - rot N 2 k (A k - 1)) k = 1, …, x - 1, k is a calculation unit increased from 1 to x−1, A k is the first intermediate information, {right arrow over (1)} is the unit vector, rot N 2 k (A k - 1) is a function rotating a component in a predetermined direction by as much as N 2 k with respect to A k−1, and N is the length information. 19. The method of claim 18, wherein the second function is B k = A k · (1 → - rot N 2 k + 1 (A k · h k)) k = 0, …, x - 1, k is a calculation unit increased from 0 to x−1, Bk is the second intermediate information, hk is the filter information, A k ·h k is a value of multiplication of the first intermediate information and the filter information, rot N 2 k + 1 (A k · h k) is a function rotating a component in a predetermined direction by as much as N 2 k + 1 with respect to A k ·h k, and A 0 is the first ciphertext. 20. The method of claim 19, wherein the third function is C=B 0 ·B 1 ·... ·B x-1, C is the second ciphertext, and x is the calculation count.
Record as JSON
{
"publication_number": "US2026106725A1",
"country": "US",
"kind": "A1",
"title": "Electronic apparatus and controlling method thereof",
"abstract": "An electronic device is disclosed. The electronic device includes at least one processor including processing circuitry and memory, the at least one processor configured to obtain a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector, obtain length information of the first ciphertext, obtain calculation count based on the length information, obtain a unit vector corresponding to the length information, and generate a second ciphertext indicating a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector.",
"claims": [
"1. An electronic apparatus comprising: at least one processor including processing circuitry; and memory, wherein the at least one processor obtains a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector, obtains length information of the first ciphertext, obtains calculation count based on the length information, obtains a unit vector corresponding to the length information, and generates a second ciphertext that indicates a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector. 2. The electronic apparatus of claim 1, wherein the first ciphertext is a binary vector having a value of 0 or 1, and the second ciphertext is a one-hot vector having only one value of 1. 3. The electronic apparatus of claim 1, wherein the unit vector is a vector including a value of 1 by as much as the length information. 4. The electronic apparatus of claim 1, wherein the first ciphertext is a homomorphically encrypted vector, and the unit vector is a plaintext vector. 5. The electronic apparatus of claim 1, wherein the at least one processor applies the calculation count, the unit vector and the first ciphertext to a first function to obtain first intermediate information, obtains filter information based on the length information, applies the calculation count, the unit vector, the first intermediate information and the filter information to a second function to obtain second intermediate information, and applies a plurality of intermediate values included in the second intermediate information to a third function to obtain the second ciphertext. 6. The electronic apparatus of claim 5, wherein the first function is a function indicating an OR calculation that identifies whether a value of 1 is present based on a predetermined group unit, the second function is a function removing a value of 1 selectively based on a predetermined group unit, and the third function is a function indicating a calculation of multiplying a plurality of intermediate values. 7. The electronic apparatus of claim 6, wherein the length information is in a 2 n form, the calculation count are obtained based on log 2 N, and N is the length information. 8. The electronic apparatus of claim 6, wherein the first function is A k = 1 → - (1 → - A k - 1) (1 → - rot N 2 k (A k - 1)) k = 1, …, x - 1, k is a calculation unit increased from 1 to x−1, Ak is the first intermediate information, {right arrow over (1)} is the unit vector, rot N 2 k (A k - 1) is a function rotating a component in a predetermined direction by as much as N 2 k with respect to A k−1, and N is the length information. 9. The electronic apparatus of claim 8, wherein the second function is B k = A k · (1 → - rot N 2 k + 1 (A k · h k)) k = 0, …, x - 1, k is a calculation unit increased from 0 to x−1, Bk is the second intermediate information, hk is the filter information, A k ·h k is a value of multiplication of the first intermediate information and the filter information, rot N 2 k + 1 (A k · h k) is a function rotating a component in a predetermined direction by as much as N 2 k + 1 with respect to A k ·h k, and A 0 is the first ciphertext. 10. The electronic apparatus of claim 9, wherein the third function is C=B 0 ·B 1 ·... ·B x-1, C is the second ciphertext, and x is the calculation count. 11. A controlling method of an electronic apparatus, the method comprising: obtaining a control instruction for generating a one-hot vector with respect to a first ciphertext comprised of a binary vector; obtaining length information of the first ciphertext; obtaining calculation count based on the length information; obtaining a unit vector corresponding to the length information; and generating a second ciphertext that indicates a one-hot vector corresponding to the first ciphertext based on the first ciphertext, the length information, the calculation count and the unit vector. 12. The method of claim 11, wherein the first ciphertext is a binary vector having a value of 0 or 1, and the second ciphertext is a one-hot vector having only one value of 1. 13. Then method of claim 11, wherein the unit vector is a vector including a value of 1 by as much as the length information. 14. The method of claim 11, wherein the first ciphertext is a homomorphically encrypted vector, and the unit vector is a plaintext vector. 15. The method of claim 11, wherein the obtaining a second ciphertext includes applying the calculation count, the unit vector and the first ciphertext to a first function to obtain first intermediate information, obtaining filter information based on the length information, applying the calculation count, the unit vector, the first intermediate information and the filter information to a second function to obtain second intermediate information, and applying a plurality of intermediate values included in the second intermediate information to a third function to obtain the second ciphertext. 16. The method of claim 15, wherein the first function is a function indicating an OR calculation that identifies whether a value of 1 is present based on a predetermined group unit, the second function is a function removing a value of 1 selectively based on a predetermined group unit, and the third function is a function indicating a calculation of multiplying a plurality of intermediate values. 17. The method of claim 16, wherein the length information is in a 2 n form, the calculation count are obtained based on log 2 N, and N is the length information. 18. The method of claim 16, wherein the first function is A k = 1 → - (1 → - A k - 1) (1 → - rot N 2 k (A k - 1)) k = 1, …, x - 1, k is a calculation unit increased from 1 to x−1, A k is the first intermediate information, {right arrow over (1)} is the unit vector, rot N 2 k (A k - 1) is a function rotating a component in a predetermined direction by as much as N 2 k with respect to A k−1, and N is the length information. 19. The method of claim 18, wherein the second function is B k = A k · (1 → - rot N 2 k + 1 (A k · h k)) k = 0, …, x - 1, k is a calculation unit increased from 0 to x−1, Bk is the second intermediate information, hk is the filter information, A k ·h k is a value of multiplication of the first intermediate information and the filter information, rot N 2 k + 1 (A k · h k) is a function rotating a component in a predetermined direction by as much as N 2 k + 1 with respect to A k ·h k, and A 0 is the first ciphertext. 20. The method of claim 19, wherein the third function is C=B 0 ·B 1 ·... ·B x-1, C is the second ciphertext, and x is the calculation count."
],
"cpc": [
"H04L 9/008"
],
"filing_date": "2025-10-10",
"publication_date": "2026-04-16",
"priority_date": "2024-10-10",
"application_number": "US-202519354949-A"
}
Record 20 of 5,000 in Patents full text (MLC-0201). Request the full dataset.