KR20240020138A - Electronic device and method for managinh shooting date and time of image file in the electronic device - Google Patents

Electronic device and method for managinh shooting date and time of image file in the electronic device Download PDF

Info

Publication number
KR20240020138A
KR20240020138A KR1020220112275A KR20220112275A KR20240020138A KR 20240020138 A KR20240020138 A KR 20240020138A KR 1020220112275 A KR1020220112275 A KR 1020220112275A KR 20220112275 A KR20220112275 A KR 20220112275A KR 20240020138 A KR20240020138 A KR 20240020138A
Authority
KR
South Korea
Prior art keywords
image file
time information
electronic device
date
stored
Prior art date
Application number
KR1020220112275A
Other languages
Korean (ko)
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 삼성전자주식회사
Priority to PCT/KR2023/010367 priority Critical patent/WO2024029797A1/en
Publication of KR20240020138A publication Critical patent/KR20240020138A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

일 실시 예에 따른 전자 장치는, 이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보가 매칭되어 저장된 제1 테이블이 저장된 DB를 포함하는 메모리 및 프로세서를 포함할 수 있다.
일 실시 예에 따른 상기 프로세서는, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하도록 설정될 수 있다.
일 실시 예에 따른 상기 프로세서는, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하고, 상기 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하도록 설정될 수 있다.
An electronic device according to an embodiment may include a memory and a processor that include a DB in which a first table in which the unique key value of the image file is matched with the shooting date and time information is stored.
The processor according to an embodiment, based on confirmation of a first image file in which metadata is not stored or a second image file in which metadata does not contain shooting date and time information, the first image file or the It may be set to generate a unique key value for the second image file.
The processor according to an embodiment generates date and time information related to the first image file or the second image file as shooting date and time information, and generates the unique key value and the It can be set to match and save the captured shooting and date information.

Description

전자 장치 및 상기 전자 장치에서 이미지 파일의 촬영 날짜 및 시간을 관리하는 방법{ELECTRONIC DEVICE AND METHOD FOR MANAGINH SHOOTING DATE AND TIME OF IMAGE FILE IN THE ELECTRONIC DEVICE}Electronic devices and methods for managing the shooting date and time of image files in the electronic devices {ELECTRONIC DEVICE AND METHOD FOR MANAGINH SHOOTING DATE AND TIME OF IMAGE FILE IN THE ELECTRONIC DEVICE}

본 개시는 메타 데이터가 저장될 수 없는 파일 포맷을 가지는 이미지 파일 및/또는 촬영 날짜 및 시간 정보를 포함하지 않는 메타 데이터가 저장된 이미지 파일의 촬영 날짜 및 시간을 관리하기 위한 전자 장치 및 상기 전자 장치에서 촬영 날짜 및 시간을 관리하는 방법에 관한 것이다.The present disclosure provides an electronic device for managing the shooting date and time of an image file having a file format in which metadata cannot be stored and/or an image file storing metadata that does not contain shooting date and time information, and in the electronic device It's about how to manage shooting dates and times.

전자 장치는, 상기 전자 장치에 저장된 파일들을 시간을 기반으로 정렬하여 제공할 수 있다. 상기 전자 장치는 파일의 종류에 따라 생성 날짜 및 시간 정보를 기반으로 파일을 정렬하여 제공하거나 또는 촬영 날짜 및 시간 정보를 기반으로 파일을 정렬하여 제공할 수 있다. The electronic device may arrange and provide files stored in the electronic device based on time. Depending on the type of file, the electronic device may sort and provide files based on creation date and time information, or may sort and provide files based on shooting date and time information.

예를 들어, 촬영 날짜 및 시간 정보를 기반으로 정렬될 수 있는 이미지 파일의 경우, 전자 장치는 이미지 파일의 메타 데이터를 관리하는 데이터베이스(DB: database)를 이용하여 사용자에게 촬영 날짜 및 시간 정보를 기반으로 정렬된 이미지 파일을 제공할 수 있다. For example, in the case of image files that can be sorted based on the shooting date and time information, the electronic device uses a database (DB) that manages the metadata of the image file to provide the user with the shooting date and time information. You can provide image files sorted by .

전자 장치는, 메타 데이터가 저장될 수 없는 파일 포맷을 가지는 이미지 파일 및/또는 촬영 날짜 및 시간 정보를 포함하지 않는 메타 데이터가 저장된 이미지 파일의 경우, 이미지 파일의 최종 수정(예:복사, 편집 및/또는 이동)시간이 이미지 파일의 메타 데이터를 관리하는 데이터베이스(DB: database)에 업데이트되어 이미지 파일의 촬영 날짜 및 시간 정보 사용하고 있다.The electronic device may, in the case of image files having a file format in which metadata cannot be stored and/or image files storing metadata that do not contain capture date and time information, perform any last modifications to the image file, such as copying, editing, and /or travel) time The shooting date and time information of the image file is updated in the database (DB) that manages the metadata of the image file.

따라서, 상기 이미지 파일이 수정될 때마다 상기 이미지 파일의 촬영 날짜 및 시간 정보가 변경됨에 따라, 상기 이미지 파일을 표시할 때 정렬 순서가 변경될 수 있다.Accordingly, whenever the image file is modified, the capture date and time information of the image file changes, so the sorting order when displaying the image file may change.

일 실시 예에 따른 전자 장치는, 이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보가 매칭되어 저장된 제1 테이블이 저장된 DB를 포함하는 메모리 및 프로세서를 포함할 수 있다.An electronic device according to an embodiment may include a memory and a processor that include a DB in which a first table in which the unique key value of the image file is matched with the shooting date and time information is stored.

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하도록 하는 인스트럭션을 저장할 수 있다.The memory according to one embodiment may, upon execution, the processor performs the operation based on confirmation of a first image file for which no metadata is stored or a second image file for which the metadata does not contain shooting date and time information. , an instruction for generating a unique key value for the first image file or the second image file may be stored.

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하고, 상기 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 전자 장치에서 이미지 파일의 촬영 날짜 및 시간을 관리하는 방법은, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하는 동작을 포함할 수 있다.When the memory according to an embodiment is executed, the processor generates date and time information related to the first image file or the second image file as shooting date and time information, and stores the first table of the DB. An instruction to match and store the unique key value and the generated capture and date information may be stored. A method of managing the capture date and time of an image file in an electronic device according to an embodiment includes storing metadata. An operation of generating a unique key value for the first image file or the second image file based on confirmation that the first image file or the second image file does not contain capture date and time information in the metadata. It can be included.

일 실시 예에 따른 상기 방법은, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하는 동작을 포함할 수 있다.The method according to an embodiment may include generating date and time information related to the first image file or the second image file as shooting date and time information.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 메모리에 포함된 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하는 동작을 포함할 수 있다.The method according to one embodiment may include an operation of matching and storing the unique key value and the generated shooting and date information in a first table of a DB included in the memory of the electronic device.

본 개시의 실시 예에 따르면, 메타 데이터가 저장될 수 없는 파일 포맷을 가지는 이미지 파일 및/또는 촬영 날짜 및 시간 정보를 포함하지 않는 메타 데이터가 저장된 이미지 파일의 촬영 날짜 및 시간 정보를 유지할 수 있다.According to an embodiment of the present disclosure, the shooting date and time information of an image file having a file format in which metadata cannot be stored and/or an image file storing metadata that does not include shooting date and time information can be maintained.

도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도 2는 실시 예에 따른 전자 장치의 블록도 이다.
도 3은 일 실시 예에 따른 전자 장치에서 이미지 파일의 고유 키를 생성하는 동작을 설명하기 위한 도면 이다.
도 4a 내지 도 4b는 일 실시 예에 따른 전자 장치에서 이미지 파일의 촬영 날짜 및 시간 정보가 유지되는 동작을 설명하기 위한 도면들 이다.
도 5a 내지 도 5b는 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 저장하는 동작을 설명하기 위한 흐름도 이다.
도 6은 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 저장하는 동작을 설명하기 위한 흐름도이다.
도 7a 내지 도 7b는 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 검출하는 동작을 설명하기 위한 흐름도 이다.
1 is a block diagram of an electronic device in a network environment according to an embodiment.
Figure 2 is a block diagram of an electronic device according to an embodiment.
FIG. 3 is a diagram illustrating an operation of generating a unique key for an image file in an electronic device according to an embodiment.
FIGS. 4A and 4B are diagrams for explaining an operation in which the capture date and time information of an image file is maintained in an electronic device according to an embodiment.
FIGS. 5A and 5B are flowcharts for explaining an operation of storing shooting date and time information in an electronic device according to an embodiment.
FIG. 6 is a flowchart illustrating an operation of storing shooting date and time information in an electronic device according to an embodiment.
FIGS. 7A and 7B are flowcharts illustrating an operation of detecting shooting date and time information in an electronic device according to an embodiment.

도 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))로 통합될 수 있다.FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to one embodiment. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, 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, and 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 may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.

보조 프로세서(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. 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. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or non-volatile memory 134.

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.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. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 can 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. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, 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 IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can 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.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

통신 모듈(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)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., 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. The electronic device 101 can be confirmed or authenticated.

무선 통신 모듈(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 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, 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, for example, connected to the plurality of antennas by the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.

일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one embodiment, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, 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 of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 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 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, 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 (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

도 2는 실시 예에 따른 전자 장치의 블록도(200) 이다.Figure 2 is a block diagram 200 of an electronic device according to an embodiment.

상기 도 2를 참조하면, 일 실시 예에 따르면, 전자 장치(201)는, 프로세서(220), 메모리(230), 디스플레이(260), 카메라(280) 및 통신 모듈(290)을 포함할 수 있다.Referring to FIG. 2, according to one embodiment, the electronic device 201 may include a processor 220, a memory 230, a display 260, a camera 280, and a communication module 290. .

상기 도 2에 도시된 전자 장치(301)의 구성요소 중 적어도 일부는 도 1의 전자 장치(101))의 구성요소와 동일 또는 유사할 수 있으며, 이하, 중복되는 설명은 생략한다.At least some of the components of the electronic device 301 shown in FIG. 2 may be the same or similar to the components of the electronic device 101 shown in FIG. 1, and overlapping descriptions will be omitted below.

일 실시 예에 따르면, 프로세서(220)는, 도 1의 프로세서(120)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the processor 220 may be implemented substantially the same as or similar to the processor 120 of FIG. 1.

일 실시 예에 따르면, 상기 메모리(230)는, 실행 시에, 상기 프로세서(220)가, 이미지 파일의 생성을 확인할 때, 상기 이미지 파일을 메타 데이터가 저장되지 않은 제1 이미지 파일로 확인하면, 상기 제1 이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고, 상기 생성된 고유 키 값과 상기 생성된 날짜 및 시간 정보를 매칭하여 저장하도록 하는 인스트럭션들을 저장할 수 있다.According to one embodiment, when the memory 230 is executed, when the processor 220 confirms the creation of an image file, if the image file is identified as a first image file in which metadata is not stored, Instructions for generating a unique key value and shooting date and time information of the first image file, and matching and storing the generated unique key value and the generated date and time information may be stored.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일의 생성을 확인 하면, 상기 이미지 파일에 대한 스캔 및/파싱을 통해 상기 이미지 파일에 메타 데이터의 저장여부를 확인하고, 상기 이미지 파일에 메타 데이터가 저장되어 있지 않으면, 상기 이미지 파일을 메타 데이터가 저장되지 않은 제1 이미지 파일로 확인하도록 할 수 있다.According to one embodiment, when the processor 220 confirms the creation of the image file, the instructions check whether metadata is stored in the image file by scanning and/parsing the image file, and If metadata is not stored in the image file, the image file can be confirmed as a first image file in which metadata is not stored.

일 실시 예에 따르면, 메타 데이터가 저장되지 않은 제1 이미지 파일은 메타 데이터가 저장되지 않은 파일 포맷을 가지는 이미지 파일을 나타내며, 예를 들어, gif(graphics interchange format)파일 및/또는 png(portable network graphics)파일을 포함할 수 있다.According to one embodiment, the first image file in which metadata is not stored represents an image file having a file format in which metadata is not stored, for example, a gif (graphics interchange format) file and/or a png (portable network) file. graphics) file.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성하도록 할 수 있다. According to one embodiment, the instructions may cause the processor 220 to generate a unique key value by applying a byte code corresponding to the contents of the first image file to a hash algorithm.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보와 상기 제1 이미지의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보에 따라 상기 제1 이미지 파일의 생성 날짜 및 시간 정보, 또는 상기 제1 이미지의 수정 날짜 및 시간 정보 중 하나를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, the instructions are executed when the processor 220 checks the creation date and time information of the first image file and the modification date and time information of the first image, and executes the first image file according to priority information. One of the creation date and time information of the image file or the modification date and time information of the first image may be generated as the shooting date and time information of the first image.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, when the processor 220 checks the creation date and time information of the first image file, the instructions set the creation date and time information of the first image file to the capture date of the first image. and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, when the processor 220 checks the modification date and time information of the first image file, the instructions set the modification date and time information of the first image file to the capture date of the first image. and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)의 DB(231)에 포함된 제2 테이블(231b)에 저장된 상기 제1 이미지 파일의 생성 날짜 및 시간 정보 또는 수정 날짜 및 시간 정보를 검출하여 상기 제1 이미지 파일의 촬영 날짜 및 시간 정보로 생성하고, 상기 메모리(230)의 DB(231)에 포함된 제1 테이블(231a)에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장하도록 할 수 있다.According to one embodiment, the instructions are the creation date and time information or modification date of the first image file stored in the second table 231b included in the DB 231 of the memory 230 by the processor 220. And time information is detected and generated as shooting date and time information of the first image file, and the first table 231a included in the DB 231 of the memory 230 is generated for the first image file. You can save the unique key value by matching the shooting date and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)에 포함된 제2 DB(미도시)에 저장된 상기 제1 이미지 파일의 생성 날짜 및 시간 정보 또는 수정 날짜 및 시간 정보를 검출하여 상기 제1 이미지 파일의 촬영 날짜 및 시간 정보로 생성하고, 상기 메모리(230)의 제1 DB( 미도시)에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장하도록 할 수 있다.According to one embodiment, the instructions are such that the processor 220 provides creation date and time information or modification date and time information of the first image file stored in the second DB (not shown) included in the memory 230. Detected and generated as the shooting date and time information of the first image file, and matched with the unique key value generated for the first image file in the first DB (not shown) of the memory 230 and the shooting date and time information You can save it by doing so.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 클라우드와 동기화하여 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 상기 클라우드에 백업하도록 할 수 있다. 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 백업함에 따라, 특정 주기등의 정책에 의해 DB가 업데이트되어 전자 장치에서 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보가 삭제되더라도 상기 클라우드에 백업된 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 사용하도록 할 수 있다.According to one embodiment, the instructions may cause the processor 220 to synchronize with the cloud and back up the unique key value and/or shooting date and time information generated for the first image file to the cloud. As the unique key value and/or shooting date and time information generated for the first image file is backed up to the cloud, the DB is updated according to a policy such as a specific cycle, and the unique key value generated for the first image file in the electronic device is updated. Even if the key value and/or shooting date and time information are deleted, the unique key value and/or shooting date and time information generated for the first image file backed up in the cloud can be used.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 이미지 파일의 내용에 대응되는 바이트 코드(byte code) 자체를 해시 알고리즘에 적용하여 고유 키 값을 생성하였기 때문에, 상기 제1 이미지 파일이 편집되거나, 또는 외부 전자 장치 또는 상기 전자 장치 내에서 복사 이동이 되어도, 고유 키 값이 유일함으로 상기 제1 이미지 파일을 위해 생성된 촬영 날짜 및 시간 정보를 변경 없이 유지하도록 할 수 있다.According to one embodiment, the instructions are because the processor 220 generates a unique key value by applying the byte code itself corresponding to the contents of the image file to a hash algorithm, so that the first image file is Even if it is edited, copied or moved to an external electronic device or within the electronic device, the shooting date and time information generated for the first image file can be maintained without change because the unique key value is unique.

일 실시 예에 따르면, 상기 메모리(230)는, 실행 시에, 상기 프로세서(220)가, 이미지 파일의 생성을 확인할 때, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일로 확인하면, 상기 제2 이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고, 상기 생성된 고유 키 값과 상기 생성된 날짜 및 시간 정보를 매칭하여 저장하도록 하는 인스트럭션들을 저장 할 수 있다.According to one embodiment, the memory 230, upon execution, when the processor 220 confirms the creation of an image file, the image file is stored in a format that does not include the capture date and time information in the metadata. 2 When confirmed as an image file, instructions are stored to generate a unique key value and shooting date and time information of the second image file, and to match and store the generated unique key value and the generated date and time information. You can.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일의 생성을 확인 하면, 상기 이미지 파일에 대한 스캔 및/파싱을 통해 상기 이미지 파일에 메타 데이터의 저장여부를 확인하고, 상기 이미지 파일에 메타 데이터가 저장되어 있으면, 상기 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있는지 확인하고, 상기 메타 데이터에 상기 촬영 날짜 및 시간 정보가 포함되어 있지 않으면, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일로 확인하도록 할 수 있다.According to one embodiment, when the processor 220 confirms the creation of the image file, the instructions check whether metadata is stored in the image file by scanning and/parsing the image file, and If metadata is stored in the image file, check whether the metadata includes the capture date and time information, and if the metadata does not contain the capture date and time information, capture the image file in the metadata You can check with a second image file that does not contain date and time information.

일 실시 예에 따르면, 상기 제2 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으나 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the second image file represents an image file that has a file format in which metadata is stored, but does not include shooting date and time information in the metadata, for example, the image file is captured in the metadata. Can include jpeg (joint photographic experts group) files that do not contain date and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일의 내용에 대응된 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성하도록 할 수 있다.According to one embodiment, the instructions may cause the processor 220 to generate a unique key value by applying a byte code corresponding to the contents of the second image file to a hash algorithm.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 상기 제2 이미지의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보를 기반으로 상기 제2 이미지 파일의 생성 날짜 및 시간 정보 또는 상기 제2 이미지의 수정 날짜 및 시간 정보 중 하나를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, the instructions are executed when the processor 220 checks the creation date and time information of the second image file and the modification date and time information of the second image, based on priority information. 2 One of the creation date and time information of the image file or the modification date and time information of the second image may be generated as the shooting date and time information of the second image.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, when the processor 220 checks the creation date and time information of the second image file, the instructions set the creation date and time information of the second image file to the capture date of the second image. and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성하도록 할 수 있다.According to one embodiment, when the processor 220 checks the modification date and time information of the second image file, the instructions set the modification date and time information of the second image file to the capture date of the second image. and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)의 DB(231)에 포함된 제2 테이블(231b)에 저장된 상기 제2 이미지 파일의 생성 날짜 및 시간 정보 또는 수정 날짜 및 시간 정보를 검출하여 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하고, 상기 메모리(230)의 DB(231)에 포함된 제1 테이블(231a)에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장하도록 할 수 있다.According to one embodiment, the instructions are provided by the processor 220 to the creation date and time information or modification date of the second image file stored in the second table 231b included in the DB 231 of the memory 230. And time information is detected and generated as shooting date and time information of the second image file, and the first table 231a included in the DB 231 of the memory 230 is generated for the second image file. You can save the unique key value by matching the shooting date and time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)에 포함된 제2 DB(미도시)에 저장된 상기 제2 이미지 파일의 생성 날짜 및 시간 정보 또는 수정 날짜 및 시간 정보를 검출하여 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하고, 상기 메모리(230)의 제1 DB(미도시)에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장하도록 할 수 있다.According to one embodiment, the instructions are such that the processor 220 provides creation date and time information or modification date and time information of the second image file stored in the second DB (not shown) included in the memory 230. Detected and generated as the shooting date and time information of the second image file, and matched with the unique key value generated for the second image file in the first DB (not shown) of the memory 230 and the shooting date and time information You can save it by doing so.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 클라우드와 동기화하여 상기 제2 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 상기 클라우드에 백업하도록 할 수 있다. 상기 제2 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 백업함에 따라, 특정 주기등의 정책에 의해 DB가 업데이트되어 전자 장치에서 상기 제2 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보가 삭제되더라도 상기 클라우드에 백업된 상기 제1 이미지 파일을 위해 생성된 고유 키값 또는 촬영 날짜 및 시간 정보를 사용할 수 있다.According to one embodiment, the instructions may cause the processor 220 to synchronize with the cloud and back up the unique key value and/or shooting date and time information generated for the second image file to the cloud. As the unique key value and/or shooting date and time information generated for the second image file are backed up to the cloud, the DB is updated according to a policy such as a specific cycle, and the unique key value generated for the second image file in the electronic device is updated. Even if the key value and/or shooting date and time information are deleted, the unique key value or shooting date and time information generated for the first image file backed up in the cloud can be used.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 이미지 파일의 내용에 대응되는 바이트 코드(byte code) 자체를 해시 알고리즘에 적용하여 고유 키 값을 생성하였기 때문에, 상기 제2 이미지 파일이 편집되어나, 또는 외부 전자 장치 또는 상기 전자 장치 내에서 복사 이동이 되어도, 고유 키 값이 유일함으로 상기 제2 이미지 파일을 위해 생성된 촬영 날짜 및 시간 정보를 변경 없이 유지하도록 할 수 있다.According to one embodiment, the instructions are because the processor 220 generates a unique key value by applying the byte code itself corresponding to the contents of the image file to a hash algorithm, so that the second image file Even if it is edited, copied or moved to an external electronic device or within the electronic device, the shooting date and time information generated for the second image file can be maintained without change because the unique key value is unique.

일 실시 예에 따르면, 상기 메모리(230)는, 실행 시에 상기 프로세서(220)가, 이미지 파일의 생성을 확인할 때, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 제3 이미지 파일로 확인하면, 상기 제3 이미지 파일의 메타 데이터로 포함된 촬영 날짜 및 시간 정보를 검출하여 저장하도록 하는 인스트럭션들을 저장할 수 있다.According to one embodiment, when the processor 220 confirms the creation of an image file during execution, the memory 230 converts the image file into a third image file that includes the shooting date and time information in metadata. If confirmed, instructions for detecting and storing the shooting date and time information included as metadata of the third image file can be stored.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일의 생성을 확인 하면, 상기 이미지 파일에 대한 스캔 및/파싱을 통해 상기 이미지 파일에 메타 데이터의 저장여부를 확인하고, 상기 이미지 파일에 메타 데이터가 저장되어 있으면, 상기 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있는지 확인하고, 상기 메타 데이터에 상기 촬영 날짜 및 시간 정보가 포함되어 있으면, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 제3 이미지 파일로 확인하도록 할 수 있다.According to one embodiment, when the processor 220 confirms the creation of the image file, the instructions check whether metadata is stored in the image file by scanning and/parsing the image file, and If metadata is stored in the image file, check whether the metadata includes the capture date and time information, and if the metadata contains the capture date and time information, then check whether the image file contains the capture date and time information in the metadata. and a third image file containing time information.

일 실시 예에 따르면, 상기 제3 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으며 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the third image file represents an image file that has a file format in which metadata is stored and includes capture date and time information in the metadata, for example, the capture date and time information in the metadata. Can include a jpeg (joint photographic experts group) file containing time information.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)의 DB(231)에 포함된 제1 테이블(231a)과 제2 테이블(231b) 중 상기 제2 테이블(231b)에 상기 제3 이미지 파일에서 메타 데이터로 검출한 촬영 날짜 및 시간 정보를 저장하도록 할 수 있다.According to one embodiment, the instructions are stored by the processor 220 in the second table 231b among the first table 231a and the second table 231b included in the DB 231 of the memory 230. The shooting date and time information detected as metadata in the third image file can be stored.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메모리(230)에 포함된 제1 DB(미도시)와 제2 DB(미도시) 중 상기 제2 DB에 상기 제3 이미지 파일에서 메타 데이터로 검출한 촬영 날짜 및 시간 정보를 저장도록 할 수 있다.According to one embodiment, the instructions are executed by the processor 220 in the third image file in the second DB among the first DB (not shown) and the second DB (not shown) included in the memory 230. You can save the detected shooting date and time information as metadata.

일 실시 예에 따르면, 상기 메모리(230)는, 실행 시에, 상기 프로세서(220)가, 전자 장치의 제1 상태를 확인할 때, 메모리의 파일 시스템에 저장된 이미지 파일들 중 제1 이미지 파일 및/또는 제2 이미지 파일을 검출하고, 상기 제1 이미지 파일 및/또는 상기 제2 이미지 파일에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고, 상기 메모리(230)의 DB(231)의 제1 테이블(231a)에 상기 생성된 고유 키 값과 상기 생성된 촬영 날짜 및 시간 정보를 매칭하여 저장하도록 하는 인스트럭션들을 저장 할 수 있다.According to one embodiment, when the memory 230 is executed, when the processor 220 checks the first state of the electronic device, the memory 230 selects a first image file among image files stored in the file system of the memory and/ or detecting a second image file, generating a unique key value and shooting date and time information for the first image file and/or the second image file, and Instructions for matching and storing the generated unique key value and the generated shooting date and time information can be stored in the table 231a.

일 실시 예에 따르면, 상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함할 수 있다. 상기 전자 장치의 제1 상태에서 상기 제1 이미지 및/또는 상기 제2 이미지에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고 저장함에 따라, 파일 용량이 큰 이미지 파일 또는 동영상 파일의 처리 시간에 대한 부담을 줄일 수 있다.According to one embodiment, the first state of the electronic device may include at least one of a charging state or a state in which the display screen of the electronic device is off. As the unique key value and shooting date and time information for the first image and/or the second image are generated and stored in the first state of the electronic device, the processing time of an image file or video file with a large file size is increased. can reduce the burden.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 파일의 용량에 따라 전자 장치의 제1 상태일 때 또는 파일의 생성을 확인할 때를 구분하여 상기 제1 이미지 및/또는 상기 제2 이미지에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고 저장하도록 할 수 있다, 예를 들어, 상기 인스트럭션들은 상기 프로세서(220)가, 파일의 용량이 임계 값 이하이면 파일의 생성을 확인할 때 상기 제1 이미지 및/또는 상기 제2 이미지에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고 저장하고, 상기 파일의 용량이 상기 임계 값 이상이면 전자 장치의 제1 상태일 때 상기 제1 이미지 및/또는 상기 제2 이미지에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고 저장하도록 할 수 있다.According to one embodiment, the instructions allow the processor 220 to distinguish between when the electronic device is in the first state or when the creation of a file is confirmed, depending on the capacity of the file, and output the first image and/or the second image. A unique key value and shooting date and time information can be generated and stored. For example, the instructions are executed when the processor 220 confirms the creation of a file if the file size is less than a threshold value. Generate and store a unique key value and shooting date and time information for the first image and/or the second image, and if the capacity of the file is greater than or equal to the threshold value, the first image and/or the second image are stored in the first state of the electronic device. Alternatively, unique key value and shooting date and time information for the second image may be generated and stored.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 메타 데이터가 저장된 DB를 관리하는 제1 프로바이더(예: 미디어 프로바이더)와 상기 전자 장치에 포함된 어플리케이션 중 특정 어플리케이션에게 제공한 정보가 저장된 DB를 관리하는 제2 프로바이더(예: 제품 회사에서 제공하는 특정 미디어 프로바이더)를 제어하여, 상기 제1 프로바이터에서 관리하는 DB를 상기 제2 프로바이더에서 관리하는 DB와 싱크하여 동일한 정보가 저장될 수 있도록 할 수 있다. According to one embodiment, the instructions are information provided by the processor 220 to a first provider (e.g., media provider) that manages the DB in which metadata is stored and to a specific application among applications included in the electronic device. Controls a second provider (e.g., a specific media provider provided by a product company) that manages the stored DB, and synchronizes the DB managed by the first provider with the DB managed by the second provider. The same information can be stored.

일 실시 예에 따르면, 상기 제1 프로바이더(예: 미디어 프로바이더)는, 메모리(230)의 파일 시스템에 저장된 이미지 파일들을 스캔 및/또는 파싱하여 상기 이미지 파일의 촬영 날짜 및 시간 정보가 저장된 상기 메모리의 DB를 관리할 수 있으며, 상기 전자 장치에 포함된 적어도 하나의 어플리케이션의 요청에 따라 상기 DB에 저장된 상기 이미지 파일의 촬영 날짜 및 시간 정보를 제공할 수 있다.According to one embodiment, the first provider (e.g., media provider) scans and/or parses image files stored in the file system of the memory 230 and stores the shooting date and time information of the image file. A DB in memory can be managed, and information on the capture date and time of the image file stored in the DB can be provided upon request from at least one application included in the electronic device.

일 실시 예에 따르면, 상기 제2 프로바이더(예: 제품 회사에서 제공하는 특정 미디어 프로바이더)는, 상기 전자 장치에 포함된 어플리케이션 중 특정 어플리케이션에서 요청하는 특정 정보를 제공하고, 상기 제1 프로바이더가 관리하는 상기 메모리(230)의 DB(231)의 제1 테이블(231a)에 저장된 고유 키 값과 촬영 날짜 및 시간 정보를 상기 제2 프로바이더에서 관리는 별도의 DB의 업데이트 할 수 있다. 상기 메모리(230)의 DB(231)의 제1 테이블(231a)에 저장된 고유 키 값과 촬영 날짜 및 시간 정보가 상기 제2 프로바이더에서 관리는 별도의 DB에 저장됨에 따라 상기 특정 어플리케이션은 제1 프로바이더에서 촬영 날짜 및 시간 정보를 요청하고 상기 제2 프로바이더에게 특정 정보를 요청하는 복수의 동작 없이, 상기 제2 프로바이더로 촬영 날짜 및 시간정보와 특정 정보를 요청할 수 있다. 또한 상기 메모리(230)의 DB(231)의 제1 테이블(231a)에 저장된 고유 키 값과 촬영 날짜 및 시간 정보가 삭제되더라도 동기화된 상기 제2 프로바이더에서 관리는 별도의 DB에 저장된 고유 키 값과 촬영 날짜 및 시간 정보를 사용할 수 있다.According to one embodiment, the second provider (e.g., a specific media provider provided by a product company) provides specific information requested by a specific application among applications included in the electronic device, and the first provider The unique key value and shooting date and time information stored in the first table 231a of the DB 231 of the memory 230 managed by the second provider can be managed in a separate DB. As the unique key value and the shooting date and time information stored in the first table 231a of the DB 231 of the memory 230 are stored in a separate DB managed by the second provider, the specific application is stored in the first table 231a. Without multiple operations of requesting shooting date and time information from the provider and requesting specific information from the second provider, shooting date and time information and specific information can be requested from the second provider. In addition, even if the unique key value and the shooting date and time information stored in the first table 231a of the DB 231 of the memory 230 are deleted, the synchronized second provider manages the unique key value stored in a separate DB. and shooting date and time information are available.

일 실시 예에 따르면, 상기 메모리(230)의 실행 시에, 상기 프로세서(220)가, 이미지 파일 표시의 요청을 확인하면, 메모리(230)의 파일 시스템에 저장된 적어도 하나의 이미지 파일에 대한 촬영 날짜 및 시간 정보를 기반으로, 상기 적어도 하나의 이미지 파일을 정렬하여 디스플레이(260)에 표시하도록 하는 인스트럭션들을 저장 할 수 있다.According to one embodiment, when the memory 230 is executed, if the processor 220 confirms a request to display an image file, the shooting date for at least one image file stored in the file system of the memory 230 is displayed. And based on time information, instructions for sorting the at least one image file and displaying it on the display 260 may be stored.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일 표시의 요청에 따라 상기 메모리(230)의 파일 시스템에 저장된 적어도 하나의 이미지 파일 중 제1 이미지 파일을 확인하면, 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유 키 값을 생성하도록 할 수 있다. 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일을 위해 생성된 고유 키 값이 상기 메모리(230)의 DB의 제1 테이블(231a)에 저장되어 있음을 확인하면, 상기 제1 테이블(231a)에서 상기 제1 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다. 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제1 이미지 파일을 위해 생성된 고유 키 값이 상기 메모리(230)의 제1 DB(미도시)에 저장되어 있음을 확인하면, 상기 제1 DB에서 상기 제1 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다.According to one embodiment, the instructions are executed when the processor 220 identifies a first image file among at least one image file stored in the file system of the memory 230 in response to a request for displaying the image file. 1 The byte code corresponding to the contents of the image file can be applied to the hash algorithm to generate a unique key value. The instructions are executed when the processor 220 confirms that the unique key value generated for the first image file is stored in the first table 231a of the DB of the memory 230, the first table ( In 231a), the stored shooting date and time information can be detected by matching the unique key value generated for the first image file. The instructions are executed when the processor 220 confirms that the unique key value generated for the first image file is stored in the first DB (not shown) of the memory 230. The stored shooting date and time information can be detected by matching the unique key value generated for the first image file.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일 표시의 요청에 따라 상기 메모리(230)의 파일 시스템에 저장된 적어도 하나의 이미지 파일 중 제2 이미지 파일을 확인하면, 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유 키 값을 생성하도록 할 수 있다. 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일을 위해 생성된 고유 키 값이 상기 메모리(230)의 DB의 제1 테이블(231a)에 저장되어 있음을 확인하면, 상기 제1 테이블(231a)에서 상기 제2 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다. 상기 인스트럭션들은 상기 프로세서(220)가, 상기 제2 이미지 파일을 위해 생성된 고유 키 값이 상기 메모리(230)의 제1 DB(미도시)에 저장되어 있음을 확인하면, 상기 제1 DB에서 상기 제2 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다.According to one embodiment, the instructions are executed when the processor 220 identifies a second image file among at least one image file stored in the file system of the memory 230 in response to a request for displaying the image file. 2 The byte code corresponding to the contents of the image file can be applied to the hash algorithm to generate a unique key value. The instructions are executed when the processor 220 confirms that the unique key value generated for the second image file is stored in the first table 231a of the DB of the memory 230, the first table ( In 231a), the stored shooting date and time information can be detected by matching the unique key value generated for the second image file. The instructions are executed when the processor 220 confirms that the unique key value generated for the second image file is stored in the first DB (not shown) of the memory 230. The stored shooting date and time information can be detected by matching the unique key value generated for the second image file.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 상기 이미지 파일 표시의 요청에 따라 상기 메모리(230)의 파일 시스템에 저장된 적어도 하나의 이미지 파일 중 제3 이미지 파일을 확인하면, 상기 메모리(230)의 DB(231)의 제2 테이블(231b)에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다. 상기 인스트럭션들은 상기 프로세서(220)가, 상기 적어도 하나의 이미지 파일 중 상기 제3 이미지 파일을 확인하면, 상기 메모리(230)의 제2 DB(미도시)에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하도록 할 수 있다.According to one embodiment, the instructions are executed when the processor 220 identifies a third image file among at least one image file stored in the file system of the memory 230 in response to a request for displaying the image file. The shooting date and time information of the third image file can be detected from the second table 231b of the DB 231 at 230. When the processor 220 confirms the third image file among the at least one image file, the instructions are stored in the second DB (not shown) of the memory 230, including the capture date and time of the third image file. Information can be detected.

일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서(220)가, 하기 <표 1>과 같이 다양한 해시 알고리즘을 이용하여 제1 이미지 파일 및/또는 제2 파일의 내용에 대응되는 바이트 코드(byte code)을 해싱하여 고유 키 값을 생성하도록 할 수 있다.According to one embodiment, the instructions are used by the processor 220 to generate byte codes corresponding to the contents of the first image file and/or the second file using various hash algorithms as shown in <Table 1> below. You can hash it to generate a unique key value.

file size: 246,271,827 byte
goodFastHash: 1602ms => 5b02dccbbb1c8ec1de4eae2571924f027bca958a2c0e9378a405ffefdaeb0136
sha256: 268ms => 4688a198ecdd65746aaf22ea89194e9cdd53444be383ea4d143d06208ba38276
md5: 633ms => cc7540d8708db660e8b7763ddb9323da
murmur3_128: 866ms => 23346183c4ef952dad7e134a5fad106f
murmur3_32: 632ms => 497e4779
file size: 246,271,827 bytes
goodFastHash: 1602ms => 5b02dccbbb1c8ec1de4eae2571924f027bca958a2c0e9378a405ffefdaeb0136
sha256: 268ms => 4688a198ecdd65746aaf22ea89194e9cdd53444be383ea4d143d06208ba38276
md5: 633ms => cc7540d8708db660e8b7763ddb9323da
murmur3_128: 866ms => 23346183c4ef952dad7e134a5fad106f
murmur3_32: 632ms => 497e4779

상기 인스트럭션들은 상기 프로세서(220)가, 상기 <표 1>에서와 같이, 220MB의 파일 용량을 가지는 이미지 파일이 해시 알고리즘인 sha256에 적용되는 경우 268ms 정도 소요시간으로 고유 키 값(예: 4688a198ecdd65746aaf22ea89194e9cdd53444be383ea4d1The instructions allow the processor 220 to generate a unique key value (e.g., 4688a198ecdd65746aaf22ea89194e9cdd53444be383ea4d1) in about 268ms when an image file with a file size of 220MB is applied to the hash algorithm sha256, as shown in <Table 1>.

43d06208ba 38276)이 생성할 수 있다. 따라서 일반적으로 10MB의 파일 용량을 가지는 이미지 파일의 경우 전자 장치의 환경에서 무리 없이 고유 키가 생성될 수 있다. 또한 상기 인스트럭션들은 상기 프로세서(220)가, 다양한 용량을 가지는 동영상 파일의 경우, 파일의 생성 시점이 아닌 전자 장치의 제1 상태(예: 충전 상태 또는 전자 장치의 디스플레이 화면이 오프인 상태)에서 고유 키를 생성할 수 있다.43d06208ba 38276) can be created. Therefore, in the case of an image file with a file size of generally 10MB, a unique key can be generated without difficulty in the electronic device environment. In addition, in the case of video files having various capacities, the processor 220 is unique in the first state of the electronic device (e.g., in a charging state or in a state where the display screen of the electronic device is off) rather than at the time of file creation. You can generate a key.

일 실시 예에 따르면, 메모리(230)는, 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the memory 230 may be implemented substantially the same as or similar to the memory 130 of FIG. 1 .

일 실시 예에 따르면, 상기 메모리(230)에 DB(231)가 포함되고, 상기 DB(231)에는 제1 테이블(231a)과 제2 테이블(231b)이 저장될 수 있다. 상기 제1 테이블(231a)에는 제1 이미지 및/또는 제2 이미지를 위한 고유 키 값 및 상기 고유 키 값과 매칭되어 저장된 촬영 날짜 및 시간 정보가 저장될 수 있다. 상기 제2 테이블(231b)에는 제3 이미지의 촬영 날짜 및 시간 정보가 저장될 수 있다.According to one embodiment, the memory 230 includes a DB 231, and the first table 231a and the second table 231b may be stored in the DB 231. The first table 231a may store a unique key value for the first image and/or the second image and information on the date and time of shooting that is stored by matching the unique key value. Information on the capture date and time of the third image may be stored in the second table 231b.

일 실시 예에 따르면, 상기 메모리(230)에 제1 DB(미도시)와 제2 DB(미도시)가 포함될 수 있다. 상기 제1 DB(미도시)에는 제1 이미지 및/또는 제2 이미지를 위한 고유 키 값 및 상기 고유 키 값과 매칭되어 저장된 촬영 날짜 및 시간 정보가 저장될 수 있다. 상기 제2 DB(미도시)에는 제3 이미지의 촬영 날짜 및 시간 정보가 저장될 수 있다.According to one embodiment, the memory 230 may include a first DB (not shown) and a second DB (not shown). The first DB (not shown) may store a unique key value for the first image and/or the second image and information on the date and time of shooting that is stored by matching the unique key value. Information on the capture date and time of the third image may be stored in the second DB (not shown).

일 실시 예에 따르면, 디스플레이(260)는, 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the display 260 may be implemented substantially the same as or similar to the display module 160 of FIG. 1.

일 실시 예에 따르면, 상기 디스플레이(260)에, 이미지 파일의 표시 요청에 따라 메모리(230)의 파일 시스템에 저장된 적어도 하나의 이미지 파일이 촬영 날짜 및 시간 정보를 기반으로 표시될 수 있다.According to one embodiment, at least one image file stored in the file system of the memory 230 may be displayed on the display 260 based on the capture date and time information in response to a request to display the image file.

일 실시 예에 따르면, 카메라(280)는, 도 1의 카메라 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the camera 280 may be implemented substantially the same as or similar to the camera module 180 of FIG. 1.

일 실시 예에 따르면, 통신 모듈(290)은, 도 1의 통신 모듈(190)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 서로 다른 통신 기술을 사용하는 복수의 통신 회로를 포함할 수 있다. According to one embodiment, the communication module 290 may be implemented substantially the same as or similar to the communication module 190 of FIG. 1 and may include a plurality of communication circuits using different communication technologies.

일 실시 예에 따르면, 통신 모듈(290)은, 무선랜 모듈(미도시)과 근거리통신 모듈(미도시) 중 적어도 하나를 포함할 수 있으며, 상기 근거리통신 모듈(미도시)로 UWB(ultra wide band) 통신 모듈, Wi-Fi 통신 모듈, NFC 통신 모듈, 블루투스 레거시(legacy) 통신 모듈 및/또는 BLE통신 모듈을 포함할 수 있다.According to one embodiment, the communication module 290 may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown), and the short-range communication module (not shown) may be used to band) communication module, Wi-Fi communication module, NFC communication module, Bluetooth legacy communication module, and/or BLE communication module.

도 3은 일 실시 예에 따른 전자 장치에서 이미지 파일의 고유 키를 생성하는 동작을 설명하기 위한 도면(300)이다.FIG. 3 is a diagram 300 for explaining an operation of generating a unique key for an image file in an electronic device according to an embodiment.

상기 도 3을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일(310)의 내용에 대응되는 바이트 코드(313)을 해시 함수(315)에 적용하여 상기 제2 이미지 파일(310)의 고유 키 값(317)( 1k2s9Fk19zMdos…)을 생성할 수 있다. 상기 전자 장치는, 상기 생성된 고유 키 값은 하기 <표 2>와 같이 상기 전자 장치의 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))의 제1 테이블(예: 도 2의 제1 테이블(231a))에 저장할 수 있다.Referring to FIG. 3, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) displays a second image that does not include shooting date and time information in the metadata. The byte code 313 corresponding to the contents of the file 310 can be applied to the hash function 315 to generate a unique key value 317 (1k2s9Fk19zMdos...) of the second image file 310. In the electronic device, the generated unique key value is stored in the DB (e.g., DB 231 in FIG. 2) of the memory (e.g., memory 230 in FIG. 2) of the electronic device as shown in Table 2 below. It can be stored in one table (e.g., the first table 231a in FIG. 2).

Unique KeyUnique Key Date-takenDate-taken GPS CoordinateGPS Coordinate ...... 1k2s9Fk19zMdos…1k2s9Fk19zMdos… 2022-04-01 16:01 +09:002022-04-01 16:01 +09:00 123.456 / 789.012123.456 / 789.012 ...... d192flkfj10939fj…d192flkfj10939fj… 2022-04-01 16:02 +09:002022-04-01 16:02 +09:00 214.590 / 21.907214.590 / 21.907 ...... zZod8f020112…zZod8f020112… 2020-12-06 00:01 +09:002020-12-06 00:01 +09:00 782.354 / 907.413782.354 / 907.413 ...... Udkro02dfkKdf9..Udkro02dfkKdf9.. 2021-01-30 09:02 +09:002021-01-30 09:02 +09:00 213.978 / 657.290213.978 / 657.290 ...... kluJHkgLGl9090J…kluJHkgLGl9090J… 2022-05-04 16:01 +09:002022-05-04 16:01 +09:00 68.478 / 856.5468.478 / 856.54 ...... ...... ...... ...... ......

상기 <표 2>에서와 같이, 상기 전자 장치는, 상기 제1 테이블과 같이 고유 키(unique key)에 매칭하여 촬영 날짜 및 시간 정보를 저장하고, 상기 촬영 날짜 및 시간 정보외에 촬영한 위치 정보를 알 수 있는 GPS 좌표 정보(GPS Coordinate)와 같이 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 촬영과 관련된 정보들을 추가적으로 저장할 수 있다. As shown in <Table 2>, the electronic device stores the shooting date and time information by matching a unique key as in the first table, and stores the shooting location information in addition to the shooting date and time information. Information related to the shooting of the first image file or the second image file, such as knowable GPS coordinate information, may be additionally stored.

도 4a 내지 도 4b는 일 실시 예에 따른 전자 장치에서 이미지 파일의 촬영 날짜 및 시간 정보가 유지되는 동작을 설명하기 위한 도면들(400a 내지 400b) 이다.FIGS. 4A and 4B are diagrams 400a and 400b for explaining an operation of maintaining the capture date and time information of an image file in an electronic device according to an embodiment.

상기 도 4a를 참조하면, 일반적인 전자 장치는, 메타 데이터가 저장되지 않은 제1 이미지 파일(410)이 2022년 5월 10일 오전 10시 43분에 촬영(생성)된 경우, 제1 이미지 파일(410)의 생성 날짜 및 시간 정보(예: 2022년 5월 10일 오전 10시 43분)(411)을 기반으로 상기 제1 이미지 파일(410)을 정렬하여 표시할 수 있다. 상기 전자 장치는, 상기 제1 이미지 파일(410)이 복사되는 경우, 상기 제1 이미지 파일(410)이 복사 된 날짜 및 시간 정보(예: 2022년 5월 10일 오전 10시 49분)(413)을 기반으로 상기 제1 이미지 파일(410)을 정렬하여 표시할 수 있다.Referring to FIG. 4A, in a general electronic device, when the first image file 410 without metadata is captured (created) at 10:43 am on May 10, 2022, the first image file ( The first image file 410 may be sorted and displayed based on the creation date and time information (e.g., 10:43 am on May 10, 2022) (411). When the first image file 410 is copied, the electronic device records the date and time information at which the first image file 410 was copied (e.g., 10:49 a.m. on May 10, 2022) (413). ) The first image file 410 can be sorted and displayed based on.

상기 도 4b를 참조하면, 본 개시에 따른 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 메타 데이터가 저장되지 않은 제1 이미지 파일(430)이 2022년 5월 10일 오전 10시 43분에 촬영(생성)된 경우, 해시 알고리즘을 이용하여 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)(431)을 해시 알고리즘에 적용하여 고유 키 값(433)를 생성하고, 상기 제1 이미지 파일(430)의 생성 날짜 및 시간 정보(예: 2022년 5월 10일 오전 10시 43분)을 상기 제1 이미지 파일의 촬영 날짜 및 시간 정보(435)로 생성하고, 상기 생성된 고유 키 값(433) 및 상기 촬영 날짜 및 시간 정보(435)를 매칭하여 상기 전자 장치의 DB의 제1 테이블(예: 도 2의 제1 테이블(231a))에 저장하면, 상기 제1 이미지 파일(430)의 촬영 날짜 및 시간 정보(435)을 기반으로 상기 제1 이미지 파일(430)을 정렬하여 표시할 수 있다. 상기 전자 장치는, 상기 제1 이미지 파일(430)이 복사되는 경우, 해시 알고리즘을 이용하여 상기 제1 이미지 파일(430)의 내용에 대응되는 바이트 코드(byte code)(431)을 해싱하여 고유 키 값(433)를 생성하고, 상기 전자 장치의 DB의 제1 테이블(예: 도 3의 제1 테이블(231a)) 에서 상기 고유 키 값(433)과 매칭되어 저장된 촬영 날짜 및 시간 정보(435)를 검출하여, 상기 제1 이미지 파일(430)의 복사 전과 동일한 촬영 날짜 및 시간 정보(435)을 기반으로 상기 제1 이미지 파일(430)를 정렬하여 표시할 수 있다.Referring to FIG. 4B, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) according to the present disclosure includes a first image file 430 in which metadata is not stored. ) was captured (generated) at 10:43 am on May 10, 2022, byte code 431 corresponding to the contents of the first image file is applied to the hash algorithm using a hash algorithm. A unique key value 433 is generated, and the creation date and time information of the first image file 430 (e.g., 10:43 a.m. on May 10, 2022) is combined with the shooting date and time of the first image file. Time information 435 is generated, and the generated unique key value 433 and the shooting date and time information 435 are matched to create a first table (e.g., the first table in FIG. 2) of the DB of the electronic device. When stored in 231a)), the first image file 430 can be sorted and displayed based on the shooting date and time information 435 of the first image file 430. When the first image file 430 is copied, the electronic device hashes the byte code 431 corresponding to the contents of the first image file 430 using a hash algorithm to create a unique key. A value 433 is generated, and the shooting date and time information 435 is stored by matching the unique key value 433 in the first table of the DB of the electronic device (e.g., the first table 231a in FIG. 3). , the first image file 430 can be sorted and displayed based on the same shooting date and time information 435 as before copying the first image file 430.

일 실시 예에 따른 전자 장치(도 1의 전자 장치(101); 도 2의 전자 장치(201))는, 이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보가 매칭되어 저장된 제1 테이블(도 2의 제2 테이블(231a))이 저장된 DB(도 2의 DB(231))를 포함하는 메모리(도 1의 메모리(130); 도 2의 메모리(230)) 및 프로세서(도 1의 프로세서(120); 도 2의 프로세서(220))를 포함할 수 있다.An electronic device (electronic device 101 in FIG. 1; electronic device 201 in FIG. 2) according to an embodiment includes a first table (FIG. 2) in which unique key values of image files are matched and stored with shooting date and time information. A memory (memory 130 in FIG. 1; memory 230 in FIG. 2) and a processor (processor 120 in FIG. 1) including a DB (DB 231 in FIG. 2) in which the second table 231a) is stored. ); may include the processor 220 of FIG. 2).

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하도록하는 인스트럭션을 저장할 수 있다.The memory according to one embodiment may, upon execution, the processor performs the operation based on confirmation of a first image file for which no metadata is stored or a second image file for which the metadata does not contain shooting date and time information. , an instruction for generating a unique key value for the first image file or the second image file may be stored.

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하고, 상기 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하도록 설정될 수 있다.When the memory according to an embodiment is executed, the processor generates date and time information related to the first image file or the second image file as shooting date and time information, and stores the first table of the DB. It can be set to match and store the unique key value and the generated shooting and date information.

상기 메모리는, 실행 시에, 상기 프로세서가, 이미지 파일의 생성을 확인하면, 상기 생성된 이미지 파일이 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하도록 하는 인스트럭션을 저장할 수 있다.상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치의 제1 상태를 확인하면, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른, 상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함할 수 있다.The memory may store an instruction that, upon execution, allows the processor to check whether the created image file is the first image file or the second image file when the processor confirms the creation of the image file. , When executing, if the processor checks the first state of the electronic device, it may store an instruction to check whether it is the first image file or the second image file. According to one embodiment, the electronic device The first state may include at least one of a state in which the electronic device is charged or a state in which the display screen of the electronic device is turned off.

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 이용하여 상기 고유 키값을 생성하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 상기 프로세서는, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 해시 알고리즘에 적용하여 상기 고유 키값을 생성하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보를 기반으로 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보, 또는 수정 날짜 및 시간 정보를 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 상기 DB 는 촬영 날짜 및 시간 정보가 저장된 제2 테이블을 포함할 수 있다.The memory according to one embodiment may store an instruction that, when executed, causes the processor to generate the unique key value using a byte code corresponding to the contents of the first image file or the second image file. .The processor according to one embodiment may store an instruction for generating the unique key value by applying a byte code corresponding to the contents of the first image file or the second image file to a hash algorithm. One embodiment The memory according to the, when executed, the processor, the date and time information related to the first image file or the second image file, the creation date and time information of the first image file or the second image file When the modification date and time information is confirmed, the creation date and time information of the first image file or the second image file, or the modification date and time information is changed to the first image file or the second image file based on priority information. An instruction for creating an image file with shooting date and time information may be stored. The DB according to one embodiment may include a second table in which shooting date and time information is stored.

일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 이미지 파일에 촬영 날짜 및 시간 정보를 포함하는 메타 데이터가 저장된 제3 이미지 파일을 확인하면 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 상기 제2 테이블에 저장하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 제1 이미지 파일 또는 제2 이미지 파일의 표시 요청을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키 값을 생성하고, 상기 DB의 제1 테이블에 상기 고유 키 값이 존재하면, 상기 고유 키값가 값과 매칭되어 저장된 촬영 날짜 및 시간 정보를 검출하도록 하는 인스트럭션을 저장할 수 있다.일 실시 예에 따른 상기 메모리는, 실행 시에, 상기 프로세서가, 제3 이미지 파일의 표시 요청을 기반으로, 상기 DB의 제2 테이블에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하도록 하는 인스트럭션을 저장할 수 있다.The memory according to one embodiment is, when running, if the processor identifies a third image file in which metadata including the capture date and time information is stored in the image file, the capture date and time information of the third image file is stored. may store an instruction to store in the second table. The memory according to one embodiment is, when executed, the processor, based on a display request of a first image file or a second image file, 1 Generate a unique key value for an image file or the second image file, and if the unique key value exists in the first table of the DB, the unique key value matches the value to detect the stored shooting date and time information The memory according to one embodiment may store an instruction. When executed, the processor may, based on a request to display a third image file, determine the shooting date and Instructions for detecting time information can be stored.

도 5a 내지 도 5b는 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 저장하는 동작을 설명하기 위한 흐름도(500a 내지 500b)이다. 상기 촬영 날짜 및 시간을 저장하는 동작들은 501동작 내지 525동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행되거나, 다른 동작이 추가될 수도 있다.FIGS. 5A and 5B are flowcharts 500a and 500b for explaining an operation of storing shooting date and time information in an electronic device according to an embodiment. Operations for storing the shooting date and time may include operations 501 to 525. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

501 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 이미지 파일의 생성을 확인할 수 있다.In operation 501, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may confirm the creation of an image file.

503동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 이미지 파일에 메타 데이터의 저장여부를 확인할 수 있다.In operation 503, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check whether metadata is stored in the image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지 파일의 스캔 및/또는 파싱 동작을 기반으로 이미지 파일에 메타 데이터의 저장여부를 확인할 수 있다.According to one embodiment, the electronic device may check whether metadata is stored in the image file based on a scanning and/or parsing operation of the image file.

상기 503동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있지 않음을 확인하면, 505동작에서, 상기 이미지 파일을 메타 데이터가 저장되지 않은 제1 이미지 파일로 확인할 수 있다.In operation 503, if the electronic device determines that metadata is not stored in the image file, in operation 505, the electronic device may confirm the image file as a first image file in which metadata is not stored.

일 실시 예에 따르면, 메타 데이터가 저장되지 않은 제1 이미지 파일은 메타 데이터가 저장되지 않은 파일 포맷을 가지는 이미지 파일을 나타내며, 예를 들어, gif(graphics interchange format)파일 및/또는 png(portable network graphics)파일을 포함할 수 있다.According to one embodiment, the first image file in which metadata is not stored represents an image file having a file format in which metadata is not stored, for example, a gif (graphics interchange format) file and/or a png (portable network) file. graphics) file.

507동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일의 고유 키값을 생성할 수 있다.In operation 507, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the first image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the first image file to a hash algorithm.

509동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일의 촬영 날짜 및 시간 정보를 생성할 수 있다.In operation 509, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate capture date and time information of the first image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보와 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보에 따라 상기 제1 이미지 파일의 생성 날짜 및 시간 정보 또는 상기 제1 이미지 파일의 수정 날짜 및 시간 정보 중 하나를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the first image file and the modification date and time information of the first image file, the electronic device generates the first image file according to priority information. One of date and time information or modification date and time information of the first image file may be generated as the shooting date and time information of the first image.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 상기 제1 이미지 파일의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the first image file, the creation date and time information of the first image file is converted into the shooting date and time information of the first image file. can be created.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the modification date and time information of the first image file, it generates the modification date and time information of the first image file as the shooting date and time information of the first image. can do.

511동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.In operation 511, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) matches the unique key value generated for the first image file with the shooting date and time information. You can save it.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))에 포함된 제1 테이블(예: 도 2의 제1 테이블(231a))과 제2 테이블(예: 도 2의 제2 테이블(231b)) 중 상기 제1 테이블에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a first table (e.g., the first table in FIG. 2) included in a DB (e.g., DB 231 in FIG. 2) of a memory (e.g., memory 230 in FIG. 2). The unique key value generated for the first image file and the shooting date and time information can be matched and stored in the first table among the table 231a) and the second table (e.g., the second table 231b in FIG. 2). there is.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))에 포함된 제1 DB와 제2 DB 중 상기 제1 DB에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a unique key value generated for the first image file in the first DB among the first DB and the second DB included in the memory (e.g., memory 230 of FIG. 2). You can match and save the shooting date and time information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 동기화하여 백업할 수 있다.According to one embodiment, the electronic device may synchronize and back up the unique key value and/or shooting date and time information generated for the first image file to the cloud.

상기 503동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있음을 확인하면, 513동작에서, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있는지 확인할 수 있다.In operation 503, if the electronic device confirms that metadata is stored in the image file, in operation 513, the electronic device may check whether the metadata of the image file includes shooting date and time information.

상기 513동작에서, 상기 전자 장치는, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있지 않음을 확인하면, 515동작에서, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일로 확인할 수 있다. In operation 513, if the electronic device determines that the metadata of the image file does not include the capture date and time information, in operation 515, the electronic device includes the capture date and time information in the metadata of the image file. You can check it with the second image file that does not exist.

일 실시 예에 따르면, 상기 제2 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으나 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the second image file represents an image file that has a file format in which metadata is stored, but does not include shooting date and time information in the metadata, for example, the image file is captured in the metadata. Can include jpeg (joint photographic experts group) files that do not contain date and time information.

517동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일의 고유 키값을 생성할 수 있다.In operation 517, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the second image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the second image file to a hash algorithm.

519동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일의 촬영 날짜 및 시간 정보를 생성할 수 있다.In operation 519, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate capture date and time information of the second image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보에 따라 상기 제2 이미지 파일의 생성 날짜 및 시간 정보 또는 상기 제2 이미지 파일의 수정 날짜 및 시간 정보 중 하나를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the second image file and the modification date and time information of the second image file, the electronic device generates the second image file according to priority information. One of date and time information or modification date and time information of the second image file may be generated as the shooting date and time information of the second image.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the second image file, it generates the creation date and time information of the second image file as the capture date and time information of the second image. can do.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the modification date and time information of the second image file, the modification date and time information of the second image file is converted into the shooting date and time information of the second image file. can be created.

521동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.In operation 521, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) matches the unique key value generated for the second image file with the shooting date and time information. You can save it.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))에 포함된 제1 테이블(예: 도 2의 제1 테이블(231a))과 제2 테이블(예: 도 2의 제2 테이블(231b)) 중 상기 제1 테이블에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a first table (e.g., the first table in FIG. 2) included in a DB (e.g., DB 231 in FIG. 2) of a memory (e.g., memory 230 in FIG. 2). The unique key value generated for the second image file and the shooting date and time information can be matched and stored in the first table among the table 231a) and the second table (e.g., the second table 231b in FIG. 2). there is.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))에 포함된 제1 DB와 제2 DB 중 상기 제1 DB에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a unique key value generated for the second image file in the first DB among the first DB and the second DB included in the memory (e.g., memory 230 of FIG. 2). You can match and save the shooting date and time information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 동기화하여 백업할 수 있다.According to one embodiment, the electronic device may synchronize and back up the unique key value and/or shooting date and time information generated for the second image file to the cloud.

상기 513동작에서, 상기 전자 장치는, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있음을 확인하면, 523동작에서, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 제3 이미지 파일로 확인로 확인할 수 있다. In operation 513, if the electronic device determines that the metadata of the image file includes the capture date and time information, in operation 523, the electronic device stores the image file as a second file including the capture date and time information in the metadata. 3 You can check by checking with the image file.

일 실시 예에 따르면, 상기 제3 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으며 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the third image file represents an image file that has a file format in which metadata is stored and includes capture date and time information in the metadata, for example, the capture date and time information in the metadata. Can include a jpeg (joint photographic experts group) file containing time information.

525동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제3 이미지 파일의 메타 데이터인 촬영 날짜 및 시간 정보를 저장할 수 있다.In operation 525, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may store shooting date and time information, which is metadata of the third image file.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 21의 DB(231))에 포함된 제1 테이블(예: 도 2의 제1 테이블(231a))과 제2 테이블(예: 도 2의 제2 테이블(231b)) 중 상기 제2 테이블에 상기 제3 이미지 파일에서 메타 데이터로 검출한 촬영 날짜 및 시간 정보를 저장할 수 있다.According to one embodiment, the electronic device includes a first table (e.g., the first table in FIG. 2) included in a DB (e.g., DB 231 in FIG. 21) of a memory (e.g., memory 230 in FIG. 2). Among the table 231a) and the second table (e.g., the second table 231b in FIG. 2), the shooting date and time information detected as metadata from the third image file may be stored in the second table.

일 실시 예에 따르면, 상기 프로세서(220)는, 메모리(예: 도 2의 메모리(230))에 포함된 제1 DB와 제2 DB 중 상기 제2 DB에 상기 제3 이미지 파일에서 메타 데이터로 검출한 촬영 날짜 및 시간 정보를 저장할 수 있다.According to one embodiment, the processor 220 transfers metadata from the third image file to the second DB among the first DB and second DB included in the memory (e.g., memory 230 in FIG. 2). Detected shooting date and time information can be saved.

도 6은 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 저장하는 동작을 설명하기 위한 흐름도(600)이다. 상기 촬영 날짜 및 시간을 저장하는 동작들은 601동작 내지 623동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행되거나, 다른 동작이 추가될 수도 있다.FIG. 6 is a flowchart 600 illustrating an operation of storing shooting date and time information in an electronic device according to an embodiment. Operations for storing the shooting date and time may include operations 601 to 623. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

601 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 제1 상태를 확인할 수 있다.In operation 601, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check the first state of the electronic device.

일 실시 예에 따르면, 상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함할 수 있다. 상기 전자 장치의 제1 상태에서 상기 제1 이미지 및/또는 상기 제2 이미지에 대한 고유 키 값과 촬영 날짜 및 시간 정보를 생성하고 저장함에 따라, 파일 용량이 큰 이미지 파일(예: 동영상파일)의 처리 시간에 대한 부담을 줄일 수 있다.According to one embodiment, the first state of the electronic device may include at least one of a charging state or a state in which the display screen of the electronic device is off. As the unique key value and shooting date and time information for the first image and/or the second image are generated and stored in the first state of the electronic device, an image file (e.g., a video file) with a large file size is created and stored. The burden on processing time can be reduced.

603동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 메모리(예: 도 2의 메모리(230))에 저장된 이미지 파일들을 확인할 수 있다.In operation 603, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check image files stored in the memory (e.g., the memory 230 of FIG. 2). there is.

605동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 이미지 파일에 메타 데이터가 저장되어 있지는 확인할 수 있다.In operation 605, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check whether metadata is stored in the image file.

상기 605동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있지 않음을 확인하면, 607동작에서, 상기 이미지 파일을 메타 데이터가 저장되지 않은 제1 이미지 파일로 확인할 수 있다.In operation 605, if the electronic device determines that metadata is not stored in the image file, in operation 607, the electronic device may confirm the image file as a first image file in which metadata is not stored.

일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지 파일의 스캔 및/또는 파싱 동작을 기반으로 이미지 파일들에 메타 데이터의 저장여부를 확인할 수 있다.According to one embodiment, the electronic device may check whether metadata is stored in image files based on a scanning and/or parsing operation of the image file.

일 실시 예에 따르면, 메타 데이터가 저장되지 않은 제1 이미지 파일은 메타 데이터가 저장되지 않은 파일 포맷을 가지는 이미지 파일을 나타내며, 예를 들어, gif(graphics interchange format)파일 및/또는 png(portable network graphics)파일을 포함할 수 있다.According to one embodiment, the first image file in which metadata is not stored represents an image file having a file format in which metadata is not stored, for example, a gif (graphics interchange format) file and/or a png (portable network) file. graphics) file.

609동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일의 고유 키값을 생성할 수 있다.In operation 609, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the first image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the first image file to a hash algorithm.

611동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일의 촬영 날짜 및 시간 정보를 생성할 수 있다.In operation 611, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate capture date and time information of the first image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보와 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보에 따라 상기 제1 이미지 파일의 생성 날짜 및 시간 정보 또는 상기 제1 이미지 파일의 수정 날짜 및 시간 정보 중 하나를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the first image file and the modification date and time information of the first image file, the electronic device generates the first image file according to priority information. One of date and time information or modification date and time information of the first image file may be generated as the shooting date and time information of the first image.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 생성 날짜 및 시간 정보를 상기 제1 이미지 파일의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the first image file, the creation date and time information of the first image file is converted into the shooting date and time information of the first image file. can be created.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제1 이미지 파일의 수정 날짜 및 시간 정보를 상기 제1 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the modification date and time information of the first image file, it generates the modification date and time information of the first image file as the shooting date and time information of the first image. can do.

613동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.In operation 613, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) matches the unique key value generated for the first image file with the shooting date and time information. You can save it.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))에 포함된 제1 테이블(예: 도 2의 제1 테이블(231a))과 제2 테이블(예: 도 2의 제2 테이블(231b)) 중 상기 제1 테이블에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a first table (e.g., the first table in FIG. 2) included in a DB (e.g., DB 231 in FIG. 2) of a memory (e.g., memory 230 in FIG. 2). The unique key value generated for the first image file and the shooting date and time information can be matched and stored in the first table among the table 231a) and the second table (e.g., the second table 231b in FIG. 2). there is.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))에 포함된 제1 DB와 제2 DB 중 상기 제1 DB에 상기 제1 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a unique key value generated for the first image file in the first DB among the first DB and the second DB included in the memory (e.g., memory 230 of FIG. 2). You can match and save the shooting date and time information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 동기화하여 백업할 수 있다.According to one embodiment, the electronic device may synchronize and back up the unique key value and/or shooting date and time information generated for the first image file to the cloud.

상기 605동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있음을 확인하면, 615동작에서, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있는지 확인할 수 있다.In operation 605, if the electronic device confirms that metadata is stored in the image file, in operation 615, the electronic device may check whether the metadata of the image file includes shooting date and time information.

상기 615동작에서, 상기 전자 장치는, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있지 않음을 확인하면, 617동작에서, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일로 확인할 수 있다. In operation 615, if the electronic device determines that the metadata of the image file does not include the capture date and time information, in operation 617, the electronic device includes the capture date and time information in the metadata of the image file. You can check it with the second image file that does not exist.

일 실시 예에 따르면, 상기 제2 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으나 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the second image file represents an image file that has a file format in which metadata is stored, but does not include shooting date and time information in the metadata, for example, the image file is captured in the metadata. Can include jpeg (joint photographic experts group) files that do not contain date and time information.

619동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일의 고유 키값을 생성할 수 있다.In operation 619, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the second image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the second image file to a hash algorithm.

621동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일의 촬영 날짜 및 시간 정보를 생성할 수 있다.In operation 621, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate capture date and time information of the second image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보에 따라 상기 제2 이미지 파일의 생성 날짜 및 시간 정보 또는 상기 제2 이미지 파일의 수정 날짜 및 시간 정보 중 하나를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the second image file and the modification date and time information of the second image file, the electronic device generates the second image file according to priority information. One of date and time information or modification date and time information of the second image file may be generated as the shooting date and time information of the second image.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 생성 날짜 및 시간 정보를 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the creation date and time information of the second image file, the creation date and time information of the second image file is converted into the shooting date and time information of the second image file. can be created.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 확인하면, 상기 제2 이미지 파일의 수정 날짜 및 시간 정보를 상기 제2 이미지의 촬영 날짜 및 시간 정보로 생성할 수 있다.According to one embodiment, when the electronic device checks the modification date and time information of the second image file, it generates the modification date and time information of the second image file as the capture date and time information of the second image. can do.

623동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.In operation 623, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) matches the unique key value generated for the second image file with the shooting date and time information. You can save it.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))에 포함된 제1 테이블(예: 도 2의 제1 테이블(231a))과 제2 테이블(예: 도 2의 제2 테이블(231b)) 중 상기 제1 테이블에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a first table (e.g., the first table in FIG. 2) included in a DB (e.g., DB 231 in FIG. 2) of a memory (e.g., memory 230 in FIG. 2). The unique key value generated for the second image file and the shooting date and time information can be matched and stored in the first table among the table 231a) and the second table (e.g., the second table 231b in FIG. 2). there is.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))에 포함된 제1 DB와 제2 DB 중 상기 제1 DB에 상기 제2 이미지 파일을 위해 생성된 고유 키값과 촬영 날짜 및 시간 정보를 매칭하여 저장할 수 있다.According to one embodiment, the electronic device stores a unique key value generated for the second image file in the first DB among the first DB and the second DB included in the memory (e.g., memory 230 of FIG. 2). You can match and save the shooting date and time information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일을 위해 생성된 고유 키값 및/또는 촬영 날짜 및 시간 정보를 클라우드에 동기화하여 백업할 수 있다.According to one embodiment, the electronic device may synchronize and back up the unique key value and/or shooting date and time information generated for the second image file to the cloud.

도 7a 내지 도 7b는 일 실시 예에 따른 전자 장치에서 촬영 날짜 및 시간 정보를 검출하는 동작을 설명하기 위한 흐름도(700a 내지 700b)이다. 상기 촬영 날짜 및 시간을 검출하는 동작들은 701동작 내지 721동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행되거나, 다른 동작이 추가될 수도 있다.FIGS. 7A and 7B are flowcharts 700a and 700b for explaining an operation of detecting shooting date and time information in an electronic device according to an embodiment. Operations for detecting the shooting date and time may include operations 701 to 721. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

701 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 이미지 파일 표시의 요청을 확인할 수 있다.In operation 701, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may confirm a request to display an image file.

703동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 이미지 파일에 메타 데이터의 저장여부를 확인할 수 있다.In operation 703, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check whether metadata is stored in the image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지 파일의 스캔 및/또는 파싱 동작을 기반으로 이미지 파일에 메타 데이터의 저장여부를 확인할 수 있다.According to one embodiment, the electronic device may check whether metadata is stored in the image file based on a scanning and/or parsing operation of the image file.

상기 703동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있지 않음을 확인하면, 705동작에서, 상기 이미지 파일을 메타 데이터가 저장되지 않은 제1 이미지 파일로 확인할 수 있다.In operation 703, if the electronic device determines that metadata is not stored in the image file, in operation 705, the electronic device may confirm the image file as a first image file in which metadata is not stored.

일 실시 예에 따르면, 메타 데이터가 저장되지 않은 제1 이미지 파일은 메타 데이터가 저장되지 않은 파일 포맷을 가지는 이미지 파일을 나타내며, 예를 들어, gif(graphics interchange format)파일 및/또는 png(portable network graphics)파일을 포함할 수 있다.According to one embodiment, the first image file in which metadata is not stored represents an image file having a file format in which metadata is not stored, for example, a gif (graphics interchange format) file and/or a png (portable network) file. graphics) file.

707동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 이미지 파일의 고유 키값을 생성할 수 있다.In operation 707, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the first image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the first image file to a hash algorithm.

709동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, DB의 제1 테이블에서 고유 키 값으로 매칭된 제1 이미지 파일의 촬영 날짜 및 시간 정보를 검출할 수 있다.In operation 709, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) selects the capture date of the first image file matched by the unique key value in the first table of the DB. and time information can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일을 위해 생성된 고유 키 값이 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))의 제1 테이블(예: 도 2의 제1 테이블(231a))에 저장되어 있음을 확인하면, 상기 제1 테이블에서 상기 제1 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출할 수 있다. According to one embodiment, the electronic device stores the unique key value generated for the first image file in the DB (e.g., DB 231 in FIG. 2) of the memory (e.g., memory 230 in FIG. 2). If it is confirmed that it is stored in a first table (e.g., the first table 231a in FIG. 2), the shooting date and time information stored by matching the unique key value generated for the first image file in the first table can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 이미지 파일을 위해 생성된 고유 키 값이 메모리(예: 도 2의 메모리(230))의 제1 DB와 제2 DB 중 제1 DB 에 저장되어 있음을 확인하면, 상기 제1 DB에서 상기 제1 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출할 수 있다.According to one embodiment, the electronic device stores the unique key value generated for the first image file in a first DB among the first DB and the second DB of the memory (e.g., memory 230 in FIG. 2). If it is confirmed that it is, the shooting date and time information stored by matching the unique key value generated for the first image file in the first DB can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 검출된 촬영 날짜 및 시간 정보를 기반으로 상기 제1 이미지를 정렬하여 디스플레이(예: 도 2의 디스플레이(260)에 표시할 수 있다.According to one embodiment, the electronic device may align the first image based on the detected capture date and time information and display it on a display (eg, display 260 of FIG. 2).

상기 703동작에서, 상기 전자 장치는, 상기 이미지 파일에 메타 데이터가 저장되어 있음을 확인하면, 711동작에서, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있는지 확인할 수 있다.In operation 703, if the electronic device confirms that metadata is stored in the image file, in operation 711, the electronic device may check whether the metadata of the image file includes shooting date and time information.

상기 711동작에서, 상기 전자 장치는, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있지 않음을 확인하면, 713동작에서, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일로 확인할 수 있다. In operation 711, if the electronic device determines that the metadata of the image file does not include the capture date and time information, in operation 713, the electronic device includes the capture date and time information in the metadata of the image file. You can check it with the second image file that does not exist.

일 실시 예에 따르면, 상기 제2 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으나 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the second image file represents an image file that has a file format in which metadata is stored, but does not include shooting date and time information in the metadata, for example, the image file is captured in the metadata. Can include jpeg (joint photographic experts group) files that do not contain date and time information.

715동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 이미지 파일의 고유 키값을 생성할 수 있다.In operation 715, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may generate a unique key value of the second image file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드(byte code)를 해시 알고리즘에 적용하여 고유의 키 값을 생성할 수 있다. According to one embodiment, the electronic device may generate a unique key value by applying a byte code corresponding to the contents of the second image file to a hash algorithm.

717동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, DB의 제1 테이블에서 고유 키 값으로 매칭된 제2 이미지 파일의 촬영 날짜 및 시간 정보를 검출할 수 있다.In operation 717, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) selects the capture date of the second image file matched by the unique key value in the first table of the DB. and time information can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일을 위해 생성된 고유 키 값이 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))의 제1 테이블(예: 도 2의 제1 테이블(231a))에 저장되어 있음을 확인하면, 상기 제1 테이블에서 상기 제2 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출할 수 있다. According to one embodiment, the electronic device stores the unique key value generated for the second image file in the DB (e.g., DB 231 in FIG. 2) of the memory (e.g., memory 230 in FIG. 2). If it is confirmed that it is stored in a first table (e.g., the first table 231a in FIG. 2), the shooting date and time information stored by matching the unique key value generated for the second image file in the first table can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 이미지 파일을 위해 생성된 고유 키 값이 메모리(예: 도 2의 메모리(230))의 제1 DB와 제2 DB 중 제1 DB 에 저장되어 있음을 확인하면, 상기 제1 DB에서 상기 제2 이미지 파일의 위해 생성된 고유 키 값과 매칭하여 저장된 촬영 날짜 및 시간 정보를 검출할 수 있다.According to one embodiment, the electronic device stores the unique key value generated for the second image file in a first DB among the first DB and the second DB of the memory (e.g., memory 230 in FIG. 2). If it is confirmed that it is, the shooting date and time information stored by matching the unique key value generated for the second image file in the first DB can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 검출된 촬영 날짜 및 시간 정보를 기반으로 상기 제2 이미지를 정렬하여 디스플레이(예: 도 2의 디스플레이(260)에 표시할 수 있다.According to one embodiment, the electronic device may align the second image based on the detected capture date and time information and display it on a display (eg, display 260 of FIG. 2).

상기 711동작에서, 상기 전자 장치는, 상기 이미지 파일의 메타 데이터에 촬영 날짜 및 시간 정보가 포함되어 있음을 확인하면, 719동작에서, 상기 이미지 파일을 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 제3 이미지 파일로 확인할 수 있다. In operation 711, if the electronic device determines that the metadata of the image file includes the capture date and time information, in operation 719, the electronic device stores the image file as a first file whose metadata includes the capture date and time information. 3 You can check it with an image file.

일 실시 예에 따르면, 상기 제3 이미지 파일은, 메타 데이터가 저장되는 파일 포맷을 가지고 있으며 상기 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 이미지 파일을 나타내며, 예를 들어, 메타 데이터에 촬영 날짜 및 시간 정보를 포함하는 jpeg(joint photographic experts group) 파일을 포함할 수 있다.According to one embodiment, the third image file represents an image file that has a file format in which metadata is stored and includes capture date and time information in the metadata, for example, the capture date and time information in the metadata. Can include a jpeg (joint photographic experts group) file containing time information.

721동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, DB의 제2 테이블에서 촬영 날짜 및 시간 정보를 검출할 수 있다.In operation 721, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may detect shooting date and time information from the second table of the DB.

일 실시 예에 따르면, 상기 전자 장치는, 메모리(예: 도 2의 메모리(230))의 DB(예: 도 2의 DB(231))의 제2 테이블(예: 도 2의 제2 테이블(231b))에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출할 수 있다. According to one embodiment, the electronic device stores a second table (e.g., the second table (e.g., the second table (e.g., the second table (e.g., In 231b)), the shooting date and time information of the third image file can be detected.

일 실시 예에 따르면, 상기 전자 장치는, 상기 적어도 하나의 이미지 파일 중 상기 제3 이미지 파일을 확인하면, 메모리(예: 도 2의 메모리(230))의 제1 DB와 제2 DB 중 제2 DB에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출할 수 있다.According to one embodiment, when the electronic device checks the third image file among the at least one image file, the second DB among the first and second DBs in the memory (e.g., memory 230 in FIG. 2) The shooting date and time information of the third image file can be detected from the DB.

일 실시 예에 따른 전자 장치에서 이미지 파일의 촬영 날짜 및 시간을 관리하는 방법은, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하는 동작을 포함할 수 있다.A method of managing the capture date and time of an image file in an electronic device according to an embodiment includes: a first image file in which metadata is not stored or a second image file in which metadata does not contain capture date and time information Based on confirmation, the method may include generating a unique key value for the first image file or the second image file.

일 실시 예에 따른 상기 방법은, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하는 동작을 포함할 수 있다.The method according to an embodiment may include generating date and time information related to the first image file or the second image file as shooting date and time information.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 메모리에 포함된 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하는 동작을 포함할 수 있다.The method according to one embodiment may include an operation of matching and storing the unique key value and the generated shooting and date information in a first table of a DB included in the memory of the electronic device.

일 실시 예에 따른 상기 방법은, 이미지 파일의 생성을 확인하면, 상기 생성된 이미지 파일이 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하는 동작을 포함할 수 있다.The method according to one embodiment may include, upon confirming the creation of an image file, checking whether the created image file is the first image file or the second image file.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 제1 상태를 확인하면, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하는 동작을 포함할 수 있다.The method according to one embodiment may include checking whether the first image file is the first image file or the second image file when the first state of the electronic device is checked.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함할 수 있다.In the method according to one embodiment, the first state of the electronic device may include at least one of a charging state or a state in which the display screen of the electronic device is off.

일 실시 예에 따른 상기 방법은, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 이용하여 상기 고유 키값을 생성하는 동작을 포함할 수 있다.The method according to one embodiment may include generating the unique key value using a byte code corresponding to contents of the first image file or the second image file.

일 실시 예에 따른 상기 방법은, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 해시 알고리즘에 적용하여 상기 고유 키값을 생성하는 동작을 포함할 수 있다.The method according to an embodiment may include generating the unique key value by applying a byte code corresponding to the contents of the first image file or the second image file to a hash algorithm.

일 실시 예에 따른 상기 방법은, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보를 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보, 또는 수정 날짜 및 시간 정보를 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하는 동작을 포함할 수 있다.The method according to one embodiment includes date and time information related to the first image file or the second image file, creation date and time information and modification date and time of the first image file or the second image file. Upon confirming the information, based on the priority information, the creation date and time information of the first image file or the second image file, or the modification date and time information of the first image file or the second image file is captured. It can include actions that generate date and time information.

일 실시 예에 따른 상기 방법은, 이미지 파일에 촬영 날짜 및 시간 정보를 포함하는 메타 데이터가 저장된 제3 이미지 파일을 확인하면 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 촬영 날짜 및 시간 정보가 저장된 상기 DB의 제2 테이블에 저장하는 동작을 포함할 수 있다.The method according to one embodiment includes, when confirming a third image file in which metadata including capture date and time information is stored in an image file, the capture date and time information of the third image file is stored in the image file. It may include an operation of saving in the second table of the DB.

일 실시 예에 따른 상기 방법은, 제1 이미지 파일 또는 제2 이미지 파일의 표시 요청을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키 값을 생성하는 동작을 포함할 수 있다.The method according to an embodiment may include generating a unique key value for the first image file or the second image file based on a request to display the first image file or the second image file. .

일 실시 예에 따른 상기 방법은, 상기 DB의 제1 테이블에 상기 고유 키 값이 존재하면, 상기 고유 키값가 값과 매칭되어 저장된 촬영 날짜 및 시간 정보를 검출하는 동작을 포함할 수 있다. The method according to one embodiment may include, if the unique key value exists in the first table of the DB, detecting the shooting date and time information stored by matching the unique key value with the value.

일 실시 예에 따른 상기 방법은, 제3 이미지 파일의 표시 요청을 기반으로, 상기 DB의 제2 테이블에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하는 동작을 포함할 수 있다.The method according to one embodiment may include detecting capture date and time information of the third image file from a second table of the DB based on a request to display the third image file.

본 문서에 개시된 일 실시 예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.An electronic device according to an embodiment disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.

본 문서의 일 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.An embodiment of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or substitutes for the embodiment. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (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.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서의 일 실시예에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 일 실시예은 기기(machine)(예: 전자 장치(101) 또는 전자 장치(301)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(301))의 프로세서(예: 프로세서(520))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.An embodiment of the present document is a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101 or electronic device 301). It may be implemented as software (e.g., program 140) including one or more instructions stored in . For example, a processor (e.g., processor 520) of a device (e.g., electronic device 301) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 일 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, a method according to an embodiment disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or via an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

일 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 일 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 일 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to one embodiment, each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components. . According to one embodiment, one or more of the above-described corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to one embodiment, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.

본 개시의 실시 예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하는 동작, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하는 동작, 및 상기 전자 장치의 메모리에 포함된 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, in a non-volatile storage medium storing instructions, the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, and the at least one operation is , based on confirmation of a first image file for which metadata is not stored or a second image file for which metadata does not contain capture date and time information, a unique key value for the first image file or the second image file An operation of generating, an operation of generating date and time information related to the first image file or the second image file as shooting date and time information, and the unique information in the first table of the DB included in the memory of the electronic device It may include an operation of matching and storing the key value and the generated shooting and date information.

Claims (20)

전자 장치에 있어서,
이미지 파일의 고유 키 값과 촬영 날짜 및 시간 정보가 매칭되어 저장된 제1 테이블(도 2의 231a)이 저장된 DB(도 2의 231)를 포함하는 메모리(도 1의 130; 및 도 2의 230); 및
프로세서(도 1의 120; 도 2의 220)를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하고,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하고, 상기 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하도록 하는 인스트럭션들을 저장하는 전자 장치.
In electronic devices,
A memory (130 in FIG. 1; and 230 in FIG. 2) including a DB (231 in FIG. 2) in which a first table (231a in FIG. 2) in which the unique key value of the image file is matched and stored and stored (231a in FIG. 2) is stored. ; and
Includes a processor (120 in FIG. 1; 220 in FIG. 2),
The memory, when executed, the processor,
Based on confirmation of a first image file for which no metadata is stored or a second image file for which the metadata does not contain capture date and time information, a unique key value for the first image file or the second image file is determined. create,
Date and time information related to the first image file or the second image file is generated as shooting date and time information, and the unique key value and the generated shooting and date information are matched and stored in the first table of the DB. An electronic device that stores instructions to do something.
제1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
이미지 파일의 생성을 확인하면, 상기 생성된 이미지 파일이 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하도록 하는 전자 장치.
The method of claim 1, wherein the instructions are configured to allow the processor to:
An electronic device that, upon confirming the creation of an image file, determines whether the created image file is the first image file or the second image file.
제1 항 또는 제2 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 전자 장치의 제1 상태를 확인하면, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하도록 하는 전자 장치.
The method of claim 1 or 2, wherein the instructions allow the processor to:
An electronic device that checks whether the first state of the electronic device is the first image file or the second image file.
제1 항 내지 제3 항 중 어느 하나의 항에 있어서,
상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함하는 전자 장치.
According to any one of claims 1 to 3,
The first state of the electronic device includes at least one of a charging state or a state in which the display screen of the electronic device is turned off.
제1 항 내지 제4 항 중 어느 하나의 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 이용하여 상기 고유 키값을 생성하도록 하는 전자 장치.
The method of any one of claims 1 to 4, wherein the instructions are configured to allow the processor to:
An electronic device that generates the unique key value using a byte code corresponding to contents of the first image file or the second image file.
제1 항 내지 제5 항 중 어느 하나의 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 해시 알고리즘에 적용하여 상기 고유 키값을 생성하도록 하는 전자 장치.
The method of any one of claims 1 to 5, wherein the instructions are configured to cause the processor to:
An electronic device that generates the unique key value by applying a byte code corresponding to the contents of the first image file or the second image file to a hash algorithm.
제1 항 내지 제6 항 중 어느 하나의 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보를 기반으로 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보, 또는 수정 날짜 및 시간 정보를 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하도록 하는 전자 장치.
The method of any one of claims 1 to 6, wherein the instructions are configured to cause the processor to:
With the date and time information related to the first image file or the second image file, if the creation date and time information and modification date and time information of the first image file or the second image file are confirmed, priority information is obtained. Based on this, an electronic device generates the creation date and time information of the first image file or the second image file, or the modification date and time information as the shooting date and time information of the first image file or the second image file. .
제1 항 내지 제7 항 중 어느 하나의 항에 있어서,
상기 DB 는 촬영 날짜 및 시간 정보가 저장된 제2 테이블을 포함하고,
상기 프로세서는,
이미지 파일에 촬영 날짜 및 시간 정보를 포함하는 메타 데이터가 저장된 제3 이미지 파일을 확인하면 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 상기 제2 테이블에 저장하도록 설정된 전자 장치.
According to any one of claims 1 to 7,
The DB includes a second table in which shooting date and time information is stored,
The processor,
An electronic device configured to store the shooting date and time information of the third image file in the second table when a third image file in which metadata including the shooting date and time information is stored in the image file is identified.
제1 항 내지 제8 항 중 어느 하나의 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
제1 이미지 파일 또는 제2 이미지 파일의 표시 요청을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키 값을 생성하고,
상기 DB의 제1 테이블에 상기 고유 키 값이 존재하면, 상기 고유 키값가 값과 매칭되어 저장된 촬영 날짜 및 시간 정보를 검출하도록 하는 전자 장치.
The method of any one of claims 1 to 8, wherein the instructions allow the processor to:
Based on a request to display a first image file or a second image file, generate a unique key value for the first image file or the second image file,
If the unique key value exists in the first table of the DB, the electronic device matches the unique key value with the value to detect stored shooting date and time information.
제1 항 내지 제9 항 중 어느 하나의 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
제3 이미지 파일의 표시 요청을 기반으로, 상기 DB의 제2 테이블에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하도록 하는 전자 장치.
The method of any one of claims 1 to 9, wherein the instructions allow the processor to:
An electronic device that detects shooting date and time information of the third image file from a second table of the DB based on a request to display the third image file.
전자 장치에서 이미지 파일의 촬영 날짜 및 시간을 관리하는 방법에 있어서,
메타 데이터가 저장되지 않은 제1 이미지 파일 또는 메타 데이터에 촬영 날짜 및 시간 정보를 포함하고 있지 않는 제2 이미지 파일의 확인을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키값을 생성하는 동작;
상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보를 촬영 날짜 및 시간 정보로 생성하는 동작; 및
상기 전자 장치의 메모리에 포함된 DB의 제1 테이블에 상기 고유 키 값과 상기 생성된 촬영 및 날짜 정보를 매칭하여 저장하는 동작을 포함하는 방법.
In a method of managing the capture date and time of an image file in an electronic device,
Based on confirmation of a first image file for which no metadata is stored or a second image file for which the metadata does not contain capture date and time information, a unique key value for the first image file or the second image file is determined. action that creates;
generating date and time information related to the first image file or the second image file as shooting date and time information; and
A method comprising matching and storing the unique key value and the generated shooting and date information in a first table of a DB included in the memory of the electronic device.
제11 항에 있어서
이미지 파일의 생성을 확인하면, 상기 생성된 이미지 파일이 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하는 동작을 더 포함하는 방법.
In clause 11
When confirming the creation of an image file, the method further includes checking whether the created image file is the first image file or the second image file.
제11 항 또는 제12 항에 있어서,
상기 전자 장치의 제1 상태를 확인하면, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일인지 확인하는 동작을 더 포함하는 방법.
The method of claim 11 or 12,
When checking the first state of the electronic device, the method further includes checking whether it is the first image file or the second image file.
제11 항 내지 제13 항 중 어느 하나의 항에 있어서,
상기 전자 장치의 제1 상태는, 상기 전자 장치가 충전 상태 또는 상기 전자 장치의 디스플레이 화면이 오프인 상태 중 적어도 하나를 포함하는 방법.
According to any one of claims 11 to 13,
The first state of the electronic device includes at least one of a charging state or a state in which the display screen of the electronic device is turned off.
제11 항 내지 제14 항 중 어느 하나의 항에 있어서,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 이용하여 상기 고유 키값을 생성하는 동작을 더 포함하는 방법.
According to any one of claims 11 to 14,
The method further includes generating the unique key value using a byte code corresponding to contents of the first image file or the second image file.
제11 항 내지 제15 항 중 어느 하나의 항에 있어서,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 내용에 대응되는 바이트 코드를 해시 알고리즘에 적용하여 상기 고유 키값을 생성하는 동작을 더 포함하는 방법.
According to any one of claims 11 to 15,
The method further includes generating the unique key value by applying a byte code corresponding to the contents of the first image file or the second image file to a hash algorithm.
제11 항 내지 제16 항 중 어느 하나의 항에 있어서,
상기 제1 이미지 파일 또는 상기 제2 이미지 파일과 관련된 날짜 및 시간 정보로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보와 수정 날짜 및 시간 정보를 확인하면, 우선 순위 정보를 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 생성 날짜 및 시간 정보, 또는 수정 날짜 및 시간 정보를 상기 제1 이미지 파일 또는 상기 제2 이미지 파일의 촬영 날짜 및 시간 정보로 생성하는 동작을 더 포함하는 방법.
According to any one of claims 11 to 16,
With the date and time information related to the first image file or the second image file, if the creation date and time information and modification date and time information of the first image file or the second image file are confirmed, priority information is obtained. Based on this, an operation of generating the creation date and time information of the first image file or the second image file, or the modification date and time information as the shooting date and time information of the first image file or the second image file. How to include more.
제11 항 내지 제17 항 중 어느 하나의 항에 있어서,
이미지 파일에 촬영 날짜 및 시간 정보를 포함하는 메타 데이터가 저장된 제3 이미지 파일을 확인하면, 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 촬영 날짜 및 시간 정보가 저장된 상기 DB의 제2 테이블에 저장하는 동작을 더 포함하는 방법.
According to any one of claims 11 to 17,
When confirming a third image file in which metadata including shooting date and time information is stored in the image file, the shooting date and time information of the third image file is stored in the second table of the DB where the shooting date and time information is stored. A method that includes more actions.
제11 항 내지 제18 항 중 어느 하나의 항에 있어서,
제1 이미지 파일 또는 제2 이미지 파일의 표시 요청을 기반으로, 상기 제1 이미지 파일 또는 상기 제2 이미지 파일에 대한 고유 키 값을 생성하는 동작; 및
상기 DB의 제1 테이블에 상기 고유 키 값이 존재하면, 상기 고유 키값가 값과 매칭되어 저장된 촬영 날짜 및 시간 정보를 검출하는 동작을 더 포함하는 방법.
The method according to any one of claims 11 to 18,
generating a unique key value for the first image file or the second image file based on a request to display the first image file or the second image file; and
If the unique key value exists in the first table of the DB, the method further includes detecting shooting date and time information stored by matching the unique key value with the value.
제11 항 내지 제19 항 중 어느 하나의 항에 있어서,
제3 이미지 파일의 표시 요청을 기반으로, 상기 DB의 제2 테이블에서 상기 제3 이미지 파일의 촬영 날짜 및 시간 정보를 검출하는 동작을 더 포함하는 방법.

The method according to any one of claims 11 to 19,
The method further includes detecting capture date and time information of the third image file from a second table of the DB based on a request to display the third image file.

KR1020220112275A 2022-08-05 2022-09-05 Electronic device and method for managinh shooting date and time of image file in the electronic device KR20240020138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2023/010367 WO2024029797A1 (en) 2022-08-05 2023-07-19 Electronic device and method for managing photographing date and time of image file in same electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220097759 2022-08-05
KR20220097759 2022-08-05

Publications (1)

Publication Number Publication Date
KR20240020138A true KR20240020138A (en) 2024-02-14

Family

ID=89896767

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220112275A KR20240020138A (en) 2022-08-05 2022-09-05 Electronic device and method for managinh shooting date and time of image file in the electronic device

Country Status (1)

Country Link
KR (1) KR20240020138A (en)

Similar Documents

Publication Publication Date Title
KR20220132865A (en) Electronic device including storage and method of the same
KR20240020138A (en) Electronic device and method for managinh shooting date and time of image file in the electronic device
US20230252598A1 (en) Method and apparatus for editing video in electronic device
US20240160335A1 (en) Electronic device including flexible display and method for operating same
US11995798B2 (en) Electronic device and method for managing non-destructive editing contents
US20230111512A1 (en) Electronic device and method for generating additional information about file in electronic device
US11973356B2 (en) Method and electronic device for providing fast charging
KR20240111666A (en) Method for providing non-destructive editing function and electronic device for supporting the same
US20220343058A1 (en) Electronic device, and method for placing text-linked object in electronic device
US20240176474A1 (en) Electronic device and method for editing screenshot in electronic device
US20230161807A1 (en) Device and method for editing media file
US20230359530A1 (en) Electronic device for supporting data backup, and operation method thereof
KR20240103903A (en) Server for supporting distributed database structure and method for operating the same
KR20220126903A (en) Electronic device for perform file redaction and operating mehtod thereof
KR20230119549A (en) Method and apparatus for editing video in electronic device
KR20240066940A (en) Method for recovery of damaged metadata and electronic device supporting the same
KR20230051018A (en) Electronic device and method for generating additional information of file in the electronic device
KR20230134943A (en) Hash-based extent data storage method and electronic apparatus for performing the same
KR20240117435A (en) System for editing document, electronic device and method for editing document in the electronic device
KR20240052572A (en) Method of providing shared folder and electronic device therefor
KR20240021071A (en) Electronic device for updating firmware program and control method thereof
KR20240052570A (en) Electronic device and method for co-editing in multiple device environment
KR20240015538A (en) Electronic device and method for managing data
KR20240130567A (en) Electronic device and controlling method including battery
KR20240039980A (en) electronic device and method for controlling battery