WO2022240031A1 - 전자 장치 및 전자 장치의 파일 관리 방법 - Google Patents

전자 장치 및 전자 장치의 파일 관리 방법 Download PDF

Info

Publication number
WO2022240031A1
WO2022240031A1 PCT/KR2022/006173 KR2022006173W WO2022240031A1 WO 2022240031 A1 WO2022240031 A1 WO 2022240031A1 KR 2022006173 W KR2022006173 W KR 2022006173W WO 2022240031 A1 WO2022240031 A1 WO 2022240031A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
additional information
electronic device
application
storing
Prior art date
Application number
PCT/KR2022/006173
Other languages
English (en)
French (fr)
Inventor
신윤호
이기성
이우중
전혜은
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022240031A1 publication Critical patent/WO2022240031A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • G06F9/3009Thread control instructions

Definitions

  • Embodiments disclosed in this document are related to an electronic device for creating and managing files and a file management method of the electronic device.
  • An electronic device may create, delete, and/or store various files (eg, media files). For example, when an electronic device creates a file, the electronic device may create additional information related to the file, and may use the additional information related to the file when managing the file.
  • files eg, media files.
  • Various embodiments of the present disclosure are intended to provide an electronic device capable of efficiently managing a file and additional information related to the file, and a file management method of the electronic device.
  • An electronic device includes a memory for storing a file and a file management database, and a processor operatively connected to the memory, wherein the memory, when executed, causes the processor to: When an application included in the electronic device requests file generation, additional information related to the file is recognized, the file is created by including the additional information in a designated area within the file, and the created file is stored in the file storage space. and storing additional information of the file in the file management database in a background thread after the file is created and stored.
  • a file management method of an electronic device includes an operation of recognizing additional information related to a file when a file creation request of an application included in the electronic device is requested, and the information is displayed in a designated area within the file.
  • An operation of storing the information in a file management database of the electronic device may be included.
  • a recording medium storing computer-readable commands
  • the electronic device when executed, the application included in the electronic device
  • an operation of recognizing additional information related to a file, an operation of generating the file by including the additional information in a designated area in the file, an operation of storing the created file in the memory of the electronic device, and after generating and storing the file, an operation of storing additional information of the file in a file management database of the electronic device may be performed in a background thread.
  • files and additional information related to files can be efficiently managed.
  • additional information related to a file may be stored in a file management database in the background after a file is created.
  • a file creation operation and an operation of storing additional information related to a file in a file management database are performed independently of each other, so that the time required to create a file can be reduced.
  • the file management database can be restored using the additional information included in the file when the file management database is damaged.
  • FIG. 1 illustrates an electronic device in a network environment according to various embodiments.
  • FIG. 2 is a block diagram illustrating a program according to various embodiments.
  • FIG. 3 is a block diagram of an electronic device according to an exemplary embodiment.
  • 4A and 4B are diagrams for explaining an operation of an electronic device according to an exemplary embodiment.
  • 5A and 5B are diagrams for explaining an operation of an electronic device according to an exemplary embodiment.
  • FIG. 6 illustrates a file management system of an electronic device according to an embodiment.
  • FIG. 7 is a flowchart of a file management method of an electronic device according to an embodiment.
  • FIG. 8 is a flowchart of an operation of generating an additional information list of an electronic device according to an exemplary embodiment.
  • FIG. 9 is a flowchart of a file creation operation of an electronic device according to an embodiment.
  • FIG. 10 is a flowchart of an additional information storage operation of an electronic device according to an exemplary embodiment.
  • FIG. 11 is a flowchart of a file management database recovery operation of an electronic device according to an embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • the electronic device 101 includes 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), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function.
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the memory 130 may include volatile memory 132 or non-volatile memory 134 .
  • 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 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 may be a wireless communication module 192 (eg, 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 (eg, a : a local area network (LAN) communication module or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, a : a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 may be used to realize peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency (for realizing URLLC).
  • peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC.
  • DL downlink
  • UL uplink each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, 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 is selected from the plurality of antennas by the communication module 190, for example. can be chosen 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.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • the program 140 includes an operating system 142, middleware 144, or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101.
  • the operating system 142 may include, for example, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, or BadaTM.
  • At least some of the programs 140 are, for example, preloaded in the electronic device 101 at the time of manufacture, or when used by a user, an external electronic device (eg, the electronic device 102 or 104), or a server ( 108)) can be downloaded or updated.
  • the operating system 142 may control management (eg, allocation or reclamation) of one or more system resources (eg, process, memory, or power) of the electronic device 101 .
  • Operating system 142 may additionally or alternatively include other hardware devices of electronic device 101 , such as input module 150 , sound output module 155 , display module 160 , audio module 170 . , sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or It may include one or more driver programs for driving the antenna module 197.
  • the middleware 144 may provide various functions to the application 146 so that the function or information provided from one or more resources of the electronic device 101 may be used by the application 146 .
  • the middleware 144 includes, for example, the application manager 201, the window manager 203, the multimedia manager 205, the resource manager 207, the power manager 209, the database manager 211, and the package manager 213. ), connectivity manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, call manager 225, or voice recognition manager 227. can
  • the application manager 201 may manage the life cycle of the application 146 , for example.
  • the window manager 203 may manage one or more GUI resources used in a screen, for example.
  • the multimedia manager 205 identifies, for example, one or more formats necessary for reproducing media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done
  • the resource manager 207 may manage a source code of the application 146 or a memory space of the memory 130 .
  • the power manager 209 may manage, for example, the capacity, temperature, or power of the battery 189, and determine or provide related information necessary for the operation of the electronic device 101 by using corresponding information among them. . According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101 .
  • BIOS basic input/output system
  • the database manager 211 may create, search, or change a database to be used by the application 146, for example.
  • the package manager 213 may manage installation or update of applications distributed in the form of package files, for example.
  • the connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide a function for notifying a user of occurrence of a designated event (eg, an incoming call, message, or alarm), for example.
  • the location manager 219 may manage location information of the electronic device 101, for example.
  • the graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.
  • Security manager 223 may provide system security or user authentication, for example.
  • the telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 .
  • the voice recognition manager 227 transmits, for example, the user's voice data to the server 108, and at least partially based on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, text data converted at least partially based on the voice data may be received from the server 108 .
  • the middleware 244 may dynamically delete some existing components or add new components.
  • at least part of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different from the operating system 142 .
  • the application 146 includes, for example, a home 251, a dialer 253, an SMS/MMS 255, an instant message (IM) 257, a browser 259, a camera 261, and an alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Albums (275), Watch (277), Health (279) (e.g. exercise or blood sugar) measurement of biometric information) or environmental information 281 (eg, measurement of atmospheric pressure, humidity, or temperature information). According to an embodiment, the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device.
  • an information exchange application not shown
  • the information exchange application may include, for example, a notification relay application configured to transmit designated information (eg, a call, message, or alarm) to an external electronic device, or a device management application configured to manage an external electronic device.
  • the notification relay application for example, transmits notification information corresponding to a designated event (eg, mail reception) generated in another application (eg, the email application 269) of the electronic device 101 to an external electronic device.
  • the notification relay application may receive notification information from an external electronic device and provide the notification information to the user of the electronic device 101 .
  • the device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some component thereof (eg, a display module or a camera module of the external electronic device). ) or functions (eg brightness, resolution, or focus).
  • the device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.
  • FIG. 3 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 300 (eg, the electronic device 101 of FIG. 1 ) includes a memory 310 (eg, the memory 130 of FIG. 1 ) and a processor 320 (eg, the electronic device 101 of FIG. 1 ). processor 120). According to an embodiment, the electronic device 300 may further include at least some of the components of the electronic device 101 shown in FIG. 1 .
  • the memory 310 may store instructions for controlling the operation of the electronic device 300 when executed by the processor 320 . According to an embodiment, the memory 310 may store at least one application.
  • the memory 310 may store at least one file 311 and at least one file management database 313 .
  • the file 311 includes an executable file (eg, a media file) related to an application
  • the file management database 313 includes a file in a format other than an executable file including additional information related to the executable file (e.g. files for storing information).
  • the file management database 313 may mean a data set of at least one piece of additional information.
  • the memory 310 may store at least one file 311 and the file management database 313 generated by a request of an application in a separate space or the same space.
  • the file 311 and the file management database 313 may be physically separated and logically stored in the same area of the memory 310 .
  • the file 311 and the file management database 313 are stored in a storage area (eg, user data area) managed by the processor 320 (eg, a file system) of the electronic device 300.
  • file 311 and/or file management database 313 may be stored by processor 320 (eg, a file system) in memory 310 (eg, non-volatile memory (eg, non-volatile memory of FIG. 1) 134) may be stored as file system data (eg, on disk filesystem).
  • the file may include a file related to an application (eg, a media file).
  • a memory may store additional information related to the file 311 (hereinafter, the term 'metadata' is used interchangeably) and/or entry information of the file 311 in the file management database 313.
  • the additional information related to the file 311 may include information on a range of the additional information and a type of the additional information
  • the range of the additional information may include a range of the file 311 related to the application. It may include at least one of the storage path and the type of the file 311.
  • the type of additional information includes information about the owner of the file 311 related to the application and the initial creation of the file 311. It may include at least one of the time and the validity period of the file 311.
  • the owner information of the file 311 is the user who created the file 311, the application, and/or It may include a package name.
  • the additional information related to the file 311 may include a list of additional information related to an application and/or a file.
  • the file ( The entry information of 311) may include at least one of a file name, a creation time, and a modification time.
  • the file 311 and/or the file management database 313 may be stored not in the same memory 310 but in different memories or in an external memory of the electronic device 300 .
  • the file management database 313 includes at least one of SQLite, SQLBase, Couchbase Lite, InterBase, ObjectBox, Realm, SQL Anywhere, DB2 Everyplace, SQL Server Compact, SQL Server Express, Oracle Database, or Sparksee. can do.
  • the type of file management database 313 is not limited to the above type.
  • the processor 320 may recognize additional information related to the file 311 when a file creation request is made by an application included in the electronic device 300 .
  • necessary additional information may be different for each file 311 or for each application.
  • the processor 320 may recognize related additional information based on an application requesting file creation and/or a file 311 to be created.
  • the processor 320 includes at least one of owner information of the file 311 related to the application, an initial creation time of the file 311, and a validation time of the file 311.
  • the type of additional information can be recognized.
  • the processor 320 may recognize a range of additional information including at least one of a storage path of the file 311 related to the application and a type of the file 311 .
  • the processor 320 checks the access right to the file 311 (eg, the storage space of the file 311 in the memory 310) of the application requesting file creation, and if the access right is recognized, At least one of a range of additional information allowed to the application or a type of additional information may be recognized.
  • the processor 320 may generate and store an additional information list for the application and/or file 311 based on at least one of a recognized range of additional information or a type of additional information.
  • the processor 320 may recognize additional information related to the file 311 based at least in part on the additional information list. For example, the generated additional information list may be maintained or updated while the application is running.
  • the electronic device 300 recognizes necessary additional information based on a pre-generated additional information list. can do.
  • the processor 320 may check the authority of the application and recognize a range of valid additional information and/or a type of additional information if the authority of the application is recognized.
  • the processor 320 may generate an additional information list based on the recognized range of additional information and/or the type of additional information.
  • the processor 320 may recognize additional information required for file management (eg, creation of the file 311) based on the additional information list while the application is running.
  • the processor 320 may update the additional information list when related additional information (eg, a range of additional information and/or a type of additional information) is changed while the application is running. According to an embodiment, the processor 320 may create an additional information list for each application and/or file 311 .
  • related additional information eg, a range of additional information and/or a type of additional information
  • the processor 320 may create a file by including additional information in a designated area in the file 311 .
  • the designated area may include an inode area (eg, an inode xattr area) of the file 311 .
  • the processor 320 may store the created file 311 in the memory 310 of the electronic device 300 .
  • the processor 320 may store additional information of the file 311 in the file management database 313 in a background thread after creating and storing the file 311 .
  • the processor 320 may monitor newly created files 311 according to a designated period and store additional information related to each newly created file 311 in the file management database 313 .
  • the processor 320 may recognize and/or extract additional information included in a designated area of the created file 311 and store the additional information in the file management database 313 based on this recognition. For example, the processor 320 may synchronize (link) additional information included in the file 311 with the file management database 313 .
  • the processor 320 may store entry information of the file 311 in the file management database 313 together with additional information related to the file.
  • the entry information may include at least one of the name, creation time, and modification time of the file 311.
  • the processor 320 monitors the newly created file 311 according to the usage rate of the processor 320 and/or the memory 310, and provides additional information related to each newly created file 311. It can be stored in the file management database 313. For example, the processor 320 may use a newly created file 311 when the usage rate of the processor 320 and/or the usage rate of the memory 310 (eg, the ratio of time for reading and/or writing operations to the memory) is low. ) may be monitored, and additional information related to each newly created file 311 may be stored in the file management database 313 .
  • the processor 320 completes the file creation task after the file creation request and before the interlocking operation of the file management database 313 (the operation of storing additional information in the file management database 313), and By executing the interlocking operation later in the background, the time consumed for creating the file 311 itself and the time for responding to the request of the application can be reduced.
  • the processor 320 performs an operation of storing the additional information in the database later independently of the operation of creating the file, so that whenever the file 311 is created, the operation of immediately storing the additional information in the database is performed in a short time. It is possible to reduce overhead that may occur when creating a plurality of files 311 inside.
  • the processor 320 may monitor whether the file management database 313 is damaged. For example, when the processor 320 detects damage to the file management database 313, it can restore the file management database 313 based on additional information included in the file 311.
  • FIG. 4A and 4B are diagrams for explaining an operation of an electronic device according to an exemplary embodiment.
  • FIG. 4A shows a database 450 (eg, the memory 130 of FIG. 1 or the electronic device 101 of FIG. 1 or the electronic device 300 of FIG. 3 shows a case where the file management database 313) is not damaged
  • FIG. 4B shows a case where the database 450 is damaged.
  • the electronic device 400 includes an application 410 (eg, the application 146 of FIG. 1 or 2), a file management framework 420 (eg, the processor 120 of FIG. 1 or the FIG. 3 processor 320), a file system 430 (eg, processor 120 of FIG. 1 or processor 320 of FIG. 3), at least one file 440 (eg, file 311 of FIG. 3) ) and at least one database 450.
  • the file management framework 420 may support sharing of files 440 (eg, media files including photos, videos, audio, or documents) between application processes of the electronic device 400.
  • the file management framework 420 may store and/or manage additional information (eg, metadata) of the file 440 in the database 450 .
  • the file management framework 420 may support access of the application 410 to the file 440 using additional information rather than a path where the file 440 is stored.
  • the file 440 and/or the database 450 may be stored in a memory of an electronic device (eg, the memory 130 of FIG. 1 or the memory 310 of FIG. 3 ).
  • the file management framework 420 searches for a storage path of a desired file 440 based on additional information of the file 440 stored in the database 450, and performs a creation or deletion operation of the file 440.
  • the file management framework 420 when there is a file access request (eg, a file creation request, a file deletion request, and/or a file read request) from the application 410, the file management framework 420 provides additional information stored in the database 450. Based on , it is possible to determine whether the application requests access to the file 440 or whether the file 440 is accessible. For example, the file management framework 420 requests an access to the file 440 from an application 410 that does not correspond to owner information of the file 440 based on additional information stored in the database 450. In one case, it is possible to provide a security function by limiting it.
  • a file access request eg, a file creation request, a file deletion request, and/or a file read request
  • the file management framework 420 provides additional information stored in the database 450. Based on , it is possible to determine whether the application requests access to the file 440 or whether the file 440 is accessible. For example, the file management framework 420 requests an access to the file 440 from an application 410 that does
  • the file management framework and/or the file system 430 manages the database 450 (eg, additional information is stored in the database (eg, database manager 211 of FIG. 2 )) using a database module (eg, the database manager 211 of FIG. 2 ). 450) can be stored or loaded).
  • the file system 430 may be a system for overall management of the files 440 in association with the file management framework 420 .
  • the file system 430 may include a database 450 that stores the created file 440 and additional information related to the file.
  • the file management framework 420 when the application 410 transfers a file creation or deletion request to the file management framework 420, the file management framework 420 sends a file 440 to the file system 430.
  • the file management framework 420 stores additional information related to the created file in the database 450 when the file 440 is created, and deletes the additional information stored in the database 450 when the file 440 is deleted.
  • the file management framework 420 stores additional information related to the file 440 in the database 450, and then the file 440 is created and stored.
  • the entire process according to the creation request may take a relatively long time.
  • the file management framework 420 independently (eg, an independent process and / or an independent process and / or as a thread operation), it is possible to reduce the overall process time according to the file creation request. For example, the file management framework 420 first performs an operation of creating and storing a file 440, and later performs an operation of storing additional information in the database 450 in the background (eg, a background thread). can do. For example, the file management framework 420 may perform an operation of creating and storing a file 440 and an operation of storing additional information in the database 450 in different threads and/or different processes.
  • the file management framework 420 may perform an operation of generating and storing the file 440 and an operation of storing additional information in the database 450 at different times. For example, when a user (application 410) requests file creation, the user (application 410) acknowledges that the creation of the file 440 is complete when the process of creating and storing the actual file 440 is completed.
  • the database 450 synchronization operation (that is, the operation of storing additional information in the database 450) may be executed in the background while the user is not aware of it.
  • the file management framework 420 independently performs operations related to creation, access, and/or deletion of actual files 440 and operations related to the database 450 (operations related to additional information related to files). By doing so, file access performance of the application 410 may be improved, and crash and/or application not response (ANR) of the application 410 may be reduced.
  • ANR application not response
  • the file management framework 420 may not be able to recognize additional information (eg, metadata) stored in the database 450 .
  • additional information eg, metadata
  • the file management framework 420 does not recognize the additional information related to the file 440 due to database 450 corruption, the application ( 410) may return an error.
  • the file management framework 420 may not be able to perform a file creation, access, or deletion request requested by the application 410 due to corruption of the database 450 .
  • the electronic device 400 includes additional information in a designated space in the file 440 when the file 440 is created, so that when the database 450 is damaged, the electronic device 400 includes the additional information based on the additional information included in the file 440.
  • the database 450 can be restored with
  • At least some of the operations or functions of the file management framework 420 and/or the file system 430 may be performed by the processor of the electronic device 400 .
  • a file management operation of the electronic device 400 will be described in more detail in the description of FIGS. 5A, 5B, and 6 below.
  • FIG. 5A and 5B are diagrams for explaining an operation of an electronic device according to an exemplary embodiment.
  • FIG. 5A shows a database when the electronic device 500 (eg, the electronic device 101 of FIG. 1 , the electronic device 300 of FIG. 3 , or the electronic device 400 of FIG. 4 ) creates or deletes a file.
  • 5B shows a case of immediately updating 550
  • FIG. 5B shows the database 550 (eg, the memory 130 of FIG. 1, the file management database 313 of FIG. 3, or the database of FIG. 4 when creating or deleting a file) 450)) is independently updated in the background.
  • the electronic device 500 includes an application 510 (eg, the application 146 of FIG. 1 or 2 or the application 410 of FIG. 4), a file management framework 520 (eg, the application 146 of FIG. 2 or the application 410 of FIG. 4).
  • an application 510 eg, the application 146 of FIG. 1 or 2 or the application 410 of FIG. 4
  • a file management framework 520 eg, the application 146 of FIG. 2 or the application 410 of FIG. 4
  • Processor 120 of FIG. 1, processor 320 of FIG. 3, or file management framework 420 of FIG. 4 file system 530 (e.g., processor 120 of FIG. 1, processor 320 of FIG. 3) ), or the file system 430 of FIG. 4) and the database 550.
  • the application 510 may request the file management framework 520 to create or delete a file.
  • the file management framework 520 creates a file (not shown) requested by the application 510 (eg, file 311 in FIG. 3 or file 440 in FIG. 4). or delete the file.
  • the file management framework 520 creates a file requested by the application 510 and stores it in the file system 530 (eg, the memory 130 of FIG. 1 or the memory 310 of FIG. 3 ), Alternatively, files stored in the file system 530 may be deleted.
  • the file management framework 520 may update the database 550 with additional information related to the file.
  • the file management framework 520 may store additional information related to a created file in the database 550 or may delete or modify additional information related to a deleted file.
  • the file management framework 520 may provide a response according to file creation or deletion to the application 510.
  • the file management framework 520 updates the database 550 together with the actual file creation or deletion, and the database 550 A response may be provided to the application 510 after the update of .
  • the application 510 does not receive a response until the update of the database 550 is completed, so it can recognize whether the file has been created or deleted after receiving the response. have.
  • the application 510 may request the file management framework 520 to create or delete a file.
  • the file management framework 520 may create a file requested by the application 510 or delete the file.
  • the file management framework 520 creates a file requested by the application 510 and stores it in the file system 530 (eg, the memory 130 of FIG. 1 or the memory 310 of FIG. 3 ). It is possible to save or delete a file stored in the file system 530 .
  • the file management framework 520 when the file management framework 520 creates the file, the file management framework 520 places the file in a designated area included in the file (eg, an inode area (eg, an xattr area of the inode area)). Additional information related to may be stored. For example, the electronic device 500 may update additional information included in a designated area of a file when creating or deleting a file.
  • the file management framework 520 may provide a response according to file creation or deletion to the application 510.
  • the application 510 may recognize that creation or deletion of the requested file has been completed based on a response received from the file management framework 520 . For example, in the case of FIG.
  • the file management framework 520 may update the database 550 with additional information related to the file in the background.
  • the file management framework 520 may store additional information related to a created file in the database 550 or may delete or modify additional information related to a deleted file.
  • the file management framework 520 may scan additional information related to a file included in a designated area of a newly created file and update (store) the scanned additional information in the database 550 .
  • an operation of updating the database 550 of the file management framework 520 may be performed in a background thread.
  • the file management framework 520 may monitor whether a new file is created at a designated period and update additional information related to the newly created file in the database 550 .
  • At least some of the operations or functions of the file management framework 520 and/or the file system 530 may be performed by a processor of the electronic device 500 .
  • FIG. 6 illustrates a file management system of an electronic device according to an embodiment.
  • a file of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 300 of FIG. 3 , the electronic device 400 of FIG. 4 , or the electronic device 500 of FIG. 5 )
  • the management system 600 includes a file management framework 620 (eg, the processor 120 of FIG. 1 , the processor 320 of FIG. 3 , the file management framework 420 of FIG. 4 or the file management framework of FIG. 5 ).
  • 520 e.g., memory 130 of FIG. 1 or memory 310 of FIG. 3
  • a file management database 650 e.g., memory 130 of FIG. 1, memory 310 of FIG. 3
  • file management database 313, database 450 of FIG. 4, or database 550 of FIG. 5
  • the file management framework 620 may include a file management module 621, a file additional information management module 623, a data linkage module 625, and a data recovery module 627.
  • the file management module 621 may overall manage the files 640 of the electronic device. For example, the file management module 621 receives a new file (eg, the application 146 of FIG. 1 or 2, the application 410 of FIG. 4, or the application 510 of FIG. 5) at the request of an application. 640) may be created or saved, or the file 640 may be deleted. For example, when a file creation request is transmitted from an application, the file management module 621 may determine additional information to be stored together with the file 640 created through the file additional information management module 623 . According to an embodiment, the file management module 621 may include additional information related to the file 640 in a designated area of the file 640 when the file 640 is created.
  • a new file eg, the application 146 of FIG. 1 or 2, the application 410 of FIG. 4, or the application 510 of FIG. 5
  • the file management module 621 may determine additional information to be stored together with the file 640 created through the file additional information management module 623 .
  • the file management module 621 may
  • the designated area may include an inode area (eg, an inode xattr area) of the file 640 .
  • the file management module 621 stores the additional information in the database 650 independently of the operation of the data linkage module 625 (for example, an operation to store additional information in the database 650). (640) may respond that creation is complete,
  • the file additional information management module 623 may manage information related to each file 640 .
  • the file additional information management module 623 may manage entry information and/or additional information related to each file 640 .
  • the entry information may include at least one of the name, creation time, and modification time of the file 640 .
  • the additional information may include a range of additional information or a type of additional information.
  • the range of additional information may include at least one of a storage path of the file 640 and a type of the file 640 related to the application.
  • the type of additional information includes at least one of owner information of the file 640 related to the application, an initial creation time of the file 640, and a validation time of the file 640.
  • the file additional information management module 623 may manage additional information for each file 640 and/or for each application. For example, required additional information may be different for each file 640 .
  • the file additional information management module 623 may obtain information for setting additional information required for management of the file 640 related to the application from the application.
  • the file additional information management module 623 may provide an interface (eg, an application program interface (API)) capable of setting a list of additional information requested by applications and/or files.
  • API application program interface
  • the file additional information management module 623 may generate an additional information list based on additional information about the file 640 .
  • the file additional information management module 623 may provide additional information (eg, additional information list) related to the file 640 to the file management module 621 .
  • additional information management module 623 sends additional information related to the file 640 to be created or deleted to the file management module 621.
  • the file additional information management module 623 may provide the file management module 621 with information about what kind of additional information is required for each path of each file 640 and/or for each type of file 640. .
  • necessary additional information may be different depending on the application that is to create the file 640, and various additional information may be set according to a specific file path or file type.
  • the file additional information management module 623 may provide additional information related to the file 640 to be created, deleted, and/or managed to the file management module 621 in the form of an additional information list.
  • the data linkage module 625 may store additional information related to the created file 640 in the database 650 by operating on a background thread after a designated point in time after the creation of the new file.
  • the data interworking module 625 may monitor the newly created file 640 according to a designated period and store additional information related to each newly created file 640 in the database 650 .
  • the file 640 generated by the file management module 621 may include additional information in a designated area
  • the data linkage module 625 may include additional information included in the designated area of the created file 640. Information may be recognized and/or extracted and stored in database 650 .
  • the data recovery module 627 may monitor whether the database 650 is damaged. According to an embodiment, the data recovery module 627 may restore the database 650 based on additional information included in the file 640 when the database 650 is damaged.
  • the file management module 621, the file additional information management module 623, the data linkage module 625, and the data recovery module 627 may be integrated into one module, and one It may be implemented as a physical configuration (eg, processor) of.
  • At least some of the operations of the file management framework 620 may be performed by a processor of an electronic device.
  • the processor of the electronic device may perform at least one operation of a file management module 621, a file additional information management module 623, a data interworking module 625, and a data recovery module 627.
  • An electronic device includes a memory for storing a file and a file management database, and a processor operatively connected to the memory, wherein the memory, when executed, causes the processor to be included in the electronic device.
  • the memory when executed, causes the processor to be included in the electronic device.
  • an application requested to create a file recognizes additional information related to the file, creates the file by including the additional information in a designated area within the file, stores the created file in the file storage space, and stores the file in the file storage space.
  • instructions for storing additional information of the file in the file management database may be stored in a background thread.
  • the instructions when executed, cause the processor to independently perform an operation of generating and storing the file in the file storage space and an operation of storing the additional information in the file management database.
  • the processor checks the access right to the file storage space of the application, and if the access right is recognized, the range or addition of additional information allowed to the application. Recognizing at least one of types of information, generating and storing an additional information list for the application and file based on at least one of a range of additional information or a type of additional information, and based on at least a part of the additional information list Additional information related to the file may be recognized.
  • the processor when the instructions are executed, obtains information for setting additional information necessary for managing a file related to the application from the application, and based on at least a part of the acquired information, the processor obtains information. Additional information lists for applications and files can be created.
  • the range of the additional information may include at least one of a storage path of a file related to the application and a file type.
  • the type of additional information may include at least one of owner information of a file related to the application, an initial creation time of the file, and a validation time of the file.
  • the processor monitors whether a new file is created according to a specified period, recognizes additional information related to the newly created file when a new file is created, and Additional information of the newly created file may be stored in the file management database.
  • the processor when the instructions are executed, the processor detects corruption of the file management database, recognizes the additional information included in each of the at least one file stored in the file storage space, and recognizes the The file management database may be restored based on one additional information.
  • the designated area of the file may include an inode area of the file.
  • the instructions when executed, may cause the processor to store entry information of a file including at least one of a name, a creation time, and a modification time of the file in the file management database. have.
  • FIG. 7 is a flowchart of a file management method of an electronic device according to an embodiment.
  • an electronic device eg, electronic device 101 of FIG. 1 , electronic device 300 of FIG. 3 , electronic device 400 of FIG. 4 , electronic device 500 of FIG. 5
  • the file management system 600 of the electronic device of FIG. 6 may recognize additional information related to the file when a file creation request is made by an application included in the electronic device. For example, necessary additional information may be different for each file or application.
  • the electronic device may recognize related additional information based on an application requesting file creation and/or a file to be created.
  • the electronic device may recognize the type of additional information related to the application, including at least one of owner information of the file, initial creation time of the file, and validation time of the file.
  • the electronic device may recognize a range of additional information including at least one of a storage path of a file related to an application and a file type.
  • the electronic device checks the access right to the file (eg, the memory area where the file is stored) of the application requesting file creation, and if the access right is granted, the range of additional information allowed to the application or the additional information At least one of the types of may be recognized.
  • the electronic device may create and store an additional information list for an application and/or file based on at least one of a recognized range of additional information or a type of additional information.
  • the electronic device may recognize additional information related to a file based at least in part on the additional information list.
  • the generated additional information list may be maintained or updated while the application is running.
  • the electronic device can recognize necessary additional information based on a pre-generated additional information list. .
  • the electronic device may create a file by including additional information in a designated area within the file.
  • the designated area may include an inode area (eg, an inode xattr area) of a file.
  • the electronic device may store the created file in a memory of the electronic device.
  • the file may include an execution file (eg, a media file) related to an application.
  • the electronic device may store additional information of the file in a file management database in a background thread.
  • the file management database may include a file (eg, a file for storing information) in a format other than an executable file including additional information related to the executable file.
  • the file management database may refer to a data set of at least one piece of additional information.
  • the file management database may be configured independently of files (eg as other files).
  • the files and file management database may be stored in the same area or in different areas in memory. For example, a file and a file management database may be physically and logically separated and stored in the same area of memory.
  • a file and a file management database may be stored in a memory area (eg, a user data area) managed by a processor (eg, a file management framework or a file system) of an electronic device.
  • file 311 and/or file management database 313 may be stored by processor 320 (eg, a file system) in memory 310 (eg, non-volatile memory (eg, non-volatile memory of FIG. 1) 134) may be stored as file system data (eg, on disk filesystem)
  • the electronic device monitors newly created files according to a designated period, and additional information related to each newly created file.
  • the electronic device recognizes and/or extracts additional information included in a designated area of a created file, and stores the additional information in the file management database based on this recognition. For example, the electronic device may synchronize (interwork) additional information included in a file with a file management database According to an embodiment, the electronic device may combine entry information of a file with additional information related to the file. Together, they can be stored in a file management database According to one embodiment, the entry information may include at least one of a file name, creation time, and modification time.
  • the electronic device may monitor whether the file management database is damaged. For example, when the electronic device detects damage to the file management database, it can restore the file management database based on additional information included in the file.
  • FIG. 8 is a flowchart of an operation of generating an additional information list of an electronic device according to an exemplary embodiment.
  • an electronic device eg, electronic device 101 of FIG. 1 , electronic device 300 of FIG. 3 , electronic device 400 of FIG. 4 , electronic device 500 of FIG. 5
  • the file management system 600 of the electronic device of FIG. 6 may check the authority of the application. For example, the electronic device may check whether an application has permission to access a file. For example, the electronic device may check whether an application has an access right to a memory area in which a file is stored.
  • the electronic device may perform operation 830 if the authority of the application is recognized, and may end the operation of creating the additional information list if the authority of the application is not recognized.
  • the electronic device may recognize a range of valid additional information.
  • the range of additional information may include at least one of a file storage path and a file type allowed for an application.
  • the electronic device may terminate the additional information list creation operation when there is no range of valid additional information allowed for the application.
  • the electronic device may recognize a type of valid additional information.
  • the type of additional information may include at least one of owner information of a file, an initial creation time of a file, and a validation time of a file.
  • the electronic device may end the operation of creating the additional information list when there is no valid additional information type allowed for the application.
  • the electronic device may create and store an additional information list.
  • the electronic device may create an additional information list based on the recognized range of additional information and/or the type of additional information.
  • the electronic device may recognize additional information related to a file required for file management (eg, file creation) based on the additional information list while the application is running.
  • the electronic device may update the additional information list when related additional information (eg, a range of additional information and/or a type of additional information) is changed while the application is running.
  • the electronic device may create an additional information list for each application and/or file.
  • FIG. 9 is a flowchart of a file creation operation of an electronic device according to an embodiment.
  • an electronic device eg, electronic device 101 of FIG. 1 , electronic device 300 of FIG. 3 , electronic device 400 of FIG. 4 , electronic device 500 of FIG. 5
  • the file management system 600 of the electronic device of FIG. 6 may recognize the file creation request of the application.
  • the electronic device may recognize and extract additional information related to a file corresponding to the request.
  • the electronic device may recognize additional information related to a file to be created.
  • the electronic device may recognize owner information (eg, application information requesting file creation) related to a file to be created.
  • the electronic device may generate an additional information list or recognize additional information required for file generation based on a previously created additional information list.
  • the electronic device may determine whether an existing file exists. For example, the electronic device may determine whether a file requested to be created by an application already exists based on the additional information. According to an embodiment, the electronic device may perform operation 940 when the existing file does not exist and end the file creation operation when the existing file exists. For example, the electronic device may perform operations for creating a new file when the file requested to be created by the application does not already exist.
  • the electronic device may create a file requested by an application.
  • the electronic device may store the created file in a designated area of memory.
  • the electronic device may store additional information in a designated area of a file.
  • the designated area of the file may include an inode area of the file.
  • the electronic device may include at least some of the additional information recognized in operation 920 in a designated area of the file.
  • operations 940 and 950 are sequentially described, but may be performed together as one operation.
  • the electronic device may store additional information in a designated area after creating a file or may create a file by including additional information from the beginning.
  • the electronic device may complete the file creation operation when generating (and storing) a file including additional information.
  • the electronic device may provide the application with a response indicating that the file creation operation has been completed.
  • the electronic device may process the file generation process corresponding to the request of the application as being completed, and the file management database operation in operation 960 may be performed later as an independent procedure.
  • the electronic device may store additional information in a file management database.
  • the electronic device may store additional information in a file management database based on additional information included in a generated file.
  • the electronic device may link (synchronize) additional information included in a file with a file management database.
  • the electronic device may independently perform operations 910 to 950 and 960 .
  • the electronic device may perform operation 960 after a specified time elapses after performing operation 950 .
  • the electronic device may recognize at least one newly created file according to a specified period and store (interlock) additional information related to the at least one newly created file in a file management database.
  • the electronic device may perform an operation of storing additional information in a file management database through a background thread.
  • the electronic device may provide a response to the application indicating that the file creation operation has been completed. For example, when an application requests to create a file, the electronic device generates a file and performs a series of operations of storing additional information of the file in a database, and then provides a response to the application indicating that the file creation procedure has been completed. It may take a long time to create a file.
  • the electronic device completes a file creation task after a file creation request and before an interlocking operation of a file management database (an operation of storing additional information in a file management database), and executes an interlocking operation of the database later in the background.
  • a file management database an operation of storing additional information in a file management database
  • the electronic device executes an interlocking operation of the database later in the background.
  • FIG. 10 is a flowchart of an additional information storage operation of an electronic device according to an exemplary embodiment.
  • an electronic device eg, electronic device 101 of FIG. 1 , electronic device 300 of FIG. 3 , electronic device 400 of FIG. 4 , electronic device 500 of FIG. 5
  • the file management system 600 of the electronic device of FIG. 6 may monitor whether a new file is created. For example, the electronic device may check whether a new file is created according to a specified period.
  • the electronic device may recognize additional information related to a newly created file. For example, the electronic device may recognize additional information included in a designated area of a newly created file.
  • the electronic device may store additional information recognized in operation 1020 in a file management database.
  • the electronic device may link (synchronize) additional information related to a newly created file to a file management database.
  • the electronic device may store additional information together with file entry information in a file management database.
  • the electronic device may perform at least a part of operations 1010 to 1030 through a background thread.
  • the electronic device does not store additional information related to a file in a file management database whenever an individual file is created, but stores the additional information in a file management database after a certain time has elapsed from the time of file creation. It is possible to reduce unnecessary overhead that may occur when creating a large number of files within a short period of time, and it is possible to reduce the response time according to the file creation request of the application.
  • FIG. 11 is a flowchart of a file management database recovery operation of an electronic device according to an embodiment.
  • an electronic device eg, electronic device 101 of FIG. 1 , electronic device 300 of FIG. 3 , electronic device 400 of FIG. 4 , electronic device 500 of FIG. 5
  • the file management system 600 of the electronic device of FIG. 6 may detect damage to the file management database.
  • the electronic device may detect damage and/or loss of owner information related to a file stored in a file management database.
  • the electronic device may recognize a file and a storage path. For example, the electronic device may recognize a region of a memory in which a file is stored and at least one file. For example, the electronic device may search a directory of a memory in which a generated file is stored and recognize at least one stored file.
  • the electronic device may recognize additional information included in a file. For example, the electronic device may recognize and/or extract additional information included in a designated area of a file.
  • the electronic device may restore the file management database based on the additional information.
  • the electronic device may restore the file management database based on the additional information included in the file when the file management database is damaged by including additional information in a designated area of the file when creating a new file.
  • a file management method of an electronic device includes an operation of recognizing additional information related to a file, including the additional information in a designated area within the file, when a file creation request of an application included in the electronic device is requested.
  • the operation of generating and storing the file and the operation of storing the additional information in the file management database may be performed independently of each other.
  • the operation of recognizing the additional information related to the file may include an operation of checking an access authority of the application to the file, and if the access authority is recognized, the range or addition of additional information allowed to the application. Recognizing at least one type of information, generating and storing an additional information list for the application and file based on at least one of the range of additional information or the type of additional information, and including at least one of the additional information list An operation of recognizing additional information related to the file based on a part may be included.
  • the method may include obtaining information for setting additional information necessary for managing a file related to the application from the application, and generating the additional information list based at least in part on the acquired information. action may be included.
  • the range of the additional information may include at least one of a file storage path and a file type allowed for the application.
  • the type of additional information may include at least one of owner information of the file, an initial creation time of the file, and a validation time of the file.
  • the operation of storing the additional information of the file in the file management database includes an operation of monitoring whether a new file is created according to a designated period, and additional information related to the newly created file when a new file is created. and storing additional information of the newly created file in the file management database.
  • the method may include an operation of detecting damage to the file management database, an operation of recognizing the additional information included in each of at least one file stored in the file storage space, and the recognized additional information. Based on this, an operation of restoring the file management database may be included.
  • the designated area of the file may include an inode area of the file.
  • a recording medium storing computer-readable commands
  • the command when executed by an electronic device, when the electronic device requests a file creation of an application included in the electronic device, the file Recognizing additional information related to, generating the file by including the additional information in a designated area in the file, storing the generated file in the memory of the electronic device, and generating and storing the file
  • an operation of storing additional information of the file in a file management database of the electronic device may be performed in a background thread.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

전자 장치가 개시된다. 일 실시예에 따른 전자 장치는, 파일 및 파일 관리 데이터베이스를 저장하는 메모리 및 상기 메모리에 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하고, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하고, 상기 생성된 파일을 상기 파일 저장 공간에 저장하고, 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 파일 관리 데이터베이스에 저장하도록 하는 인스트럭션들(instructions)을 저장할 수 있다. 이 외에도 명세서를 통해 파악되는 다양한 실시 예가 가능하다.

Description

전자 장치 및 전자 장치의 파일 관리 방법
본 문서에서 개시되는 실시 예들은, 파일의 생성 및 관리하는 전자 장치 및 전자 장치의 파일 관리 방법 기술과 관련된다.
전자 장치는 다양한 파일(예: 미디어 파일)을 생성, 삭제, 및/또는 저장할 수 있다. 예를 들어, 전자 장치가 파일을 생성하는 경우 전자 장치는 파일과 관련된 부가 정보를 생성할 수 있고, 파일 관리 시 파일과 관련된 부가 정보를 이용할 수 있다.
본 개시의 다양한 실시예들은, 파일 및 파일과 관련된 부가 정보를 효율적으로 관리할 수 있는 전자 장치 및 전자 장치의 파일 관리 방법을 제공하고자 한다.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 파일 및 파일 관리 데이터베이스를 저장하는 메모리 및 상기 메모리에 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하고, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하고, 상기 생성된 파일을 상기 파일 저장 공간에 저장하고, 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 파일 관리 데이터베이스에 저장하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.
또한, 본 문서에 개시되는 일 실시예에 따른 전자 장치의 파일 관리 방법은, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하는 동작, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하는 동작, 상기 생성된 파일을 상기 전자 장치의 메모리에 저장하는 동작, 및 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 전자 장치의 파일 관리 데이터베이스에 저장하는 동작을 포함할 수 있다.
또한, 본 문서에 개시되는 일 실시예에 따른, 컴퓨터로 읽을 수 있는 명령어를 저장하고 있는 기록 매체에 있어서, 상기 명령어는 전자 장치에 의해 실행 시, 상기 전자 장치가, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하는 동작, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하는 동작, 상기 생성된 파일을 상기 전자 장치의 메모리에 저장하는 동작, 및 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 전자 장치의 파일 관리 데이터베이스에 저장하는 동작을 수행하도록 할 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 파일 및 파일과 관련된 부가 정보를 효율적으로 관리할 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 파일 생성 이후 백그라운드에서 파일과 관련된 부가 정보를 파일 관리 데이터베이스에 저장할 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 파일 생성 동작과 파일과 관련된 부가 정보를 파일 관리 데이터베이스에 저장하는 동작을 서로 독립적으로 수행하여 파일 생성에 소요되는 시간을 단축시킬 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 파일 생성 시 파일 내에 부가 정보를 포함시킴으로써, 파일 관리 데이터베이스 손상 시에 파일 내에 포함된 부가 정보를 이용하여 파일 관리 데이터베이스를 복구할 수 있다.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치를 나타낸다.
도 2은 다양한 실시예에 따른 프로그램을 예시하는 블록도이다.
도 3은 일 실시예에 따른 전자 장치의 블록도이다.
도 4a 및 4b는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 5a 및 5b는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 6은 일 실시예에 따른 전자 장치의 파일 관리 시스템을 도시한다.
도 7은 일 실시예에 따른 전자 장치의 파일 관리 방법의 흐름도이다.
도 8은 일 실시예에 따른 전자 장치의 부가 정보 리스트를 생성하는 동작의 흐름도이다.
도 9는 일 실시예에 따른 전자 장치의 파일 생성 동작의 흐름도이다.
도 10은 일 실시예에 따른 전자 장치의 부가 정보 저장 동작의 흐름도이다.
도 11은 일 실시예에 따른 전자 장치의 파일 관리 데이터베이스 복구 동작의 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일 실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다.
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일 실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일 실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
도 3은 일 실시예에 따른 전자 장치의 블록도이다.
일 실시예에 따르면, 전자 장치(300)(예: 도 1의 전자 장치(101))는 메모리(310)(예: 도 1의 메모리(130)) 및 프로세서(320)(예: 도 1의 프로세서(120))를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 도 1에 도시된 전자 장치(101)의 구성 요소들 중 적어도 일부를 더 포함할 수 있다.
일 실시예에 따르면, 메모리(310)는 프로세서(320)에 의해 실행 시 전자 장치(300)의 동작을 제어하도록 하는 인스트럭션들을 저장할 수 있다. 일 실시예에 따르면, 메모리(310)는 적어도 하나의 어플리케이션을 저장할 수 있다.
일 실시예에 따르면, 메모리(310)는 적어도 하나의 파일(311) 및 적어도 하나의 파일 관리 데이터베이스(313)를 저장할 수 있다. 일 실시예에 따르면, 파일(311)은 어플리케이션과 관련된 실행 파일(예: 미디어 파일)을 포함하고, 파일 관리 데이터베이스(313)는 실행 파일과 관련된 부가 정보를 포함하는 실행 파일 이외의 포맷의 파일(예: 정보 저장을 위한 파일)을 포함할 수 있다. 예를 들어, 파일 관리 데이터베이스(313)는 적어도 하나의 부가 정보의 데이터 집합을 의미할 수 있다. 일 실시예에 따르면, 메모리(310)는 별도의 공간 또는 동일한 공간에 어플리케이션의 요청에 의해 생성된 적어도 하나의 파일(311) 및 파일 관리 데이터베이스(313)를 저장할 수 있다. 예를 들어, 파일(311) 및 파일 관리 데이터베이스(313)는 물리적으로 메모리(310)의 같은 영역에 논리적으로 구분되어 저장될 수 있다. 예를 들어, 파일(311) 및 파일 관리 데이터베이스(313)는 전자 장치(300)의 프로세서(320)(예: 파일 시스템)에 의해 관리되는 저장 영역(예: 사용자 데이터(user data) 영역)에 저장될 수 있다. 예를 들어, 파일(311) 및/또는 파일 관리 데이터베이스(313)는 프로세서(320)(예: 파일 시스템)에 의해 메모리(310)(예: 비휘발성 메모리(예: 도 1의 비휘발성 메모리(134))에 파일시스템 데이터(예: on disk filesystem)로서 저장될 수 있다. 예를 들어, 파일은 어플리케이션과 관련된 파일(예: 미디어 파일)을 포함할 수 있다. 일 실시예에 따르면, 메모리(310)는 파일(311)과 관련된 부가 정보(이하, ‘메타데이터’ 용어와 혼용한다) 및/또는 파일(311)의 엔트리(entry) 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다. 일 실시예에 따르면, 파일(311)과 관련된 부가 정보는 부가 정보의 범위 및 부가 정보의 타입에 대한 정보를 포함할 수 있다. 일 실시예에 따르면, 부가 정보의 범위는 어플리케이션과 관련된 파일(311)의 저장 경로 및 파일(311)의 타입 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 부가 정보의 타입은 어플리케이션과 관련된 파일(311)의 오너(owner) 정보, 파일(311)의 최초 생성 시간, 및 파일(311)의 유효기간(validation time) 중 적어도 하나를 포함할 수 있다. 예를 들어, 파일(311)의 오너 정보는 해당 파일(311)을 생성한 사용자, 어플리케이션, 및/또는 패키지(package) 명칭을 포함할 수 있다. 일 실시예에 따르면, 파일(311)과 관련된 부가 정보는 어플리케이션 및/또는 파일과 관련된 부가 정보 리스트를 포함할 수 있다. 일 실시예에 따르면, 파일(311)의 엔트리 정보는 파일의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 파일(311) 및/또는 파일 관리 데이터베이스(313)는 동일한 메모리(310)가 아니라 서로 상이한 메모리에 저장되거나, 전자 장치(300)의 외부의 메모리에 저장될 수도 있다.
일 실시예에 따르면, 파일 관리 데이터베이스(313)는 SQLite, SQLBase, Couchbase Lite, InterBase, ObjectBox, Realm, SQL Anywhere, DB2 Everyplace, SQL Server Compact, SQL Server Express, Oracle Database, 또는 Sparksee 중 적어도 하나를 포함할 수 있다. 다만, 파일 관리 데이터베이스(313)의 종류는 상술한 종류에 한정되지 않는다.
일 실시예에 따르면, 프로세서(320)는 전자 장치(300)에 포함된 어플리케이션의 파일 생성 요청 시, 파일(311)과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 파일(311) 별로, 또는 어플리케이션 별로 필요한 부가 정보가 상이할 수 있다. 예를 들어, 프로세서(320)는 파일 생성을 요청한 어플리케이션 및/또는 생성하고자 하는 파일(311)에 기반하여 관련된 부가 정보를 인식할 수 있다. 예를 들어, 프로세서(320)는 어플리케이션과 관련된 파일(311)의 오너(owner) 정보, 파일(311)의 최초 생성 시간, 및 파일(311)의 유효기간(validation time) 중 적어도 하나를 포함하는 부가 정보의 타입을 인식할 수 있다. 예를 들어, 프로세서(320)는 어플리케이션과 관련된 파일(311)의 저장 경로 및 파일(311)의 타입 중 적어도 하나를 포함하는 부가 정보의 범위를 인식할 수 있다. 일 실시예에 따르면, 프로세서(320)는 파일 생성을 요청한 어플리케이션의 파일(311)(예: 메모리(310) 내 파일(311)의 저장 공간)에 대한 접근 권한을 확인하고, 접근 권한이 인정되면 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식할 수 있다. 일 실시예에 따르면, 프로세서(320)는 인식한 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 어플리케이션 및/또는 파일(311)에 대한 부가 정보 리스트를 생성 및 저장할 수 있다. 일 실시예에 따르면, 프로세서(320)는 부가 정보 리스트에 적어도 일부 기반하여 파일(311)과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 생성한 부가 정보 리스트는 어플리케이션의 실행 중에 유지 또는 업데이트될 수 있다. 예를 들어, 어플리케이션 실행 중 해당 어플리케이션이 파일 생성, 삭제 및/또는 관리(예: 접근)에 대한 요청을 하는 경우, 전자 장치(300)는 기 생성한 부가 정보 리스트를 기반으로 필요한 부가 정보를 인식할 수 있다. 예를 들어, 프로세서(320)는 어플리케이션의 권한을 확인하고, 어플리케이션의 권한이 인정되면 유효한 부가 정보의 범위 및/또는 부가 정보의 타입을 인식할 수 있다. 예를 들어, 프로세서(320)는 인식한 부가 정보의 범위 및/또는 부가 정보의 타입에 기반하여 부가 정보 리스트를 생성할 수 있다. 일 실시예에 따르면, 프로세서(320)는 어플리케이션의 실행 중 부가 정보 리스트를 기반으로 파일의 관리(예: 파일(311)의 생성)에 필요한 부가 정보를 인식할 수 있다. 일 실시예에 따르면, 프로세서(320)는 어플리케이션의 실행 중 관련된 부가 정보(예: 부가 정보의 범위 및/또는 부가 정보의 타입)이 변경되는 경우, 부가 정보 리스트를 업데이트할 수 있다. 일 실시예에 따르면, 프로세서(320)는 어플리케이션 별 및/또는 파일(311) 별로 부가 정보 리스트를 생성할 수 있다.
일 실시예에 따르면, 프로세서(320)는 파일(311) 내의 지정된 영역에 부가 정보를 포함시켜 파일을 생성할 수 있다. 일 실시예에 따르면, 지정된 영역은 파일(311)의 아이노드(inode) 영역(예: inode xattr 영역)을 포함할 수 있다. 일 실시예에 따르면, 프로세서(320)는 생성된 파일(311)을 전자 장치(300)의 메모리(310)에 저장할 수 있다.
일 실시예에 따르면, 프로세서(320)는 파일(311)을 생성 및 저장한 이후 백그라운드 쓰레드(background thread)에서 파일(311)의 부가 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(320)는 지정된 주기에 따라 신규 생성된 파일(311)을 모니터링하고, 신규 생성된 파일(311) 각각과 관련된 부가 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(320)는 생성된 파일(311)의 지정된 영역에 포함된 부가 정보를 인식 및/또는 추출하고, 이를 기반으로 부가 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다. 예를 들어, 프로세서(320)는 파일(311)에 포함된 부가 정보를 파일 관리 데이터베이스(313)에 동기화(연동)할 수 있다. 일 실시예에 따르면, 프로세서(320)는 파일(311)의 엔트리(entry) 정보를 파일과 관련된 부가 정보와 함께 파일 관리 데이터베이스(313)에 저장할 수 있다. 일 실시예에 따르면, 엔트리 정보는 파일(311)의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함할 수 있다,
일 실시예에 따르면, 프로세서(320)는 프로세서(320) 및/또는 메모리(310)의 사용율에 따라 신규 생성된 파일(311)을 모니터링하고, 신규 생성된 파일(311) 각각과 관련된 부가 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다. 예를 들어, 프로세서(320)는 프로세서(320)의 사용율 및/또는 메모리(310)의 사용율(예: 메모리에 읽기 및/또는 쓰기 작업을 하는 시간의 비율)이 낮은 경우 신규 생성된 파일(311)을 모니터링하고, 신규 생성된 파일(311) 각각과 관련된 부가 정보를 파일 관리 데이터베이스(313)에 저장할 수 있다.
일 실시예에 따르면, 프로세서(320)는 파일 생성 요청 이후 파일 관리 데이터베이스(313)의 연동 동작(부가 정보를 파일 관리 데이터베이스(313)에 저장하는 동작) 이전에 파일 생성 작업을 완료하고, 데이터베이스의 연동 동작을 추후에 백그라운드에서 실행함으로써, 파일(311)의 생성 자체에 소모되는 시간 및 어플리케이션의 요청에 응답하는 시간을 단축시킬 수 있다. 예를 들어, 프로세서(320)는 부가 정보를 데이터베이스에 저장하는 동작을 파일 생성 동작과 독립적으로 추후 수행함으로써, 파일(311) 생성 시마다 바로 부가 정보를 데이터베이스에 저장하는 동작을 함께 수행하는 경우 짧은 시간 안에 다수의 파일(311)을 생성 시 발생할 수 있는 오버헤드(overhead)를 감소시킬 수 있다.
일 실시예에 따르면, 프로세서(320)는 파일 관리 데이터베이스(313)의 손상 여부를 모니터할 수 있다. 예를 들어, 프로세서(320)는 파일 관리 데이터베이스(313)의 손상을 감지한 경우, 파일(311)에 포함된 부가 정보를 기반으로 파일 관리 데이터베이스(313)를 복구할 수 있다.
도 4a 및 4b는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다. 예를 들어, 도 4a는 전자 장치(400)(예: 도 1의 전자 장치(101) 또는 도 3의 전자 장치(300))의 데이터베이스(450)(예: 도 1의 메모리(130) 또는 도 3의 파일 관리 데이터베이스(313))가 손상되지 않은 경우를 나타내고, 도 4b는 데이터베이스(450)가 손상된 경우를 나타낸다.
일 실시예에 따르면, 전자 장치(400)는 어플리케이션(410)(예: 도 1 또는 도 2의 어플리케이션(146)), 파일 관리 프레임워크(420)(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(320)), 파일 시스템(430)(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(320)), 적어도 하나의 파일(440)(예: 도 3의 파일(311)) 및 적어도 하나의 데이터베이스(450)를 포함할 수 있다. 일 실시예에 따르면, 파일 관리 프레임워크(420)는 전자 장치(400)의 응용 프로세스 간 파일(440)(예: 사진, 동영상, 오디오, 또는 문서를 포함하는 미디어 파일)의 공유를 지원할 수 있다. 일 실시예에 따르면, 파일 관리 프레임워크(420)는 파일(440)의 부가 정보(예: 메타데이터)를 데이터베이스(450)에 저장 및/또는 관리할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 파일(440)이 저장된 경로가 아니라 부가 정보를 이용하여 어플리케이션(410)의 파일(440)에 대한 접근을 지원할 수 있다. 예를 들어, 파일(440) 및/또는 데이터베이스(450)는 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(310))에 저장될 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 데이터베이스(450)에 저장된 파일(440)의 부가 정보를 기반으로 원하는 파일(440)의 저장 경로를 탐색하고, 파일(440)의 생성 또는 삭제 동작을 수행할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 어플리케이션(410)의 파일 접근 요청(예: 파일 생성 요청, 파일 삭제 요청, 및/또는 파일 읽기 요청)이 있는 경우, 데이터베이스(450)에 저장된 부가 정보를 기반으로 어플리케이션이 접근 요청한 파일(440)의 유무 또는 파일(440)의 접근 가능 여부를 판단할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 데이터베이스(450)에 저장된 부가 정보를 기반으로 파일(440)의 오너(owner) 정보와 대응되지 않는 어플리케이션(410)이 파일(440)에 접근 요청을 한 경우 이를 제한하여 보안 기능을 제공할 수 있다. 일 실시예에 따르면, 파일 관리 프레임워크 및/또는 파일 시스템(430)은 데이터베이스 모듈(예: 도 2의 데이터베이스 매니저(211))을 이용하여 데이터베이스(450)를 관리(예: 부가 정보를 데이터베이스(450)에 저장 또는 로드)할 수 있다.
일 실시예에 따르면, 파일 시스템(430)은 파일 관리 프레임워크(420)와 연계하여 파일(440)을 전반적으로 관리하기 위한 시스템일 수 있다. 예를 들어, 파일 시스템(430)은 생성된 파일(440) 및 파일과 관련된 부가 정보를 저장하는 데이터베이스(450)를 포함할 수 있다.
예를 들어, 도 4a를 참고하면, 어플리케이션(410)이 파일 생성 또는 삭제 요청을 파일 관리 프레임워크(420)에 전달한 경우, 파일 관리 프레임워크(420)는 파일 시스템(430)에 파일(440)을 생성하여 저장하거나, 파일을 삭제할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 파일(440) 생성 시 생성된 파일과 관련된 부가 정보를 데이터베이스(450)에 저장하고, 파일(440) 삭제 시 데이터베이스(450)에 저장된 부가 정보를 삭제할 수 있다. 예를 들어, 파일(440) 생성 프로세스 수행 시, 파일 관리 프레임워크(420)가 데이터베이스(450)에 파일(440)과 관련된 부가 정보를 저장한 이후에 파일(440)을 생성하여 저장하는 경우 파일 생성 요청에 따른 전체적인 프로세스가 상대적으로 긴 시간이 소요될 수 있다. 일 실시예에 따르면, 파일 관리 프레임워크(420)는 파일(440)을 생성하여 저장하는 동작 및 파일과 관련된 부가 정보를 데이터베이스(450)에 저장하는 동작을 독립적으로(예: 독립적인 프로세스 및/또는 쓰레드의 동작으로) 수행함으로써, 파일 생성 요청에 따른 전체적인 프로세스 소요 시간을 감소시킬 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 파일(440)을 생성하여 저장하는 동작을 우선적으로 수행하고, 추후 백그라운드(예: 백그라운드 쓰레드)에서 부가 정보를 데이터베이스(450)에 저장하는 동작을 수행할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 파일(440)을 생성하여 저장하는 동작 및 부가 정보를 데이터베이스(450)에 저장하는 동작을 서로 상이한 쓰레드(thread) 및/또는 서로 상이한 프로세스에서 수행할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 파일(440)을 생성하여 저장하는 동작 및 부가 정보를 데이터베이스(450)에 저장하는 동작을 시간 차이를 두고 수행할 수 있다. 예를 들어, 사용자(어플리케이션(410))가 파일 생성을 요청한 경우, 사용자(어플리케이션(410))는 실제 파일(440)을 생성 및 저장하는 프로세스가 완료되면 의해 파일(440)의 생성이 완료된 것을 인식할 수 있고, 데이터베이스(450) 동기화 동작(즉, 부가 정보를 데이터베이스(450)에 저장하는 동작)은 사용자가 인지하지 않는 동안 백그라운드에서 실행될 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 실제 파일(440)의 생성, 접근, 및/또는 삭제 동작과 데이터베이스(450)와 관련된 동작(파일과 관련된 부가 정보와 관련된 동작)을 서로 독립적으로 수행함으로써, 어플리케이션(410)의 파일 접근 성능을 향상시키고, 어플리케이션(410)의 충돌(crash) 및/또는 ANR(application not response)을 감소시킬 수 있다.
예를 들어, 도 4b를 참조하면, 데이터베이스(450)에 손상이 발생한 경우, 파일 관리 프레임워크(420)는 데이터베이스(450)에 저장된 부가 정보(예: 메타데이터)를 인식 불가능할 수 있다. 파일(440) 및 파일(440)과 관련된 부가 정보를 별도로 저장 및 관리하는 경우, 파일 관리 프레임워크(420)는 데이터베이스(450) 손상으로 인하여 파일(440)과 관련된 부가 정보를 인식하지 못하면 어플리케이션(410)에 에러(error)를 리턴(return)할 수 있다. 예를 들어, 파일 관리 프레임워크(420)는 데이터베이스(450) 손상으로 인하여 어플리케이션(410)이 요청한 파일 생성, 접근, 또는 삭제 요청을 수행할 수 없을 수 있다. 예를 들어, 데이터베이스(450)가 손상되는 경우 파일(440)과 관련된 부가 정보(예: 파일의 오너(owner) 정보)가 유실될 수 있으며, 이로 인하여 어플리케이션(410)의 파일 접근이 허용되지 않을 수 있다. 일 실시예에 따르면, 전자 장치(400)는 파일(440) 생성 시 파일(440) 내의 지정된 공간에 부가 정보를 포함시킴으로써, 데이터베이스(450) 손상 시에 파일(440)에 포함된 부가 정보를 기반으로 데이터베이스(450)를 복구할 수 있다.
일 실시예에 따르면, 파일 관리 프레임워크(420) 및/또는 파일 시스템(430)의 동작 또는 기능 중 적어도 일부는 전자 장치(400)의 프로세서에 의해서 수행될 수 있다. 이하의 도 5a, 도 5b, 및 도 6의 설명에서 다양한 실시예에 따른 전자 장치(400)의 파일 관리 동작을 더 상세히 설명한다.
도 5a 및 5b는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다. 예를 들어, 도 5a는 전자 장치(500)(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 또는 도 4의 전자 장치(400))가 파일 생성 또는 삭제 시 데이터베이스(550)를 바로 업데이트하는 경우를 나타내고, 도 5b는 파일 생성 또는 삭제 시 데이터베이스(550)(예: 도 1의 메모리(130), 도 3의 파일 관리 데이터베이스(313), 또는 도 4의 데이터베이스(450))를 백그라운드에서 독립적으로 업데이트하는 경우를 나타낸다.
일 실시예에 따르면, 전자 장치(500)는 어플리케이션(510)(예: 도 1 또는 도 2의 어플리케이션(146) 또는 도 4의 어플리케이션(410)), 파일 관리 프레임워크(520)(예: 도 1의 프로세서(120), 도 3의 프로세서(320), 또는 도 4의 파일 관리 프레임워크(420)), 파일 시스템(530) (예: 도 1의 프로세서(120), 도 3의 프로세서(320), 또는 도 4의 파일 시스템(430)) 및 데이터베이스(550)를 포함할 수 있다.
도 5a를 참조하면, 501a 동작에서, 어플리케이션(510)은 파일 관리 프레임워크(520)에 파일 생성 또는 삭제를 요청할 수 있다. 일 실시예에 따르면, 503a 동작에서, 파일 관리 프레임워크(520)는 어플리케이션(510)이 요청한 파일(미도시)(예: 도 3의 파일(311) 또는 도 4의 파일(440))을 생성하거나, 또는 파일을 삭제할 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 어플리케이션(510)이 요청한 파일을 생성하여 파일 시스템(530)(예: 도 1의 메모리(130) 또는 도 3의 메모리(310))에 저장하거나, 또는 파일 시스템(530)에 저장된 파일을 삭제할 수 있다. 일 실시예에 따르면, 505a 동작에서, 파일 관리 프레임워크(520)는 데이터베이스(550)에 파일과 관련된 부가 정보를 업데이트할 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 생성한 파일과 관련된 부가 정보를 데이터베이스(550)에 저장하거나, 또는 삭제된 파일과 관련된 부가 정보를 삭제 또는 수정할 수 있다. 일 실시예에 따르면, 507a 동작에서, 파일 관리 프레임워크(520)는 파일 생성 또는 삭제에 따른 응답을 어플리케이션(510)에 제공할 수 있다. 예를 들어, 도 5a의 경우, 어플리케이션(510)의 파일 생성 또는 삭제 요청 시, 파일 관리 프레임워크(520)는 실제 파일 생성 또는 삭제와 함께 데이터베이스(550)의 업데이트를 수행하고, 데이터베이스(550)의 업데이트 이후 어플리케이션(510)에 응답을 제공할 수 있다. 예를 들어, 어플리케이션(510)은 요청한 파일의 생성 또는 삭제가 완료되어도 데이터베이스(550)의 업데이트가 완료되기 전에는 응답을 제공 받지 못하므로, 응답을 제공 받은 이후에 파일 생성 또는 삭제 여부를 인식할 수 있다.
도 5b를 참조하면, 501b 동작에서, 어플리케이션(510)은 파일 관리 프레임워크(520)에 파일 생성 또는 삭제를 요청할 수 있다. 일 실시예에 따르면, 503b 동작에서, 503a 동작에서, 파일 관리 프레임워크(520)는 어플리케이션(510)이 요청한 파일을 생성하거나, 또는 파일을 삭제할 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 어플리케이션(510)이 요청한 파일을 생성하여 파일 시스템(530)(예: 예: 도 1의 메모리(130) 또는 도 3의 메모리(310)))에 저장하거나, 또는 파일 시스템(530)에 저장된 파일을 삭제할 수 있다. 일 실시예에 따르면, 505b 동작에서, 파일 관리 프레임워크(520)는 파일 생성 시, 파일에 포함된 지정된 영역(예: 아이노드(inode) 영역(예: 아이노드 영역의 xattr 영역))에 파일과 관련된 부가 정보를 저장할 수 있다. 예를 들어, 전자 장치(500)는 파일 생성 또는 삭제 시에 파일의 지정된 영역에 포함된 부가 정보를 업데이트할 수 있다. 일 실시예에 따르면, 507b 동작에서, 파일 관리 프레임워크(520)는 파일 생성 또는 삭제에 따른 응답을 어플리케이션(510)에 제공할 수 있다. 예를 들어, 어플리케이션(510)은 파일 관리 프레임워크(520)로부터 수신한 응답에 기반하여 요청한 파일의 생성 또는 삭제가 완료되었음을 인식할 수 있다. 예를 들어, 도 5b의 경우 파일 관리 프레임워크(520)가 데이터베이스(550)를 업데이트하기 이전에 파일 생성 또는 삭제가 완료되면 바로 어플리케이션(510)에 응답을 제공하기 때문에, 도 5a의 경우보다 상대적으로 짧은 시간 안에 어플리케이션(510)이 파일 생성 또는 삭제 요청에 대한 응답을 수신할 수 있다. 일 실시예에 따르면, 509b 동작에서, 파일 관리 프레임워크(520)는 백그라운드에서 파일과 관련된 부가 정보를 데이터베이스(550)에 업데이트할 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 생성한 파일과 관련된 부가 정보를 데이터베이스(550)에 저장하거나, 또는 삭제된 파일과 관련된 부가 정보를 삭제 또는 수정할 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 신규 생성된 파일의 지정된 영역에 포함된 파일과 관련된 부가 정보를 스캔하고, 스캔한 부가 정보를 데이터베이스(550)에 업데이트(저장)할 수 있다. 예를 들어, 파일 관리 프레임워크(520)의 데이터베이스(550) 업데이트 동작은 백그라운드 쓰레드(thread)에서 수행될 수 있다. 예를 들어, 파일 관리 프레임워크(520)는 지정된 주기로 새로운 파일이 생성되었는지 여부를 모니터링하고, 새로 생성된 파일에 관련된 부가 정보를 데이터베이스(550)에 업데이트할 수 있다.
일 실시예에 따르면, 파일 관리 프레임워크(520) 및/또는 파일 시스템(530)의 동작 또는 기능 중 적어도 일부는 전자 장치(500)의 프로세서에 의해서 수행될 수 있다.
도 6은 일 실시예에 따른 전자 장치의 파일 관리 시스템을 도시한다.
일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 또는 도 5의 전자 장치(500))의 파일 관리 시스템(600)은 파일 관리 프레임워크(620)(예: 도 1의 프로세서(120), 도 3의 프로세서(320), 도 4의 파일 관리 프레임워크(420) 또는 도 5의 파일 관리 프레임워크(520)), 파일(640)(예: 도 1의 메모리(130) 또는 도 3의 메모리(310)), 및 파일 관리 데이터베이스(650)(예: 도 1의 메모리(130), 도 3의 파일 관리 데이터베이스(313), 도 4의 데이터베이스(450), 또는 도 5의 데이터베이스(550))를 포함할 수 있다.
일 실시예에 따르면, 파일 관리 프레임워크(620)는 파일 관리 모듈(621), 파일 부가 정보 관리 모듈(623), 데이터 연동 모듈(625) 및 데이터 복구 모듈(627)을 포함할 수 있다.
일 실시예에 따르면, 파일 관리 모듈(621)은 전자 장치의 파일(640)을 전반적으로 관리할 수 있다. 예를 들어, 파일 관리 모듈(621)은 어플리케이션(예: 도 1 또는 도 2의 어플리케이션(146), 도 4의 어플리케이션(410), 또는 도 5의 어플리케이션(510))의 요청에 따라 새로운 파일(640)을 생성 또는 저장하거나, 파일(640)을 삭제할 수 있다. 예를 들어, 파일 관리 모듈(621)은 어플리케이션으로부터 파일 생성 요청이 전달된 경우, 파일 부가 정보 관리 모듈(623)을 통하여 생성된 파일(640)과 함께 저장할 부가 정보를 판단할 수 있다. 일 실시예에 따르면, 파일 관리 모듈(621)은 파일(640) 생성 시 파일의 지정된 영역에 파일(640)과 관련된 부가 정보를 포함시킬 수 있다. 일 실시예에 따르면, 지정된 영역은 파일(640)의 아이노드(inode) 영역(예: inode xattr 영역))을 포함할 수 있다. 일 실시예에 따르면, 파일 관리 모듈(621)은 신규 파일(640) 생성 시, 데이터 연동 모듈(625)의 동작(예: 데이터베이스(650)에 부가 정보를 저장하는 동작)과 독립적으로 어플리케이션에 파일(640) 생성이 완료되었음을 응답할 수 있다,
일 실시예에 따르면, 파일 부가 정보 관리 모듈(623)은 각 파일(640)과 관련된 정보를 관리할 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 각 파일(640)과 관련된 엔트리(entry) 정보 및/또는 부가 정보를 관리할 수 있다. 일 실시예에 따르면, 엔트리 정보는 파일(640)의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 부가 정보는 부가 정보의 범위 또는 부가 정보의 타입을 포함할 수 있다. 일 실시예에 따르면, 부가 정보의 범위는 어플리케이션과 관련된, 파일(640)의 저장 경로 및 파일(640)의 타입 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 부가 정보의 타입은 어플리케이션과 관련된 파일(640)의 오너(owner) 정보, 파일(640)의 최초 생성 시간, 및 파일(640)의 유효기간(validation time) 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 파일 부가 정보 관리 모듈(623)은 각 파일(640) 별 및/또는 각 어플리케이션 별로 부가 정보를 관리할 수 있다. 예를 들어, 각 파일(640)마다 필요한 부가 정보가 상이할 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 어플리케이션으로부터 어플리케이션과 관련된 파일(640)의 관리에 필요한 부가 정보를 설정하기 위한 정보를 획득할 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 어플리케이션 및/또는 파일이 요구하는 부가 정보 리스트를 설정할 수 있는 인터페이스(예: API(application program interface))를 제공할 수 있다. 예를 들어, 어플리케이션은 파일(640)과 관련된 부가 정보가 필요한 경우, 파일 부가 정보 관리 모듈(623)을 통해 파일(640)의 경로 또는 파일(640)의 타입에 따라 다양한 부가 정보를 관리할 수 있도록 요청할 수 있다. 일 실시예에 따르면, 파일 부가 정보 관리 모듈(623)은 파일(640)에 대한 부가 정보를 기반으로 부가 정보 리스트를 생성할 수 있다. 일 실시예에 따르면, 파일 부가 정보 관리 모듈(623)은 파일 관리 모듈(621)에 파일(640)과 관련된 부가 정보(예: 부가 정보 리스트)를 제공할 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 파일 관리 모듈(621)이 파일(640)을 생성 또는 삭제하려는 경우, 생성 또는 삭제할 파일(640)과 관련된 부가 정보를 파일 관리 모듈(621)에 제공할 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 파일 관리 모듈(621)에 각 파일(640)의 경로 및/또는 파일(640)의 종류 별로 어떠한 부가 정보가 필요한지에 대한 정보를 제공할 수 있다. 예를 들어, 파일(640)을 생성하려는 어플리케이션에 따라 필요한 부가 정보가 상이할 수 있고, 특정 파일 경로, 또는 파일 종류에 따라 다양한 부가 정보가 설정될 수 있다. 예를 들어, 파일 부가 정보 관리 모듈(623)은 부가 정보 리스트의 형태로 파일 관리 모듈(621)에 생성, 삭제 및/또는 관리하고자 하는 파일(640)과 관련된 부가 정보를 제공할 수 있다.
일 실시예에 따르면, 데이터 연동 모듈(625)은 신규 파일의 생성 후 지정된 시점 이후에 백그라운드 쓰레드(thread) 상에서 동작하여 생성된 파일(640)과 관련된 부가 정보를 데이터베이스(650)에 저장할 수 있다. 예를 들어, 데이터 연동 모듈(625)은 지정된 주기에 따라 신규 생성된 파일(640)을 모니터링하고, 신규 생성된 파일(640) 각각에 관련된 부가 정보를 데이터베이스(650)에 저장할 수 있다. 예를 들어, 파일 관리 모듈(621)이 생성한 파일(640)은 지정된 영역에 부가 정보를 포함하고 있을 수 있고, 데이터 연동 모듈(625)은 생성된 파일(640)의 지정된 영역에 포함된 부가 정보를 인식 및/또는 추출하여 데이터베이스(650)에 저장할 수 있다.
일 실시예에 따르면, 데이터 복구 모듈(627)은 데이터베이스(650)의 손상 여부를 모니터링할 수 있다. 일 실시예에 따르면, 데이터 복구 모듈(627)은 데이터베이스(650)의 손상 시, 파일(640)에 포함된 부가 정보를 기반으로 데이터베이스(650)를 복구할 수 있다.
일 실시예에 따르면, 파일 관리 모듈(621), 파일 부가 정보 관리 모듈(623), 데이터 연동 모듈(625), 및 데이터 복구 모듈(627) 중 적어도 일부는 하나의 모듈로 통합될 수 있고, 하나의 물리적인 구성(예: 프로세서)으로 구현될 수도 있다.
일 실시예에 따르면, 파일 관리 프레임워크(620)의 동작 중 적어도 일부는 전자 장치의 프로세서에 의해서 수행될 수 있다. 예를 들어, 전자 장치의 프로세서는 파일 관리 모듈(621), 파일 부가 정보 관리 모듈(623), 데이터 연동 모듈(625) 및 데이터 복구 모듈(627) 중 적어도 하나의 동작을 수행할 수 있다.
일 실시예에 따른 전자 장치는, 파일 및 파일 관리 데이터베이스를 저장하는 메모리 및 상기 메모리에 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하고, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하고, 상기 생성된 파일을 상기 파일 저장 공간에 저장하고, 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 파일 관리 데이터베이스에 저장하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 상기 파일을 생성하여 상기 파일 저장 공간에 저장하는 동작 및 상기 부가 정보를 상기 파일 관리 데이터베이스에 저장하는 동작을 서로 독립적으로 수행하도록 할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 상기 어플리케이션의 상기 파일 저장 공간에 대한 접근 권한을 확인하고, 상기 접근 권한이 인정되면, 상기 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식하고, 상기 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성 및 저장하고, 상기 부가 정보 리스트에 적어도 일부 기반하여 상기 파일과 관련된 부가 정보를 인식하도록 할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 상기 어플리케이션으로부터 상기 어플리케이션과 관련된 파일의 관리에 필요한 부가 정보를 설정하기 위한 정보를 획득하고, 상기 획득한 정보에 적어도 일부 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성하도록 할 수 있다.
일 실시예에 따르면, 상기 부가 정보의 범위는 상기 어플리케이션과 관련된 파일의 저장 경로 및 파일의 타입 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 상기 부가 정보의 타입은 상기 어플리케이션과 관련된 파일의 오너(owner) 정보, 파일의 최초 생성 시간, 및 파일의 유효기간(validation time) 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 지정된 주기에 따라 신규 파일의 생성 여부를 모니터링하고, 신규 파일이 생성된 경우, 신규 생성된 파일과 관련된 부가 정보를 인식하고, 상기 파일 관리 데이터베이스에 상기 신규 생성된 파일의 부가 정보를 저장하도록 할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 상기 파일 관리 데이터베이스의 손상을 감지하고, 상기 파일 저장 공간에 저장된 적어도 하나의 파일 각각에 포함된 상기 부가 정보를 인식하고, 상기 인식한 부가 정보를 기반으로 상기 파일 관리 데이터베이스를 복구하도록 할 수 있다.
일 실시예에 따르면, 상기 파일의 지정된 영역은 상기 파일의 아이노드(inode) 영역을 포함할 수 있다.
일 실시예에 따르면, 상기 인스트럭션들은, 실행 시, 상기 프로세서가, 상기 파일의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함하는 파일의 엔트리(entry) 정보를 상기 파일 관리 데이터베이스에 저장하도록 할 수 있다.
도 7은 일 실시예에 따른 전자 장치의 파일 관리 방법의 흐름도이다.
일 실시예에 따르면, 710 동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 도 5의 전자 장치(500), 또는 도 6의 전자 장치의 파일 관리 시스템(600))는 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 파일 별로, 또는 어플리케이션 별로 필요한 부가 정보가 상이할 수 있다. 예를 들어, 전자 장치는 파일 생성을 요청한 어플리케이션 및/또는 생성하고자 하는 파일에 기반하여 관련된 부가 정보를 인식할 수 있다. 예를 들어, 전자 장치는 어플리케이션과 관련된, 파일의 오너(owner) 정보, 파일의 최초 생성 시간, 및 파일의 유효기간(validation time) 중 적어도 하나를 포함하는 부가 정보의 타입을 인식할 수 있다. 예를 들어, 전자 장치는 어플리케이션과 관련된 파일의 저장 경로 및 파일의 타입 중 적어도 하나를 포함하는 부가 정보의 범위를 인식할 수 있다. 일 실시예에 따르면, 전자 장치는 파일 생성을 요청한 어플리케이션의 파일(예: 파일이 저장된 메모리의 영역)에 대한 접근 권한을 확인하고, 접근 권한이 인정되면 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식할 수 있다. 일 실시예에 따르면, 전자 장치는 인식한 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 어플리케이션 및/또는 파일에 대한 부가 정보 리스트를 생성 및 저장할 수 있다. 일 실시예에 따르면, 전자 장치는 부가 정보 리스트에 적어도 일부 기반하여 파일과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 생성한 부가 정보 리스트는 어플리케이션의 실행 중에 유지 또는 업데이트될 수 있다. 예를 들어, 어플리케이션 실행 중 해당 어플리케이션이 파일 생성, 삭제 및/또는 관리(예: 접근)에 대한 요청을 하는 경우, 전자 장치는 기 생성한 부가 정보 리스트를 기반으로 필요한 부가 정보를 인식할 수 있다.
일 실시예에 따르면, 720 동작에서, 전자 장치는 파일 내의 지정된 영역에 부가 정보를 포함시켜 파일을 생성할 수 있다. 일 실시예에 따르면, 지정된 영역은 파일의 아이노드(inode) 영역(예: inode xattr 영역)을 포함할 수 있다.
일 실시예에 따르면, 730 동작에서, 전자 장치는 생성된 파일을 전자 장치의 메모리에 저장할 수 있다. 일 실시예에 따르면, 파일은 어플리케이션과 관련된 실행 파일(예: 미디어 파일)을 포함할 수 있다.
일 실시예에 따르면, 740 동작에서, 전자 장치는 파일을 생성 및 저장한 이후 백그라운드 쓰레드(background thread)에서 파일의 부가 정보를 파일 관리 데이터베이스에 저장할 수 있다. 일 실시예에 따르면, 파일 관리 데이터베이스는 실행 파일과 관련된 부가 정보를 포함하는 실행 파일 이외의 포맷의 파일(예: 정보 저장을 위한 파일)을 포함할 수 있다. 예를 들어, 파일 관리 데이터베이스는 적어도 하나의 부가 정보의 데이터 집합을 의미할 수 있다. 일 실시예에 따르면, 파일 관리 데이터베이스는 파일과 독립적으로(예: 다른 파일로서) 구성될 수 있다. 일 실시예에 따르면, 파일 및 파일 관리 데이터베이스는 메모리 내의 동일한 영역 또는 상이한 영역에 저장될 수 있다. 예를 들어, 파일 및 파일 관리 데이터베이스는 물리적으로 메모리의 같은 영역에 논리적으로 구분되어 저장될 수 있다. 예를 들어, 파일 및 파일 관리 데이터베이스는 전자 장치의 프로세서(예: 파일 관리 프레임워크 또는 파일 시스템)에 의해 관리되는 메모리 영역(예: 사용자 데이터(user data) 영역)에 저장될 수 있다. 예를 들어, 파일(311) 및/또는 파일 관리 데이터베이스(313)는 프로세서(320)(예: 파일 시스템)에 의해 메모리(310)(예: 비휘발성 메모리(예: 도 1의 비휘발성 메모리(134))에 파일시스템 데이터(예: on disk filesystem)로서 저장될 수 있다. 일 실시예에 따르면, 전자 장치는 지정된 주기에 따라 신규 생성된 파일을 모니터링하고, 신규 생성된 파일 각각과 관련된 부가 정보를 파일 관리 데이터베이스에 저장할 수 있다. 일 실시예에 따르면, 전자 장치는 생성된 파일의 지정된 영역에 포함된 부가 정보를 인식 및/또는 추출하고, 이를 기반으로 부가 정보를 파일 관리 데이터베이스에 저장할 수 있다. 예를 들어, 전자 장치는 파일에 포함된 부가 정보를 파일 관리 데이터베이스에 동기화(연동)할 수 있다. 일 실시예에 따르면, 전자 장치는 파일의 엔트리(entry) 정보를 파일과 관련된 부가 정보와 함께 파일 관리 데이터베이스에 저장할 수 있다. 일 실시예에 따르면, 엔트리 정보는 파일의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함할 수 있다,
일 실시예에 따르면, 전자 장치는 파일 관리 데이터베이스의 손상 여부를 모니터할 수 있다. 예를 들어, 전자 장치는 파일 관리 데이터베이스의 손상을 감지한 경우, 파일에 포함된 부가 정보를 기반으로 파일 관리 데이터베이스를 복구할 수 있다.
도 8은 일 실시예에 따른 전자 장치의 부가 정보 리스트를 생성하는 동작의 흐름도이다.
일 실시예에 따르면, 810 동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 도 5의 전자 장치(500), 또는 도 6의 전자 장치의 파일 관리 시스템(600))는 어플리케이션의 권한을 확인할 수 있다. 예를 들어, 전자 장치는 어플리케이션이 파일에 접근할 권한이 있는지 여부를 확인할 수 있다. 예를 들어, 전자 장치는 어플리케이션이 파일을 저장한 메모리의 영역에 대한 접근 권한이 있는지 확인할 수 있다.
일 실시예에 따르면, 820 동작에서, 전자 장치는 어플리케이션의 권한이 인정되면 830 동작을 수행하고, 어플리케이션의 권한이 인정되지 않으면 부가 정보 리스트 생성 동작을 종료할 수 있다.
일 실시예에 따르면, 830 동작에서, 전자 장치는 유효한 부가 정보의 범위를 인식할 수 있다. 일 실시예에 따르면, 부가 정보의 범위는 어플리케이션에 허용된 파일의 저장 경로 및 파일의 타입 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 어플리케이션에 허용된 유효한 부가 정보의 범위가 없는 경우 부가 정보 리스트 생성 동작을 종료할 수 있다.
일 실시예에 따르면, 840 동작에서, 전자 장치는 유효한 부가 정보의 타입을 인식할 수 있다. 일 실시예에 따르면, 부가 정보의 타입은 파일의 오너(owner) 정보, 파일의 최초 생성 시간, 및 파일의 유효기간(validation time) 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 어플리케이션에 허용된 유효한 부가 정보의 타입이 없는 경우 부가 정보 리스트 생성 동작을 종료할 수 있다.
일 실시예에 따르면, 850 동작에서, 전자 장치는 부가 정보 리스트를 생성 및 저장할 수 있다. 예를 들어, 전자 장치는 인식한 부가 정보의 범위 및/또는 부가 정보의 타입에 기반하여 부가 정보 리스트를 생성할 수 있다. 예를 들어, 전자 장치는 어플리케이션의 실행 중 부가 정보 리스트를 기반으로 파일의 관리(예: 파일의 생성)에 필요한 파일과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 전자 장치는 어플리케이션의 실행 중 관련된 부가 정보(예: 부가 정보의 범위 및/또는 부가 정보의 타입)이 변경되는 경우, 부가 정보 리스트를 업데이트할 수 있다. 예를 들어, 전자 장치는 어플리케이션 별 및/또는 파일 별로 부가 정보 리스트를 생성할 수 있다.
도 9는 일 실시예에 따른 전자 장치의 파일 생성 동작의 흐름도이다.
일 실시예에 따르면, 910 동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 도 5의 전자 장치(500), 또는 도 6의 전자 장치의 파일 관리 시스템(600))는 어플리케이션의 파일 생성 요청을 인식할 수 있다.
일 실시예에 따르면, 920 동작에서, 전자 장치는 요청에 대응하는 파일과 관련된 부가 정보를 인식 및 추출할 수 있다. 예를 들어, 전자 장치는 생성할 파일과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 전자 장치는 생성할 파일과 관련된 오너(owner) 정보(예: 파일 생성을 요청한 어플리케이션 정보)를 인식할 수 있다. 일 실시예에 따르면, 전자 장치는 부가 정보 리스트를 생성하거나, 또는 기 생성된 부가 정보 리스트를 기반으로 파일 생성에 필요한 부가 정보를 인식할 수 있다.
일 실시예에 따르면, 930 동작에서, 전자 장치는 기존의 파일이 존재하는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 부가 정보를 기반으로 어플리케이션이 생성을 요청한 파일이 기존에 존재하는지 여부를 판단할 수 있다. 일 실시예에 따르면, 전자 장치는 기존 파일이 존재하지 않는 경우 940 동작을 수행하고, 기존 파일이 존재하는 경우 파일 생성 동작을 종료할 수 있다. 예를 들어, 전자 장치는 어플리케이션이 생성을 요청한 파일이 기 존재하지 않는 경우에 신규 파일 생성을 위한 동작들을 수행할 수 있다.
일 실시예에 따르면, 940 동작에서, 전자 장치는 어플리케이션이 요청한 파일을 생성할 수 있다. 일 실시예에 따르면, 전자 장치는 생성한 파일을 메모리의 지정된 영역에 저장할 수 있다.
일 실시예에 따르면, 950 동작에서, 전자 장치는 파일의 지정된 영역에 부가 정보를 저장할 수 있다. 일 실시예에 따르면, 파일의 지정된 영역은 파일의 아이노드(inode) 영역을 포함할 수 있다. 예를 들어, 전자 장치는 920 동작에서 인식한 부가 정보 중 적어도 일부를 파일의 지정된 영역에 포함시킬 수 있다. 일 실시예에 따르면, 940 동작 및 950 동작은 순차적으로 기재하였으나, 하나의 동작으로서 같이 수행될 수 있다. 예를 들어, 전자 장치는 파일을 생성한 이후 지정된 영역에 부가 정보를 저장하거나, 처음부터 부가 정보를 포함시켜서 파일을 생성할 수도 있다. 일 실시예에 따르면, 전자 장치는 부가 정보를 포함하는 파일의 생성(및 저장)을 수행한 경우 파일 생성 동작을 완료할 수 있다. 예를 들어, 전자 장치는 어플리케이션에 파일 생성 동작이 완료되었음을 나타내는 응답을 제공할 수 있다. 예를 들어, 전자 장치는 950 동작까지 수행한 이후 어플리케이션의 요청에 대응하는 파일 생성 절차가 완료된 것으로 처리하고, 960 동작에서의 파일 관리 데이터베이스 동작은 독립적인 절차로서 추후 수행할 수 있다.
일 실시예에 따르면, 960 동작에서, 전자 장치는 파일 관리 데이터베이스에 부가 정보를 저장할 수 있다. 예를 들어, 전자 장치는 생성된 파일에 포함된 부가 정보를 기반으로 파일 관리 데이터베이스에 부가 정보를 저장할 수 있다. 예를 들어, 전자 장치는 파일에 포함된 부가 정보를 파일 관리 데이터베이스에 연동(동기화)할 수 있다. 일 실시예에 따르면, 전자 장치는 910 동작 내지 950 동작과 960 동작을 서로 독립적으로 수행할 수 있다. 예를 들어, 전자 장치는 950 동작 수행 이후 지정된 시간이 경과한 이후에 960 동작을 수행할 수 있다. 예를 들어, 전자 장치는 지정된 주기에 따라 신규 생성된 적어도 하나의 파일을 인식하고, 신규 생성된 적어도 하나의 파일에 관련된 부가 정보를 파일 관리 데이터베이스에 저장(연동)할 수 있다. 일 실시예에 따르면, 전자 장치는 부가 정보를 파일 관리 데이터베이스에 저장하는 동작을 백그라운드 쓰레드(thread)를 통하여 수행할 수 있다.
일 실시예에 따르면, 전자 장치는 960 동작의 파일 관리 데이터베이스 관련 동작까지 완료되기 이전에, 950 동작의 실제 파일의 생성 및 저장이 완료되면 파일 생성 동작이 완료된 것으로 어플리케이션에 응답을 제공할 수 있다. 예를 들어, 어플리케이션의 파일 생성 요청 시, 전자 장치가 파일을 생성하고 파일의 부가 정보를 데이터베이스에 저장하는 일련의 동작을 모두 수행한 이후에 파일 생성 절차를 완료한 것으로 어플리케이션에 응답을 제공할 경우 파일 생성에 따른 소모 시간이 길어질 수 있다. 일 실시예에 따르면, 전자 장치는 파일 생성 요청 이후 파일 관리 데이터베이스의 연동 동작(부가 정보를 파일 관리 데이터베이스에 저장하는 동작) 이전에 파일 생성 작업을 완료하고, 데이터베이스의 연동 동작을 추후에 백그라운드에서 실행함으로써, 파일 생성 자체에 소모되는 시간 및 어플리케이션의 요청에 응답하는 시간을 단축시킬 수 있다. 예를 들어, 전자 장치는 부가 정보를 데이터베이스에 저장하는 동작을 파일 생성 동작과 독립적으로 추후 수행함으로써, 파일 생성 시마다 바로 부가 정보를 데이터베이스에 저장하는 동작을 함께 수행하는 경우 짧은 시간 안에 다수의 파일을 생성 시 발생할 수 있는 오버헤드(overhead)를 감소시킬 수 있다.
도 10은 일 실시예에 따른 전자 장치의 부가 정보 저장 동작의 흐름도이다.
일 실시예에 따르면, 1010 동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 도 5의 전자 장치(500), 또는 도 6의 전자 장치의 파일 관리 시스템(600))는 신규 파일 생성 여부를 모니터링할 수 있다. 예를 들어, 전자 장치는 지정된 주기에 따라 신규 파일 생성 여부를 확인할 수 있다.
일 실시예에 따르면, 1020 동작에서, 전자 장치는 신규 생성된 파일과 관련된 부가 정보를 인식할 수 있다. 예를 들어, 전자 장치는 신규 생성된 파일의 지정된 영역에 포함된 부가 정보를 인식할 수 있다.
일 실시예에 따르면, 1030 동작에서, 전자 장치는 파일 관리 데이터베이스에 1020 동작에서 인식한 부가 정보를 저장할 수 있다. 예를 들어, 전자 장치는 신규 생성된 파일과 관련된 부가 정보를 파일 관리 데이터베이스에 연동(동기화)할 수 있다. 일 실시예에 따르면, 전자 장치는 파일의 엔트리 정보와 함께 부가 정보를 파일 관리 데이터베이스에 저장할 수 있다.
일 실시예에 따르면, 전자 장치는 1010 동작 내지 1030 동작 중 적어도 일부를 백그라운드 쓰레드(thread)를 통하여 수행할 수 있다.
일 실시예에 따르면, 전자 장치는 개별적인 파일 생성 시마다 파일 관리 데이터베이스에 파일과 관련된 부가 정보를 저장하지 않고, 파일 생성 시점으로부터 임의의 시간이 경과한 후에 파일 관리 데이터베이스에 부가 정보를 저장함으로써, 상대적으로 짧은 시간 내에 다수의 파일을 생성하는 경우에 발생할 수 있는 불필요한 오버헤드(overhead)를 감소시킬 수 있고, 어플리케이션의 파일 생성 요청에 따른 응답 시간을 감소시킬 수 있다.
도 11은 일 실시예에 따른 전자 장치의 파일 관리 데이터베이스 복구 동작의 흐름도이다.
일 실시예에 따르면, 1110 동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(300), 도 4의 전자 장치(400), 도 5의 전자 장치(500), 또는 도 6의 전자 장치의 파일 관리 시스템(600))는 파일 관리 데이터베이스의 손상을 감지할 수 있다. 예를 들어, 전자 장치는 파일 관리 데이터베이스에 저장된 파일과 관련된 오너(owner) 정보의 손상 및/또는 손실을 감지할 수 있다.
일 실시예에 따르면, 1120 동작에서, 전자 장치는 파일 및 저장 경로를 인식할 수 있다. 예를 들어, 전자 장치는 파일이 저장된 메모리의 영역 및 적어도 하나의 파일을 인식할 수 있다. 예를 들어, 전자 장치는 생성한 파일이 저장된 메모리의 디렉토리(directory)를 탐색하고, 저장된 적어도 하나의 파일을 인식할 수 있다.
일 실시예에 따르면, 1130 동작에서, 전자 장치는 파일에 포함된 부가 정보를 인식할 수 있다. 예를 들어, 전자 장치는 파일의 지정된 영역에 포함된 부가 정보를 인식 및/또는 추출할 수 있다.
일 실시예에 따르면, 1140 동작에서, 전자 장치는 부가 정보를 기반으로 파일 관리 데이터베이스를 복구할 수 있다. 일 실시예에 따르면, 전자 장치는 신규 파일 생성 시 파일의 지정된 영역에 부가 정보를 포함시킴으로써, 파일 관리 데이터베이스의 손상 시 파일에 포함된 부가 정보를 기반으로 파일 관리 데이터베이스를 복구할 수 있다.
일 실시예에 따른 전자 장치의 파일 관리 방법은, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하는 동작, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하는 동작, 상기 생성된 파일을 상기 전자 장치의 메모리에 저장하는 동작, 및 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 전자 장치의 파일 관리 데이터베이스에 저장하는 동작을 포함할 수 있다.
일 실시예에 따르면, 상기 방법은, 상기 파일을 생성하고 저장하는 동작 및 상기 부가 정보를 상기 파일 관리 데이터베이스에 저장하는 동작을 서로 독립적으로 수행할 수 있다.
일 실시예에 따르면, 상기 파일과 관련된 부가 정보를 인식하는 동작은, 상기 어플리케이션의 상기 파일에 대한 접근 권한을 확인하는 동작, 상기 접근 권한이 인정되면, 상기 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식하는 동작, 상기 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성 및 저장하는 동작, 및 상기 부가 정보 리스트에 적어도 일부 기반하여 상기 파일과 관련된 부가 정보를 인식하는 동작을 포함할 수 있다.
일 실시예에 따르면, 상기 방법은, 상기 어플리케이션으로부터 상기 어플리케이션과 관련된 파일의 관리에 필요한 부가 정보를 설정하기 위한 정보를 획득하는 동작, 및 상기 획득한 정보에 적어도 일부 기반하여 상기 부가 정보 리스트를 생성하는 동작을 포함할 수 있다.
일 실시예에 따르면, 상기 부가 정보의 범위는 상기 어플리케이션에 허용된 파일의 저장 경로 및 파일의 타입 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 상기 부가 정보의 타입은 상기 파일의 오너(owner) 정보, 파일의 최초 생성 시간, 및 파일의 유효기간(validation time) 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 상기 파일의 부가 정보를 파일 관리 데이터베이스에 저장하는 동작은, 지정된 주기에 따라 신규 파일의 생성 여부를 모니터링하는 동작, 신규 파일이 생성된 경우, 신규 생성된 파일과 관련된 부가 정보를 인식하는 동작, 및 상기 파일 관리 데이터베이스에 상기 신규 생성된 파일의 부가 정보를 저장하는 동작을 포함할 수 있다.
일 실시예에 따르면, 상기 방법은, 상기 파일 관리 데이터베이스의 손상을 감지하는 동작, 상기 파일 저장 공간에 저장된 적어도 하나의 파일 각각에 포함된 상기 부가 정보를 인식하는 동작, 및 상기 인식한 부가 정보를 기반으로 상기 파일 관리 데이터베이스를 복구하는 동작을 포함헐 수 있다.
일 실시예에 따르면, 상기 파일의 지정된 영역은 상기 파일의 아이노드(inode) 영역을 포함할 수 있다.
일 실시예에 따른, 컴퓨터로 읽을 수 있는 명령어를 저장하고 있는 기록 매체에 있어서, 상기 명령어는 전자 장치에 의해 실행 시, 상기 전자 장치가, 상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하는 동작, 상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하는 동작, 상기 생성된 파일을 상기 전자 장치의 메모리에 저장하는 동작, 및 상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 전자 장치의 파일 관리 데이터베이스에 저장하는 동작을 수행하도록 할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    파일 및 파일 관리 데이터베이스를 저장하는 메모리; 및
    상기 메모리에 작동적으로(operatively) 연결된 프로세서를 포함하고,
    상기 메모리는, 실행 시, 상기 프로세서가,
    상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하고,
    상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하고,
    상기 생성된 파일을 상기 파일 저장 공간에 저장하고,
    상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 파일 관리 데이터베이스에 저장하도록 하는 인스트럭션들(instructions)을 저장하는 전자 장치.
  2. 청구항 1에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    상기 파일을 생성하여 상기 파일 저장 공간에 저장하는 동작 및 상기 부가 정보를 상기 파일 관리 데이터베이스에 저장하는 동작을 서로 독립적으로 수행하도록 하는 전자 장치.
  3. 청구항 1에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    상기 어플리케이션의 상기 파일 저장 공간에 대한 접근 권한을 확인하고,
    상기 접근 권한이 인정되면, 상기 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식하고,
    상기 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성 및 저장하고,
    상기 부가 정보 리스트에 적어도 일부 기반하여 상기 파일과 관련된 부가 정보를 인식하도록 하는 전자 장치.
  4. 청구항 3에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    상기 어플리케이션으로부터 상기 어플리케이션과 관련된 파일의 관리에 필요한 부가 정보를 설정하기 위한 정보를 획득하고,
    상기 획득한 정보에 적어도 일부 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성하도록 하는 전자 장치.
  5. 청구항 3에 있어서,
    상기 부가 정보의 범위는 상기 어플리케이션과 관련된 파일의 저장 경로 및 파일의 타입 중 적어도 하나를 포함하는 전자 장치.
  6. 청구항 3에 있어서,
    상기 부가 정보의 타입은 상기 어플리케이션과 관련된 파일의 오너(owner) 정보, 파일의 최초 생성 시간, 및 파일의 유효기간(validation time) 중 적어도 하나를 포함하는 전자 장치.
  7. 청구항 1에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    지정된 주기에 따라 신규 파일의 생성 여부를 모니터링하고,
    신규 파일이 생성된 경우, 신규 생성된 파일과 관련된 부가 정보를 인식하고,
    상기 파일 관리 데이터베이스에 상기 신규 생성된 파일의 부가 정보를 저장하도록 하는 전자 장치.
  8. 청구항 1에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    상기 파일 관리 데이터베이스의 손상을 감지하고,
    상기 파일 저장 공간에 저장된 적어도 하나의 파일 각각에 포함된 상기 부가 정보를 인식하고,
    상기 인식한 부가 정보를 기반으로 상기 파일 관리 데이터베이스를 복구하도록 하는 전자 장치.
  9. 청구항 1에 있어서,
    상기 파일의 지정된 영역은 상기 파일의 아이노드(inode) 영역을 포함하는 전자 장치.
  10. 청구항 1에 있어서,
    상기 인스트럭션들은, 실행 시, 상기 프로세서가,
    상기 파일의 이름, 생성 시간 및 수정 시간 중 적어도 하나를 포함하는 파일의 엔트리(entry) 정보를 상기 파일 관리 데이터베이스에 저장하도록 하는 전자 장치.
  11. 전자 장치의 파일 관리 방법에 있어서,
    상기 전자 장치에 포함된 어플리케이션의 파일 생성 요청 시, 파일과 관련된 부가 정보를 인식하는 동작;
    상기 파일 내의 지정된 영역에 상기 부가 정보를 포함시켜서 상기 파일을 생성하는 동작;
    상기 생성된 파일을 상기 전자 장치의 메모리에 저장하는 동작; 및
    상기 파일을 생성 및 저장한 이후에 백그라운드 쓰레드(background thread)에서 상기 파일의 부가 정보를 상기 전자 장치의 파일 관리 데이터베이스에 저장하는 동작을 포함하는 전자 장치의 파일 관리 방법.
  12. 청구항 11에 있어서,
    상기 파일을 생성하고 저장하는 동작 및 상기 부가 정보를 상기 파일 관리 데이터베이스에 저장하는 동작을 서로 독립적으로 수행하는 전자 장치의 파일 관리 방법.
  13. 청구항 11에 있어서,
    상기 파일과 관련된 부가 정보를 인식하는 동작은,
    상기 어플리케이션의 상기 파일에 대한 접근 권한을 확인하는 동작;
    상기 접근 권한이 인정되면, 상기 어플리케이션에 허용된 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나를 인식하는 동작;
    상기 부가 정보의 범위 또는 부가 정보의 타입 중 적어도 하나에 기반하여 상기 어플리케이션 및 파일에 대한 부가 정보 리스트를 생성 및 저장하는 동작; 및
    상기 부가 정보 리스트에 적어도 일부 기반하여 상기 파일과 관련된 부가 정보를 인식하는 동작을 포함하는 전자 장치의 파일 관리 방법.
  14. 청구항 11에 있어서,
    상기 파일의 부가 정보를 파일 관리 데이터베이스에 저장하는 동작은,
    지정된 주기에 따라 신규 파일의 생성 여부를 모니터링하는 동작;
    신규 파일이 생성된 경우, 신규 생성된 파일과 관련된 부가 정보를 인식하는 동작; 및
    상기 파일 관리 데이터베이스에 상기 신규 생성된 파일의 부가 정보를 저장하는 동작을 포함하는 전자 장치의 파일 관리 방법.
  15. 청구항 11에 있어서,
    상기 파일 관리 데이터베이스의 손상을 감지하는 동작;
    상기 파일 저장 공간에 저장된 적어도 하나의 파일 각각에 포함된 상기 부가 정보를 인식하는 동작; 및
    상기 인식한 부가 정보를 기반으로 상기 파일 관리 데이터베이스를 복구하는 동작을 포함하는 전자 장치의 파일 관리 방법.
PCT/KR2022/006173 2021-05-12 2022-04-29 전자 장치 및 전자 장치의 파일 관리 방법 WO2022240031A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210061632A KR20220153959A (ko) 2021-05-12 2021-05-12 전자 장치 및 전자 장치의 파일 관리 방법
KR10-2021-0061632 2021-05-12

Publications (1)

Publication Number Publication Date
WO2022240031A1 true WO2022240031A1 (ko) 2022-11-17

Family

ID=84029257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/006173 WO2022240031A1 (ko) 2021-05-12 2022-04-29 전자 장치 및 전자 장치의 파일 관리 방법

Country Status (2)

Country Link
KR (1) KR20220153959A (ko)
WO (1) WO2022240031A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005174076A (ja) * 2003-12-12 2005-06-30 Dainippon Printing Co Ltd データベースシステム
US7194548B1 (en) * 1999-03-30 2007-03-20 Matsushita Electric Industrial Co., Ltd. Data transmission apparatus, receiving apparatus, and sending apparatus
US20090265394A1 (en) * 2008-03-28 2009-10-22 Konica Minolta Business Technologies, Inc. File Storing Method, File Storage System, and Computer Readable Recording Medium Stored with Computer Program Executable on Master File Combination Device
JP2014048922A (ja) * 2012-08-31 2014-03-17 Casio Comput Co Ltd ファイル処理装置、ファイル処理方法及びプログラム
KR20180088244A (ko) * 2017-01-26 2018-08-03 한양대학교 산학협력단 데이터 저장 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194548B1 (en) * 1999-03-30 2007-03-20 Matsushita Electric Industrial Co., Ltd. Data transmission apparatus, receiving apparatus, and sending apparatus
JP2005174076A (ja) * 2003-12-12 2005-06-30 Dainippon Printing Co Ltd データベースシステム
US20090265394A1 (en) * 2008-03-28 2009-10-22 Konica Minolta Business Technologies, Inc. File Storing Method, File Storage System, and Computer Readable Recording Medium Stored with Computer Program Executable on Master File Combination Device
JP2014048922A (ja) * 2012-08-31 2014-03-17 Casio Comput Co Ltd ファイル処理装置、ファイル処理方法及びプログラム
KR20180088244A (ko) * 2017-01-26 2018-08-03 한양대학교 산학협력단 데이터 저장 방법

Also Published As

Publication number Publication date
KR20220153959A (ko) 2022-11-21

Similar Documents

Publication Publication Date Title
WO2022154286A1 (ko) 사용자 인터페이스를 제공하는 방법 및 그 전자 장치
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2023149647A1 (ko) 전자 장치 및 이의 동작 방법
WO2022154264A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022196939A1 (ko) 대체 컨텐츠를 제공하는 전자 장치 및 그의 동작 방법
WO2022103019A1 (ko) 전자 장치 및 전자 장치의 어플리케이션 실행 방법
WO2022240031A1 (ko) 전자 장치 및 전자 장치의 파일 관리 방법
WO2022065845A1 (ko) 입력 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022146026A1 (ko) 보안 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2023153768A1 (ko) 전자 장치에서 데이터베이스 파일을 복구하는 방법
WO2022080652A1 (ko) 저널 파일을 관리하는 전자 장치 및 이의 동작 방법
WO2023158136A1 (ko) 메모리 제어 방법 및 상기 방법을 수행하는 전자 장치
WO2023113251A1 (ko) 파일 탐색을 위한 전자 장치의 동작 방법 및 그 전자 장치
WO2022154262A1 (ko) 예약 공간에 기반한 데이터베이스 업데이트 방법 및 장치
WO2022177061A1 (ko) 비정상적인 앱을 백그라운드에서 미리 로딩하는 전자 장치 및 그의 동작 방법
WO2023163403A1 (ko) 스크린샷 생성 방법 및 상기 방법을 수행하는 전자 장치
WO2024101878A1 (ko) 손상된 메타데이터를 복구하기 위한 방법 및 이를 지원하는 전자 장치
WO2022191455A1 (ko) 파일 리댁션을 수행하는 전자 장치 및 이의 동작 방법
WO2022211285A1 (ko) 메모리를 관리하기 위한 전자 장치 및 그의 동작 방법
WO2023003233A1 (ko) 전자 장치 및 그의 동작 방법
WO2023013891A1 (ko) 복수의 정보들을 처리하기 위한 전자 장치 및 그 동작 방법
WO2022186460A1 (ko) 보안 데이터 처리 방법 및 장치
WO2022245116A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2023113167A1 (ko) 전자 장치 및 이의 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22807679

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22807679

Country of ref document: EP

Kind code of ref document: A1