Electronic device and control method therefor
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2025-12-18
- Publication Date
- 2026-07-02
Smart Images

Figure KR2025022241_02072026_PF_FP_ABST
Abstract
Description
Electronic device and control method thereof
[0001] The present disclosure relates to an electronic device for obtaining information by decrypting a ciphertext and a method for controlling the same.
[0002] With the advancement of communication technology and the widespread adoption of electronic devices, continuous efforts are being made to maintain communication security between them. Accordingly, encryption and decryption technologies are used in most communication environments.
[0003] For example, there may be an electronic device that obtains information using a homomorphic encryption method, which performs operations on a ciphertext while it is encrypted and then decrypts it.
[0004] According to homomorphic encryption, even if operations are performed on the ciphertext itself without decrypting the encrypted information, the same result as the value obtained after performing operations on the plaintext and then encrypting it can be obtained. Therefore, various operations can be performed on the ciphertext without decrypting it.
[0005] According to at least one embodiment of the present disclosure, an electronic device comprises a communication interface for communicating with an external device and a server device, an input interface, a memory for storing at least one instruction, and at least one processor for executing said at least one instruction. When the at least one processor receives a first token corresponding to an event from the external device, it may acquire a second token based on a first user input for the first token, acquire a first ciphertext obtained by encrypting the second token and transmit it to the server device, receive a second ciphertext obtained by performing an operation on the first ciphertext while it is encrypted from the server device, and decrypt the second ciphertext to obtain information regarding its relevance to the event.
[0006] Here, the first token and the second token are text units having meaning in the data, and the first token is a token for a message in which the external device requests information related to the event from at least one electronic device within a preset distance from the location where the event occurred, based on location information where the event occurred.
[0007] According to at least one embodiment of the present disclosure, a server device comprises a communication interface for communicating with an electronic device, a token database, a memory for storing at least one instruction, and at least one processor for executing said at least one instruction. The at least one processor may obtain a first ciphertext in which a token is encrypted from the electronic device and store it in the memory, perform an operation on the first ciphertext in an encrypted state based on a plurality of ciphertexts stored in the token database to obtain a second ciphertext, and transmit said second ciphertext to the electronic device.
[0008] Here, the aforementioned token database is a database that stores ciphertexts encrypted with tokens.
[0009] Additionally, according to at least one embodiment of the present disclosure, a control method for an electronic device may include the steps of: receiving a first token corresponding to an event from an external device, obtaining a second token based on a first user input for the first token; obtaining a first ciphertext obtained by encrypting the second token and transmitting it to a server device; receiving a second ciphertext from the server device obtained by performing an operation on the first ciphertext while it is encrypted; and decrypting the second ciphertext to obtain information regarding its relevance to the event.
[0010] Here, the first token and the second token are text units having meaning in the data, and the first token is a token for a message in which the external device requests information related to the event from at least one electronic device within a preset distance from the location where the event occurred, based on location information where the event occurred.
[0011] Additionally, according to at least one embodiment of the present disclosure, a control method for a server device may include the steps of obtaining and storing a first ciphertext in which a token is encrypted from an electronic device, obtaining a second ciphertext by performing an operation on the first ciphertext in an encrypted state based on a plurality of ciphertexts stored in a token database, and transmitting the second ciphertext to the electronic device.
[0012] Here, the aforementioned token database is a database that stores ciphertexts encrypted with tokens.
[0013] Additionally, a non-transient readable recording medium according to at least one embodiment of the present disclosure stores a program for performing a method of controlling an electronic device, comprising the steps of: receiving a first token corresponding to an event from an external device, obtaining a second token based on a first user input for the first token; obtaining a first ciphertext obtained by encrypting the second token and transmitting it to a server device; receiving a second ciphertext from the server device obtained by performing an operation on the first ciphertext while it is encrypted; and decrypting the second ciphertext to obtain information regarding its relevance to the event.
[0014] Here, the first token and the second token are text units having meaning in the data, and the first token is a token for a message in which the external device requests information related to the event from at least one electronic device within a preset distance from the location where the event occurred, based on location information where the event occurred.
[0015] FIG. 1 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0016] FIG. 2 is a block diagram illustrating the configuration of an electronic device according to at least one embodiment of the present disclosure.
[0017] FIG. 3 is a detailed block diagram for illustrating an electronic device according to at least one embodiment of the present disclosure.
[0018] FIG. 4 is a block diagram illustrating the configuration of a server device according to at least one embodiment of the present disclosure.
[0019] FIG. 5 is a diagram illustrating the operation of an electronic device receiving a token according to at least one embodiment of the present disclosure.
[0020] FIG. 6 is a diagram illustrating the operation of an electronic device transmitting a ciphertext according to at least one embodiment of the present disclosure.
[0021] FIG. 7 is a drawing for illustrating a token database of a server device according to at least one embodiment of the present disclosure.
[0022] FIG. 8 is a diagram illustrating the operation of an electronic device according to at least one embodiment of the present disclosure receiving a ciphertext from a server device.
[0023] FIG. 9 is a diagram illustrating the operation of an electronic device according to at least one embodiment of the present disclosure transmitting information related to an event to a server device.
[0024] FIG. 10 is a diagram illustrating the operation of a server device acquiring a ciphertext according to at least one embodiment of the present disclosure.
[0025] FIG. 11 is a sequence diagram showing the order in which an electronic device, a server device, and an external device operate according to at least one embodiment of the present disclosure.
[0026] FIG. 12 is a flowchart illustrating the operation of an electronic device according to at least one embodiment of the present disclosure to obtain information regarding the relationship with an event.
[0027] FIG. 13 is a flowchart illustrating the operation of a server device transmitting a ciphertext according to at least one embodiment of the present disclosure.
[0028] The terms used in the various embodiments of this Disclosure have been selected to be as widely used and general as possible, taking into account their functions within this disclosure; however, these terms may vary depending on the intent of those skilled in the art, case law, the emergence of new technologies, etc. Additionally, in specific cases, terms have been selected at the applicant's discretion, and in such cases, their meanings will be described in detail in the relevant description section of this disclosure. Therefore, terms used in this disclosure should be defined not merely by their names, but based on their meanings and the overall content of this disclosure.
[0029] The various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features described in the present disclosure to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments.
[0030] In relation to the description of the drawings, similar reference numerals may be used for similar or related components.
[0031] The singular form of the noun corresponding to the item may include one or multiple items, unless the relevant context clearly indicates otherwise.
[0032] In the present disclosure, each of the phrases such as “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “at least one of A, B, or C” may include any one of the items listed together in the corresponding phrase, or all possible combinations thereof.
[0033] Terms such as "first," "second," or "first" or "second" may be used simply to distinguish a component from another component and do not limit the components in other aspects (e.g., importance or order).
[0034] Where any (e.g., 1st) component is referred to as "coupled" or "connected" to another (e.g., 2nd) component, with or without the terms "functionally" or "communicationly," it means that the component may be connected to the other component directly (e.g., via a wire), wirelessly, or through a third component.
[0035] Terms such as "include" or "have" are intended to specify the existence of the features, numbers, steps, actions, components, parts, or combinations thereof described in this disclosure, and do not preclude the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.
[0036] When it is said that a component is "connected," "combined," "supported," or "in contact" with another component, this includes not only cases where the components are directly connected, combined, supported, or in contact, but also cases where they are indirectly connected, combined, supported, or in contact through a third component.
[0037] When it is said that a component is located "on" another component, this includes not only cases where one component is in contact with the other, but also cases where another component exists between the two components.
[0038] The term "and / or" includes a combination of multiple related described components or any of the multiple related described components.
[0039] In the present disclosure, a "module" or "part" performs at least one function or operation and may be implemented in hardware or software, or a combination of hardware and software. Additionally, a plurality of "modules" or a plurality of "parts" may be integrated into at least one module and implemented by at least one processor, except for a "module" or "part" that needs to be implemented in specific hardware.
[0040] Meanwhile, various elements and areas in the drawings are depicted schematically. Accordingly, the technical concept of the present disclosure is not limited by the relative sizes or spacing depicted in the attached drawings.
[0041] In the present disclosure, the term "user" may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
[0042] The information (data) transmission process performed in this disclosure may be encrypted or decrypted as necessary, and any expressions describing the information (data) transmission process in this disclosure and the patent claims should be interpreted to include cases where encryption or decryption is performed, even if not otherwise mentioned. Expressions in this disclosure such as "transmission (delivery) from A to B" or "A receives from B" include transmission (delivery) or reception involving an intermediate medium, and do not necessarily refer only to direct transmission (delivery) or reception from A to B.
[0043] In describing the present disclosure, the order of each step should be understood as non-limiting, unless the preceding step must logically and temporally be performed prior to the subsequent step. That is, except for such exceptional cases, the essence of the disclosure is not affected even if the process described in the subsequent step is performed prior to the process described in the preceding step, and the scope of the rights should be defined regardless of the order of the steps. Furthermore, the designation "A or B" in this specification is defined to mean not only selectively referring to either A or B, but also including both A and B. Additionally, the term "included" in this disclosure has a meaning that encompasses the inclusion of additional components beyond the elements listed as included.
[0044] In this disclosure, only the essential components necessary for the description of this disclosure are described, and components unrelated to the essence of this disclosure are not mentioned. Furthermore, the mentioned components should not be interpreted in an exclusive sense to include only those components, but should be interpreted in a non-exclusive sense to include other components as well.
[0045] Furthermore, in this disclosure, the term "value" is defined as a concept that includes not only scalar values but also vectors. Also, in this disclosure, expressions such as "calculate" or "calculate" may be replaced with expressions that generate the result of the said calculation or calculation. Additionally, unless otherwise noted, operations on ciphertexts described below refer to homomorphic encryption operations. For example, addition on homomorphic ciphertexts refers to homomorphic addition of two homomorphic ciphertexts.
[0046] The mathematical operations and calculations of each step of the present disclosure described below may be implemented as computer operations by coding methods known for performing said operations or calculations and / or coding designed to fit the present disclosure.
[0047] An embodiment of the present disclosure will be described in more detail below with reference to the attached drawings.
[0048] FIG. 1 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0049] Referring to FIG. 1, the network system may include a plurality of electronic devices (100-1, 100-2), an external device (200), and a server device (300), and each component may be connected to each other through a network.
[0050] Networks can be implemented in various forms, such as wired and wireless communication networks, broadcast communication networks, optical communication networks, and cloud networks, and each device can be connected without a separate medium using methods such as Wi-Fi, Bluetooth, and NFC (Near Field Communication).
[0051] In FIG. 1, the electronic device (100) is shown in the form of a user terminal device (100-1) or a wearable device (100-2), but is not limited thereto, and the electronic device (100) can be implemented as various types of electronic devices such as a laptop, tablet PC, smartphone, electronic picture frame, projector, etc.
[0052] The user can input various information through the electronic device (100-1, 100-2) they use. The input information may be stored in the electronic device (100-1, 100-2) itself, but may also be transmitted to and stored in an external device for reasons such as storage capacity and security. In FIG. 1, the server device (300) stores this information and can perform a role for some or all of the stored information.
[0053] The electronic device (100) can receive a token corresponding to an event from an external device (200). Here, "token" means a unit of text that has meaning in data.
[0054] In the present disclosure, a token for a message in which an external device (200) requests information related to an event from at least one electronic device within a preset distance from the location where the event occurred is referred to as a "first token," and a token generated based on a first user input to the first token is referred to as a "second token." The second token may mean a token containing information related to the event.
[0055] Here, "first user input" may mean an input that responds to a first token containing a message requesting information related to an event.
[0056] The electronic device (100) can receive a ciphertext from the server device (300) in which an operation is performed on the ciphertext in an encrypted state. The server device (300) performs an operation on the ciphertext in an encrypted state, and the result value also takes the form of a ciphertext.
[0057] Here, "ciphertext" may refer to encrypted data. In this disclosure, the ciphertext prior to performing an operation is referred to as the first ciphertext, and the result obtained by the operation is referred to as the second ciphertext.
[0058] The server device (300) can transmit the second ciphertext to the electronic device (100). The electronic device (100) can decrypt the received second ciphertext to obtain the result of operations on the data included in the ciphertext.
[0059] Meanwhile, FIG. 1 describes a case where encryption and decryption are performed in an electronic device (100) and operations are performed in a decrypted state in a server device (300), but it is not necessarily limited to this.
[0060] FIG. 2 is a block diagram illustrating the configuration of an electronic device according to at least one embodiment of the present disclosure.
[0061] Referring to FIG. 2, the electronic device (100) may include a communication interface (110), an input interface (120), a memory (130), and at least one processor (140).
[0062] The communication interface (110) is configured to communicate with an external device (200) and a server device (300).
[0063] The communication interface (110) may include wired or wireless input / output interfaces (or input / output terminals) according to various standards. For example, one or more connection interfaces may include various interfaces such as HDMI (High Definition Multimedia Interface), MHL (Mobile High-Definition Link), USB (Universal Serial Bus), DP (Display Port), Thunderbolt, VGA (Video Graphics Array) port, RGB port, D-SUB (D-subminiature), DVI (Digital Visual Interface), AP-based Wi-Fi (Wi-Fi, Wireless LAN Network), Bluetooth, Zigbee, wired / wireless LAN (Local Area Network), WAN (Wide Area Network), Ethernet, IEEE 1394, AES / EBU (Audio Engineering Society / European Broadcasting Union), Optical, Coaxial, etc.
[0064] The communication interface (110) can communicate with a server device (300) or an external device (200). In particular, the communication interface (110) can receive a first token corresponding to an event from the external device (200) and receive a second ciphertext from the server device (300) in which a first ciphertext has been processed in an encrypted state.
[0065] When the communication interface (110) receives a second user input after obtaining information regarding relevance to the event, it can transmit information related to the event to the server device (300) based on the information regarding relevance to the event and the second user input. This is explained in detail in FIG. 8.
[0066] The communication interface (110) may include at least one of a short-range communication interface and a wireless communication interface. For example, the electronic device (100) may communicate with an external device (200) or a server device (300) through a short-range wireless communication interface.
[0067] For example, the electronic device (100) can perform low-power Bluetooth (Bluetooth Low Energy (BLE)) communication, but is not limited thereto.
[0068] The input interface (120) can receive various feedback from the user. For example, when the electronic device (100) receives a first token corresponding to an event from an external device (200), it can obtain a second token based on the first user input regarding the first token through the input interface (120).
[0069] For example, when a pre-configured event occurs, the electronic device (100) that receives the first token generated by the external device (200) can generate a second token by receiving feedback on the first token, which is a token for a message requesting information related to the event, through the input interface (120).
[0070] The input interface (120) may include a microphone, a touchscreen, etc., but is not limited thereto, and may include various input interfaces capable of receiving user input.
[0071] According to an embodiment, the memory (130) may store various programs, data, instructions, etc. used in the electronic device (100). In addition, the memory (130) may store various information according to various embodiments of the present disclosure.
[0072] The memory (130) may be implemented in the form of a memory embedded in the electronic device (100) or in the form of a memory that can be attached to and detached from the electronic device (100), depending on the purpose of data storage.
[0073] For example, data for driving the electronic device (100) may be stored in memory embedded in the electronic device (100), and data for the expansion function of the electronic device (100) may be stored in memory that is detachable from the electronic device (100).
[0074] In the case of memory embedded in an electronic device (100), it may be implemented in the form of volatile memory (e.g., DRAM (dynamic RAM), SRAM (static RAM), or SDRAM (synchronous dynamic RAM), etc.), non-volatile memory (e.g., OTPROM (one time programmable ROM), PROM (programmable ROM), EPROM (erasable and programmable ROM), EEPROM (electrically erasable and programmable ROM), mask ROM, flash ROM, flash memory (e.g., NAND flash or NOR flash), etc.), hard drive, or solid state drive (SSD).
[0075] In the case of a memory that can be attached to and detached from an electronic device (100), it can be implemented in the form of a memory card (e.g., CF (compact flash), SD (secure digital), Micro-SD (micro secure digital), Mini-SD (mini secure digital), xD (extreme digital), MMC (multi-media card), etc.) or an external memory that can be connected to a USB port (e.g., USB memory).
[0076] The memory (130) may include various instructions required for the operation of at least one processor (140). Here, the instructions may include an instruction to receive a first token corresponding to an event, an instruction to obtain a second token based on user input, an instruction to encrypt and transmit the second token, an instruction to receive a second ciphertext obtained by performing an operation on the first ciphertext while it is encrypted, and an instruction to decrypt the second ciphertext to obtain information regarding its relevance to the event.
[0077] The memory (130) stores a token to be encrypted. Here, a token refers to a unit of text that has meaning in data. For example, the memory (130) may store a first token for a message requesting information related to an event for at least one electronic device within a preset distance from the location where the event occurred, or a second token generated based on a first user input for the first token.
[0078] The memory (130) can store encryption keys and decryption keys. When the electronic device (100) generates an encryption key or a decryption key, it may also store parameters required for generating the encryption key or the decryption key.
[0079] Here, the "decryption key" may be referred to as a secret key and is a secret key generated in correspondence with an electronic device. Here, the "encryption key" may be referred to as a public key and is a public key stored in the electronic device and the server device. In this disclosure, the secret key generated in correspondence with the electronic device is referred to as the decryption key, and the public key stored in the electronic device and the server device is referred to as the encryption key.
[0080] The memory (130) can store a first ciphertext generated by the electronic device (100). The memory (130) can also store a second ciphertext transmitted from an external device (200) or a server device (300).
[0081] Additionally, the memory (130) can store information regarding the relevance to the event obtained by decrypting the second ciphertext. The information regarding the relevance to the event can be stored in the memory (130) and used for subsequent operations.
[0082] According to an embodiment, at least one processor (140) controls the overall operation of the electronic device (100). Specifically, at least one processor (140) is connected to each component of the electronic device (100) and can control the overall operation of the electronic device (100).
[0083] At least one processor (140) can perform the operation of an electronic device (100) according to various embodiments by executing at least one instruction stored in memory.
[0084] According to an embodiment, at least one processor (140) may be implemented as a digital signal processor (DSP) that processes digital signals, a microprocessor, or a TCON (Timing controller). However, it is not limited thereto and may include or be defined by one or more of a central processing unit (CPU), a Micro Controller Unit (MCU), a micro processing unit (MPU), a controller, an application processor (AP), a communication processor (CP), an ARM processor, or an AI (Artificial Intelligence) processor. Additionally, at least one processor (140) may be implemented as a System on Chip (SoC) or Large Scale Integration (LSI) with a built-in processing algorithm, or may be implemented in the form of a Field Programmable Gate Array (FPGA). At least one processor (140) can perform various functions by executing computer executable instructions stored in memory.
[0085] At least one processor (140) may include one or more of a CPU (Central Processing Unit), GPU (Graphics Processing Unit), APU (Accelerated Processing Unit), MIC (Many Integrated Core), DSP (Digital Signal Processor), NPU (Neural Processing Unit), hardware accelerator, or machine learning accelerator.
[0086] At least one processor (140) can obtain a second token based on a first user input for the first token when it receives a first token corresponding to an event from an external device (200).
[0087] For example, if the electronic device (100) is within a preset distance from the location where an event occurred from the external device (200), at least one processor (140) may receive a first token containing a message requesting information related to the event from the external device (200).
[0088] At least one processor (140) can obtain a second token based on the received first user input when it receives a first user input corresponding to a first token. At least one processor (140) can obtain a first ciphertext in which the second token is encrypted and transmit it to a server device. In this case, at least one processor (140) can encrypt the second token using an encryption key.
[0089] At least one processor (140) can control the communication interface (110) to receive a second ciphertext from the server device (300) in which an operation is performed on the first ciphertext in an encrypted state. Here, the operation of performing an operation on the ciphertext in an encrypted state may mean "homomorphic operation." The operation of the server device (300) performing an operation on the ciphertext in an encrypted state is described in detail in FIG. 4.
[0090] At least one processor (140) can decrypt the second ciphertext to obtain information regarding its relevance to the event. In this case, at least one processor (140) can decrypt the second ciphertext using a decryption key, which is a secret key stored in the electronic device (100). This is explained in detail in FIG. 8.
[0091] At least one processor (140) can control one or any combination of other components of the electronic device and can perform operations or data processing related to communication. At least one processor (140) can execute one or more programs or instructions stored in memory. For example, at least one processor (140) can perform the method according to an embodiment of the present disclosure by executing one or more instructions stored in memory.
[0092] If the method according to the embodiment of the present disclosure includes a plurality of operations, the plurality of operations may be performed by a single processor or by a plurality of processors.
[0093] For example, when the first operation, the second operation, and the third operation are performed by the method according to the embodiment, the first operation, the second operation, and the third operation may all be performed by the first processor, or the first operation and the second operation may be performed by the first processor (e.g., a general-purpose processor) and the third operation may be performed by the second processor (e.g., an artificial intelligence dedicated processor).
[0094] At least one processor (140) may be implemented as a single core processor including one core, or as one or more multicore processors including multiple cores (e.g., homogeneous multicore or heterogeneous multicore).
[0095] When at least one processor (140) is implemented as a multi-core processor, each of the multiple cores included in the multi-core processor may include internal processor memory such as cache memory or on-chip memory, and a common cache shared by multiple cores may be included in the multi-core processor.
[0096] Each of the multiple cores (or some of the multiple cores) included in the multi-core processor may independently read and execute program instructions for implementing the method according to the embodiment of the present disclosure, or all (or some of) of the multiple cores may be linked together to read and execute program instructions for implementing the method according to the embodiment of the present disclosure.
[0097] FIG. 3 is a detailed block diagram for illustrating an electronic device according to at least one embodiment of the present disclosure.
[0098] Referring to FIG. 3, an electronic device (100) according to one embodiment of the present disclosure may include a communication interface (110), an input interface (120), a memory (130), at least one processor (140), a sensor (150), a microphone (161), a speaker (162), a display (170), or a camera (180). Parts that overlap with the description above will be omitted or abbreviated below.
[0099] The sensor (150) is configured to detect the surrounding environment of the electronic device (100) and obtain information. For example, the electronic device (100) may obtain information related to an event through the sensing value of the sensor (150).
[0100] A microphone (161) is configured to receive sound input and convert it into an audio signal. The microphone (161) is electrically connected to at least one processor (140) and can receive sound under the control of the processor (140).
[0101] For example, the microphone (161) can be formed as an integrated unit on the upper side, front side, or side side of the electronic device (100).
[0102] The microphone (161) may include various configurations such as a microphone that collects analog sound, an amplifier circuit that amplifies the collected sound, an A / D conversion circuit that samples the amplified sound and converts it into a digital signal, and a filter circuit that removes noise components from the converted digital signal.
[0103] Meanwhile, the microphone (161) may be implemented in the form of a sound sensor, and any configuration capable of collecting sound is acceptable.
[0104] The speaker (162) is a component that outputs various audio data processed by at least one processor (140), as well as various notification sounds or voice messages.
[0105] The display (170) is configured to display content and can be implemented as various types of displays such as an LCD (Liquid Crystal Display), an OLED (Organic Light Emitting Diodes) display, and a PDP (Plasma Display Panel). The display (170) may also include a driving circuit, a backlight unit, etc., which can be implemented in forms such as an a-si TFT, an LTPS (low temperature poly silicon) TFT, and an OTFT (organic TFT). Meanwhile, the display (170) can be implemented as a touch screen combined with a touch sensor, a flexible display, a 3D display, etc.
[0106] The camera (180) is configured to obtain information through captured images. For example, at the location where an event occurs, the electronic device (100) can control the camera (180) to obtain captured images of the space where the event occurred and store them in memory (130).
[0107] When the electronic device (100) identifies that the stored captured image corresponds to an image related to an event, it can adopt the captured image as information related to the event and transmit it to the server device (300).
[0108] However, it is not limited to this, and information related to the event may include a recording file obtained through a microphone (161) in the space where the event occurred.
[0109] FIG. 4 is a block diagram illustrating the configuration of a server device according to at least one embodiment of the present disclosure.
[0110] Referring to FIG. 4, the server device (300) may include a communication interface (310), memory (320), and at least one processor (330).
[0111] The communication interface (310) is configured to communicate with the electronic device (100) and the external device (200).
[0112] The communication interface (310) may include wired or wireless input / output interfaces (or input / output terminals) according to various standards. For example, one or more connection interfaces may include various interfaces such as HDMI (High Definition Multimedia Interface), MHL (Mobile High-Definition Link), USB (Universal Serial Bus), DP (Display Port), Thunderbolt, VGA (Video Graphics Array) port, RGB port, D-SUB (D-subminiature), DVI (Digital Visual Interface), AP-based Wi-Fi (Wi-Fi, Wireless LAN Network), Bluetooth, Zigbee, wired / wireless LAN (Local Area Network), WAN (Wide Area Network), Ethernet, IEEE 1394, AES / EBU (Audio Engineering Society / European Broadcasting Union), Optical, Coaxial, etc.
[0113] The communication interface (310) can communicate with the electronic device (100) or the external device (200). In particular, the communication interface (310) can receive a first ciphertext that encrypts a token from the electronic device (100).
[0114] The communication interface (310) can transmit a second ciphertext, which has been processed in an encrypted state after receiving a first ciphertext from the electronic device (100), to the electronic device (100).
[0115] According to an embodiment, the memory (320) may store various programs, data, commands, etc. used in the server device (300). In addition, the memory (320) may store various information according to various embodiments of the present disclosure.
[0116] Depending on the purpose of data storage, the memory (320) may be implemented in the form of a memory embedded in the server device (300) or in the form of a memory that can be attached to and detached from the server device (300).
[0117] For example, data for operating the server device (300) may be stored in memory embedded in the server device (300), and data for the expansion function of the server device (300) may be stored in memory that is detachable from the server device (300).
[0118] The memory embedded in the server device (300) can be implemented in the form of volatile memory (e.g., DRAM (dynamic RAM), SRAM (static RAM), or SDRAM (synchronous dynamic RAM), etc.), non-volatile memory (e.g., OTPROM (one time programmable ROM), PROM (programmable ROM), EPROM (erasable and programmable ROM), EEPROM (electrically erasable and programmable ROM), mask ROM, flash ROM, flash memory (e.g., NAND flash or NOR flash), etc.), hard drive, or solid state drive (SSD).
[0119] In the case of memory that can be attached to and detached from the server device (300), it can be implemented in the form of a memory card (e.g., CF (compact flash), SD (secure digital), Micro-SD (micro secure digital), Mini-SD (mini secure digital), xD (extreme digital), MMC (multi-media card), etc.) or an external memory that can be connected to a USB port (e.g., USB memory).
[0120] The memory (320) may include various instructions required for the operation of at least one processor (330). Here, the instructions may include an instruction to obtain and store a first ciphertext in which a token is encrypted from an electronic device, an instruction to obtain a second ciphertext by performing an operation on the first ciphertext in an encrypted state, and an instruction to transmit the second ciphertext to an electronic device.
[0121] The memory (320) can store a first ciphertext obtained from the electronic device (100). The memory (320) can also store a second ciphertext obtained by performing operations on the first ciphertext while it is encrypted.
[0122] Here, "ciphertext" may refer to encrypted data. In this disclosure, the ciphertext prior to performing an operation is referred to as the first ciphertext, and the result obtained by the operation is referred to as the second ciphertext.
[0123] Additionally, the memory (320) can store a token database. Here, "token database" may refer to a database that stores ciphertexts encrypted with tokens. This is explained in detail in FIG. 7.
[0124] The operation of the electronic device (100) will be described in more detail below through FIGS. 5 to 13. FIGS. 5 to 13 describe individual embodiments for the convenience of explanation. However, the individual embodiments of FIGS. 5 to 13 may be implemented in any combination.
[0125] FIG. 5 is a diagram illustrating the operation of an electronic device receiving a token according to at least one embodiment of the present disclosure.
[0126] Referring to FIG. 5, when a specific event occurs, an external device (200) that identifies the event can transmit a token corresponding to the event to an electronic device (100) or a server device (300).
[0127] For example, when an incident occurs in which a perpetrator (30) harms a victim (20), the external device (200) can identify the occurrence of the incident through the sensor of the external device (200) or through the input of the victim (20). The external device (200) that identifies the occurrence of the incident can generate a first token corresponding to the occurrence of the incident and send a message requesting information related to the occurrence of the incident to users (10-1 to 10-3) of surrounding electronic devices (100-1 to 100-3) through the first token (40-1).
[0128] The external device (200) can separately transmit the generated first token (40-1) to the server device (300), and the server device (300) can manage data by storing the acquired first token (40-1) in a token database.
[0129] FIG. 6 is a diagram illustrating the operation of an electronic device transmitting a ciphertext according to at least one embodiment of the present disclosure.
[0130] Referring to FIG. 6, an electronic device (100) that has received a first token from an external device (200) can obtain a second token based on user input regarding the first token and transmit a ciphertext containing the encrypted second token to a server device (300).
[0131] For example, when an external device (200) that has identified an event transmits a first token to electronic devices (100-1 to 100-3) located within a preset distance of the external device (200), the electronic devices (100-1 to 100-3) that have received the first token can obtain a second token based on the input of each user. The electronic devices (100-1 to 100-3) can obtain a first ciphertext (50-1 to 50-3) that has encrypted the second token and transmit it to a server device (300).
[0132] Meanwhile, the electronic devices (100-1 to 100-3) that received the first token may not generate a second token containing information related to the event if the user inputs feedback rejecting a message requesting information related to the occurrence of the event. That is, the second token may or may not be generated based on user input.
[0133] FIG. 7 is a drawing for illustrating a token database of a server device according to at least one embodiment of the present disclosure.
[0134] Referring to FIG. 7, the memory of the server device (300) can store a token database (45). Here, "token database" means a database that stores at least one of a token or a ciphertext in which the token is encrypted.
[0135] For example, the server device (300) can receive a first token from the electronic device (100) and store it in the memory of the server device (300).
[0136] The server device (300) may receive a plurality of first tokens from a plurality of electronic devices and store them in the memory of the server device (300).
[0137] Referring to FIG. 7, a plurality of first tokens (40-1 to 40-3) obtained from each electronic device may include event and user information identified from each electronic device. For example, the first token (40-1) may include event A and user information a.
[0138] FIG. 8 is a diagram illustrating the operation of an electronic device according to at least one embodiment of the present disclosure receiving a ciphertext from a server device.
[0139] The electronic device (100) can generate a second token when a user of the electronic device, who has received a first token from an external device (200), inputs feedback regarding the first token. Here, the first token may include a message requesting information related to the occurrence of an event.
[0140] Referring to FIG. 8, when a second token is generated based on the input of a user (10-1), the electronic device (100-1) can transmit the first ciphertext (50-1) that encrypts the second token to the server device (300).
[0141] The server device (300) can perform homomorphic encryption operations by comparing a plurality of first tokens (40-1 to 40-3) stored in the token database (45) with a first ciphertext obtained from the electronic device (100-1). Due to the nature of the homomorphic ciphertext, the server device (300) can perform the operation without decryption, and the result value is also in the form of ciphertext.
[0142] The server device (300) may encrypt a plurality of first tokens (40-1 to 40-3) before performing a homomorphic encryption operation. The server device (300) may perform a homomorphic encryption operation to generate a second ciphertext (60) containing a result value regarding whether the first ciphertext (50-1) obtained from the electronic device (100-1) corresponds to each of the plurality of ciphertexts encrypted with the plurality of first tokens (40-1 to 40-3).
[0143] Here, the second ciphertext may refer to response information generated using a token database stored on a server device.
[0144] When the server device (300) obtains the second ciphertext, it can transmit the second ciphertext to the electronic device (100-1). The user (10-1) of the electronic device (100-1) can verify whether the information entered by the user (10-1) is information related to the event corresponding to the first token based on the second ciphertext received from the server device (300).
[0145] For example, the electronic device (100) can obtain information on relevance to an event by comparing whether the first token and the second token correspond. Here, "information on relevance to an event" may mean information on whether the user of the electronic device that received the first token has information related to the event.
[0146] For example, if a user (10-1) has a video recording of the incident at the time the incident occurred, when the electronic device (100-1) decrypts the second ciphertext received from the server device (300), the user (10-1) can confirm through the electronic device (100-1) that the information entered by the user is information related to the incident.
[0147] The electronic device (100-1) can decrypt the second ciphertext using a decryption key, and the decryption key may be a secret key generated in correspondence with the electronic device (100-1).
[0148] FIG. 9 is a diagram illustrating the operation of an electronic device according to at least one embodiment of the present disclosure transmitting information related to an event to a server device.
[0149] Referring to FIG. 9, when the electronic device (100) receives a second user input after obtaining information regarding relevance to an event, it can transmit information related to the event to a server device (300) based on the information regarding relevance to the event and the second user input.
[0150] Here, the second user input may refer to user input received after the first user input has been received, and may include the user's intention regarding whether to transmit information related to the event to an external device.
[0151] For example, when the electronic device (100-1) decrypts the second ciphertext (50-1) received from the server device (300), the user (10-1) can confirm through the electronic device (100-1) that the information he / she has is information related to the event.
[0152] After confirming that the information entered by the user (10-1) is information related to the incident, the user can decide whether to transmit the information related to the incident (70) to the victim (20) through the server device (300).
[0153] After the user (10-1) confirms through the electronic device (100-1) that the information entered by the user is information related to case A, if the user inputs feedback to the electronic device (100-1) regarding the intention to convey the information related to the case (70) to the victim (20), the electronic device (100-1) can transmit the information related to the case (70) to an external device (200) through the server device (300).
[0154] On the other hand, if the user (10-1) confirms through the electronic device (100-1) that the information entered by the user is information related to case A, and then inputs feedback to the electronic device (100-1) regarding the intention not to transmit the information related to the case (70) to the victim (20), the electronic device (100-1) may not transmit the information related to the case (70) to the server device (300) or external device (200).
[0155] FIG. 10 is a diagram illustrating the operation of a server device acquiring a ciphertext according to at least one embodiment of the present disclosure.
[0156] Referring to FIG. 10, if there are multiple users who have information related to an event, the external device (200) may obtain information related to the event from some of the multiple users.
[0157] For example, when an external device (200) transmits a first token to electronic devices (100-1 to 100-3) located within a preset distance of the location where the event occurred, users (10-1 to 10-3) can confirm that the information they possess is information related to the event based on the second ciphertext (50-1 to 50-3) received from the server device (300).
[0158] If only some of the users (10-1 to 10-3), specifically user (10-1), input an intention to transmit information related to the incident to the outside into the electronic device (100-1), the victim (20) can obtain information related to the incident (70) from the electronic device (100-1).
[0159] In this case, information (70) related to the event may be transmitted to the server device (300) and then transferred to the external device (200), but is not limited thereto, and may also be directly transferred from the electronic device (100) to the external device (200).
[0160] FIG. 11 is a sequence diagram showing the order in which an electronic device, a server device, and an external device operate according to at least one embodiment of the present disclosure.
[0161] The external device (200) can transmit a first token containing a message requesting information related to an event to the electronic device (100) (S1110).
[0162] The electronic device (100) can acquire a second token based on a first user input for a first token (S1120).
[0163] The electronic device (100) can encrypt the second token to obtain the first ciphertext (S1130) and transmit it to the server device (300) (S1140). The server device can receive the first ciphertext and store it in the token database.
[0164] The server device (300) can obtain a second ciphertext by performing an operation on the first ciphertext while it is encrypted (S1150) and transmit the second ciphertext to the electronic device (100) (S1160). The server device may also obtain the second ciphertext by using a token database in which a token or ciphertext is stored.
[0165] The electronic device (100) can decrypt the second ciphertext to obtain information regarding relevance to the event (S1170). Here, the information regarding relevance to the event may refer to information regarding whether the user of the electronic device that received the first token has information related to the event.
[0166] When the electronic device (100) receives a second user input (S1180), it can transmit information related to the event to the server device (300) (S1190-1). Here, the information related to the event may include captured video, audio files, etc., obtained from the space where the event occurred.
[0167] The server device (300) can transmit information related to the event to an external device (200) (S1190-2).
[0168] FIG. 12 is a flowchart illustrating the operation of an electronic device according to at least one embodiment of the present disclosure to obtain information regarding the relationship with an event.
[0169] The electronic device can acquire a second token based on a first user input (S1210). Here, the first user input may include response information to the first token, which includes a message requesting information related to an event.
[0170] The electronic device can obtain the first ciphertext, which is the second token encrypted, and transmit it to the server device (S1220). The server device may also store the first ciphertext in an encrypted state in the token database.
[0171] The electronic device can receive a second ciphertext from the server device, in which a first ciphertext has been encrypted and an operation performed (S1230).
[0172] The electronic device can decrypt the second ciphertext to obtain information regarding its relevance to the event (S1240). The electronic device may also decrypt the second ciphertext using a decryption key, wherein the decryption key may refer to a secret key generated in correspondence with the electronic device.
[0173] FIG. 13 is a flowchart illustrating the operation of a server device transmitting a ciphertext according to at least one embodiment of the present disclosure.
[0174] The server device may acquire and store the first ciphertext (S1310). The server device may also store the first ciphertext received from the electronic device in a token database. The first ciphertext may include event information or user information, etc.
[0175] The server device can obtain a second ciphertext by performing an operation on the first ciphertext while it is encrypted (S1320). In this case, since the server device performs the operation on the ciphertext while it is encrypted, it cannot obtain a result value for the ciphertext unless a decryption key is stored.
[0176] The server device can transmit the second ciphertext to the electronic device (S1330). The electronic device can decrypt the second ciphertext obtained from the server device to obtain information regarding its relevance to the event.
[0177] The control method of an electronic device or server device described in FIG. 12 or FIG. 13 may be performed by a device having various configurations such as FIG. 2 to FIG. 4 described above, but is not necessarily limited thereto and may be performed by a device having various configurations.
[0178] The various embodiments described above may be implemented as individual embodiments, or at least one embodiment may be combined with one another, either wholly or partially, to be implemented together in a single device.
[0179] According to the various embodiments described above, a server device performs operations on a ciphertext while it is encrypted, and an electronic device receiving the ciphertext can obtain information regarding its relevance to an event by decrypting the ciphertext using a decryption key. Ultimately, user privacy can be protected.
[0180] Various embodiments of the present disclosure may be implemented as software stored on a machine-readable storage media that can be mounted on or connected to a smartphone, a user terminal device, and various other electronic devices (e.g., a computer).
[0181] Specifically, a non-transient readable storage medium may be provided that stores software for sequentially performing the steps of: receiving a first token corresponding to an event from an external device, obtaining a second token based on a first user input for the first token, obtaining a first ciphertext obtained by encrypting the second token and transmitting it to a server device, receiving a second ciphertext obtained by performing operations on the first ciphertext in an encrypted state from the server device, and decrypting the second ciphertext to obtain information regarding its relevance to the event.
[0182] A device equipped with such a non-transient readable medium can perform various operations such as tag identification corresponding to user actions described in the various embodiments above, verification of importance per multiple frames, and generation of edited images.
[0183] In non-transitory readable storage media, 'non-transitory' simply means that the storage medium does not contain a signal and is tangible; it does not distinguish whether data is stored semi-permanently or temporarily on the storage medium.
[0184] Alternatively, a program for performing the methods according to the various embodiments described above may be distributed online through an application store. In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a storage medium such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0185] Each component (e.g., module or program) according to various embodiments may consist of a single or multiple entities, and some of the aforementioned sub-components may be omitted, or other sub-components may be further included in various embodiments. Generally or additionally, some components (e.g., module or program) may be integrated into a single entity to perform the same or similar functions as those performed by each of the respective components prior to integration.
[0186] Operations performed by a module, program, or other component according to various embodiments may be executed sequentially, in parallel, iteratively, or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added.
[0187] Although preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above. It is understood that various modifications can be made by those skilled in the art without departing from the essence of the present disclosure as claimed in the claims, and such modifications should not be understood individually from the technical spirit or perspective of the present disclosure.
Claims
1. In an electronic device, Communication interface for communicating with external devices and server devices; Input interface; Memory for storing at least one instruction; and It includes at least one processor that executes the above at least one instruction; and The above-mentioned at least one processor is, When a first token corresponding to an event is received from the above external device, a second token is obtained based on a first user input for the first token, and Obtain the first ciphertext obtained by encrypting the second token and transmit it to the server device, and Receive a second ciphertext from the server device in which an operation is performed on the first ciphertext in an encrypted state, and Decrypt the above second ciphertext to obtain information regarding its relevance to the above event, and The above first token and the above second token are, It is a text unit that has meaning in data, and The above first token is, An electronic device that is a token for a message requesting information related to the event from at least one electronic device within a preset distance from the location where the external device occurred, based on location information where the event occurred.
2. In Paragraph 1, The above-mentioned at least one processor is, A decryption key corresponding to the above electronic device is generated and stored in the memory, and An electronic device that decrypts the second ciphertext using the decryption key.
3. In Paragraph 2, The above decryption key is, An electronic device, which is a secret key generated in correspondence with the above electronic device.
4. In Paragraph 1, The above-mentioned at least one processor is, Encrypt the second token using an encryption key, and The above encryption key is, An electronic device, which is a public key stored in the above electronic device and the above server device.
5. In Paragraph 1, The above second ciphertext is, An electronic device, which is response information generated using a token database stored in the above-mentioned server device.
6. In Paragraph 5, The above token database is, An electronic device that is a database storing at least one of a token or a ciphertext encrypted with a token.
7. In Paragraph 1, The above-mentioned at least one processor is, Information regarding the relationship with the event is obtained by comparing whether the first token and the second token correspond, and Information regarding the relevance to the above event is, An electronic device, which is information regarding whether the user of the electronic device that received the first token has information related to the event.
8. In Paragraph 7, The above-mentioned at least one processor is, After obtaining information regarding relevance to the above event, if a second user input is received, information related to the above event is transmitted to the server device based on the information regarding relevance to the above event and the second user input, and The above second user input is, An electronic device that is a user input received after the above-mentioned first user input is received.
9. In Paragraph 1, The above communication interface is, An electronic device comprising at least one of a short-range communication interface and a wireless communication interface.
10. In a server device, Communication interface for communicating with electronic devices; A token database and memory storing at least one instruction; and It includes at least one processor that executes the above at least one instruction; and The above-mentioned at least one processor is, Obtain a first ciphertext that encrypts a token from the electronic device and store it in the memory, and Based on a plurality of ciphertexts stored in the above token database, the first ciphertext is processed in an encrypted state to obtain a second ciphertext, and The above second ciphertext is transmitted to the above electronic device, and The above token database is, A server device that is a database storing at least one of a token or a ciphertext encrypted with a token.
11. In a method for controlling an electronic device, A step of receiving a first token corresponding to an event from an external device, and acquiring a second token based on a first user input for the first token; A step of obtaining a first ciphertext obtained by encrypting the second token and transmitting it to a server device; A step of receiving a second ciphertext from the server device, wherein the first ciphertext is encrypted and an operation is performed on it; and The method includes the step of decrypting the second ciphertext to obtain information regarding its relevance to the event; The above first token and the above second token are, It is a text unit that has meaning in data, and The above first token is, A control method in which the above external device is a token for a message requesting information related to the event from at least one electronic device within a preset distance from the above location based on location information where the above event occurred.
12. In Paragraph 11, The step of obtaining information regarding the relevance to the above event is, A step of generating and storing a decryption key corresponding to the electronic device; and A control method comprising the step of decrypting the second ciphertext using the decryption key.
13. In Paragraph 12, The above decryption key is, A control method, which is a secret key generated in correspondence with the above electronic device.
14. In Paragraph 11, The step of obtaining a first ciphertext encrypted with the second token and transmitting it to the server device is: The step of encrypting the second token using an encryption key; is included, The above encryption key is, A control method, which is a public key stored in the electronic device and the server device.
15. In a non-transient readable recording medium storing a program for executing a method of controlling an electronic device, The above control method is, A step of receiving a first token corresponding to an event from an external device, and acquiring a second token based on a first user input for the first token; A step of obtaining a first ciphertext obtained by encrypting the second token and transmitting it to a server device; A step of receiving a second ciphertext from the server device, wherein the first ciphertext is encrypted and an operation is performed on it; and The method includes the step of decrypting the second ciphertext to obtain information regarding its relevance to the event; The above first token and the above second token are, It is a text unit that has meaning in data, and The above first token is, A non-transient readable recording medium, wherein the external device is a token for a message requesting information related to the event from at least one electronic device within a preset distance from the location where the event occurred, based on location information where the event occurred.