Electronic device and method for protecting personal data
The method enhances data security on mobile devices by enforcing data extraction prevention policies and managing cache and backup operations within secure memory areas, effectively addressing the challenge of protecting personal and work-related data from unauthorized access and misuse.
Patent Information
- Application Number
- PCT/KR2024/002835
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-20
- Filing Date
- 2024-03-06
- Publication Date
- 2024-10-31
AI Technical Summary
The increasing importance of protecting personal and work-related data on mobile devices due to their expanding use, as this data can be easily extracted and potentially misused, necessitates effective security measures to prevent unauthorized access and data extraction.
Implementing a method on electronic devices to identify and enforce data extraction prevention policies, including application downgrade policies, data backup policies, cache management, and temporary database file creation policies, using secure memory areas to store and manage attribute values that control these actions, thereby preventing unauthorized data extraction.
Enhances data security by restricting data extraction, managing cache and backup operations, and ensuring secure data handling, thereby protecting user privacy and preventing malicious use of extracted data.
Smart Images

Figure KR2024002835_31102024_PF_FP_ABST
Abstract
Description
How to Protect Your Electronic Devices and Personal Data
[0001] The present disclosure relates to a method for protecting electronic devices and personal data.
[0002] As mobile devices like smartphones become increasingly used for both personal and work purposes, the security of various data related to personal privacy and work is becoming increasingly important. This data can be recorded on mobile devices during their use, and the volume of such data continues to grow as their uses expand. This stored data can be deleted from mobile devices, but deleted data can be easily extracted using mobile forensics technology. This data can be used for legitimate purposes, but it can also be misused for illegal purposes. Therefore, it is crucial to protect personal data stored on electronic devices from being easily extracted.
[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
[0004] Various embodiments of the present disclosure seek to provide an electronic device capable of preventing data extraction from a mobile terminal and a method for protecting personal data.
[0005] Various embodiments of the present disclosure seek to provide a method for protecting electronic devices and personal data that can set a downgrade policy for an application.
[0006] Various embodiments of the present disclosure seek to provide a method for protecting electronic devices and personal data by limiting the temporary creation of caches and databases.
[0007] Various embodiments of the present disclosure seek to provide methods for protecting electronic devices and personal data that can block protocols known to facilitate data extraction.
[0008] An electronic device according to an aspect of the present disclosure comprises one or more processors; and a memory, wherein the memory is capable of storing at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify one or more data extraction prevention policies stored in a prevention database, identify a first attribute value associated with enabling of the data extraction prevention policy from the prevention database, and a second attribute value associated with at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, or a database temporary file creation policy included in the data extraction prevention policy, and block at least one of an application downgrade, a data backup, an application of a backup protocol, a cache creation, and a database temporary file creation based on the first attribute value and the second attribute value. The first attribute value and the second attribute value may be stored in at least a portion of a secure memory area.
[0009] According to one embodiment, the first attribute value and the second attribute value stored in at least a portion of the secure memory area may be initialized based on detection of at least one of a preset time-condition or an initialization-condition.
[0010] According to one embodiment, the first attribute value and the second attribute value stored in at least a portion of the secure memory area may not be modified based on whether either the preset time-condition or the initialization-condition is not detected.
[0011] In one embodiment, the initialization-condition may execute a factory reset.
[0012] According to one embodiment, the preset time-condition may be set in parallel with setting the first attribute value or the second attribute value.
[0013] According to one embodiment, at least one of the preset time-condition or the initialization-condition may be associated with at least one of the one or more data extraction prevention policies.
[0014] According to one embodiment, the preset time-condition or the initialization-condition may be included as at least part of the prevention database or stored in the secure memory area so that modification is prohibited.
[0015] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify the first attribute value and the second attribute value based on the initiation of installation of an application, compare the first version of the application whose installation has been initiated with a second version of the application recorded in the prevention database based on the first attribute value being identified as enable and the second attribute value associated with the application downgrade policy being identified as disallow, store a backup permission setting (e.g., an allowBackup setting) recorded in a manifest file of the application whose installation has been initiated in a field in which a backup permission setting is recorded in the prevention database based on the first version being identified as being higher than or equal to the second version, and complete the installation of the application whose installation has been initiated.
[0016] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: abort the installation of the application whose installation has started based on the first version being identified as being lower than the second version.
[0017] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to complete the installation of the application whose installation has been started based on the first attribute value being identified as disable or the second attribute value associated with the application downgrade policy being identified as allow.
[0018] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify a backup permission protection setting based on completion of installation of the application for which installation has been started; and, based on the backup permission protection setting being identified as true, maintain the backup permission setting previously stored in the prevention database and exclude the backup permission setting of the application for which installation has been completed.
[0019] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: exclude a previously stored backup permission setting from the prevention database based on the backup permission protection setting being identified as false, and maintain the backup permission setting of the installed application.
[0020] In one embodiment, the backup permission protection settings may be included as at least a portion of the prevention database.
[0021] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify the first attribute value and the second attribute value based on receiving a backup command; obtain a backup permission setting from the prevention database based on the first attribute value being identified as enable and the second attribute value associated with the data backup policy being identified as disallow; and execute a backup function based on the backup permission setting obtained from the prevention database.
[0022] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: obtain a backup permission setting from a manifest file of an application associated with the backup command based on whether the first attribute value is identified as disable or whether a second attribute value associated with the data backup policy is identified as allow, and execute the backup function based on the backup permission setting obtained from the manifest file.
[0023] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify the first attribute value and the second attribute value based on receiving a command to execute a gallery application, and block creation of a cache associated with the gallery application based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
[0024] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: identify the first attribute value and the second attribute value based on receiving a command to execute a gallery application, and delete all caches associated with the gallery application based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
[0025] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: allow creation of a cache associated with the gallery application based on the first attribute value being identified as disable or the second attribute value associated with the cache policy being identified as allow.
[0026] According to one embodiment, the memory may store at least one instruction that, when executed by the one or more processors, causes the electronic device to: delete the image based on receiving a command to delete the image of the gallery application, and delete the cache for the image based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
[0027] According to one aspect of the present disclosure, a method for protecting personal data in an electronic device may include: identifying one or more data extraction prevention policies stored in a prevention database; identifying a first attribute value associated with enabling of a data extraction prevention policy from the prevention database; and a second attribute value associated with at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, or a database temporary file creation policy included in the data extraction prevention policy; and blocking at least one of application downgrade, data backup, application of a backup protocol, creation of a cache, or creation of a database temporary file based on the first attribute value and the second attribute value. In addition, the first attribute value and the second attribute value may be stored in at least a portion of a secure memory area.
[0028] The effects that can be achieved by the exemplary embodiments of the present disclosure can be clearly derived and understood by those skilled in the art to which the exemplary embodiments of the present disclosure pertain, from the following description. In other words, unintended effects resulting from the implementation of the exemplary embodiments of the present disclosure can also be derived by those skilled in the art from the exemplary embodiments of the present disclosure.
[0029] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0030] FIG. 2 is a block diagram illustrating a program according to various embodiments.
[0031] FIG. 3 is a block diagram illustrating an electronic device including a program according to various embodiments of the present disclosure.
[0032] FIG. 4 is a flowchart of a method for adding setting(s) to a data extraction prevention policy according to various exemplary embodiments of the present disclosure.
[0033] FIG. 5 is a flowchart of a method for disabling at least some of the settings of a data extraction prevention policy according to various exemplary embodiments of the present disclosure.
[0034] FIG. 6 illustrates an example of a system screen applied to various embodiments of the present disclosure.
[0035] FIG. 7 is a flowchart illustrating initialization of a secure memory area according to various embodiments of the present disclosure.
[0036] FIG. 8 is a flowchart of an operating method according to various embodiments of the present disclosure.
[0037] FIG. 9 is a flowchart illustrating a downgrade policy according to various embodiments of the present disclosure.
[0038] FIG. 10 is a flowchart illustrating a downgrade policy according to various embodiments of the present disclosure.
[0039] FIG. 11a, FIG. 11b, and FIG. 11c are flowcharts illustrating a data backup policy according to various embodiments of the present disclosure.
[0040] FIG. 12 is a flowchart illustrating a cache policy according to various embodiments of the present disclosure.
[0041] FIG. 13 is a flowchart illustrating a cache policy according to various embodiments of the present disclosure.
[0042] FIG. 14 is a flowchart illustrating a policy for blocking the creation of temporary files for a database according to various embodiments of the present disclosure.
[0043] The following description refers to the attached drawings, and various examples of implementations are illustrated within the drawings. Furthermore, other examples may be utilized and structural changes may be made without departing from the scope of the various examples.
[0044] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the exemplary embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
[0045] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
[0046] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0047] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or a secondary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor)) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0048] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0049] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0050] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0051] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0052] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0053] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0054] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0055] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0056] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0057] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0058] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0059] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0060] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0061] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0062] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0063] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) respectively, or 1 ms or less for round trip) for URLLC realization.
[0064] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0065] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
[0066] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0067] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0068] FIG. 2 is a block diagram illustrating a program according to various embodiments.
[0069] According to one embodiment, the program (240) may include an operating system (242), middleware (244), or an application (246) executable on the operating system (242) for controlling one or more resources of the electronic device (200) (e.g., the electronic device (101) of FIG. 1). The operating system (242) may be, for example, Android. TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM At least some of the programs (240) may be preloaded onto the electronic device (200), for example, at the time of manufacture, or may be downloaded or updated from an external electronic device (e.g., the electronic device (102 or 104) of FIG. 1, or the server (208)) when used by the user.
[0070] The operating system (242) may control the management (e.g., allocation or reclamation) of one or more system resources (e.g., processes, memory, or power) of the electronic device (200). The operating system (242) may additionally or alternatively include other hardware devices of the electronic device (200), such as an input module (e.g., input module (150) of FIG. 1), an audio output module (e.g., audio output module (155) of FIG. 1), a display module (e.g., display module (160) of FIG. 1), an audio module (e.g., audio module (170) of FIG. 1), a sensor module (e.g., sensor module (176) of FIG. 1), an interface (e.g., interface (177) of FIG. 1), a haptic module (e.g., haptic module (179) of FIG. 1), a camera module (e.g., camera module (180) of FIG. 1), a power management module (e.g., power management module (188) of FIG. 1), a battery (e.g., battery (189) of FIG. 1), a communication module (e.g., communication module (190) of FIG. 1), a subscriber identification module (e.g., subscriber identification module (196) of FIG. 1), or an antenna. It may include one or more driver programs for driving a module (e.g., antenna module (197) of FIG. 1).
[0071] Middleware (244) can provide various functions to the application (246) so that functions or information provided from one or more resources of the electronic device (200) can be used by the application (246). Middleware (244) can include, for example, an application manager (201), a window manager (203), a multimedia manager (205), a resource manager (207), a power manager (209), a database manager (211), a package manager (213), a connectivity manager (215), a notification manager (217), a location manager (219), a graphics manager (221), a security manager (223), a call manager (225), or a voice recognition manager (227).
[0072] The application manager (201) can manage, for example, the life cycle of an application (246). The window manager (203) can manage, for example, one or more GUI (graphical user interface) resources used on a screen. The multimedia manager (205) can, for example, identify one or more formats required for playing media files, and perform encoding or decoding of a corresponding media file among the media files using a codec suitable for the corresponding format selected among the formats. The resource manager (207) can manage, for example, the source code of the application (246) or the memory space of a memory (e.g., the memory (130) of FIG. 1). The power manager (209) can manage, for example, the capacity, temperature, or power of a battery (e.g., the battery (189) of FIG. 1), and use the corresponding information among these to determine or provide relevant information required for the operation of the electronic device (200). According to one embodiment, the power manager (209) may be interoperable with a basic input / output system (BIOS) (not shown) of the electronic device (200).
[0073] The database manager (211) can, for example, create, search, or modify a database to be used by the application (246). The package manager (213) can, for example, manage the installation or update of an application distributed in the form of a package file. The connectivity manager (215) can, for example, manage a wireless connection or direct connection between the electronic device (200) and an external electronic device. The notification manager (217) can, for example, provide a function for notifying a user of the occurrence of a specified event (e.g., an incoming call, a message, or an alarm). The location manager (219) can, for example, manage location information of the electronic device (200). The graphics manager (221) can, for example, manage one or more graphic effects to be provided to the user or a user interface related thereto.
[0074] The security manager (223) may provide, for example, system security or user authentication. The telephony manager (225) may manage, for example, a voice call function or a video call function provided by the electronic device (200). The voice recognition manager (227) may, for example, transmit a user's voice data to the server (108) and receive, from the server (108), a command corresponding to a function to be performed in the electronic device (200) based at least in part on the voice data, or text data converted based at least in part on the voice data. In one embodiment, the middleware (244) may dynamically delete some of the existing components or add new components. In one embodiment, at least a portion of the middleware (244) may be included as a part of the operating system (242) or implemented as separate software different from the operating system (242).
[0075] The application (246) may include, for example, a home (251), a dialer (253), a short message service (SMS) / multimedia messaging service (MMS) (255), an instant message (IM) (257), a browser (259), a camera (261), an alarm (263), a contact (265), voice recognition (267), an email (269), a calendar (271), a media player (273), an album (275), a watch (277), a health (279) (e.g., measuring biometric information such as the amount of exercise or blood sugar), or an environmental information (281) (e.g., measuring barometric pressure, humidity, or temperature information) application. According to one embodiment, the application (246) may further include an information exchange application (not shown) that can support information exchange between the electronic device (200) and an external electronic device. The information exchange application may include, for example, a notification relay application configured to transmit designated information (e.g., calls, messages, or alarms) to an external electronic device, or a device management application configured to manage an external electronic device. The notification relay application may, for example, transmit notification information corresponding to a designated event (e.g., receipt of an email) that occurs in another application (e.g., an email application (269)) of the electronic device (200) to the external electronic device. Additionally or alternatively, the notification relay application may receive notification information from the external electronic device and provide the information to a user of the electronic device (200).
[0076] A device management application may, for example, control the power (e.g., turning on or off) or the function (e.g., brightness, resolution, or focus) of an external electronic device or a component thereof (e.g., a display module or camera module of the external electronic device) that communicates with the electronic device (200). The device management application may additionally or alternatively support the installation, deletion, or update of an application running on the external electronic device.
[0077] FIG. 3 is a block diagram illustrating an electronic device including a program according to various embodiments of the present disclosure.
[0078] Referring to FIG. 3, an electronic device (300) (e.g., electronic device (101) of FIG. 1) may include one or more programs (e.g., program (140) of FIG. 1 or program (240) of FIG. 2). The programs may include a framework (310) and / or an application (320) (e.g., application (146) of FIG. 1 or application (246) of FIG. 2).
[0079] In one embodiment, the framework (310) may include a prevention manager (311), a backup / restore manager (312), a package manager (313) (e.g., the package manager (213) of FIG. 2), a backup manager (314), and / or a database manager (315) (e.g., the database manager (211) of FIG. 2).
[0080] According to one embodiment, the package manager (313) may perform functions such as installing, updating, or downgrading an application (320) (e.g., an application package).
[0081] In one embodiment, the backup manager (314) can perform data backup of the application (320). The backup manager (314) can access the manifest file of an individual application through the package manager (313). In one embodiment, the backup manager (314) can identify a backup permission setting (e.g., allowBackup attribute) through the package manager (313) and, based on the attribute value of the backup permission setting (e.g., true (or allow) or false (or disallow)), access either the manifest file or the prevention database. If the backup permission setting is identified as allow, the backup manager (314) can access the manifest file through the package manager (313). If the backup permission setting (e.g., allowBackup attribute) is identified as disallow, the backup manager (314) can access the prevention database through the package manager (313).
[0082] In one embodiment, the backup manager (314) can read the attribute value of the backup permission setting included in the manifest file based on the backup permission setting being identified as allow. In another embodiment, the backup manager (314) can access the backup permission attribute field of the prevention database based on the backup permission setting being identified as disallow, and read the attribute value recorded in the backup permission attribute field. The attribute value recorded in the backup permission attribute field can replace the attribute value for the backup permission setting included in the manifest file. In one embodiment, by setting the attribute value of the backup permission setting to disallow, the backup permission setting of the application manifest file can be ignored, and the backup function can be executed or not executed with the attribute value of the backup permission attribute field recorded in the prevention database having higher security.
[0083] In one embodiment, the backup manager (314) may identify an attribute value for a known backup protocol setting (e.g., a known protocol attribute) and perform or not perform a backup based on the attribute value. For example, the backup manager (314) may be configured to allow a backup based on the known protocol attribute being identified as allow, and to disallow a backup based on the known protocol attribute being identified as disallow.
[0084] In one embodiment, the backup / restore manager (312) can back up or restore data of an electronic device. The backup / restore manager (312) may include, for example, a smart switch manager. The backup / restore manager (312) can back up data such as a user's contacts, photos, videos, messages, music, and applications, and can also transfer such data to another electronic device.
[0085] According to one embodiment, the database manager (315) can manage or control the database system used by the application (320). The database system can support various modes. The modes supported by the database system can include, but are not limited to, delete mode, truncate mode, journal mode, write-ahead logging (WAL) mode, or memory mode. For reference, WAL mode is a journal mode that operates in SQLite, and instead of logging changed data using a journal file, changed data can be recorded in a separate WAL file.
[0086] In one embodiment, creating or opening a database using journal mode can be realized by multiple operations. For example, the database manager (315) can transmit a request to create or open a database to the database system using an interface provided by the database system. The database system can perform the task of creating or opening a database according to the request. In this case, the database system with journal mode enabled can log information about deleted data. The database manager (315) can manage or control the data of the application (320) using the database created from the database system. In this way, the database manager (315) can manage or control the database system centered on creating or opening a database using journal mode. In addition, this can ensure the stability and consistency of the database and prevent data loss. However, since the logged data in this way can be extracted and exploited without the user's consent through forensic techniques, a technology for deleting the logged data may be required depending on the settings.
[0087] According to one embodiment, the application (320) may include first to Nth applications (N is a natural number) associated with at least one of various files. The various files may include, but are not limited to, document files, multimedia files, installation files, or image files, for example. According to one embodiment, the application (320) may create a cache in the process of executing, storing, or managing files associated with each application. The cache may be associated with each application. The cache may remain in the memory of the electronic device (300) even if the original file or data that is the basis of the cache is deleted.
[0088] In one embodiment, the application (320) may include a gallery application associated with a gallery file. The gallery application may execute, store, or manage various images. Images stored on the electronic device (300) (e.g., original images) may be deleted, but a cache of the images (e.g., image cache) may remain on the electronic device (300). The cache may be understood as a copy of the original image. The electronic device (300) may use the cache to quickly load or view images, but the cache may occupy storage space on the electronic device (300), and further, caches of images deleted from the electronic device (300) may remain in the storage space. Accordingly, the electronic device (300) may need to delete the cache to completely delete the images.
[0089] An electronic device (300) according to various embodiments of the present disclosure may include various components for maintaining or strengthening security for user data.
[0090] An electronic device (300) according to one embodiment may include a prevention manager (311). The prevention manager (311) may be included as at least a part of a framework (310). In addition, the electronic device (300) according to one embodiment may include a prevention database (330) and / or a secure memory (340) functionally connected to the prevention manager (311).
[0091] In one embodiment, the prevention manager (311) may store or manage data extraction prevention policies in a prevention database (330). The prevention database (330) may store information regarding the activation of data extraction prevention policies that may be provided by the framework (310). The prevention manager (311) may store the data extraction prevention policies in secure memory (340).
[0092] In one embodiment of the present disclosure, the secure memory (340) may include physical memory or logical memory. For example, the secure memory (340) may be a separate memory physically separated from general memory, or a separate memory area that uses a memory area logically separated from general memory. The logically separated memory area may be used interchangeably with a tamper-proof area. The tamper-proof area may refer to a portion of the memory area within the electronic device (300) that is inaccessible to general users or applications (320) and is only accessible by certain systems. Data or attribute values stored in the tamper-proof area cannot be modified externally, and due to this characteristic, the tamper-proof area can be used to store data or attribute values that are important to the system.
[0093] According to one embodiment, a data extraction prevention policy may be stored in the secure memory (340). The data extraction prevention policy may include at least one of a policy regarding whether an application can be downgraded (application downgrade policy), a policy regarding data backup (data backup policy), a policy regarding whether a backup protocol can be used (backup protocol policy), a policy regarding whether a cache can be created (cache policy), and / or a policy regarding whether a database temporary file can be created (database temporary file creation policy). The secure memory (340) may also include information regarding whether one or more policies are active. For example, the secure memory (340) may include an attribute value indicating whether at least one of the one or more policies is active or inactive.
[0094] According to one embodiment, the data extraction prevention policy stored in the secure memory (340) may be stored in the prevention database (330). The data extraction prevention policy is stored in the secure memory (340) so as not to be tampered with from the outside, and may be stored in the prevention database (330) so as to be used by the prevention manager (311). Based on the data extraction prevention policy, the prevention manager (311) may determine at least one of whether the application can be downgraded, the read path of the backup permission setting (e.g., the application's manifest file or the prevention database), whether to use the backup protocol, whether to create a cache, and / or whether to create a database temporary file.
[0095] In various embodiments of the present disclosure, each operation or function supported by one or more managers included in the framework (310) may be executed by one or more processors (e.g., processor (120) of FIG. 1) provided in the electronic device (300). One or more processors may be implemented by one or more processing circuits. One or more processors may be implemented by one or more chips. In addition, a program including the framework (310) (e.g., program (140) of FIG. 1, program (240) of FIG. 2) may be stored in a memory of the electronic device (300) (e.g., memory (130) of FIG. 1). The program may be executed or managed by one or more processors electrically connected to the memory.
[0096] A method according to various embodiments of the present disclosure may include a plurality of operations. Each operation may be executed by an electronic device (e.g., electronic device 101 of FIG. 1, electronic device 300 of FIG. 3). Specifically, one or more commands corresponding to each of the operations illustrated in FIG. 4 may exist, and a program including the one or more commands may be stored in a memory. The electronic device may execute the one or more commands stored in the memory through a processing circuit electrically connected to the memory. Hereinafter, a method according to various embodiments of the present disclosure will be described in detail with reference to FIGS. 4 to 14.
[0097] FIG. 4 is a flowchart of a method for adding setting(s) to a data extraction prevention policy according to various exemplary embodiments of the present disclosure.
[0098] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0099] According to one embodiment, operations 401 to 404 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0100] Referring to FIG. 4, according to one embodiment, in operation 401, the electronic device may receive an input for activating a function(s) for a data extraction prevention policy. The activating input may refer to an input for changing an unrestricted attribute value to a restricted attribute value. The restricted attribute value may be information for executing the data extraction prevention function, and the unrestricted attribute value may be information for not executing the data extraction prevention function.
[0101] In one embodiment of the present disclosure, a data extraction prevention policy may be one or more rules for preventing user data from being extracted from an electronic device. Additionally, settings associated with the data extraction prevention policy (i.e., data extraction prevention settings) may be one or more system information items for defining the data extraction prevention policy.
[0102] According to one embodiment, an electronic device may receive user input authorizing attribute values for at least a portion of a data extraction prevention policy, and execute the data extraction prevention policy based on the received user input. In the present disclosure, the data extraction prevention policy may include a plurality of configuration options (e.g., at least one of allow / disallow, latestAPP, specific apps, or permanent / period), and on / off or true / false may be applied to each configuration option. Details thereof are described with reference to [Table 1], [Table 2], and [Table 3].
[0103] In one embodiment, the electronic device may display a system screen for configuring a data extraction prevention policy on the display. The electronic device may configure the data extraction prevention policy based on user input on the system screen. Specifically, by setting at least some of the multiple configuration options for the data extraction prevention policy to on, a personalized data extraction prevention policy can be configured for each user.
[0104] According to one embodiment, the data extraction prevention policy may include at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, and / or a database temporary file creation policy.
[0105] According to one embodiment, the electronic device can execute a data extraction prevention function based on attribute values for at least some of a plurality of configuration options for a data extraction prevention policy.
[0106] In one embodiment, the attribute values for a data extraction prevention policy may include a first attribute value (e.g., true or false for an enable entry) associated with a first configuration option (e.g., enable) for the data extraction prevention policy, and a second attribute value (e.g., allow / disallow, latestAPP, specific apps, or permanent / period) associated with a second configuration option for each of the policies included in the data extraction prevention policy.
[0107] In one embodiment, the first attribute value may be referred to as an attribute value for the basic policy, and the second attribute value may be referred to as an attribute value for each of the detailed policies (hereinafter, detailed policies). The detailed policies may include at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, and / or a database temporary file creation policy. In one embodiment, the detailed policies may be enabled based on the basic policy being maintained as enabled based on the first attribute value.
[0108] According to one embodiment, the first attribute value is for enabling the basic policy and can be true or false.
[0109] According to one embodiment, the second attribute value may include an attribute value (e.g., true or false) for at least one of an allow item, a disallow item, a latest APP item, a latestAPP item, a specific apps item, a permanent item, or a period item. Specifically, the second attribute value for an allow item (or a disallow item) may be true or false. For example, the second attribute value for the latestAPP item may be on or off. For example, the second attribute value for the specific apps item may be information on an application selected from among a plurality of applications (e.g., a selected application name or an ID (identification) of the selected application). For example, the second attribute value for a permanent item or a period item may be true or false. The electronic device may identify, for each item, the first attribute value and / or the second attribute value recorded in a plurality of fields of the prevention database from the prevention database.
[0110] According to one embodiment, a plurality of fields of the prevention database may be defined for each of the basic policy and / or each of the plurality of detailed policies. The fields may include at least some of the second attribute values. Based on the attribute values of the second attribute values included in the fields, whether the basic policy or at least one of the detailed policies is to be executed, the execution target, and / or the execution rule may be determined.
[0111] In operation 402, according to one embodiment, the electronic device may read a previously recorded existing policy from a secure memory area. The previously recorded existing policy may be stored in the secure memory area and / or a prevention database. The electronic device may access the secure memory area to read the previously recorded existing policy.
[0112] Typically, an existing policy recorded in a secure memory area cannot be modified based on user input to the electronic device. For example, even if a user input is received in the secure memory area that changes at least some of the attribute values of an existing policy, the electronic device can maintain the state of the existing policy without changing the attribute values in response to the user input. According to various embodiments of the present disclosure, an electronic device may ignore a user input that changes an existing policy's restricted attribute value to an unrestricted attribute value, but may change an unrestricted attribute value to a restricted attribute value based on a user input that adds a new restricted attribute value to the existing policy. In this case, the new policy (current policy) with the added restricted attribute value may be stored in the secure memory area. According to one embodiment, the new policy may be stored as at least a portion of a prevention database included in the secure memory, or may be recorded by updating at least one of a plurality of fields defining the prevention database.
[0113] In various embodiments, the restricted attribute value may include true for the first configuration option. In addition, the restricted attribute value may include at least one of allow for the allow / disallow item among the second configuration options, on for the latestAPP item, optional application information for the specific apps item (e.g., identification information for the application(s) to which the data extraction prevention policy is applied among a plurality of applications), and / or permanent or period for the permanent / period item.
[0114] In various embodiments, the non-restrictive attribute value may include false for the first configuration option. Additionally, the non-restrictive attribute value may include disallow for the allow / disallow item among the second configuration options, off for the latestAPP item, and unselected application information related to the specific apps item (e.g., identification information for application(s) among multiple applications to which the data extraction prevention policy is not applied).
[0115] In operation 403, according to one embodiment, the electronic device may compare the existing policy with the current new policy. The existing policy may refer to a previous policy stored in a secure memory area, and the current policy may refer to a data extraction prevention policy that includes newly added restrictive attribute values in response to user input. If there are newly added restrictive attribute values based on user input, the current policy may be configured differently from the existing policy.
[0116] In operation 404, according to one embodiment, the electronic device may store the current policy in the prevention database and the secure memory area based on the comparison result. The current policy may be substantially identical to the existing policy, or may differ by adding new restrictive attribute values, or by changing the restrictive attribute values to unrestricted attribute values. The data extraction prevention policy with the added restrictive attribute values compared to the existing policy may be additionally stored in the secure memory area. If a user input is accepted to change the restrictive attribute values to unrestricted attribute values compared to the existing policy, the existing policy may not be excluded from the secure memory area and may remain substantially identical.
[0117] Thus, according to various embodiments of the present disclosure, while adding restrictive attribute values that constitute a data extraction prevention policy is permitted, changing the restrictive attribute values to non-restrictive attribute values may be prohibited. Accordingly, the non-restrictive modification of the data extraction prevention policy by the user or an external device can be prevented, thereby improving the security of user data.
[0118] According to various embodiments of the present disclosure, the data extraction prevention policy or the attribute value associated with the data extraction prevention policy is not changed by a command from a user input or an external device, but may be changed to off by a prevention manager (prevention manager (311) of FIG. 3) in response to detection of a predetermined event. The non-limiting change of the attribute value of the data extraction prevention policy is described in detail below with reference to FIG. 5.
[0119] FIG. 5 is a flowchart of a method for non-limitingly changing at least some of the settings of a data extraction prevention policy according to various exemplary embodiments of the present disclosure.
[0120] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0121] According to one embodiment, operations 501 to 503 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0122] Referring to FIG. 5, in operation 501, an electronic device according to one embodiment may detect an event that deactivates a data extraction prevention policy. Deactivating the data extraction prevention policy may mean changing a restrictedly configured attribute value (restricted attribute value) to an unrestrictedly configured attribute value (unrestricted attribute value).
[0123] In one embodiment, an event that disables the data extraction prevention policy may include, for example, at least one of a time-conditional event and / or an initialization-conditional event. A time-conditional event may be an event that occurs when a preset time is reached. An initialization-conditional event may include at least one of a factory reset of the electronic device, an initialization of a secure memory area, or both.
[0124] In one embodiment, the above event for deactivating a data extraction prevention policy may be set together with activating the data extraction prevention policy. The electronic device may display a system screen for activating the data extraction prevention policy, and may not only activate the data extraction prevention policy through the system screen, but may also set an event for deactivating the data extraction prevention policy to be activated. For example, the electronic device may activate the data extraction prevention policy based on a user input on the system screen, and set a time-condition event for deactivating the policy to be activated. For example, the electronic device may activate the data extraction prevention policy based on a user input on the system screen, and set a reset-condition event for deactivating the policy to be activated. Accordingly, an event for deactivating the policy may be detected in response to a predetermined amount of time elapsed from the time of activating the policy, or an event for deactivating the policy may be detected in response to initializing (or factory resetting) the electronic device or its secure memory area.
[0125] In one embodiment, multiple policies included in a data extraction prevention policy can be independently enabled or disabled. For example, a policy regarding whether applications can be downgraded can be enabled, while a policy regarding data backup can be disabled.
[0126] In one embodiment, the activation or deactivation of multiple policies included in a data extraction prevention policy can be individually managed. For example, a policy regarding application downgrade availability can be deactivated based on a time-based event, and a policy regarding data backup can be deactivated based on an initialization condition.
[0127] According to one embodiment, the electronic device can periodically check for the event based on a period setting. For example, the electronic device can periodically identify whether a time-condition event has occurred. For example, the electronic device can periodically identify whether an initialization-condition event has occurred. However, various embodiments of the present disclosure are not limited to this.
[0128] According to one embodiment, the period setting is associated with a time-condition event, such that the electronic device may periodically check for the occurrence of an event for a policy for which a time-condition event is set, and may not periodically check for the occurrence of an event for a policy for which an initialization-condition event is set. Based on the fact that at least one of the plurality of policies stored in the secure memory area is associated with the time-condition event, the electronic device may periodically check for the occurrence of an event. Based on the fact that none of the plurality of policies stored in the secure memory area is associated with the time-condition event, the electronic device may not check for the occurrence of an event until an initialization-condition event occurs. Based on the fact that all of the plurality of policies stored in the secure memory area are associated with the initialization-condition event, the electronic device may be configured not to check for the occurrence of an event until the occurrence of the initialization-condition event.
[0129] According to one embodiment, the above periodic settings may be stored in at least one of a prevention database and / or a secure memory area.
[0130] According to one embodiment, in operation 502, the electronic device may read a previously recorded existing policy from a secure memory area. Specifically, based on the detection of an event, the electronic device may read a previously recorded existing policy from the secure memory area. The previously recorded existing policy may be stored in the secure memory area and / or a prevention database. The electronic device may access the secure memory area to read the previously recorded existing policy.
[0131] According to one embodiment, at operation 503, the electronic device can update the prevention database and / or the secure memory area by switching the state of the data extraction prevention policy associated with the detected event from active to inactive. Specifically, while an existing policy recorded in the secure memory area cannot generally be tampered with based on user input to the electronic device, the electronic device according to one embodiment can change at least some settings of the existing policy(s) stored in the secure memory area in response to detecting the event at operation 501. Specifically, while an existing policy stored in the secure memory area cannot generally be switched if it remains active, the electronic device can switch the state of the policy from active to inactive based on detecting the event at operation 501.
[0132] In this way, according to various embodiments of the present disclosure, a policy stored as active in a secure memory area can be switched to inactive. The configuration stored in the secure memory area cannot be modified by a user or an external device. However, as described with reference to operations 501 to 503, modifications to the data extraction prevention policy can be limitedly permitted by switching the status of at least a portion of the policy from active to inactive based on a preset event. This limited permission can ensure user convenience by limiting modifications to the data extraction prevention policy while still allowing for the possibility of modifications.
[0133] FIG. 6 illustrates an example of a system screen applied to various embodiments of the present disclosure.
[0134] In one embodiment, the electronic device may display a system screen on a display (e.g., the display module (160) of FIG. 1). The system screen may be a user interface representation for activating or deactivating a data extraction prevention policy.
[0135] In one embodiment, the system screen may include a first condition button (610) and / or a second condition button (620). In response to receiving a user input for the first condition button (610), the electronic device may set a deactivation event for the data extraction prevention policy as an initialization condition. In response to receiving a user input for the second condition button (620), the electronic device may set a deactivation event for the data extraction prevention policy as a time condition.
[0136] In one embodiment, the system screen may include a selection button (630) for selecting at least one of the data extraction prevention policies. Based on a user input to the selection button (630), the electronic device may activate at least one of the plurality of data extraction prevention policies (631, 632, 633, 634, 635).
[0137] According to one embodiment, at least one of a plurality of data extraction prevention policies (631, 632, 633, 634, 635) may be activated when a user input is received for either a first condition button (610) or a second condition button (620) included in a system screen, and further, when a user input is received for a selection button (630). For example, at least one of a backup protocol policy (631), a database temporary file creation blocking policy (632), a data backup policy (633), an application downgrade policy (634), or a cache policy (e.g., an image cache policy) (635) may be activated based on a user input for the selection button (630).
[0138] In one embodiment, a basic policy may be activated based on the activation of any one of the multiple data extraction prevention policies. The basic policy may have a higher priority than the remaining data extraction prevention policies (631, 632, 633, 634, 635). The remaining data extraction prevention policies may be executed only while the basic policy is activated. The setting for the basic policy may include allow or disallow. The setting for the data extraction prevention policy may be set to allow in response to the activation of any one of the data extraction prevention policies via the selection button (630).
[0139] In one embodiment, the system screen may further include a basic button (650). In one embodiment, the basic policy (650) may be enabled or disabled based on a user input to the basic button (650). When a selection input to the basic button (650) is applied, the basic policy (650) may be enabled based on the selection input. After the basic policy is enabled, switching from the enabled state to the disabled state may be restricted until a preset condition is satisfied. For example, a user input to the system screen that switches the enabled basic policy to the disabled state may be ignored.
[0140] In one embodiment, the system screen may include an application designation button (640). Based on a user input to the application designation button (640), the electronic device may call up an application list (640a). The application list may display a list of applications to which a data extraction prevention policy may be applied. When at least one application in the application list (640a) is selected, the data extraction prevention policy may be applied to the selected application.
[0141]
[0142] [Table 1] relates to a prevention database according to one embodiment of the present disclosure. The prevention database according to one embodiment may include at least one of the fields of [Table 1]. The prevention database according to one embodiment may also include additional fields in addition to the fields of [Table 1].
[0143] In one embodiment, the prevention database may include fields for multiple data extraction prevention policies. The multiple data extraction prevention policies may include a basic policy and / or multiple detailed policies. The multiple detailed policies may include at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, and / or a database temporary file creation policy.
[0144] According to one embodiment, the prevention database may have multiple fields corresponding to the basic policy and / or the plurality of detailed policies. For example, the database may include a basic policy field and / or multiple detailed policy fields. The basic policy field may be associated with the activation of the basic policy. The multiple detailed policy fields may correspond to the number of the plurality of detailed policies and may be associated with the activation of each of the plurality of detailed policies.
[0145] A data extraction prevention policy according to one embodiment may be defined by a plurality of items. The plurality of items may include at least one of an enable item, an application downgrade item, a backup permission setting item, a known protocol item, a cache item, and / or a database mode item.
[0146] In one embodiment, the settings for the above multiple items may be understood as settings for a data extraction prevention policy. In the present disclosure, the settings for each item may be understood as "attribute values."
[0147] According to one embodiment, the enable item may be associated with the basic policy described with reference to FIG. 6. The enable item may include a setting related to whether the entire data extraction prevention function is enabled. The setting for the enable item may include true or false. Based on the setting for the enable item being identified as true, the electronic device may enable the data extraction prevention function. Based on the setting for the enable item being identified as false, the electronic device may disable the data extraction prevention function.
[0148] In one embodiment, the setting for the enable item has a higher priority than the remaining settings, and the policy(s) based on the remaining settings may be ignored based on the setting for the enable item being identified as false. In other words, the electronic device may determine whether to execute the policy corresponding to the remaining items(s) based on the setting for the enable item, which keeps the data extraction prevention function enabled.
[0149] According to one embodiment, specifically, based on the setting for the enable item being identified as true, at least one of the application downgrade policy, the data backup policy, the backup protocol policy, the cache policy, and / or the database temporary file creation policy may be performed. Additionally, the electronic device may ignore the application downgrade policy, the data backup policy, the backup protocol policy, the cache policy, and / or the database temporary file creation policy based on the setting for the enable item being identified as false.
[0150] In one embodiment, the application downgrade policy may include rules regarding whether to allow downgrading of an installed version of an application. The application downgrade policy may include at least one of allow, disallow, and / or specific application information. Based on the allow setting, application downgrade may be allowed. Based on the disallow setting, application downgrade may be disallowed. Based on the specific application information, the application downgrade policy may be applied only to a specific application pre-selected from among a plurality of applications.
[0151] In one embodiment, a data backup policy may include rules for determining a read path (e.g., a manifest file or a prevention database) of a backup permission setting. The data backup policy may determine at least one of access to the manifest file or access to the prevention database. Items of the data backup policy may include at least one of allow, disallow, backup permission protection setting (latestAPP), and / or specific application information (specific apps). In one embodiment, an allow item or a disallow item may be composed of a single allow / disallow item. An allow / disallow item may have an attribute value of allow or disallow, and activation of the data backup policy may be allowed or disallowed based on the allow / disallow item.
[0152] In one embodiment, based on whether the data backup policy is set to allow, the backup permission setting in the application's manifest file can be read, and whether the backup permission setting is true or false can be identified. In one embodiment, based on whether the data backup policy is set to disallow, the backup permission setting in the prevention database can be read, and whether the backup permission setting is true or false can be identified.
[0153] In one embodiment, the backup permission protection setting can be set to true or false, and based on the backup permission protection setting being set to true, the backup permission setting stored in the prevention database can be maintained as the backup permission setting (or its attribute value) previously stored in the prevention database. Based on specific application information, the data backup policy can be applied only to a specific application pre-selected from among multiple applications.
[0154] In one embodiment, the backup protocol policy may include rules that block execution of known backup protocol(s). Known backup protocols may include, but are not limited to, the smart switch protocol. In one embodiment, the smart switch protocol may execute data backups regardless of the attribute value of the backup permission setting. For example, even if the attribute value of the backup permission setting is set to false, the smart switch protocol may execute data backups regardless of the attribute value of the backup permission setting.
[0155] Settings for the backup protocol policy may include at least one of allow, disallow, and / or specific application information. Based on the allow setting, the backup protocol may be performed. Based on the disallow setting, the backup protocol may be blocked. Based on the specific application information, the backup protocol policy may be applied only to specific applications pre-selected from among multiple applications.
[0156] In one embodiment, the cache policy may include rules for blocking cache creation for deleted information, files, or data, or deleting already created caches. The cache policy may include at least one of allow and disallow. Based on the allow setting, a cache may be created or maintained. Based on the disallow setting, cache creation may be blocked or deleted. According to one embodiment, the cache may include an image cache.
[0157] According to one embodiment, the database temporary file creation policy may include a rule restricting journal mode, which is one of the database system modes. The settings for the database temporary file creation policy may include at least one of allow and disallow. Based on the allow setting, journal mode may be allowed. Based on the disallow setting, journal mode may be restricted or blocked.
[0158] According to one embodiment of the present disclosure, journal mode may refer to a mode that ensures data integrity and enables disaster recovery in a database system. In journal mode, the database system can record transaction logs in a special data structure called a "journal." Journal mode can minimize data loss even in the event of an unexpected system crash. For example, in the event of a system crash, the system can restore database consistency using the most recent transaction log stored in the journal.
[0159] In one embodiment, a data extraction prevention policy may be associated with a time condition or an initialization condition. For example, at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, and / or a database temporary file creation policy may be associated with at least one of a time condition or an initialization condition. In one embodiment, a time condition may include a period or permanent. If the time condition is set to a period, the time condition may be periodically achieved, and the data extraction prevention policy may be periodically disallowed. If the time condition is set to permanent, the time condition may not be achieved due to the passage of time, and the data extraction prevention policy may be disallowed only based on the initialization condition.
[0160] In one embodiment, the data extraction prevention policy may transition to disallow based on the satisfaction of a time condition. For example, the electronic device may transition the data extraction prevention policy to disallow based on the determination that a preset period has expired. In one embodiment, if the time condition is set to permanent, the data extraction prevention policy may not transition to disallow based on the passage of time.
[0161] In one embodiment, the data extraction prevention policy may be switched to disallow based on the satisfaction of a reset condition. For example, the electronic device may switch the data extraction prevention policy to disallow based on the electronic device being factory reset.
[0162]
[0163] [Table 2] relates to an application-specific database according to one embodiment of the present disclosure. The application-specific database according to one embodiment may include at least one of the fields in [Table 2]. The application-specific database according to one embodiment may also include additional fields in addition to the fields in [Table 2].
[0164] In one embodiment, application-specific database tables may be configured as at least part of the prevention database or may be configured separately. For convenience of explanation, the application-specific database tables may be referred to as "app-specific databases."
[0165] In one embodiment, the app-specific database may contain settings for each policy (e.g., at least one of allow, disallow, time-condition, or initialization-condition) for each application. Based on the settings recorded in the app-specific database, the electronic device may implement each policy for each application.
[0166] In one embodiment, the app-specific database may include information about package names or signatures to identify the applications to which each setting applies. For example, referring to Table 2, package names may include, but are not limited to, co.sec.st, k.te.ko, and n.ko.ko, and each package name may be associated with information about a signature. For example, co.sec.st may be associated with "01ef32fd3e...", k.te.ko may be associated with "fed3237d03", and n.ko.ko may be associated with "9ad03f87c2...". In this way, according to one embodiment of the present disclosure, the application to which the setting applies may be identified based on the information about the package name and / or the signature.
[0167] In one embodiment, interrelated information or values in an app-specific database may be arranged along a single row. For example, interrelated package names, signatures, or settings for the above policy may be arranged along a single row in the app-specific database.
[0168]
[0169] [Table 3] relates to a database associated with settings for a data backup policy according to one embodiment of the present disclosure. The database associated with settings for a data backup policy (i.e., settings for allowBackup, backup permission settings) according to one embodiment may include at least one of the fields of [Table 3]. The database associated with backup permission settings according to one embodiment may further include additional fields in addition to the fields of [Table 3].
[0170] In one embodiment, the database table for backup permission settings may be configured as at least part of the prevention database or may be configured separately. For convenience of explanation, the database table for backup permission settings may be referred to as a database for backup policies.
[0171] In one embodiment, the backup policy database may include configuration(s) for executing a policy (i.e., a data backup policy) associated with a backup permission setting. For example, the backup policy database may include at least some of a version, a backup permission setting, a signature, and / or an update date. The version may indicate an installed version of an application. The backup permission setting may indicate an attribute value related to allowBackup. The update date may indicate the date the application was installed or updated to that version.
[0172] Although not limited thereto, referring to [Table 3] as an example, package names may include abc, cc.bb.aa, and aaaa.com.cc, and applications may be distinguished or identified based on the package name. The package name may be associated with the above setting(s) for executing the policy (i.e., data backup policy) associated with the above backup permission setting. For example, abc may be associated with version "2.0.1", allowBackup "false", signature "01ef32fd3e...", update date "2022.07.01". For example, cc.bb.aa may be associated with version "3.2.5", allowBackup "false", signature "fed3237d03...", update date "2022.03.27". For example, aaaa.com.cc could be associated with version "1.0.3", allowBackup "false", signature "9ad03f87c2...", and update date "2021.11.19". These associated information or values can be aligned along a single row in the backup policy database.
[0173] FIG. 7 is a flowchart illustrating initialization of a secure memory area according to various embodiments of the present disclosure.
[0174] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0175] According to one embodiment, operations 701 to 702 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0176] Referring to FIG. 7, in operation 701, an electronic device according to one embodiment may execute an initialization function. The initialization function may be executed by user input or by the manufacturer. The initialization function may be understood as, for example, a factory reset. Through a factory reset, the electronic device's memory and processor may be restored to their factory-produced state.
[0177] According to one embodiment, in operation 702, the electronic device may initialize information recorded in the secure memory area prior to initialization. For example, various information or policy settings recorded in the secure memory area may be initialized by a factory reset. When a factory reset is performed, it is difficult to extract user data even through forensic techniques, and data extraction prevention policies previously used to protect user data may also be initialized by the factory reset.
[0178] FIG. 8 is a flowchart of an operating method according to various embodiments of the present disclosure.
[0179] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0180] According to one embodiment, operations 801 to 804 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0181] Referring to FIG. 8, in operation 801, an electronic device according to one embodiment may identify one or more data extraction prevention policies stored in a prevention database.
[0182] In operation 802, the electronic device according to one embodiment can identify a first attribute value associated with enabling of a basic policy from the prevention database, and a second attribute value associated with at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, or a database temporary file creation policy included in the data extraction prevention policy.
[0183] In operation 803, the electronic device according to one embodiment may block at least one of application downgrade, data backup, application of a backup protocol, creation of a cache, and creation of a database temporary file based on the first attribute value and the second attribute value.
[0184] In operation 804, the electronic device according to one embodiment may store the first attribute value and the second attribute value in at least a portion of the secure memory area.
[0185] FIG. 9 is a flowchart illustrating a downgrade policy according to various embodiments of the present disclosure.
[0186] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0187] According to one embodiment, operations 901 to 908 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0188] Referring to FIG. 9, in operation 901, an electronic device according to an embodiment may initiate installation of an application. The application to be installed may be, but is not limited to, a new application not yet installed on the electronic device, and may be substantially the same application with the same or a different version than a previously installed application. Accordingly, in operation 901, installing the application may include upgrading or downgrading an already installed application. For example, upgrading the version of the application may involve installing a higher version of the application. For example, downgrading the version of the application may involve installing a lower version of the application.
[0189] In one embodiment, at operation 902, the electronic device can identify a downgrade setting from a prevention database. The electronic device can identify a data extraction prevention policy stored in the prevention database. The electronic device can identify whether a downgrade policy, which constitutes at least a portion of the data extraction prevention policy, is applicable based on attribute values for the downgrade policy. In one embodiment, the electronic device can identify, from the prevention database, a first attribute value associated with enabling the data extraction prevention policy and a second attribute value associated with an application downgrade policy included in the data extraction prevention policy.
[0190] According to one embodiment, in operation 903, the electronic device can perform operation 907 directly based on the attribute value for the downgrade policy being identified as allowable, and can perform operation 904 based on the attribute value being identified as disallowable. Specifically, the electronic device can perform operation 904 based on the first attribute value being identified as enable and the second attribute value associated with the application downgrade policy being identified as disallow, and can perform operation 907 based on the first attribute value being identified as disable or the second attribute value associated with the application downgrade policy being identified as allow.
[0191] In one embodiment, at step 904, the electronic device may compare the version of the application being installed with the version of the application recorded in the prevention database. For example, the electronic device may identify information about an application that is substantially identical to the application being installed from the prevention database. The version of the application being installed may be the same as or different from the version of a previous application recorded in the prevention database.
[0192] According to one embodiment, at operation 905, the electronic device can identify whether the version of the application being installed is the same as or higher than the version of a substantially identical application recorded in the prevention database. As a result, the electronic device can perform operation 906 based on whether the version of the application being installed is identified as the same as or higher, and can perform operation 908 based on whether the version of the application being installed is identified as lower.
[0193] According to one embodiment, in operation 906, the electronic device may store the backup permission setting stored in the manifest file of the application being installed in the prevention database. allowBackup may be specified as either allow or disallow. Based on whether allowBackup is identified as allow, the electronic device may perform the backup function, and based on whether allowBackup is identified as disallow, the electronic device may not perform the backup function. In other words, the backup permission setting stored in the prevention database may serve as the basis for determining whether to perform a backup command received from a user or an external device.
[0194] According to one embodiment, in operation 907, the electronic device may complete the installation of the application. Upon completion of the application installation, the user may use the installed application on the electronic device. The version of the application stored in the prevention database may match the version of the application newly installed on the electronic device. The backup permission setting of the application stored in the prevention database may match the backup permission setting recorded in the manifest file of the newly installed application. For example, when the application installation is completed, if the backup permission setting recorded in the manifest file is "allow," the backup permission setting recorded in the prevention database may also be "allow." For example, when the application installation is completed, if the backup permission setting recorded in the manifest file is "disallow," the backup permission setting recorded in the prevention database may also be "disallow."
[0195] According to one embodiment, at operation 908, the electronic device may stop the installation of the application. Based on the identification that the version of the application being installed is lower than the version of the application recorded in the prevention database, the electronic device may not install the application and may maintain the previously installed application at the previous application version. In this case, the backup permission setting in the prevention database may not be updated to a different attribute value (e.g., either allow or disallow) and may maintain the previous attribute value.
[0196] Thus, according to various embodiments of the present disclosure, when installing a downgradable application of a higher version, the backup permission settings in the prevention database can be updated with the backup permission settings recorded in the manifest file of the application. This can enhance the security of user data.
[0197] FIG. 10 is a flowchart illustrating a downgrade policy according to various embodiments of the present disclosure.
[0198] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0199] According to one embodiment, operations 1001 to 1012 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0200] According to one embodiment, operations 1001, 1002, 1003, 1004, 1005, 1006, 1007, and 1008 are substantially identical to operations 901, 902, 903, 904, 905, 906, 907, and 908, respectively, and thus, redundant descriptions thereof are omitted.
[0201] According to one embodiment, in operation 1009, based on the completion of the application installation, the electronic device can identify a backup-allowed protection setting. The backup-allowed protection setting can be recorded as at least part of a prevention database. The backup-allowed protection setting can be the latestAPP in the prevention database. The electronic device can identify the backup-allowed protection setting from the prevention database. The backup-allowed protection setting can be identified as either true or false.
[0202] According to one embodiment, in operation 1010, a change in the backup permission setting may be determined to be disallowed based on the backup permission protection setting being identified as true. Additionally, a change in the backup permission setting may be determined to be allowed based on the backup permission protection setting being identified as false. The electronic device may perform operation 1012 based on the backup permission protection setting being identified as true, and may perform operation 1011 based on the backup permission protection setting being identified as false.
[0203] According to one embodiment, in operation 1011, the electronic device may maintain the backup permission setting of the installed application and exclude the backup permission setting previously stored in the prevention database. The installed application may refer to an application newly installed in operation 1007. The electronic device may analyze the manifest file of the newly installed application and update the backup permission setting of the application in the prevention database. In this case, based on the identification of latestAPP as false, the electronic device may update the allowBackup setting of the installed application in the prevention database and delete or ignore the allowBackup setting previously recorded in the prevention database.
[0204] According to one embodiment, in operation 1012, the electronic device may maintain the previously stored backup permission settings in the prevention database and exclude the backup permission settings of the installed application. The electronic device may analyze the manifest file of the newly installed application and update the backup permission settings of the application in the prevention database, but whether or not the update is performed may be determined based on the backup permission protection settings. For example, if latestAPP is false, the allowBackup of the newly installed application will be updated in the prevention database as in operation 1011, but if it is true, the allowBackup previously stored in the prevention database may be maintained regardless of the allowBackup of the newly installed application.
[0205] That is, according to various embodiments of the present disclosure, the backup permission settings can be set to be updated or not updated in the prevention database based on the backup permission protection settings, thereby enhancing the security of the backup permission settings.
[0206] FIG. 11a, FIG. 11b, and FIG. 11c are flowcharts illustrating a data backup policy according to various embodiments of the present disclosure.
[0207] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0208] According to one embodiment, operations 1101a to 1105a, operations 1101b to 1106b, and operations 1101c to 1104c may be understood to be performed by a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1), respectively.
[0209] Referring to FIG. 11A, according to one embodiment, in operation 1101a, the electronic device may receive a backup command. The backup command may be received from a user interface or an external device.
[0210] According to one embodiment, in operation 1102a, the electronic device may identify a data extraction prevention policy in response to receiving a backup command. The data extraction prevention policy may include a basic policy and / or a backup protocol policy. For example, the electronic device may identify an attribute value of the basic policy as either enable or disable, and an attribute value of the backup protocol policy as either allow or disallow. In one embodiment, the electronic device may identify a first attribute value associated with enabling the data extraction prevention policy from a prevention database, and a second attribute value associated with a backup protocol policy included in the data extraction prevention policy.
[0211] According to one embodiment, in operation 1103a, the electronic device may determine whether to activate a blocking function of a known backup protocol based on the identification result of the data extraction prevention policy. For example, the blocking function of the known backup protocol may be activated based on the attribute value of the basic policy being identified as enable and the attribute value of the backup protocol policy being identified as disallow. For example, if the attribute value of the basic policy is identified as disable, the blocking function may be deactivated. For example, the blocking function may be deactivated based on the attribute value of the basic policy being identified as enable and the attribute value of the backup protocol policy being identified as allow.
[0212] In one embodiment, application of the known backup protocol may be blocked based on the blocking function of the known backup protocol being activated and operation 1105a may be performed, and application of the known backup protocol may be performed based on the blocking function of the known backup protocol being deactivated and operation 1104a may be performed.
[0213] For example, if the blocking function of a known backup protocol is enabled, the electronic device cannot execute the backup function based on the known backup protocol. In contrast, if the blocking function of a known backup protocol is disabled, the electronic device can execute the backup function based on the known backup protocol.
[0214] In one embodiment, the electronic device can execute a backup function based on a known backup protocol, regardless of the attribute value of the backup permission setting. For example, if the attribute value of the backup permission setting (e.g., the allowBackup attribute) is identified as false (or disallowed), the electronic device cannot execute the backup function associated with the corresponding application, but can execute the backup function based on the known backup protocol. The attribute value of the backup permission setting can be identified from the application manifest file or the prevention database. The known backup protocol can be, for example, the smart switch protocol. The backup function based on the known backup protocol can be, for example, a manufacturer-authorized backup function.
[0215] Referring to FIG. 11b, according to one embodiment, in operation 1101b, the electronic device may receive a backup command. The backup command may be received from a user interface or an external device.
[0216] According to one embodiment, in operation 1102b, the electronic device may identify a data extraction prevention policy in response to receiving a backup command. The data extraction prevention policy may include a basic policy and / or a backup protocol policy. For example, the electronic device may identify an attribute value of the basic policy as either enable or disable, and an attribute value of the backup protocol policy as either allow or disallow. In one embodiment, the electronic device may identify a first attribute value associated with enabling the basic policy from a prevention database, and a second attribute value associated with a data backup policy included in the data extraction prevention policy.
[0217] According to one embodiment, in operation 1103b, the electronic device may determine whether to enable the manifest access function based on the identification result of the data extraction prevention policy. For example, the manifest access function may be enabled based on the attribute value of the basic policy being identified as enable and the attribute value of the data backup policy being identified as allow. For example, the function may be disabled if the attribute value of the basic policy being identified as disable. For example, the function may be disabled based on the attribute value of the basic policy being identified as enable and the attribute value of the data backup policy being identified as disallow.
[0218] In one embodiment, based on the activation of the manifest access function, the electronic device can access the manifest file of the application and read the attribute value (e.g., true or false) of the backup permission setting of the manifest file. In one embodiment, based on the deactivation of the manifest access function, the electronic device can access the prevention database and read the attribute value (e.g., true or false) of the backup permission setting. In one embodiment of the present disclosure, the attribute value of the backup permission setting may be referred to as a backup setting for convenience of explanation.
[0219] In one embodiment, operation 1104b may be performed based on the manifest access function being enabled, and operation 1105b may be performed based on the manifest access function being disabled.
[0220] According to one embodiment, in operation 1106b, the electronic device may execute a backup function based on an attribute value for a backup permission setting.
[0221] For example, when the manifest access feature is enabled, the electronic device can identify the backup permission setting in the manifest file. If the backup permission setting is identified as true, the electronic device can back up the application based on the backup permission setting set to true. Additionally, if the backup permission setting is identified as false, the electronic device may not perform the backup based on the backup permission setting set to false.
[0222] For example, if the manifest access feature is disabled, the electronic device may rely on the backup permission setting recorded in the prevention database. The electronic device may access the prevention database based on the manifest access feature being disabled. If the backup permission setting in the prevention database is identified as true, the electronic device may back up the application based on the backup permission setting set to true. Additionally, if the backup permission setting is identified as false, the electronic device may not perform the backup based on the backup permission setting set to false.
[0223] Referring to FIG. 11c, according to one embodiment, at least one of operations 1101c to 1104c may be performed based on operation 1103a being determined as “yes.” Operations 1101c, 1102c, 1103c, and 1104c may correspond to operations 1103b, 1104b, 1105b, and 1106b, respectively.
[0224] In this way, electronic devices according to various embodiments of the present disclosure can select either a backup permission setting recorded in an application's manifest file or a backup permission setting from a prevention database, and perform a backup function based on the selected backup permission setting. Accordingly, even if the application provider mistakenly distributes the application by setting the backup permission setting attribute value to true, backup of the application can be restricted. As a result, the security of application data can be enhanced.
[0225] FIG. 12 is a flowchart illustrating a cache policy according to various embodiments of the present disclosure.
[0226] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0227] According to one embodiment, operations 1201 to 1205 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0228] According to one embodiment, in operation 1201, the electronic device may receive a command to execute a gallery application. The command to execute the gallery application may be received from a user interface or an external device.
[0229] According to one embodiment, in operation 1202, the electronic device may identify a data extraction prevention policy in response to receiving an execution command. The data extraction prevention policy may include a basic policy and / or a cache policy. For example, the electronic device may identify an attribute value of the basic policy as either enable or disable, and an attribute value of the cache policy as either allow or disallow. In one embodiment, the electronic device may identify a first attribute value associated with enabling the data extraction prevention policy from a prevention database, and a second attribute value associated with a cache policy included in the data extraction prevention policy.
[0230] According to one embodiment, in operation 1203, the electronic device may determine whether to enable the cache blocking function based on the identification result of the data extraction prevention policy. For example, the cache blocking function may be enabled based on the attribute value of the basic policy being identified as enable and the attribute value of the cache policy being identified as disallow. For example, if the attribute value of the basic policy being identified as disable, the cache blocking function may be disabled. For example, the cache blocking function may be disabled based on the attribute value of the basic policy being identified as enable and the attribute value of the cache policy being identified as allow.
[0231] In one embodiment, operation 1204 may be performed based on the activation of the cache blocking function. In operation 1204, the electronic device may block the creation of caches associated with the gallery application. For example, the electronic device may block the creation of caches while the gallery application is running. In one embodiment, the electronic device may delete all caches associated with the gallery application based on the gallery application being run and the cache blocking function being identified as being activated.
[0232] Meanwhile, according to one embodiment, in operation 1205, the electronic device may maintain or create a cache associated with the gallery application based on the deactivation of the cache blocking function. For example, the electronic device may maintain the cache without deleting it even when the gallery application is running, and may allow a new cache to be created.
[0233] In this way, the electronic device according to various embodiments of the present disclosure can prevent the cache from being extracted for malicious purposes by deleting all caches in parallel with the execution of the gallery application and blocking the creation of new caches thereafter.
[0234] In one embodiment, the gallery application of FIG. 12 may be replaced by an application capable of executing, storing, or managing various types of files. These various types of files may include, for example, files related to at least one of images, videos, electronic documents, music, and / or multimedia. In this case, the cache may be a cache for each file, and is not limited to an image cache.
[0235] FIG. 13 is a flowchart illustrating a cache policy according to various embodiments of the present disclosure.
[0236] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0237] According to one embodiment, operations 1301 to 1305 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0238] According to one embodiment, in operation 1301, the electronic device may receive a command to execute a gallery application. The command to execute the gallery application may be received from a user interface or an external device.
[0239] According to one embodiment, in operation 1302, the electronic device may identify a data extraction prevention policy in response to receiving an execution command. The data extraction prevention policy may include a basic policy and / or a cache policy. For example, the electronic device may identify the configuration information of the basic policy as either enable or disable, and the configuration information of the cache policy as either allow or disallow. In one embodiment, the electronic device may identify a first attribute value associated with enabling the data extraction prevention policy from a prevention database, and a second attribute value associated with a cache policy included in the data extraction prevention policy.
[0240] According to one embodiment, in operation 1303, the electronic device may delete an image based on receiving a command to delete an image from the gallery application. For example, a user input to delete one of a plurality of images may be received. Accordingly, the gallery application may delete the image corresponding to the user input from the gallery application.
[0241] According to one embodiment, in operation 1304, the electronic device may determine whether to enable the cache blocking function based on the identification result of the data extraction prevention policy. For example, if the configuration information of the basic policy is "enable" and the attribute value of the cache policy is identified as "disallow," the cache blocking function may be enabled. For example, if the configuration information of the basic policy is "disable," the cache blocking function may be disabled. For example, if the configuration information of the basic policy is "enable" and the attribute value of the cache policy is identified as "allow," the cache blocking function may be disabled. Although not limited thereto, identifying the data extraction prevention policy may be performed in response to receiving a user input in operation 1303 or in response to executing a gallery application.
[0242] In one embodiment, operation 1305 may be performed based on the activation of the cache blocking function. In operation 1305, the electronic device may delete a cache associated with the gallery application. For example, the electronic device may delete an image in response to receiving an input to delete an image from the gallery application, and may delete the cache associated with the image in parallel or immediately thereafter. In one embodiment, while the cache blocking function remains activated, new caches may be allowed to be created to improve the execution speed of the electronic device.
[0243] In one embodiment, while the cache blocking feature is disabled, the electronic device may maintain a cache associated with the gallery application. For example, in response to receiving an input to delete an image from the gallery application, the electronic device may delete the image, but maintain the cache associated with the image without deleting it.
[0244] In this way, the electronic device according to various embodiments of the present disclosure can delete the cache according to the settings, thereby preventing the cache from being extracted for malicious purposes.
[0245] FIG. 14 is a flowchart illustrating a policy for blocking the creation of temporary files for a database according to various embodiments of the present disclosure.
[0246] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0247] According to one embodiment, operations 1401 to 1403 may be understood to be performed in a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1).
[0248] According to one embodiment, in operation 1401, the electronic device may receive a command to execute a specific application. The command to execute the specific application may be received from a user interface or an external device.
[0249] In one embodiment, the electronic device may identify a data extraction prevention policy in response to receiving an execution command. The data extraction prevention policy may include a basic policy and / or a database temporary file creation policy. For example, the electronic device may identify the configuration information of the basic policy as either enable or disable, and the configuration information of the database temporary file creation policy as either allow or disallow. In one embodiment, the electronic device may identify a first attribute value associated with enabling the data extraction prevention policy from a prevention database, and a second attribute value associated with the database temporary file creation policy included in the data extraction prevention policy.
[0250] According to one embodiment, in operation 1402, the electronic device may determine whether to activate a temporary file creation prevention function for the application database based on the identification result of the data extraction prevention policy. For example, if the setting information of the basic policy is "enable" and the attribute value of the database temporary file creation policy is identified as "disallow," the temporary file creation prevention function may be activated. For example, if the setting information of the basic policy is "disable," the temporary file creation prevention function may be deactivated. For example, if the setting information of the basic policy is "enable" and the attribute value of the database temporary file creation policy is identified as "allow," the temporary file creation prevention function may be deactivated.
[0251] In one embodiment, operation 1403 may be performed based on activation of the temporary file creation prevention function. In operation 1403, the electronic device may restrict the journal mode and open the application database.
[0252] In one embodiment, operation 1404 may be performed based on the temporary file creation prevention function being disabled. In operation 1404, the electronic device may open the application database without restricting the journal mode while the temporary file creation prevention function is disabled.
[0253] Electronic devices according to the various exemplary embodiments disclosed in this disclosure may take various forms. Electronic devices may include, for example, display devices, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the exemplary embodiments of this disclosure are not limited to the aforementioned devices.
[0254] The various exemplary embodiments of the present disclosure and the terminology used therein are not intended to limit the technical features described in the present disclosure to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. For example, a component expressed in the singular should be understood to include plural components unless the context clearly indicates only the singular. It should be understood that the term "and / or" used in the present disclosure encompasses any and all possible combinations of one or more of the listed items. The terms "comprise," "have," "consist of," and the like used in the present disclosure are intended only to specify the presence of a feature, component, part, or combination thereof described in the present disclosure, and the use of such terms does not exclude the possibility of the presence or addition of one or more other features, components, parts, or combinations thereof. In this disclosure, 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" can each include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used merely to distinguish the corresponding element from other corresponding elements and do not limit the corresponding elements in any other respect (e.g., importance or order).
[0255] The terms "part" or "module" used in various exemplary embodiments of the present disclosure may include units implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. The "part" or "module" may be an integrally configured component or a minimum unit or part of the component that performs one or more functions. For example, according to one embodiment, the "part" or "module" may be implemented in the form of an application-specific integrated circuit (ASIC).
[0256] The term “if” used in various embodiments of the present disclosure may be interpreted to mean “when”, “when”, “in response to determining”, or “in response to detecting”, depending on the context. Similarly, “if it is determined that” or “if ~ is detected” may be interpreted to mean “upon determining”, “in response to determining”, or “upon detecting”, or “in response to detecting”, depending on the context.
[0257] The program executed by the electronic device described in this disclosure may be implemented as hardware components, software components, and / or a combination of hardware components and software components. The program may be executed by any system capable of executing computer-readable instructions.
[0258] Software may include a computer program, code, instructions, or a combination of one or more of these, which can configure a processing device to perform a desired operation or command the processing device, either independently or collectively. Software may be implemented as a computer program including instructions stored on a computer-readable storage medium. Examples of the computer-readable storage medium include magnetic storage media (e.g., read-only memory (ROM), random-access memory (RAM), floppy disks, hard disks, etc.) and optical reading media (e.g., CD-ROMs, digital versatile discs (DVDs)). The computer-readable storage medium may be distributed across network-connected computer systems so that the computer-readable code can be stored and executed in a distributed manner. Computer programs can be distributed online (e.g., by download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0259] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separately arranged in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In electronic devices, one or more processors; and A memory comprising: a processor configured to cause the electronic device to: Identify one or more data extraction prevention policies stored in the prevention database, Identify a first attribute value associated with enabling a data extraction prevention policy from the above prevention database, and a second attribute value associated with at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, or a database temporary file creation policy included in the data extraction prevention policy, Store at least one instruction that causes at least one of application downgrade, data backup, application of backup protocol, creation of cache, and creation of database temporary file to be blocked based on the first attribute value and the second attribute value. An electronic device, wherein the first attribute value and the second attribute value are stored in at least a portion of a secure memory area.
2. In paragraph 1, An electronic device, wherein the first attribute value and the second attribute value stored in at least a portion of the secure memory area are initialized based on detection of at least one of a preset time condition or an initialization condition.
3. In paragraph 2, An electronic device, wherein the first attribute value and the second attribute value recorded in at least a portion of the secure memory area are not modified based on failure to detect either the preset time condition or the initialization condition.
4. In paragraph 2 or 3, The above initialization condition is to execute factory initialization, and the above preset time condition is set in parallel with setting the first property value or the second property value, An electronic device, wherein at least one of the preset time-conditions or the initialization-conditions is associated with at least one of the one or more data extraction prevention policies, and wherein the preset time-conditions or the initialization-conditions are included as at least a part of the prevention database or are stored in the secure memory area and are prohibited from modification.
5. In any one of paragraphs 1 to 4, The above memory, when executed by the one or more processors, causes the electronic device to: Based on the start of the installation of the application, the first property value and the second property value are identified, Based on the first attribute value being identified as enable and the second attribute value associated with the application downgrade policy being identified as disallow, comparing the first version of the application whose installation has started with the second version of the application recorded in the prevention database, An electronic device storing at least one command that causes the backup permission setting recorded in the manifest file of the application whose installation has started to be stored as the backup permission setting of the prevention database based on the first version being identified as being higher than or equal to the second version, to complete the installation of the application whose installation has started, and to stop the installation of the application whose installation has started based on the first version being identified as being lower than the second version.
6. In paragraph 5, The above memory, when executed by the one or more processors, causes the electronic device to: An electronic device storing at least one command that causes the installation of the application whose installation has been started to be completed based on the first attribute value being identified as disable or the second attribute value associated with the application downgrade policy being identified as allow.
7. In paragraph 5, The above memory, when executed by the one or more processors, causes the electronic device to: Based on the completion of the installation of the application for which the above installation was started, identify the backup-allowed protection settings, Based on the above backup permission protection setting being identified as true, the backup permission settings previously stored in the above prevention database are maintained and the backup permission settings of the application for which the installation has been completed are excluded. An electronic device storing at least one command that causes the backup permission setting previously stored in the prevention database to be excluded and the backup permission setting of the application whose installation has been completed to be maintained based on the backup permission protection setting being identified as false.
8. In paragraph 7, An electronic device wherein said backup permission protection settings are included at least as part of said prevention database.
9. In any one of paragraphs 1 to 8, The above memory, when executed by the one or more processors, causes the electronic device to: Based on receiving the backup command, identifying the first attribute value and the second attribute value, Based on the first attribute value being identified as enable and the second attribute value associated with the data backup policy being identified as disallow, a backup permission setting is obtained from the prevention database, An electronic device storing at least one command that causes a backup function to be executed based on backup permission settings obtained from said prevention database.
10. In paragraph 9, The above memory, when executed by the one or more processors, causes the electronic device to: Obtaining a backup permission setting from the manifest file of the application associated with the backup command based on the first attribute value being identified as disable or the second attribute value associated with the data backup policy being identified as allow, An electronic device storing at least one command that causes the backup function to be executed based on the backup permission settings obtained from the manifest file.
11. In any one of paragraphs 1 to 10, The above memory, when executed by the one or more processors, causes the electronic device to: Identifying the first property value and the second property value based on receiving a command to execute the gallery application, An electronic device storing at least one command that causes creation of a cache associated with the gallery application to be blocked based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
12. In any one of paragraphs 1 to 10, The memory, when executed by the one or more processors, causes the electronic device to: identify the first attribute value and the second attribute value based on receiving a command to execute a gallery application; An electronic device storing at least one command that causes all caches associated with the gallery application to be deleted based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
13. In paragraph 11 or 12, The above memory, when executed by the one or more processors, causes the electronic device to: An electronic device storing at least one command that causes creation of a cache associated with the gallery application to be allowed based on the first attribute value being identified as disable or the second attribute value associated with the cache policy being identified as allow.
14. In paragraph 1, The above memory, when executed by the one or more processors, causes the electronic device to: Deleting said image based on receiving a command to delete an image from the gallery application; An electronic device storing at least one command that causes the cache for the image to be deleted based on the first attribute value being identified as enable and the second attribute value associated with the cache policy being identified as disallow.
15. How electronic devices protect personal data: An action that identifies one or more data extraction prevention policies stored in a prevention database; An operation of identifying a first attribute value associated with enabling a data extraction prevention policy from the above prevention database, and a second attribute value associated with at least one of an application downgrade policy, a data backup policy, a backup protocol policy, a cache policy, or a database temporary file creation policy included in the data extraction prevention policy; and An operation for blocking at least one of application downgrade, data backup, application of backup protocol, creation of cache, and creation of database temporary file based on the first attribute value and the second attribute value, A method wherein the first attribute value and the second attribute value are stored in at least a part of a secure memory area.
Citation Information
Patent Citations
Storage system and backup management method
JP2006146308A
Information management apparatus, information management method, and computer program
JP2018147299A
Data security device, terminal including same, data security method, and computer readable recording medium
KR1020140119422A
Storage tiering within a unified storage environment
US20220091738A1
KR20220039905A
