KR101384929B1 - Media scanning method and media scanning device for storage medium of user terminal - Google Patents

Media scanning method and media scanning device for storage medium of user terminal Download PDF

Info

Publication number
KR101384929B1
KR101384929B1 KR1020130019078A KR20130019078A KR101384929B1 KR 101384929 B1 KR101384929 B1 KR 101384929B1 KR 1020130019078 A KR1020130019078 A KR 1020130019078A KR 20130019078 A KR20130019078 A KR 20130019078A KR 101384929 B1 KR101384929 B1 KR 101384929B1
Authority
KR
South Korea
Prior art keywords
media
storage medium
media scanning
file
scanning
Prior art date
Application number
KR1020130019078A
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 KR1020130019078A priority Critical patent/KR101384929B1/en
Application granted granted Critical
Publication of KR101384929B1 publication Critical patent/KR101384929B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/24Loading of the microprogram
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed are a media scanning method and device for a storage medium of a user terminal. The media scanning method includes the steps of: determining whether the storage medium of a user terminal satisfies the media scanning operation conditions when the user terminal is booted; and executing the media scanning of the storage medium when the storage medium satisfies the operation conditions. According to the present invention, the method is capable of reducing the waiting time of a user by executing the media scanning if needed after a user terminal is booted. [Reference numerals] (100) User terminal; (101) Media scanning device; (102) Internal storage media; (103) External storage media

Description

사용자 단말의 저장 매체를 위한 미디어 스캐닝 방법 및 미디어 스캐닝 장치{MEDIA SCANNING METHOD AND MEDIA SCANNING DEVICE FOR STORAGE MEDIUM OF USER TERMINAL}MEDIA SCANNING METHOD AND MEDIA SCANNING DEVICE FOR STORAGE MEDIUM OF USER TERMINAL}

본 발명은 미디어 스캐닝 방법 및 미디어 스캐닝 장치에 관한 것으로, 보다 구체적으로는 사용자 단말의 부팅시 미디어 스캐닝의 필요성이 존재하는 경우에 미디어 스캐닝을 수행하는 방법 및 장치에 관한 것이다.The present invention relates to a media scanning method and a media scanning apparatus, and more particularly, to a method and an apparatus for performing media scanning when there is a need for media scanning when a user terminal is booted.

스마트폰의 보편화 및 대중화에 따라 일상생활에서 스마트폰이 여러 가지 용도로 사용되고 있다. 사진이나 동영상, 음악파일 등이 사용시간에 비례하여 스마트폰에 저장되는 파일의 용량 및 사이즈가 증가한다. 한편, 사용자 단말의 카메라 화소수가 증가하고, 고품질의 오디오 파일 유통이 활성화 됨에 따라 미디어 파일의 용량이 함께 증가하는 추세이다.According to the popularization and popularization of smart phones, smart phones are used for various purposes in daily life. Photos, videos, music files, etc. are increased in size and size of files stored in the smartphone in proportion to the usage time. On the other hand, as the number of camera pixels of the user terminal increases and the distribution of high-quality audio files increases, the capacity of media files increases.

그리고, 사용자는 배터리의 교환 목적으로 하루에 1회 이상 스마트폰을 재부팅한다. 이 때, 스마트폰에 저장된 파일의 개수와 파일 사이즈로 인해 재부팅시마다 수행되는 미디어 스캐닝의 처리 시간이 많이 소모된다. 이 경우, 사용자는 미디어 스캐닝이 진행되는 중에는 다른 작업을 하지 않고 미디어스캐닝 동작이 완료될 때까지 대기할 수 밖에 없다.Then, the user reboots the smartphone at least once a day for the purpose of replacing the battery. At this time, due to the number of files stored in the smart phone and the file size, the processing time of the media scanning performed every reboot is consumed. In this case, the user has no choice but to wait until the media scanning operation is completed while the media scanning is in progress.

실질적으로, 미디어 스캐닝은 스마트폰에서 부팅이 완료된 이후에 진행되지만 사용자의 입장에서는 부팅 이후에 바로 미디어 스캐닝이 수행되므로 미디어 스캐닝의 처리 시간도 부팅 시간에 포함되는 것으로 판단할 수 있다. 즉, 스마트폰에 저장된 미디어 파일의 용량 및 개수에 따라 미디어 스캐닝의 시간이 증가함으로써, 사용자가 체감하는 부팅 시간이 증가하는 문제가 있다.In practice, the media scanning is performed after the booting is completed in the smartphone, but since the media scanning is performed immediately after the booting from the user's point of view, it may be determined that the processing time of the media scanning is included in the booting time. That is, the media scanning time increases according to the capacity and number of media files stored in the smartphone, thereby increasing the booting time experienced by the user.

특히, 기존 스마트폰에서는 부팅 시마다 매번 내부 메모리와 외장 메모리에 있는 모든 미디어 파일들을 미디어 스캐닝하여 미디어 스캐닝 결과를 생성한다. 미디어 스캐닝은 대상이 되는 파일들을 일일이 열어 정보를 조사하는데 이 때 사진이나 음악 파일 같은 미디어 파일들뿐만 아니라 스마트폰을 사용하면서 저장된 썸네일이나 캐시 등도 미디어 스캐닝의 대상이 된다. 그래서, 미디어 스캐닝이 시작된 이후에 완료될 때까지 걸리는 시간이 길어진다. In particular, existing smartphones generate media scanning results by media scanning all media files in internal and external memory every time they boot up. Media scanning opens the target files and inspects the information. At this time, not only media files such as photos and music files but also thumbnails and caches stored while using a smartphone are targeted for media scanning. Thus, after the media scanning starts, it takes longer to complete.

또한, 미디어 스캐닝은 백그라운드에서 실행되지만 스캔해야 할 파일들이 많은 경우 CPU 점유율도 높아지므로 스캔 중에 다른 작업을 할 수 없다. In addition, media scanning runs in the background, but if you have a lot of files to scan, the CPU usage also increases, so you can't do anything else while scanning.

이러한 이유로 인해서, 스마트폰에 저장된 미디어 파일의 숫자가 증가함에 따라 다양한 폴더 및 파일에 접근하여 미디어 스캐닝을 수행하는 시간이 증가한다. 즉, 미디어 스캐닝의 수행 시간이 증가함에 따라 스마트폰의 전체 부팅 시간이 길어지며, 사용자는 부팅 시간의 대기로 인해서 디바이스의 사용에 불편함이 존재한다.For this reason, as the number of media files stored in a smartphone increases, the time for accessing various folders and files to perform media scanning increases. That is, as the execution time of media scanning increases, the overall booting time of the smartphone becomes long, and the user is inconvenient to use the device due to the waiting of the booting time.

본 발명은 부팅 이후에 사용자 단말의 내부 저장 매체 또는 외부 저장 매체 각각에 대해 미디어 스캐닝이 수행되어야 할 필요성을 판단한 후, 미디어 스캐닝의 수행이 필요한 경우에 미디어 스캐닝을 수행할 수 있는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for performing media scanning when media scanning is required after determining whether media scanning should be performed on each of an internal storage medium or an external storage medium of a user terminal after booting. do.

본 발명은 내부 저장 매체 또는 외부 저장 매체 전체에 대해 미디어 스캐닝을 수행하는 것이 아니라, 부팅 이전과 부팅 이후에 변경된 부분에 대해 미디어 스캐닝을 수행할 수 있는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for performing media scanning on a portion changed before booting and after booting, rather than performing media scanning on the entire internal storage medium or the entire external storage medium.

본 발명의 일실시예에 따른 미디어 스캐닝 방법은, 사용자 단말의 부팅이 진행되는지를 판단하는 단계; 상기 사용자 단말이 부팅되면, 상기 사용자 단말의 저장 매체가 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계; 및 상기 저장 매체가 실행 조건을 만족하는 경우, 상기 저장 매체의 미디어 스캐닝을 수행하는 단계를 포함할 수 있다.A media scanning method according to an embodiment of the present invention, determining whether the booting of the user terminal is in progress; When the user terminal is booted, determining whether a storage medium of the user terminal satisfies a media scanning execution condition; And if the storage medium satisfies an execution condition, performing media scanning of the storage medium.

상기 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계는, 상기 사용자 단말의 내부에 위치한 내부 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 단계; 및 상기 내부 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 단계 중 적어도 하나를 수행하여 내부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단할 수 있다.The determining of whether the media scanning execution condition is satisfied may include determining a validity of a media file associated with an internal storage medium located inside the user terminal; And determining an execution cycle of media scanning of the internal storage medium to determine whether the media scanning execution condition associated with the internal storage medium is satisfied.

상기 미디어 스캐닝을 수행하는 단계는, 상기 미디어 파일의 유효성에 이상이 있거나 또는 상기 미디어 스캐닝의 실행 주기가 설정 주기를 초과하면 상기 내부 저장 매체의 미디어 스캐닝을 수행할 수 있다.The performing of the media scanning may perform media scanning of the internal storage medium when there is an abnormality in the validity of the media file or when an execution period of the media scanning exceeds a set period.

상기 미디어 파일의 유효성을 판단하는 단계는, 상기 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단할 수 있다.In the determining of the validity of the media file, the validity of the media file may be determined by distinguishing whether the user terminal is normally powered off or abnormally powered off before booting.

상기 미디어 파일의 유효성을 판단하는 단계는, 상기 내부 저장 매체와 관련된 DB 파일의 식별값과 생성 일자가 부팅 전과 차이가 있는지 여부에 따라 미디어 파일의 유효성을 판단할 수 있다.In the determining of the validity of the media file, the validity of the media file may be determined according to whether the identification value of the DB file related to the internal storage medium and the creation date are different from before booting.

상기 DB 파일의 식별값은, 미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리) 중 적어도 하나를 포함할 수 있다.The identification value of the DB file may include at least one of a file size, a file number, and a file structure (directory) of the media file.

상기 미디어 스캐닝의 실행 주기를 확인하는 단계는, 상기 내부 저장 매체의 미디어 스캐닝의 실행 주기와 기 설정된 설정 주기를 비교할 수 있다.The determining of the execution period of the media scanning may include comparing the execution period of the media scanning of the internal storage medium with a preset setting period.

상기 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계는, 상기 사용자 단말에 장착가능한 외부 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 단계; 상기 외부 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 단계; 및 상기 사용자 단말의 부팅 시점에 기초한 외부 저장 매체의 장착 상태를 확인하는 단계 중 적어도 하나를 수행하여 외부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단할 수 있다.The determining of whether the media scanning execution condition is satisfied may include determining a validity of a media file associated with an external storage medium mountable on the user terminal; Confirming an execution cycle of media scanning of the external storage medium; And determining a mounting state of the external storage medium based on a booting time of the user terminal to determine whether a media scanning execution condition associated with the external storage medium is satisfied.

상기 미디어 스캐닝을 수행하는 단계는, 상기 미디어 파일의 유효성에 이상이 있거나, 상기 미디어 스캐닝의 실행 주기가 설정 주기를 초과하거나 또는, 상기 외부 저장 매체의 장착 상태가 변경되면 미디어 스캐닝을 수행할 수 있다.The performing of the media scanning may include performing media scanning when there is an abnormality in the validity of the media file, an execution cycle of the media scanning exceeds a setting cycle, or when a mounting state of the external storage medium is changed. .

상기 미디어 파일의 유효성을 판단하는 단계는, 상기 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단할 수 있다.In the determining of the validity of the media file, the validity of the media file may be determined by distinguishing whether the user terminal is normally powered off or abnormally powered off before booting.

상기 미디어 파일의 유효성을 판단하는 단계는, 상기 외부 저장 매체와 관련된 DB 파일의 식별값과 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다.In determining the validity of the media file, the validity of the media file may be determined using an identification value and a creation date of a DB file related to the external storage medium.

상기 DB 파일의 식별값은, 미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리) 중 적어도 하나를 포함할 수 있다.The identification value of the DB file may include at least one of a file size, a file number, and a file structure (directory) of the media file.

상기 미디어 스캐닝의 실행 주기를 확인하는 단계는, 상기 외부 저장 매체의 미디어 스캐닝의 실행 주기와 기 설정된 설정 주기를 비교할 수 있다.The determining of the execution period of the media scanning may include comparing the execution period of the media scanning of the external storage medium with a preset setting period.

상기 외부 저장 매체의 장착 상태를 확인하는 단계는, 상기 사용자 단말의 부팅 이후에, 외부 저장 매체가 사용자 단말에 장착되었는 지 여부를 확인할 수 있다.The checking of the mounting state of the external storage medium may determine whether the external storage medium is mounted in the user terminal after booting of the user terminal.

상기 외부 저장 매체의 장착 상태를 확인하는 단계는, 상기 외부 저장 매체에 대한 부팅 이전의 장착 상태와 부팅 이후의 장착 상태를 비교하여 확인할 수 있다.The determining of the mounting state of the external storage medium may be performed by comparing a mounting state before booting with a mounting state after booting with respect to the external storage medium.

본 발명의 일실시예에 따른 미디어 스캐닝 장치는 사용자 단말이 부팅되면, 상기 사용자 단말의 저장 매체가 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 실행 조건 판단부; 및 상기 저장 매체가 실행 조건을 만족하는 경우, 상기 저장 매체의 미디어 스캐닝을 수행하는 미디어 스캐닝 수행부를 포함할 수 있다.In accordance with another aspect of the present invention, there is provided a media scanning apparatus including: an execution condition determination unit determining whether a storage medium of the user terminal satisfies a media scanning execution condition when a user terminal is booted; And a media scanning performing unit configured to perform media scanning of the storage medium when the storage medium satisfies an execution condition.

상기 실행 조건 판단부는, 상기 사용자 단말의 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 유효성 판단부; 및 상기 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 실행 주기 확인부 중 적어도 하나를 이용하여 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단할 수 있다.The execution condition determiner may include a validity determiner that determines a validity of a media file associated with a storage medium of the user terminal; And an execution cycle checking unit that checks an execution cycle of media scanning of the storage medium, and determines whether a media scanning execution condition associated with the storage medium is satisfied.

상기 실행 조건 판단부는, 상기 사용자 단말의 부팅 시점에 기초한 외부 저장 매체의 장착 상태를 확인하는 장착 상태 확인부를 이용하여 외부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단할 수 있다.The execution condition determination unit may determine whether a media scanning execution condition related to the external storage medium is satisfied by using a mounting state confirmation unit that checks a mounting state of the external storage medium based on a booting time of the user terminal.

본 발명의 일실시예에 따르면, 사용자 단말이 부팅된 이후에 미디어 스캐닝이 필요한 경우 미디어 스캐닝을 수행함으로써 미디어 스캐닝으로 인해 사용자가 체감하는 부팅 시간을 줄일 수 있다.According to an embodiment of the present invention, if media scanning is required after the user terminal is booted, media scanning may be performed to reduce booting time experienced by the user due to media scanning.

본 발명의 일실시예에 따르면, 부팅 이전과 부팅 이후에 미디어 파일의 변경 여부를 판단함으로써 미디어 파일이 변경된 부분을 중심으로 미디어 스캐닝을 수행함으로써 미디어 스캐닝의 처리 시간을 효율적으로 줄일 수 있다.According to an embodiment of the present invention, by determining whether the media file is changed before booting and after booting, the media scanning process can be efficiently performed by performing the media scanning around the changed part of the media file.

도 1은 본 발명의 일실시예에 따른 사용자 단말을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 미디어 스캐닝 장치를 도시한 도면이다.
도 3은 본 발명의 일실시예에 따른 모바일 OS의 프레임워크의 초기화 과정을 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 미디어 스캐닝 장치의 구현 예시를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른 미디어 스캐닝 장치의 동작 과정을 도시한 도면이다.
도 6은 본 발명의 일실시예에 따른 사용자 단말의 내부 저장 매체의 미디어 스캐닝의 처리 필요성을 판단하는 과정을 설명하는 도면이다.
도 7은 본 발명의 일실시예에 따른 사용자 단말의 외부 저장 매체의 미디어 스캐닝의 처리 필요성을 판단하는 과정을 설명하는 도면이다.
도 8은 본 발명의 일실시예에 따른 미디어 파일의 유효성을 판단하는 과정을 도시한 도면이다.
도 9는 본 발명의 일실시예에 따른 외부 저장 매체의 장착 상태의 변경에 따른 미디어 스캐닝의 수행 과정을 도시한 도면이다.
도 10은 본 발명의 일실시예에 따른 미디어 스캐닝의 처리 과정을 도시한 도면이다.
1 is a diagram illustrating a user terminal according to an embodiment of the present invention.
2 illustrates a media scanning apparatus according to an embodiment of the present invention.
3 is a diagram illustrating an initialization process of a framework of a mobile OS according to an embodiment of the present invention.
4 is a diagram illustrating an implementation of a media scanning apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating an operation process of a media scanning apparatus according to an embodiment of the present invention.
FIG. 6 is a diagram illustrating a process of determining a necessity for processing media scanning of an internal storage medium of a user terminal according to an embodiment of the present invention.
FIG. 7 is a diagram illustrating a process of determining a necessity of processing media scanning of an external storage medium of a user terminal according to an embodiment of the present invention.
8 is a diagram illustrating a process of determining the validity of a media file according to an embodiment of the present invention.
9 is a diagram illustrating a process of performing media scanning according to a change in a mounting state of an external storage medium according to one embodiment of the present invention.
10 is a flowchart illustrating a media scanning process according to an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 사용자 단말을 도시한 도면이다.1 is a diagram illustrating a user terminal according to an embodiment of the present invention.

도 1을 참고하면, 사용자 단말(100)은 미디어 스캐닝 장치(101), 내부 저장 매체(102), 외부 저장 매체(103), internal.db(104) 및 external.db(105)를 포함할 수 있다. 사용자 단말(100)은 모바일 OS에 의해 동작하는 다양한 형태의 단말을 포함하며, 휴대폰, 스마트폰, tablet PC, 노트북, TV 등을 포함할 수 있다.Referring to FIG. 1, the user terminal 100 may include a media scanning device 101, an internal storage medium 102, an external storage medium 103, an internal.db 104, and an external.db 105. have. The user terminal 100 may include various types of terminals operated by a mobile OS, and may include a mobile phone, a smartphone, a tablet PC, a notebook, a TV, and the like.

내부 저장 매체(102)는 사용자 단말(100)의 내부에 설치된 저장 매체로서, 비휘발성 메모리를 포함할 수 있다. 한편, 외부 저장 매체(103)는 사용자 단말(100)의 외부에 설치된 저장 매체로서, 비휘발성 메모리를 포함할 수 있다. 본 발명에서 내부 저장 매체(102)는 사용자 단말(100)로부터 탈부착이 불가능하지만, 외부 저장 매체(103)는 사용자 단말(100)로부터 탈부착이 가능하다고 가정한다. 즉, 상황에 따라 외부 저장 매체(103)는 사용자 단말(100)에 장착되지 않을 수도 있다.The internal storage medium 102 is a storage medium installed in the user terminal 100 and may include a nonvolatile memory. The external storage medium 103 is a storage medium installed outside the user terminal 100 and may include a nonvolatile memory. In the present invention, it is assumed that the internal storage medium 102 is not detachable from the user terminal 100, but the external storage medium 103 is detachable from the user terminal 100. That is, depending on the situation, the external storage medium 103 may not be mounted in the user terminal 100.

미디어 스캐닝 장치(101)는 내부 저장 매체(102)에 저장된 미디어 파일을 스캐닝하여 스캐닝 결과를 internal.db(104)에 저장할 수 있다. internal.db(104)는 파일 형태로서 내부 저장 매체(102) 또는 별도의 저장 공간에 기록될 수 있다. 한편, 미디어 스캐닝 장치(101)는 외부 저장 매체(103)에 저장된 미디어 파일을 스캐닝하여 스캐닝 결과를 external.db(105)에 저장할 수 있다. external.db(105)는 파일 형태로서 내부 저장 매체(102) 또는 별도의 저장 공간에 기록될 수 있다. 미디어 스캐닝 장치(101)는 사용자 단말(100)에서 별도의 모듈이나 칩으로 구현되거나 또는 프로세서로 구현될 수 있다.The media scanning apparatus 101 may scan a media file stored in the internal storage medium 102 and store the scanning result in the internal.db 104. The internal.db 104 may be recorded in the form of a file in the internal storage medium 102 or in a separate storage space. Meanwhile, the media scanning apparatus 101 may scan a media file stored in the external storage medium 103 and store the scanning result in external.db 105. The external.db 105 may be recorded in an internal storage medium 102 or a separate storage space as a file. The media scanning apparatus 101 may be implemented as a separate module or chip in the user terminal 100 or as a processor.

본 발명의 일실시예에 의하면, 사용자 단말(100)이 부팅된 이후에 미디어 스캐닝 장치(101)는 내부 저장 매체(102)와 외부 저장 매체(103)에 저장된 미디어 파일을 전체적으로 스캐닝할 수 있다. 다만, 미디어 파일의 용량이나 사이즈가 증가함에 따라 부팅 이후에 사용자의 대기 시간을 줄이기 위해, 미디어 스캐닝 장치(101)는 내부 저장 매체(102)와 외부 저장 매체(103) 각각에 대해 미디어 스캐닝이 필요한 경우에만 미디어 스캐닝을 수행할 수 있다.According to an embodiment of the present invention, after the user terminal 100 is booted, the media scanning apparatus 101 may scan the media files stored in the internal storage medium 102 and the external storage medium 103 as a whole. However, in order to reduce the waiting time of the user after booting as the capacity or size of the media file increases, the media scanning device 101 needs to scan the media for each of the internal storage medium 102 and the external storage medium 103. You can only perform media scanning.

참고로, 사용자 단말(100)이 동작되고 있는 중에 어플리케이션을 통해 내부 저장 매체(102)와 외부 저장 매체(103)에 미디어 파일이 추가/변경/삭제되는 경우, 미디어 스캐닝 장치(101)는 내부 저장 매체(102)와 외부 저장 매체(103)에서 미디어 파일이 업데이트된 부분에 대해서 스캐닝할 수 있다. 본 발명에서 언급하는 미디어 스캐닝은 부분 스캐닝이 아닌 전체 스캐닝을 의미할 수 있다.For reference, when the media file is added / changed / deleted to the internal storage medium 102 and the external storage medium 103 through an application while the user terminal 100 is operating, the media scanning device 101 stores the internal storage. The media 102 and the external storage medium 103 may be scanned for updated portions of the media file. The media scanning referred to in the present invention may mean full scanning, not partial scanning.

이하에서는, 미디어 스캐닝 장치(101)의 동작에 대해 구체적으로 설명하기로 한다.Hereinafter, the operation of the media scanning apparatus 101 will be described in detail.

도 2는 본 발명의 일실시예에 따른 미디어 스캐닝 장치를 도시한 도면이다.2 illustrates a media scanning apparatus according to an embodiment of the present invention.

도 2를 참고하면, 미디어 스캐닝 장치(200)는 실행 조건 판단부(201)와 미디어 스캐닝 수행부(202)를 포함할 수 있다. 그리고, 실행 조건 판단부(201)는 유효성 판단부(203), 실행 주기 확인부(204) 및 장착 상태 확인부(205)를 포함할 수 있다.Referring to FIG. 2, the media scanning apparatus 200 may include an execution condition determiner 201 and a media scanning performer 202. The execution condition determining unit 201 may include a validity determining unit 203, an execution cycle checking unit 204, and a mounting state checking unit 205.

사용자 단말이 부팅되면, 실행 조건 판단부(201)는 사용자 단말의 저장 매체가 미디어 스캐닝의 실행 조건을 만족하는 지 여부를 판단할 수 있다. 여기서, 저장 매체는 사용자 단말의 내부 저장 매체 또는 외부 저장 매체를 포함할 수 있다. 본 발명의 일실시예에 있어서, 미디어 스캐닝은 사용자 단말에서 동작하는 어플리케이션이 사용자 단말의 내부 저장 매체나 외부 저장 매체에 저장된 음악, 동영상, 쿠키, 텍스트 등 다양한 형태의 파일의 속성(사이즈, 디렉토리, 폴더, 생성 일자, 이름) 등을 확인하여 별도의 DB 파일에 라이브러리 형태로 저장하기 위한 처리 과정을 의미할 수 있다.When the user terminal is booted, the execution condition determination unit 201 may determine whether the storage medium of the user terminal satisfies the execution condition for media scanning. Here, the storage medium may include an internal storage medium or an external storage medium of the user terminal. In one embodiment of the present invention, media scanning is characterized in that the application running in the user terminal attributes (size, directory, Folder, creation date, name), etc., can refer to a process for storing as a library in a separate DB file.

일례로, 내부 저장 매체는 사용자 단말에 기본적으로 장착되며, 외부 저장 매체는 사용자의 선택에 따라 사용자 단말에 장착되거나 또는 장착되지 않을 수 있다.For example, the internal storage medium is basically mounted in the user terminal, and the external storage medium may or may not be mounted in the user terminal according to the user's selection.

일례로, 실행 조건 판단부(201)는 사용자 단말의 내부에 위치한 내부 저장 매체와 관련된 미디어 파일의 유효성을 판단할 수 있다. 이 때, 실행 조건 판단부(201)는 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단할 수 있다. 그리고, 실행 조건 판단부(201)는 내부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 내부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다.In one example, the execution condition determiner 201 may determine the validity of the media file associated with the internal storage medium located inside the user terminal. At this time, the execution condition determination unit 201 may determine whether the user terminal is normally powered off or abnormally powered off before booting, and determine the validity of the media file. The execution condition determiner 201 may determine the validity of the media file by using an identification value indicating whether the DB file associated with the internal storage medium is changed and a creation date of the DB file associated with the internal storage medium.

구체적으로, 사용자 단말이 비정상적으로 전원 오프된 경우, 실행 조건 판단부(201)는 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다. 왜냐하면, 사용자 단말의 종료 절차를 통해 전원 오프된 것이 아니라, 배터리를 갑자기 이탈시키거나, 배터리가 완전 방전됨으로써 비의도적으로 전원 오프된 경우, 미디어 파일과 관련된 식별값이나, DB 파일의 생성 일자가 생성되는 프로세스를 거칠 수 없기 때문이다. 그래서, 사용자 단말이 비정상적으로 전원 오프된 경우에 실행 조건 판단부(201)는 별도의 확인 과정없이 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다.Specifically, when the user terminal is abnormally powered off, the execution condition determiner 201 may determine that there is an abnormality in the validity of the media file. This is because, when the battery is suddenly detached from the user terminal or the battery is unexpectedly powered off due to the battery being completely discharged, the identification value associated with the media file or the creation date of the DB file is generated. This is because the process cannot be performed. Thus, when the user terminal is abnormally powered off, the execution condition determination unit 201 may determine that there is an abnormality in the validity of the media file without a separate confirmation process.

반대로, 사용자 단말이 정상적으로 전원 오프된 경우, 실행 조건 판단부(201)는 내부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 내부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다. 이 때, 식별값은 사용자 단말의 부팅 전후로 DB 파일이 전체적으로 변경되었는 지 또는 어느 정도로 변경되었는지를 확인하기 위해 사용될 수 있다.On the contrary, when the user terminal is normally powered off, the execution condition determining unit 201 uses the identification value indicating whether the DB file related to the internal storage medium is changed and the creation date of the DB file related to the internal storage medium. The validity can be judged. At this time, the identification value may be used to check whether the DB file has been changed or how much has changed before and after the user terminal booting.

예를 들어, 식별값은 미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리)에 기초하여 결정될 수 있다. 구체적으로, 사용자 단말의 내부 저장 매체의 전체 용량 중 저장 용량이 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 저장 용량의 차이만큼 식별값이 변경될 수 있다. 그리고, 사용자 단말의 내부 저장 매체의 전체 파일 개수가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 개수의 차이만큼 식별값이 변경될 수 있다. 또한, 사용자 단말의 내부 저장 매체에서 폴더의 생성/이름 변경/삭제/이동 등으로 인해서 파일 구조가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 구조의 변경 횟수만큼 식별값이 변경될 수 있다.For example, the identification value may be determined based on the file size of the media file, the number of files, and the file structure (directory). Specifically, when the storage capacity among the total capacity of the internal storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference of the storage capacity before and after booting. When the total number of files of the internal storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference between the number of files before and after booting. In addition, when the file structure is different from before and after booting due to the creation, renaming, deleting, or moving of the folder in the internal storage medium of the user terminal, the identification value may be changed by the number of times the file structure is changed before and after booting.

일례로, 식별값은 Java에서 제공하는 CRC 32 산출 API를 통해 계산되는 CRC Checksum을 포함할 수 있다. 그리고, DB 파일은 internal.db 를 의미한다.For example, the identification value may include a CRC checksum calculated through a CRC 32 calculation API provided by Java. The DB file stands for internal.db.

만약, 부팅 전후의 식별값이 다르거나 또는 DB 파일의 생성일자가 다르다면, 실행 조건 판단부(201)는 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다.If the identification value before and after booting is different or the creation date of the DB file is different, the execution condition determination unit 201 may determine that there is an abnormality in the validity of the media file.

그리고, 실행 조건 판단부(201)는 내부 저장 매체의 미디어 스캐닝의 실행 주기를 확인할 수 있다. 일례로, 실행 조건 판단부(201)는 내부 저장 매체의 미디어 스캐닝의 실행 주기와 기설정된 설정 주기를 비교할 수 있다. 구체적으로, 실행 조건 판단부(201)는 부팅 시점의 날짜와 마지막으로 미디어 스캐닝을 수행한 날짜 간의 차이인 미디어 스캐닝의 실행 주기와 기설정된 설정 주기를 비교할 수 있다.The execution condition determiner 201 may check an execution cycle of media scanning of the internal storage medium. For example, the execution condition determiner 201 may compare an execution cycle of media scanning of the internal storage medium with a preset setting cycle. In detail, the execution condition determiner 201 may compare the execution period of the media scanning, which is the difference between the date of the boot time and the date of the last media scanning, and the preset setting period.

기설정된 설정 주기는 사용자가 임의로 설정한 기간으로 인터페이스를 통해 변경될 수 있다. 또한, 실행 조건 판단부(201)는 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그, 외부 서비스를 통한 미디어 파일의 다운로드 로그, 내부 저장 매체의 전체 용량, 내부 저장 매체의 디렉토리 개수 등 적어도 하나의 기준에 따라 기설정된 설정 주기를 조정할 수 있다.The preset setting period may be changed through the interface as a period arbitrarily set by the user. In addition, the execution condition determination unit 201 may be configured to process a log of an application related to creation / change / deletion of a media file, a log of transmission and reception of a media file with another terminal, a download log of a media file through an external service, and an entire internal storage medium. The preset setting period may be adjusted according to at least one criterion such as a capacity and the number of directories of the internal storage medium.

예를 들어, 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그 또는 외부 서비스를 통한 미디어 파일의 다운로드 로그가 미리 설정한 횟수 이상으로 발생된 경우, 실행 조건 판단부(201)는 기설정된 설정 주기를 짧게 조정할 수 있다. 또한, 내부 저장 매체의 전체 용량이 기준 용량보다 크거나 내부 저장 매체의 디렉토리 개수가 미리 설정된 개수보다 큰 경우, 기설정된 설정 주기를 짧게 조정할 수 있다. For example, if the processing log of an application related to the creation / modification / deletion of a media file, the transmission / reception log of a media file with another terminal, or the download log of a media file through an external service occurs more than a preset number of times, the execution is executed. The condition determiner 201 may shortly adjust the preset setting cycle. In addition, when the total capacity of the internal storage medium is larger than the reference capacity or the number of directories of the internal storage medium is larger than the preset number, the preset setting cycle may be shortened.

이하에서 설명하겠지만, 내부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 수행부(202)는 미디어 스캐닝을 수행하므로 기설정된 설정 주기를 특정 상황에 따라 짧게 조정함으로써 미디어 스캐닝의 수행 가능성을 높일 수 있다.As will be described below, when the execution period of the media scanning of the internal storage medium is longer than the predetermined setting period, the media scanning performing unit 202 performs the media scanning, so that the media scanning by shortening the preset setting period according to a specific situation Can increase the performance.

내부 저장 매체에 저장된 미디어 파일의 유효성에 이상이 있는 경우, 미디어 스캐닝 수행부(202)는 내부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다. 한편, 내부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기와 같거나 짧은 경우, 미디어 스캐닝 수행부(202)는 내부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행하지 않을 수 있다. 반대로, 내부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 수행부(202)는 내부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다.If there is an error in the validity of the media file stored in the internal storage medium, the media scanning performing unit 202 may perform media scanning on the entire area of the internal storage medium. Meanwhile, when the execution period of media scanning of the internal storage medium is equal to or shorter than the preset setting period, the media scanning execution unit 202 may not perform media scanning on the entire area of the internal storage medium. On the contrary, when the execution period of the media scanning of the internal storage medium is longer than the preset setting period, the media scanning performing unit 202 may perform the media scanning on the entire area of the internal storage medium.

앞서 설명한 내부 저장 매체의 설명은 외부 저장 매체에도 동일하게 적용될 수 있다.The description of the internal storage medium described above may be equally applied to the external storage medium.

일례로, 실행 조건 판단부(201)는 사용자 단말의 외부에 위치한 외부 저장 매체와 관련된 미디어 파일의 유효성을 판단할 수 있다. 이 때, 실행 조건 판단부(201)는 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단할 수 있다. 그리고, 실행 조건 판단부(201)는 외부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 외부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다.In one example, the execution condition determiner 201 may determine the validity of the media file associated with the external storage medium located outside the user terminal. At this time, the execution condition determination unit 201 may determine whether the user terminal is normally powered off or abnormally powered off before booting, and determine the validity of the media file. The execution condition determiner 201 may determine the validity of the media file using an identification value indicating whether the DB file related to the external storage medium is changed and a creation date of the DB file related to the external storage medium.

여기서, 정상적으로 전원 오프된 경우는, 사용자가 사용자 단말을 통해 단말의 종료를 요청하면, 단말이 그 요청에 따라 정상적인 과정을 통해 전원을 오프하는 것을 의미한다. 예를 들어, 사용자가 전원 버튼을 일정시간 이상 누른 경우를 의미할 수 있다. 한편, 비정상적으로 전원 오프된 경우는, 사용자가 임의로 사용자 단말에 연결되는 전원을 차단하거나, 배터리를 이탈시켜 정상적인 전원 종료 과정없이 갑자기 전원을 오프시키는 경우를 의미할 수 있다.In this case, when the power is normally turned off, when the user requests termination of the terminal through the user terminal, it means that the terminal turns off the power through a normal process according to the request. For example, this may mean that the user presses the power button for a predetermined time or more. On the other hand, if the power is abnormally off, it may mean that the user randomly cuts off the power connected to the user terminal, or suddenly turn off the power without a normal power shutdown process by detaching the battery.

구체적으로, 사용자 단말이 비정상적으로 전원 오프된 경우, 실행 조건 판단부(201)는 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다. 왜냐하면, 사용자 단말의 종료 절차를 통해 전원 오프된 것이 아니라, 배터리를 갑자기 이탈시키거나, 배터리가 완전 방전됨으로써 비의도적으로 전원 오프된 경우, 미디어 파일과 관련된 식별값이나, DB 파일의 생성 일자가 생성되는 프로세스를 거칠 수 없기 때문이다. 그래서, 사용자 단말이 비정상적으로 전원 오프된 경우에 실행 조건 판단부(201)는 별도의 확인 과정없이 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다.Specifically, when the user terminal is abnormally powered off, the execution condition determiner 201 may determine that there is an abnormality in the validity of the media file. This is because, when the battery is suddenly detached from the user terminal or the battery is unexpectedly powered off due to the battery being completely discharged, the identification value associated with the media file or the creation date of the DB file is generated. This is because the process cannot be performed. Thus, when the user terminal is abnormally powered off, the execution condition determination unit 201 may determine that there is an abnormality in the validity of the media file without a separate confirmation process.

반대로, 사용자 단말이 정상적으로 전원 오프된 경우, 실행 조건 판단부(201)는 외부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 외부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다. 이 때, 식별값은 사용자 단말의 부팅 전후로 DB 파일이 전체적으로 변경되었는 지 또는 어느 정도로 변경되었는지를 확인하기 위해 사용될 수 있다. On the contrary, when the user terminal is normally powered off, the execution condition determining unit 201 uses the identification value indicating whether the DB file related to the external storage medium is changed and the creation date of the DB file related to the external storage medium. The validity can be judged. At this time, the identification value may be used to check whether the DB file has been changed or how much has changed before and after the user terminal booting.

예를 들어, 식별값은 미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리)에 기초하여 결정될 수 있다. 구체적으로, 사용자 단말의 외부 저장 매체의 전체 용량 중 저장 용량이 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 저장 용량의 차이만큼 식별값이 변경될 수 있다. 그리고, 사용자 단말의 외부 저장 매체의 전체 파일 개수가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 개수의 차이만큼 식별값이 변경될 수 있다. 또한, 사용자 단말의 외부 저장 매체에서 폴더의 생성/이름 변경/삭제/이동 등으로 인해서 파일 구조가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 구조의 변경 횟수만큼 식별값이 변경될 수 있다.For example, the identification value may be determined based on the file size of the media file, the number of files, and the file structure (directory). Specifically, when the storage capacity of the total capacity of the external storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference of the storage capacity before and after booting. When the total number of files of the external storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference between the number of files before and after booting. In addition, when the file structure is different from before booting to after booting due to creation / rename / delete / move of a folder in an external storage medium of the user terminal, the identification value may be changed as many times as the file structure before and after booting.

일례로, 식별값은 Java에서 제공하는 CRC 32 산출 API를 통해 계산되는 CRC Checksum을 포함할 수 있다. 그리고, DB 파일은 external.db를 의미한다.For example, the identification value may include a CRC checksum calculated through a CRC 32 calculation API provided by Java. The DB file stands for external.db.

만약, 부팅 전후의 식별값이 다르거나 또는 DB 파일의 생성일자가 다르다면, 실행 조건 판단부(201)는 미디어 파일의 유효성에 이상이 있다고 판단할 수 있다.If the identification value before and after booting is different or the creation date of the DB file is different, the execution condition determination unit 201 may determine that there is an abnormality in the validity of the media file.

그리고, 실행 조건 판단부(201)는 외부 저장 매체의 미디어 스캐닝의 실행 주기를 확인할 수 있다. 일례로, 실행 조건 판단부(201)는 외부 저장 매체의 미디어 스캐닝의 실행 주기와 기설정된 설정 주기를 비교할 수 있다. 구체적으로, 실행 조건 판단부(201)는 부팅 시점의 날짜와 마지막으로 미디어 스캐닝을 수행한 날짜 간의 차이인 미디어 스캐닝의 실행 주기와 기설정된 설정 주기를 비교할 수 있다.The execution condition determiner 201 may check an execution cycle of media scanning of the external storage medium. For example, the execution condition determiner 201 may compare the execution cycle of the media scanning of the external storage medium with a preset setting cycle. In detail, the execution condition determiner 201 may compare the execution period of the media scanning, which is the difference between the date of the boot time and the date of the last media scanning, and the preset setting period.

기설정된 설정 주기는 사용자가 임의로 설정한 기간으로 인터페이스를 통해 변경될 수 있다. 또한, 실행 조건 판단부(201)는 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그, 외부 서비스를 통한 미디어 파일의 다운로드 로그, 외부 저장 매체의 전체 용량, 외부 저장 매체의 디렉토리 개수 등 적어도 하나의 기준에 따라 기설정된 설정 주기를 조정할 수 있다.The preset setting period may be changed through the interface as a period arbitrarily set by the user. In addition, the execution condition determination unit 201 is a processing log of an application related to the creation / change / deletion of a media file, a transmission / reception log of a media file with another terminal, a download log of a media file through an external service, and an entire external storage medium. The predetermined setting period may be adjusted according to at least one criterion such as capacity, number of directories of an external storage medium, and the like.

예를 들어, 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그 또는 외부 서비스를 통한 미디어 파일의 다운로드 로그가 미리 설정한 횟수 이상으로 발생된 경우, 실행 조건 판단부(201)는 기설정된 설정 주기를 짧게 조정할 수 있다. 또한, 외부 저장 매체의 전체 용량이 기준 용량보다 크거나 외부 저장 매체의 디렉토리 개수가 미리 설정된 개수보다 큰 경우, 기설정된 설정 주기를 짧게 조정할 수 있다. For example, if the processing log of an application related to the creation / modification / deletion of a media file, the transmission / reception log of a media file with another terminal, or the download log of a media file through an external service occurs more than a preset number of times, the execution is executed. The condition determiner 201 may shortly adjust the preset setting cycle. In addition, when the total capacity of the external storage medium is larger than the reference capacity or the number of directories of the external storage medium is larger than the preset number, the preset setting cycle may be shortened.

이하에서 설명하겠지만, 외부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 수행부(202)는 미디어 스캐닝을 수행하므로 기설정된 설정 주기를 특정 상황에 따라 짧게 조정함으로써 미디어 스캐닝의 수행 가능성을 높일 수 있다.As will be described below, when the execution period of the media scanning of the external storage medium is longer than the predetermined setting period, the media scanning performing unit 202 performs the media scanning, so that the media scanning by shortening the preset setting period according to a specific situation Can increase the performance.

한편, 실행 조건 판단부(201)는 사용자 단말의 부팅 시점에 기초한 외부 저장 매체의 장착 상태를 확인할 수 있다. 구체적으로, 실행 조건 판단부(201)는 사용자 단말의 부팅 이후에 외부 저장 매체가 장착되었는 지 여부를 판단할 수 있다. 즉, 실행 조건 판단부(201)는 외부 저장 매체에 대한 부팅 이전의 장착 상태와 부팅 이후의 장착 상태를 비교하여 확인할 수 있다.Meanwhile, the execution condition determiner 201 may check the mounting state of the external storage medium based on the boot time of the user terminal. In detail, the execution condition determiner 201 may determine whether an external storage medium is mounted after booting of the user terminal. That is, the execution condition determination unit 201 may check the mounting state before booting and the mounting state after booting with respect to the external storage medium.

외부 저장 매체에 저장된 미디어 파일의 유효성에 이상이 있는 경우, 미디어 스캐닝 수행부(202)는 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다. 한편, 외부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기와 같거나 짧은 경우, 미디어 스캐닝 수행부(202)는 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행하지 않을 수 있다. 반대로, 외부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 수행부(202)는 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다.When there is an abnormality in the validity of the media file stored in the external storage medium, the media scanning performing unit 202 may perform media scanning on the entire area of the external storage medium. Meanwhile, when the execution period of media scanning of the external storage medium is equal to or shorter than the preset setting period, the media scanning performing unit 202 may not perform media scanning on the entire area of the external storage medium. On the contrary, when the execution period of media scanning of the external storage medium is longer than a preset setting period, the media scanning performing unit 202 may perform media scanning on the entire area of the external storage medium.

그리고, 외부 저장 매체가 부팅 이전에 장착되지 않았지만 부팅 이후에 장착된 경우, 또는 외부 저장 매체가 부팅 이후에 장착해제된 후 다시 장착된 경우, 미디어 스캐닝 수행부(202)는 미디어 스캐닝을 수행할 수 있다. 그리고, 부팅 이전에 사용자 단말에 장착된 외부 저장 매체와 부팅 이후에 사용자 단말에 장착된 외부 저장 매체가 서로 다른 경우, 미디어 스캐닝 수행부(202)는 부팅 이후에 장착된 외부 저장 매체에 대해 미디어 스캐닝을 수행할 수 있다.If the external storage medium is not mounted before booting but is mounted after booting, or if the external storage medium is unmounted after booting and then remounted, the media scanning execution unit 202 may perform media scanning. have. If the external storage medium mounted to the user terminal before booting differs from the external storage medium mounted to the user terminal after booting, the media scanning execution unit 202 scans the media with respect to the external storage medium mounted after booting. Can be performed.

앞서 설명한 사항들과 별개로, 사용자가 내부 저장 매체 또는 외부 저장 매체에 저장된 파일들을 제어하거나, 미디어 스캐닝의 동작 자체에 대해 별도의 설정함으로써, 미디어 스캐닝이 발생하지 않도록 할 수 있다. 예를 들어, 내부 저장 매체 또는 외부 저장 매체에 대해 사용자가 미디어 스캐닝이 수행되지 않는 특정 폴더를 지정하고, 지정된 폴더에 미디어 스캐닝이 불필요한 파일을 삽입할 수 있다. 또한, 내부 저장 매체 또는 외부 저장 매체에 대해 사용자가 미디어 스캐닝이 불필요하다고 판단된 파일에 부가적인 특수 기호를 부가할 수 있다. 그리고, 내부 저장 매체 또는 외부 저장 매체에 대해 사용자는 유효성 판단, 실행 주기 판단, 장착 상태 판단과 무관하게 미디어 스캐닝이 발생하지 않도록 강제 설정하고, 이후에 미디어 스캐닝이 필요한 경우에 임의로 미디어 스캐닝이 동작할 수 있도록 제어할 수 있다. 그러면, 미디어 스캐닝 수행부(202)는 사용자의 제어 사항을 고려하여 미디어 스캐닝을 진행을 제어할 수 있다.Apart from the above-described matters, the user can control the files stored in the internal storage medium or the external storage medium, or set a separate setting for the media scanning operation itself, thereby preventing the media scanning from occurring. For example, a user may designate a specific folder in which media scanning is not performed on the internal storage medium or the external storage medium, and insert a file that does not require media scanning in the designated folder. In addition, for the internal storage medium or the external storage medium, the user may add additional special symbols to the file determined that the media scanning is unnecessary. For the internal storage medium or the external storage medium, the user is forced to prevent the media scanning from occurring regardless of the validity determination, the execution cycle determination, and the mounting state determination. Then, when the media scanning is required, the media scanning may be arbitrarily performed. Can be controlled. Then, the media scanning execution unit 202 may control the media scanning in consideration of the user's control.

도 3은 본 발명의 일실시예에 따른 모바일 OS의 프레임워크의 초기화 과정을 도시한 도면이다.3 is a diagram illustrating an initialization process of a framework of a mobile OS according to an embodiment of the present invention.

도 3은 모바일 OS가 설치된 사용자 단말에서 부팅이 될 때, 사용자 단말의 동작 과정을 나타낸다. 도 3은 모바일 OS 중 안드로이드 기반의 OS를 예시로 설명하고 있지만, 안드로이드는 하나의 예시에 불과하고 다른 OS도 동일한 기술적 사상으로서 적용될 수 있다.3 illustrates an operation process of a user terminal when booting from a user terminal on which a mobile OS is installed. Although FIG. 3 illustrates an example of an Android-based OS among mobile OSes, Android is merely an example and other OSes may be applied as the same technical idea.

본 발명은 사용자 단말에 메모리와 같은 내부 저장 매체가 내장되어 있거나, 외부 저장 매체가 추가로 장착되는 경우에 적용될 수 있다. 이러한 사용자 단말의 사용 환경에서 모바일 OS가 부팅된 이후에 내부 저장 매체 또는 외부 저장 매체에 저장된 미디어 파일과 관련된 다양한 속성을 스캔하고, 스캔 결과를 별도의 DB 파일에 저장할 수 있는 형태이면 모두 적용 가능할 수 있다.The present invention can be applied when an internal storage medium such as a memory is built in the user terminal or an external storage medium is additionally mounted. In the user environment of such a user terminal, it may be applicable as long as it scans various attributes related to media files stored in an internal storage medium or an external storage medium after the mobile OS is booted and stores the scan results in a separate DB file. have.

안드로이드는 리눅스 기반의 플랫폼이기 때문에, 사용자 단말이 부팅되면 부트 로더를 통해 리눅스 커널이 동작한다. 리눅스 커널이 시작되면, init 프로세스가 호출된다. init 프로세스는 각종 디바이스를 초기화하는 작업을 수행하며, 프레임워크 동작에 필요한 각종 데몬, 컨텍스트 매니저, 미디어 서버, Zygote를 실행할 수 있다.Because Android is a Linux-based platform, the Linux kernel runs through a boot loader when the user terminal boots up. When the Linux kernel starts, the init process is called. The init process is responsible for initializing various devices, and can run various daemons, context managers, media servers, and Zygotes that are required to run the framework.

컨텍스트 매니저는 안드로이드의 시스템 서비스를 관리하는 중요한 프로세스다. 시스템 서비스는 카메라, 오디오, 비디오 처리에서부터 각종 어플리케이션 제작에 필요한 중요 API를 제공할 수 있다.The context manager is an important process for managing Android's system services. The system service can provide important APIs required for producing various applications from camera, audio, and video processing.

미디어 서버는 오디오 출력을 담당하거나 카메라 서비스와 같이 네이티브 시스템 서비스를 실행할 수 있다. Zygote는 안드로이드 어플리케이션의 로딩 시간을 단축하기 위한 프로세스로서, 모든 자바 기반 안드로이드 어플리케이션은 Zygote를 통해 포크(fork)된 프로세스 상에서 동작할 수 있다.The media server can be responsible for audio output or run native system services such as camera services. Zygote is a process for speeding up the loading time of Android applications, so any Java-based Android application can run on a forked process through Zygote.

시스템 서버는 Zygote에서 최초로 포크되어 실행되는 안드로이드 어플리케이션 프로세스로서, 액티비티 매니저 서비스나 로케이션 매니저 서비스와 같은 자바 시스템 서비스를 실행할 수 있다. 모든 자바 시스템 서비스가 로딩된 이후에, 액티비티 매니저 서비스가 홈 어플리케이션을 실행하면서 계속 부팅 과정이 진행된다.The system server is the first Android application process to fork and run on Zygote, which can run Java system services such as the Activity Manager service or the Location Manager service. After all Java system services have been loaded, the activity manager service continues to boot as the home application runs.

특히, 본 발명의 일실시예에 따르면, 사용자 단말이 부팅이 시작된 이후에 실행되는 미디어 서버는 사용자 단말의 내부 저장 매체 또는 외부 저장 매체에 저장된 미디어 파일을 스캔할 수 있는 특정 어플리케이션인 미디어 스캐너를 수행할 수 있다. 이 때, 미디어 스캐닝 장치는 부팅 과정에서 실행되는 미디어 서버에 대응되며, 미디어 스캐닝 장치는 부팅 이후에 미리 설정된 미디어 스캐닝의 실행 조건을 만족하는 경우에 미디어 스캐너를 통해 내부 저장 매체 또는 외부 저장 매체에 저장된 미디어 파일을 스캔할 수 있다. In particular, according to an embodiment of the present invention, a media server that is executed after the user terminal starts booting performs a media scanner, which is a specific application that can scan media files stored in an internal storage medium or an external storage medium of the user terminal. can do. In this case, the media scanning apparatus corresponds to a media server executed in a booting process, and the media scanning apparatus is stored in an internal storage medium or an external storage medium through a media scanner when the media scanning execution condition is set after booting. You can scan media files.

여기서, 미디어 스캐닝의 실행 조건은 미디어 파일의 유효성, 미디어 스캐닝의 실행 주기, 외부 저장 매체의 장착 상태를 포함하며, 상황에 따라서는 내부 저장 매체 또는 외부 저장 매체의 전체 영역이 아닌 부팅 전과 부팅 후에 차이가 나는 일부 영역에 대해 미디어 스캐닝을 수행함으로써, 미디어 스캐닝으로 인해 발생하는 부팅 시간의 대기 시간이 실질적으로 감소될 수 있다.Here, the execution condition of the media scanning includes the validity of the media file, the execution cycle of the media scanning, and the mounting state of the external storage medium. By performing media scanning for some areas, the waiting time of boot time caused by media scanning can be substantially reduced.

도 4는 본 발명의 일실시예에 따른 미디어 스캐닝 장치의 구현 예시를 도시한 도면이다.4 is a diagram illustrating an implementation of a media scanning apparatus according to an embodiment of the present invention.

모바일 OS를 통해 사용자 단말이 부팅되면, 미디어 스캐닝 장치는 사용자 단말의 내부 저장 매체 또는 외부 저장 매체에 저장된 미디어 파일을 스캐닝하여 어떠한 미디어 파일이 존재하는 지 파악할 수 있다. 이와 같은 미디어 스캐닝이 완료되면 미디어 스캐닝을 통해 파악된 미디어 파일의 파일 속성이 별도의 DB에 저장되며, 부팅 이후에 동작하는 어플리케이션은 라이브러리인 DB에 접속하여 파일을 읽을 수 있다.When the user terminal is booted through the mobile OS, the media scanning apparatus may determine which media file exists by scanning a media file stored in an internal storage medium or an external storage medium of the user terminal. When the media scanning is completed, the file attribute of the media file determined through media scanning is stored in a separate DB, and an application running after booting can read the file by accessing the library DB.

이 때, 부팅과 함께 수행되는 미디어 스캐닝은 전체 스캐닝으로서 내부 저장 매체 또는 외부 저장 매체의 전체 영역에 대해 수행될 수 있다. 이 때, 본 발명의 일실시예에 의하면, 내부 저장 매체나 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝이 수행되는 경우, 미디어 스캐닝의 처리 시간으로 인해 사용자가 체감하는 부팅 시간이 증가하므로, 미디어 스캐닝 장치는 미리 설정된 미디어 스캐닝의 실행 조건을 만족하는 경우에 내부 저장 매체 또는 외부 저장 매체의 전체 영역 또는 일부 영역에서 미디어 스캐닝을 수행할 수 있다.At this time, media scanning performed with booting may be performed for the entire area of the internal storage medium or the external storage medium as full scanning. In this case, according to an embodiment of the present invention, when media scanning is performed on the entire area of the internal storage medium or the external storage medium, the booting time felt by the user increases due to the processing time of the media scanning, and thus the media scanning is performed. The apparatus may perform media scanning in the entire area or a partial area of the internal storage medium or the external storage medium when the preset execution condition of the media scanning is satisfied.

미디어 스캐닝은 미디어 파일이 저장된 파일 시스템에 접근하거나 시스템을 최초 부팅할 때 저장 매체에 저장된 미디어 파일들을 스캔 하여 라이브러리를 구축할 때 수행된다. Media scanning is performed when the library is built by scanning the media files stored in the storage media when accessing the file system where the media files are stored or when the system is first booted.

일례로, 모바일 OS가 안드로이드 기반인 경우, 다음과 같은 과정을 통해 미디어 스캐닝이 수행될 수 있다.For example, when the mobile OS is based on Android, media scanning may be performed through the following process.

미디어 스캐닝은 onReceive()함수를 통해 MediaScannerReceiver에서 시작될 수 있다. MediaScannerReceiver는 ACTION_BOOT_COMPLETED, ACTION_MEDIA_MOUNTED, ACTION_MEDIA_SCANNER_FILE과 같은 인텐트(Intent)에 각각 반응할 수 있다. 여기서, ACTION_BOOT_COMPLETED는 사용자 단말이 부팅을 수행한 이후에 한번 브로드캐스팅되며, ACTION_MEDIA_MOUNTED는 사용자 단말에 외부 저장 매체가 마운트되었을 때 브로드캐스팅되며, ACTION_MEDIA_SCANNER_FILE은 미디어 스캐너가 해당 파일을 스캔하고 데이터베이스에 추가할 수 있다. 미디어 스캐닝은 처리 시간이 다소 걸리기 때문에, 실질적인 처리는 MediaScannerService에서 수행된다. Media scanning can be started in the MediaScannerReceiver via the onReceive () function. The MediaScannerReceiver may respond to intents such as ACTION_BOOT_COMPLETED, ACTION_MEDIA_MOUNTED, and ACTION_MEDIA_SCANNER_FILE, respectively. Here, ACTION_BOOT_COMPLETED is broadcast once after the user terminal has booted, ACTION_MEDIA_MOUNTED is broadcast when an external storage medium is mounted on the user terminal, and ACTION_MEDIA_SCANNER_FILE can be scanned by the media scanner and added to the database. . Since media scanning takes some time to process, the actual processing is performed in the MediaScannerService.

MediaScannerService는 MediaScanner라는 객체를 만들고, MediaScanner는 MediaProvider라는 Media Database를 이용하여 미디어 스캐닝을 통해 얻은 미디어 파일의 정보를 데이터 베이스(Database, DB)에 정리할 수 있다. 그리고, MediaScanner는 DB에서 미디어 파일에 대한 정보를 추출할 수 있다. 앞서 설명한 동작들은 하나의 미디어 파일의 정보를 얻을 때마다 수행되며 미디어 스캐닝이 완료 후 사용자 단말의 내부 저장 매체와 외부 저장 매체에 저장된 모든 미디어 파일들의 정보가 담긴 Database (external.db , internal.db )가 획득된다. 그러면, 갤러리(Gallery)와 같은 어플리케이션은 컨텐츠 View 동작을 수행할 때 Database 를 이용하여 미리보기 기능 등을 제공할 수 있다.MediaScannerService creates an object called MediaScanner, and MediaScanner can organize the information of media files obtained through media scanning into a database (Database, DB) using a Media Database called MediaProvider. The MediaScanner may extract information about the media file from the DB. The above-described operations are performed whenever information of one media file is obtained, and after completion of media scanning, a database (external.db, internal.db) containing information of all media files stored in the internal storage medium and the external storage medium of the user terminal. Is obtained. Then, an application such as a gallery may provide a preview function using a database when performing a content view operation.

본 발명의 일실시예에 의하면, 인텐트를 처리하기에 앞서 설명한 CRC Checksum이나 DB 비교 등으로 내부 저장 매체와 외부 저장 매체에 저장된 미디어 파일의 유효성을 체크하는 루틴(CheckFile())과 미디어 스캐닝의 실행 주기를 확인하는 루틴(CheckScanningDuration())이 추가될 수 있다. 즉, 미디어 파일이 유효하지 않아 미디어 스캐닝을 수행해야 하는지가 결정되며, 혹은 미디어 파일이 유효하지만 미디어 스캐닝을 수행한 날짜에 따라 미디어 스캐닝을 수행해야 하는지가 결정될 수 있다.According to an embodiment of the present invention, the routine (CheckFile ()) and the media scanning to check the validity of the media file stored in the internal storage medium and the external storage medium by using the CRC checksum or DB comparison described above prior to processing the intent A routine (CheckScanningDuration ()) for checking the execution cycle may be added. That is, it may be determined whether media scanning is to be performed because the media file is not valid, or whether media scanning should be performed according to the date when the media file is valid but the media scanning is performed.

이후 미디어 스캐닝이 필요하다면 이전과 동일하게 실질적인 처리는 MediaScannerService에서 이루어질 수 있다. MediaScannerService는 MediaScanner라는 객체를 만들고 이 MediaScanner는 MediaProvider라는 Media Database를 이용하여 미디어 스캐닝을 통해 도출한 미디어 파일의 정보를 데이터베이스에 기록할 수 있다. 그러면, 차후에 DB로부터 미디어 파일에 대한 정보를 추출할 수 있으며, 만약 미디어 스캐닝이 필요하지 않다고 결정된 경우 이전에 수행한 미디어 스캐닝의 결과가 기록된 데이터베이스를 이용할 수 있다.If media scanning is needed afterwards, the same substantial processing can be done in MediaScannerService as before. MediaScannerService creates an object called MediaScanner, which can use the Media Database called MediaProvider to record the information of the media files derived through media scanning into the database. Then, information about the media file can be extracted later from the DB. If it is determined that media scanning is not necessary, a database in which the result of the media scanning performed previously can be used.

도 5는 본 발명의 일실시예에 따른 미디어 스캐닝 장치의 동작 과정을 도시한 도면이다.5 is a flowchart illustrating an operation process of a media scanning apparatus according to an embodiment of the present invention.

본 발명의 일실시예에 따르면, 사용자 단말의 부팅 완료와 관련된 처리 명령이 미디어 스캐닝 장치에 도달하면, 미디어 스캐닝 장치는 미디어 스캐닝을 수행할 지 여부를 별도로 판단한 후에 미디어 스캐닝을 수행할 수 있다.According to an embodiment of the present invention, when the processing instruction related to the booting completion of the user terminal reaches the media scanning apparatus, the media scanning apparatus may perform media scanning after separately determining whether to perform the media scanning.

도 5을 참고하면, 단계(501)에서, 사용자 단말의 부팅이 완료될 수 있다. 그러면, 단계(502)에서, 부팅 완료와 관련된 처리 명령이 미디어 스캐닝 장치에 도달할 수 있다. 일례로, 모바일 OS가 안드로이드 기반인 경우, 부팅 완료와 관련된 인텐트(ACTION_BOOT_COMPLETED)가 미디어 스캐닝 장치에 대응하는 Mediascanner에 전송될 수 있다. 단계(503)에서, 미디어 스캐닝 장치는 부팅 완료와 관련된 처리 명령을 수신할 수 있다. 즉, MediaScanner는 부팅 완료와 관련된 인텐트를 수신할 수 있다.Referring to FIG. 5, in step 501, booting of a user terminal may be completed. Then, at step 502, processing instructions related to boot completion may arrive at the media scanning device. For example, if the mobile OS is based on Android, an intent related to booting completion (ACTION_BOOT_COMPLETED) may be transmitted to the Mediascanner corresponding to the media scanning device. In step 503, the media scanning device may receive a processing instruction related to boot completion. That is, the MediaScanner may receive an intent related to boot completion.

특히, 본 발명의 일실시예에 따르면, 미디어 스캐닝 장치는 부팅 완료와 관련된 처리 명령을 수신한 이후에 미디어 스캐닝을 바로 수행하는 것이 아니라, 내부 저장 매체 또는 외부 저장 매체 각각이 미디어 스캐닝을 수행할 필요가 있는지를 판단할 수 있다. In particular, according to an embodiment of the present invention, the media scanning apparatus does not immediately perform media scanning after receiving a processing instruction related to booting completion, but requires that each of the internal storage media or the external storage media perform media scanning. Can be determined.

구체적으로, 내부 저장 매체와 관련하여, 미디어 파일의 유효성, 미디어 스캐닝의 실행 주기에 따라 미디어 스캐닝의 수행 여부가 결정될 수 있다. 그리고, 외부 저장 매체와 관련하여, 미디어 파일의 유효성, 미디어 스캐닝의 실행 주기 및 외부 저장 매체의 장착 상태에 따라 미디어 스캐닝의 수행 여부가 결정될 수 있다.In detail, with respect to the internal storage medium, whether to perform media scanning may be determined according to the validity of the media file and the execution cycle of the media scanning. In relation to the external storage medium, whether to perform the media scanning may be determined according to the validity of the media file, the execution cycle of the media scanning, and the mounting state of the external storage medium.

만약, 내부 저장 매체와 외부 저장 매체에 대해 미디어 스캐닝을 수행할 필요가 없는 경우, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하지 않고 종료할 수 있다. 하지만, 내부 저장 매체와 외부 저장 매체에 대해 미디어 스캐닝을 수행할 필요가 있는 경우, 단계(505)와 단계(506)에서 미디어 스캐닝 장치는 미디어 스캐닝을 시작한 후 미디어 스캐닝을 종료할 수 있다. 미디어 스캐닝이 종료됨에 따라 내부 저장 매체에 대한 DB 파일(Internal.db)와 외부 저장 매체에 대한 DB 파일(External.db)이 생성될 수 있다.If it is not necessary to perform media scanning on the internal storage medium and the external storage medium, the media scanning apparatus may terminate without performing the media scanning. However, when it is necessary to perform media scanning on the internal storage medium and the external storage medium, in step 505 and step 506, the media scanning apparatus may terminate the media scanning after starting the media scanning. As media scanning ends, a DB file (Internal.db) for an internal storage medium and a DB file (External.db) for an external storage medium may be generated.

도 6은 본 발명의 일실시예에 따른 사용자 단말의 내부 저장 매체의 미디어 스캐닝의 처리 필요성을 판단하는 과정을 설명하는 도면이다.FIG. 6 is a diagram illustrating a process of determining a necessity for processing media scanning of an internal storage medium of a user terminal according to an embodiment of the present invention.

단계(601)에서, 미디어 스캐닝 장치는 미디어 스캐닝을 호출할 수 있다. 구체적으로, 미디어 스캐닝 장치는 미디어 스캐닝을 호출함으로써 미디어 스캐닝 과정을 진행할 수 있다.In step 601, the media scanning device may call for media scanning. In detail, the media scanning apparatus may proceed with a media scanning process by calling media scanning.

단계(602)에서, 미디어 스캐닝 장치는 내부 저장 매체와 관련된 Internal.db의 유효성에 이상이 있는지 여부를 판단할 수 있다. 구체적으로, 미디어 스캐닝 장치는 내부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 내부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다. 만약, 내부 저장 매체와 관련된 Internal.db의 유효성에 이상이 있는 경우, 단계(604)에서, 미디어 스캐닝 장치는 내부 저장 매체의 미디어 스캐닝을 수행할 수 있다.In operation 602, the media scanning apparatus may determine whether there is an error in the validity of Internal.db related to the internal storage medium. In detail, the media scanning apparatus may determine the validity of the media file using an identification value indicating whether the DB file related to the internal storage medium is changed and a creation date of the DB file related to the internal storage medium. If there is an abnormality in the validity of Internal.db related to the internal storage medium, in step 604, the media scanning apparatus may perform media scanning of the internal storage medium.

반대로, 내부 저장 매체와 관련된 Internal.db의 유효성에 이상이 없는 경우, 단계(603)에서, 미디어 스캐닝 장치는 미디어 스캐닝의 실행 주기가 기설정된 설정 주기를 초과하는 지 여부를 판단할 수 있다. 여기서, 미디어 스캐닝의 실행 주기는 부팅이 완료된 현재 시점과 부팅 이전에 미디어 스캐닝이 처리 시점 간의 차이를 의미한다.In contrast, when there is no abnormality in the validity of Internal.db related to the internal storage medium, in step 603, the media scanning apparatus may determine whether the execution period of the media scanning exceeds a preset setting period. Here, the execution cycle of media scanning means a difference between a current time point at which booting is completed and a time point at which media scanning is processed before booting.

만약, 미디어 스캐닝의 실행 주기가 기설정된 설정 주기를 초과하는 경우, 단계(604)에서, 미디어 스캐닝 장치는 내부 저장 매체의 미디어 스캐닝을 수행할 수 있다. 반대로, 미디어 스캐닝의 실행 주기가 기설정된 설정 주기와 같거나 작은 경우, 미디어 스캐닝 장치는 내부 저장 매체의 미디어 스캐닝을 수행하지 않는다.If the execution period of the media scanning exceeds a preset setting period, in step 604, the media scanning apparatus may perform media scanning of the internal storage medium. On the contrary, when the execution period of the media scanning is equal to or smaller than the preset setting period, the media scanning apparatus does not perform media scanning of the internal storage medium.

단계(603)에서 현재 날짜에서 마지막으로 미디어 스캐닝을 수행한 날짜를 뺀 값이 사용자가 지정할 수 있는 설정 주기보다 길다면, 미디어 스캐닝 장치의 미디어 스캐닝 수행부(202)는 내부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다. 반대로, 현재 날짜에서 마지막으로 미디어 스캐닝을 수행한 날짜를 뺀 값이 사용자가 지정할 수 있는 설정 주기와 같거나 짧다면, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하지 않을 수 있다.If the value obtained by subtracting the date of the last media scanning from the current date in step 603 is longer than a user-specified setting period, the media scanning performing unit 202 of the media scanning apparatus performs an operation on the entire area of the internal storage medium. Media scanning can be performed. On the contrary, if the value obtained by subtracting the date of the last media scanning from the current date is equal to or shorter than a user-specified setting period, the media scanning apparatus may not perform the media scanning.

즉, 미디어 스캐닝 장치는 부팅 시마다 매번 미디어 스캐닝을 수행하는 것이 아니라, 미디어 스캐닝의 동작이 필요한 경우 미디어 스캐닝 동작을 수행할 수 있다.That is, the media scanning apparatus may perform the media scanning operation when the media scanning operation is required instead of performing the media scanning every time the booting is performed.

또한, 미디어 스캐닝 장치는 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그, 외부 서비스를 통한 미디어 파일의 다운로드 로그, 내부 저장 매체의 전체 용량, 내부 저장 매체의 디렉토리 개수 등 적어도 하나의 기준에 따라 기설정된 설정 주기를 조정할 수 있다.In addition, the media scanning apparatus may include a processing log of an application related to creation / modification / deletion of a media file, a transmission / reception log of a media file with another terminal, a download log of a media file through an external service, a total capacity of an internal storage medium, and internal storage. The predetermined setting period may be adjusted according to at least one criterion such as the number of directories of the medium.

예를 들어, 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그 또는 외부 서비스를 통한 미디어 파일의 다운로드 로그가 미리 설정한 횟수 이상으로 발생된 경우, 미디어 스캐닝 장치는 기설정된 설정 주기를 짧게 조정할 수 있다. 또한, 내부 저장 매체의 전체 용량이 기준 용량보다 크거나 내부 저장 매체의 디렉토리 개수가 미리 설정된 개수보다 큰 경우, 기설정된 설정 주기를 짧게 조정할 수 있다. For example, if a processing log of an application related to creation / modification / deletion of a media file, a transmission / reception log of a media file with another terminal, or a download log of a media file through an external service occurs more than a preset number of times, The scanning device may shortly adjust the preset setting period. In addition, when the total capacity of the internal storage medium is larger than the reference capacity or the number of directories of the internal storage medium is larger than the preset number, the preset setting cycle may be shortened.

이하에서 설명하겠지만, 내부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하므로 기설정된 설정 주기를 특정 상황에 따라 짧게 조정함으로써 미디어 스캐닝의 수행 가능성을 높일 수 있다.As will be described below, when the execution period of the media scanning of the internal storage medium is longer than the preset setting period, the media scanning apparatus performs the media scanning so that the possibility of performing the media scanning by adjusting the preset setting period shortly according to a specific situation. It can increase.

하지만 사용자 단말에 가해지는 외부의 요인으로 인해 internal.db 파일에 문제가 발생할 수 있으므로, 미디어 스캐닝 장치는 주기적으로 internal.db 파일을 체크하여 문제 상황을 예방할 수 있다.However, since an external factor applied to the user terminal may cause a problem in the internal.db file, the media scanning device may periodically check the internal.db file to prevent a problem situation.

도 7은 본 발명의 일실시예에 따른 사용자 단말의 외부 저장 매체의 미디어 스캐닝의 처리 필요성을 판단하는 과정을 설명하는 도면이다.FIG. 7 is a diagram illustrating a process of determining a necessity of processing media scanning of an external storage medium of a user terminal according to an embodiment of the present invention.

단계(701)에서, 미디어 스캐닝 장치는 미디어 스캐닝을 호출할 수 있다. 구체적으로, 미디어 스캐닝 장치는 미디어 스캐닝을 호출함으로써 미디어 스캐닝 과정을 진행할 수 있다.In step 701, the media scanning device may call for media scanning. In detail, the media scanning apparatus may proceed with a media scanning process by calling media scanning.

단계(702)에서, 미디어 스캐닝 장치는 외부 저장 매체와 관련된 External.db의 유효성에 이상이 있는지 여부를 판단할 수 있다. 구체적으로, 미디어 스캐닝 장치는 외부 저장 매체와 관련된 DB 파일의 변경 여부를 나타내는 식별값과 외부 저장 매체와 관련된 DB 파일의 생성 일자를 이용하여 미디어 파일의 유효성을 판단할 수 있다. 만약, 외부 저장 매체와 관련된 External.db의 유효성에 이상이 있는 경우, 단계(705)에서, 미디어 스캐닝 장치는 외부 저장 매체의 미디어 스캐닝을 수행할 수 있다.In operation 702, the media scanning apparatus may determine whether there is an error in the validity of External.db related to the external storage medium. In detail, the media scanning apparatus may determine the validity of the media file using an identification value indicating whether the DB file related to the external storage medium is changed and a creation date of the DB file related to the external storage medium. If there is an error in the validity of External.db related to the external storage medium, in operation 705, the media scanning apparatus may perform media scanning of the external storage medium.

반대로, 외부 저장 매체와 관련된 External.db의 유효성에 이상이 없는 경우, 단계(703)에서, 미디어 스캐닝 장치는 미디어 스캐닝의 실행 주기가 기설정된 설정 주기를 초과하는 지 여부를 판단할 수 있다. 여기서, 미디어 스캐닝의 실행 주기는 부팅이 완료된 현재 시점과 부팅 이전에 미디어 스캐닝이 처리 시점 간의 차이를 의미한다.On the contrary, if there is no abnormality in the validity of External.db related to the external storage medium, in step 703, the media scanning apparatus may determine whether the execution period of the media scanning exceeds a preset setting period. Here, the execution cycle of media scanning means a difference between a current time point at which booting is completed and a time point at which media scanning is processed before booting.

만약, 미디어 스캐닝의 실행 주기가 기설정된 설정 주기를 초과하는 경우, 단계(705)에서, 미디어 스캐닝 장치는 외부 저장 매체의 미디어 스캐닝을 수행할 수 있다. If the execution period of the media scanning exceeds a preset setting period, in step 705, the media scanning apparatus may perform media scanning of the external storage medium.

단계(703)에서 현재 날짜에서 마지막으로 미디어 스캐닝을 수행한 날짜를 뺀 값이 사용자가 지정할 수 있는 설정 주기보다 길다면, 미디어 스캐닝 장치는 미디어 스캐닝 수행부(202)는 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다. 반대로, 현재 날짜에서 마지막으로 미디어 스캐닝을 수행한 날짜를 뺀 값이 사용자가 지정할 수 있는 설정 주기와 같거나 짧다면, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하지 않을 수 있다.If the value obtained by subtracting the date of performing the last media scanning from the current date in step 703 is longer than a user-specified setting period, the media scanning apparatus determines that the media scanning performing unit 202 is configured for the entire area of the external storage medium. Media scanning can be performed. On the contrary, if the value obtained by subtracting the date of the last media scanning from the current date is equal to or shorter than a user-specified setting period, the media scanning apparatus may not perform the media scanning.

즉, 미디어 스캐닝 장치는 부팅 시마다 매번 미디어 스캐닝을 수행하는 것이 아니라, 미디어 스캐닝의 동작이 필요한 경우 미디어 스캐닝 동작을 수행할 수 있다.That is, the media scanning apparatus may perform the media scanning operation when the media scanning operation is required instead of performing the media scanning every time the booting is performed.

또한, 미디어 스캐닝 장치는 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그, 외부 서비스를 통한 미디어 파일의 다운로드 로그, 외부 저장 매체의 전체 용량, 외부 저장 매체의 디렉토리 개수 등 적어도 하나의 기준에 따라 기설정된 설정 주기를 조정할 수 있다.In addition, the media scanning apparatus may include a processing log of an application related to creation / modification / deletion of a media file, a transmission / reception log of a media file with another terminal, a download log of a media file through an external service, a total capacity of an external storage medium, and external storage. The predetermined setting period may be adjusted according to at least one criterion such as the number of directories of the medium.

예를 들어, 미디어 파일의 생성/변경/삭제와 관련된 어플리케이션의 처리 로그, 다른 단말기와의 미디어 파일의 송수신 로그 또는 외부 서비스를 통한 미디어 파일의 다운로드 로그가 미리 설정한 횟수 이상으로 발생된 경우, 미디어 스캐닝 장치는 기설정된 설정 주기를 짧게 조정할 수 있다. 또한, 외부 저장 매체의 전체 용량이 기준 용량보다 크거나 외부 저장 매체의 디렉토리 개수가 미리 설정된 개수보다 큰 경우, 기설정된 설정 주기를 짧게 조정할 수 있다. For example, if a processing log of an application related to creation / modification / deletion of a media file, a transmission / reception log of a media file with another terminal, or a download log of a media file through an external service occurs more than a preset number of times, The scanning device may shortly adjust the preset setting period. In addition, when the total capacity of the external storage medium is larger than the reference capacity or the number of directories of the external storage medium is larger than the preset number, the preset setting cycle may be shortened.

이하에서 설명하겠지만, 외부 저장 매체의 미디어 스캐닝의 실행 주기가 기설정된 설정 주기보다 긴 경우, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하므로 기설정된 설정 주기를 특정 상황에 따라 짧게 조정함으로써 미디어 스캐닝의 수행 가능성을 높일 수 있다.As will be described below, when the execution period of the media scanning of the external storage medium is longer than the predetermined setting period, the media scanning apparatus performs the media scanning so that the possibility of performing the media scanning by adjusting the preset setting period according to a specific situation is shortened. It can increase.

만약, 반대로, 미디어 스캐닝의 실행 주기가 기설정된 설정 주기와 같거나 짧은 경우, 단계(704)에서 미디어 스캐닝 장치는 외부 저장 매체의 장착 상태의 변경 여부를 판단할 수 있다. 만약, 외부 저장 매체가 부팅 이전에 장착되지 않았다가 부팅 이후에 장착된 경우, 또는 외부 저장 매체가 부팅 이후에 장착해제된 후 다시 장착된 경우, 미디어 스캐닝 장치는 외부 저장 매체의 장착 상태가 변경되었다고 판단할 수 있다. On the contrary, if the execution period of the media scanning is equal to or shorter than the preset setting period, the media scanning apparatus may determine whether the mounting state of the external storage medium is changed in step 704. If the external storage medium is not mounted before booting and then mounted after booting, or if the external storage medium is unmounted after booting and then remounted, the media scanning device indicates that the mounting state of the external storage medium has changed. You can judge.

만약, 외부 저장 매체의 장착 상태가 변경되었다고 판단된 경우, 단계(705)에서 미디어 스캐닝 장치는 외부 저장 매체에 대해 미디어 스캐닝을 수행할 수 있다. 반대로, 외부 저장 매체의 장착 상태가 변경되지 않은 경우, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하지 않고 종료할 수 있다.If it is determined that the mounting state of the external storage medium is changed, the media scanning apparatus may perform media scanning on the external storage medium in step 705. On the contrary, when the mounting state of the external storage medium has not changed, the media scanning apparatus may terminate without performing media scanning.

도 8는 본 발명의 일실시예에 따른 미디어 파일의 유효성을 판단하는 과정을 도시한 도면이다.8 is a diagram illustrating a process of determining the validity of a media file according to an embodiment of the present invention.

도 8를 참고하면, 부팅 이전에 사용자 단말의 파워 오프(Power Off)가 정상적으로 진행된 경우에 처리 과정이 도시된다. Referring to FIG. 8, a process is illustrated when power off of a user terminal normally proceeds before booting.

단계(801)에서, 사용자 단말은 사용자로부터 전원 차단 요청을 수신할 수 있다. 예를 들어, 사용자 단말의 종료 요청 또는 리셋 요청이 전원 차단 요청에 대응할 수 있다.In operation 801, the user terminal may receive a power off request from the user. For example, the termination request or the reset request of the user terminal may correspond to the power off request.

그러면, 단계(802)에서 사용자 단말은 내부 저장 매체의 미디어 파일과 관련된 internal.db와 외부 저장 매체의 미디어 파일과 관련된 external.db를 열 수 있다.In operation 802, the user terminal may open internal.db related to the media file of the internal storage medium and external.db related to the media file of the external storage medium.

그리고, 단계(803)에서, 사용자 단말은 각 db 파일에 대한 CRC Checksum을 저장할 수 있다. CRC Checksum은 DB 파일의 변경 여부를 나타내는 식별값으로서, Java에서 제공하는 CRC 32 산출 API를 통해 내부 저장 매체의 미디어 파일과 외부 저장 매체의 미디어 파일에 대해 각각 계산될 수 있다. 여기서, CRC Checksum은 미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리)에 기초하여 결정될 수 있다.In operation 803, the user terminal may store a CRC checksum for each db file. The CRC Checksum is an identification value indicating whether the DB file has been changed. The CRC Checksum can be calculated for the media file of the internal storage medium and the media file of the external storage medium through the CRC 32 calculation API provided by Java. Here, the CRC checksum may be determined based on the file size of the media file, the number of files, and the file structure (directory).

구체적으로, 사용자 단말의 내부 저장 매체의 전체 용량 중 저장 용량이 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 저장 용량의 차이만큼 식별값이 변경될 수 있다. 그리고, 사용자 단말의 내부 저장 매체의 전체 파일 개수가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 개수의 차이만큼 식별값이 변경될 수 있다. 또한, 사용자 단말의 내부 저장 매체에서 폴더의 생성/이름 변경/삭제/이동 등으로 인해서 파일 구조가 부팅 전과 부팅 후로 다른 경우, 부팅 전후의 파일 구조의 변경 횟수만큼 식별값이 변경될 수 있다.Specifically, when the storage capacity among the total capacity of the internal storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference of the storage capacity before and after booting. When the total number of files of the internal storage medium of the user terminal is different from before booting and after booting, the identification value may be changed by the difference between the number of files before and after booting. In addition, when the file structure is different from before and after booting due to the creation, renaming, deleting, or moving of the folder in the internal storage medium of the user terminal, the identification value may be changed by the number of times the file structure is changed before and after booting.

단계(804)에서, 사용자 단말은 각 db 파일의 생성 일자를 저장할 수 있다. 그런 후에, 단계(805)에서, 사용자 단말은 정상적으로 전원이 차단될 수 있다.
In step 804, the user terminal may store the creation date of each db file. Then, in step 805, the user terminal can be powered down normally.

사용자 단말에서 파워 오프된 이후에 부팅이 진행될 수 있다. 단계(806)에서, 사용자 단말의 부팅이 완료될 수 있다.The boot may proceed after being powered off at the user terminal. In step 806, booting of the user terminal may be completed.

단계(807)에서, 미디어 스캐닝 장치는 Internal.db와 External.db을 열 수 있다. 그리고, 단계(808)에서, 미디어 스캐닝 장치는 각 db 파일의 CRC Checksum을 추출할 수 있다. 또한, 단계(809)에서, 미디어 스캐닝 장치는 각 db 파일의 생성 일자를 추출할 수 있다.In step 807, the media scanning device may open Internal.db and External.db. In operation 808, the media scanning apparatus may extract a CRC checksum of each db file. In operation 809, the media scanning apparatus may extract a creation date of each db file.

그리고, 단계(810)에서, 미디어 스캐닝 장치는 파워 오프시 저장된 내부 저장 매체와 외부 저장 매체 각각의 CRC Checksum과 DB 파일의 생성일자가 존재하는 지 여부를 판단할 수 있다. 만약, CRC Checksum과 DB 파일의 생성일자가 존재하지 않는 경우, 단계(816)에서, 미디어 스캐닝 장치는 내부 저장 매체와 외부 저장 매체의 전체 영역에 대해 미디어 스캐닝을 수행할 수 있다.In operation 810, the media scanning apparatus may determine whether a generation date of a CRC checksum and a DB file of each of the internal storage media and the external storage media stored at power off exist. If there is no creation date of the CRC checksum and the DB file, in step 816, the media scanning apparatus may perform media scanning on the entire area of the internal storage medium and the external storage medium.

만약, CRC Checksum과 DB 파일의 생성일자가 존재하는 경우, 단계(811)에서, 미디어 스캐닝 장치는 파워 오프시 저장된 CRC Checksum과 부팅 이후의 CRC Checksum이 다른 지 여부를 판단할 수 있다. 만약, 파워 오프시 저장된 CRC Checksum과 부팅 이후의 CRC Checksum이 다르다면, 단계(816)에서, 미디어 스캐닝 장치는 내부 저장 매체와 외부 저장 매체에서 CRC Checksum의 차이가 있는 파일에 대해 부분적으로 미디어 스캐닝을 수행할 수 있다.If there is a creation date of the CRC checksum and the DB file, in step 811, the media scanning apparatus may determine whether the CRC checksum stored at power off is different from the CRC checksum after booting. If the CRC checksum stored at power off and the CRC checksum after booting are different, in step 816, the media scanning apparatus partially performs media scanning on a file having a difference between the CRC checksum in the internal storage medium and the external storage medium. Can be done.

그리고, 파워 오프시 저장된 CRC Checksum과 부팅 이후의 CRC Checksum이 동일한 경우, 단계(812)에서 미디어 스캐닝 장치는 파워 오프시 저장된 내부 저장 매체와 외부 저장 매체 각각의 DB 파일의 생성 일자가 부팅 이후에 DB 파일의 생성 일자와 다른 지 여부를 판단할 수 있다.If the CRC checksum stored at power off and the CRC checksum after booting are the same, in step 812, the media scanning apparatus may generate the DB files of the DB files of the internal storage media and the external storage media stored at power off after booting. You can determine whether the file is different from the creation date.

만약, 파워 오프시 저장된 내부 저장 매체와 외부 저장 매체 각각의 DB 파일의 생성 일자가 부팅 이후에 DB 파일의 생성 일자와 다른 경우, 단계(816)에서, 미디어 스캐닝 장치는 내부 저장 매체와 외부 저장 매체에서 DB 파일의 생성 일자가 다른 파일을 대상으로 부분적으로 미디어 스캐닝을 수행할 수 있다.If the creation date of each of the DB files stored in the internal storage medium and the external storage medium at power off is different from the creation date of the DB file after booting, in step 816, the media scanning apparatus determines that the internal storage medium and the external storage medium are different. In the DB file, you can perform partial media scanning for files with different creation dates.

반대로, 파워 오프시 저장된 내부 저장 매체와 외부 저장 매체 각각의 DB 파일의 생성 일자가 부팅 이후에 DB 파일의 생성 일자와 동일한 경우, 단계(813)에서, 미디어 스캐닝 장치는 부팅 이전에 저장된 내부 저장 매체와 외부 저장 매체 각각의 CRC Checksum 및 DB 파일의 생성일자를 삭제할 수 있다.Conversely, if the creation date of each of the DB files stored in the internal storage medium and the external storage medium at power-off is the same as the creation date of the DB file after booting, in step 813, the media scanning device stores the internal storage medium stored before booting. You can delete the creation date of CRC checksum and DB files of the and external storage media.

그런 다음, 단계(814)에서, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하지 않는다.Then, in step 814, the media scanning device does not perform media scanning.

결국, 부팅 시 미디어 스캐닝의 필요성을 체크할 때, 미디어 스캐닝 장치는 부팅 이전에 파워 오프시 저장한 현재 DB 파일의 속성과 부팅 이후 현재 시점에서 현재 DB 파일의 속성을 비교하여 현재 DB 파일의 변경 여부를 확인할 수 있다.After all, when checking the need for media scanning at boot, the media scanning device compares the properties of the current DB file stored at power off before booting with the properties of the current DB file at the current time after booting to determine whether the current DB file has changed. You can check.

만약, 부팅 이전에 파워 오프시 저장한 현재 DB 파일의 속성과 부팅 이후 현재 시점에서 현재 DB 파일의 CRC Checksum 또는 생성 일자가 서로 차이가 있다면, 미디어 스캐닝 장치는 차이가 존재하는 영역에 대해 부분적으로 미디어 스캐닝을 수행할 수 있다.If the attributes of the current DB file stored at power off before booting and the CRC checksum or creation date of the current DB file are different from each other at the present time after booting, the media scanning device partially relies on the media where the difference exists. Scanning can be performed.

도 8는 사용자 단말이 정상적으로 파워 오프된 경우를 가정한 것이다. 만약, 사용자 단말에서 배터리가 탈착되거나 또는 배터리가 완전 방전되어 사용자의 요청없이 비정상적으로 파워 오프된 경우, 단계(801) 내지 단계(805)가 수행되지 않는다. 즉, 사용자 단말이 비정상적으로 파워 오프된 경우, 사용자 단말은 DB 파일의 CRC Checksum과 DB 파일의 생성 일자를 저장할 수 없다.8 assumes that the user terminal is normally powered off. If the battery is detached from the user terminal or the battery is completely discharged and abnormally powered off without the user's request, steps 801 to 805 are not performed. That is, when the user terminal is abnormally powered off, the user terminal cannot store the CRC checksum of the DB file and the creation date of the DB file.

이와 같이 사용자 단말이 비정상적으로 파워 오프된 경우, 사용자 단말은 부팅시 예외 처리를 수행할 수 있다.As such, when the user terminal is abnormally powered off, the user terminal may perform exception processing at boot time.

사용자 단말이 비정상적으로 파워 오프된 경우, 부팅시 파워 오프시 저장되는 DB 파일의 CRC Checksum과 DB 파일의 생성 일자가 존재하지 않는다. 그러면, 사용자 단말은 비정상적인 파워 오프로 판단하여, 사용자 단말의 내부 저장 매체와 외부 저장 매체에 대해 전체적으로 미디어 스캐닝을 수행할 수 있다.When the user terminal is abnormally powered off, the CRC checksum of the DB file and the creation date of the DB file that are stored when the power is turned off at boot time do not exist. Then, the user terminal may determine an abnormal power off and perform media scanning on the internal storage medium and the external storage medium of the user terminal as a whole.

그리고, 부팅 도중에 비정상적인 파워 오프가 발생된 경우, 미디어 파일의 유효성 체크루틴까지 진행되지 않은 상황이라면 사용자 단말이 부팅을 제대로 수행하지 않은 경우이므로 사용자 단말은 이후에 정상적인 부팅 동작을 수행하면 된다.If abnormal power-off occurs during booting, if the user terminal does not boot properly, the user terminal may perform a normal booting operation.

또한, 미디어 파일의 유효성 체크루틴이 정상적으로 이루어 진 상태에서 비정상적으로 파워 오프된 경우, 미디어 스캐닝 장치는 기존에 저장된 DB 파일의 CRC 체크결과 및 DB 파일의 생성일자를 삭제하기 때문에, 미디어 스캐닝 장치는 CRC 체크 루틴 및 생성일자 유무에 따라 정해진 동작을 수행할 수 있다.In addition, when the media file validity check routine is abnormally turned off in the normal state, the media scanning device deletes the CRC check result of the previously stored DB file and the creation date of the DB file. Depending on the check routine and creation date, the specified operation can be performed.

도 9은 본 발명의 일실시예에 따른 외부 저장 매체의 장착 상태의 변경에 따른 미디어 스캐닝의 수행 과정을 도시한 도면이다.9 is a diagram illustrating a process of performing media scanning according to a change in a mounting state of an external storage medium according to one embodiment of the present invention.

본 발명의 일실시예에 의하면, 부팅 후 외부 저장 매체에 대한 미디어 스캐닝의 처리 필요성을 판단하기 위해 미디어 스캐닝 장치는 현재의 외장 저장 매체의 장착 상태를 확인하여 부팅 전 외장 저장 매체의 장착 상태와 차이가 있는지를 확인할 수 있다.According to an embodiment of the present invention, in order to determine the necessity of processing the media scanning on the external storage medium after booting, the media scanning apparatus checks the mounting state of the current external storage medium and differs from the mounting state of the external storage medium before booting. You can check if there is.

만약, 부팅 전 외부 저장 매체가 사용자 단말에 장착되어 있지 않았고, 부팅 후에도 여전히 외부 저장 매체가 사용자 단말에 장착되지 않았다면, 미디어 스캐닝 장치는 외부 저장 매체에 대해 미디어 스캐닝을 수행하지 않는다.If the external storage medium is not mounted to the user terminal before booting and the external storage medium is still not mounted to the user terminal after booting, the media scanning apparatus does not perform media scanning on the external storage medium.

그리고, 부팅 전 외부 저장 매체가 사용자 단말에 장착되어 있지 않았지만, 부팅 이후 외부 저장 매체가 사용자 단말에 장착된 경우, 미디어 스캐닝 장치는 외부 저장 매체에 대해 미디어 스캐닝을 수행할 수 있다.If the external storage medium is not mounted to the user terminal before booting, but the external storage medium is mounted to the user terminal after booting, the media scanning apparatus may perform media scanning on the external storage medium.

또한, 부팅 전 외장 저장 매체가 사용자 단말에 장착 되어 있었지만, 부팅 이후에 외부 저장 매체가 사용자 단말에 장착되지 않은 경우, 미디어 스캐닝 장치는 외부 저장 매체에 대해 미디어 스캐닝을 수행하지 않는다.In addition, if the external storage medium was mounted on the user terminal before booting, but the external storage medium is not mounted on the user terminal after booting, the media scanning apparatus does not perform media scanning on the external storage medium.

그리고, 외장 저장 매체가 부팅 이후에 장착해제된 후 다시 장착된 경우, 미디어 스캐닝 장치는 외부 저장 매체에 대해 미디어 스캐닝을 수행할 수 있다.When the external storage medium is unmounted after booting and then remounted, the media scanning apparatus may perform media scanning on the external storage medium.

한편, 부팅 이전에 사용자 단말에 장착된 외부 저장 매체와 부팅 이후에 사용자 단말에 장착된 외부 저장 매체가 서로 다른 경우, 미디어 스캐닝 장치는 부팅 이후에 장착된 외부 저장 매체에 대해 미디어 스캐닝을 수행할 수 있다.On the other hand, when the external storage medium mounted on the user terminal before booting and the external storage medium mounted on the user terminal after booting are different from each other, the media scanning apparatus may perform media scanning on the external storage medium mounted after booting. have.

도 10은 본 발명의 일실시예에 따른 미디어 스캐닝의 처리 과정을 도시한 도면이다.10 is a flowchart illustrating a media scanning process according to an embodiment of the present invention.

도 10을 참고하면, 단계(1001)에서, 미디어 스캐닝 장치는 미디어 스캐닝을 수행하고자 하는 저장 매체의 Root 폴더에 접근할 수 있다.Referring to FIG. 10, in step 1001, the media scanning apparatus may access a root folder of a storage medium on which media scanning is to be performed.

단계(1002)에서, 미디어 스캐닝 장치는 Root 폴더 내의 미디어 파일을 분석할 수 있다. 분석이 완료된 이후에, 단계(1003)에서 미디어 스캐닝 장치는 하위 폴더가 존재하는 지 여부를 판단할 수 있다.In step 1002, the media scanning device may analyze the media file in the Root folder. After the analysis is completed, in step 1003, the media scanning apparatus may determine whether a subfolder exists.

만약, 하위 폴더가 존재하는 경우, 단계(1004)에서 미디어 스캐닝 장치는 하위 폴더로 이동하여 단계(1002)를 반복하여 수행할 수 있다. 반대로, 하위 폴더가 존재하지 않는 경우, 미디어 스캐닝 장치는 미디어 스캐닝을 종료할 수 있다.If there is a subfolder, the media scanning apparatus may move to the subfolder in step 1004 and repeat step 1002. In contrast, when the subfolder does not exist, the media scanning apparatus may end media scanning.

즉, 미디어 스캐닝 장치는 내부 저장 매체 또는 외부 저장 매체에서 미디어 스캐닝의 대상이 되는 파일들을 분석하며, 썸네일이나 캐시 등까지도 미디어 스캐닝을 수행한다. 미디어 스캐닝 장치는 미디어 스캐닝이 완료된 후 그 결과물로 internal.db와 external.db를 생성할 수 있다. 본 발명의 일실시예에 따르면, CRC Checksum과 DB 파일의 생성 일자가 차이가 있으면, 차이가 나는 부분에 대해서 미디어 스캐닝이 수행될 수 있다.In other words, the media scanning apparatus analyzes files that are subject to media scanning in an internal storage medium or an external storage medium, and performs media scanning on thumbnails, caches, and the like. The media scanning apparatus may generate internal.db and external.db as a result after the media scanning is completed. According to an embodiment of the present invention, if the creation date of the CRC checksum and the DB file are different, media scanning may be performed on the difference.

본 발명의 일실시예에 따르면, 사용자 단말이 부팅되더라도 미디어 스캐닝 장치는 미디어 스캐닝을 항상 실행하지 않고, 미디어 스캐닝을 수행할 지 여부를 판단하여 필요할 때에만 미디어 스캐닝을 수행할 수 있다.According to an embodiment of the present invention, even when the user terminal is booted, the media scanning apparatus does not always execute the media scanning but may determine whether to perform the media scanning and perform the media scanning only when necessary.

이 과정에서 미디어 스캐닝 장치는 부팅 전과 후의 사용자 단말의 내부 저장 매체와 외부 저장 매체에 존재하는 미디어 파일의 변경 여부를 CRC Checksum과 DB 파일의 생성 일자를 통해 확인할 수 있다.In this process, the media scanning apparatus may check whether the media file existing in the internal storage medium and the external storage medium of the user terminal before and after booting is changed through the creation date of the CRC checksum and the DB file.

미디어 스캐닝 장치는 DB 파일의 상태 변경 여부를 판단하여 필요에 따라 내부 저장 매체와 외부 저장 매체에 대해 독립적으로 미디어 스캐닝을 수행할 수 있다.The media scanning apparatus may determine whether the state of the DB file is changed and independently perform media scanning on the internal storage medium and the external storage medium as needed.

그리고, 미디어 스캐닝 장치는 부팅 이전에 수행된 미디어 스캐닝의 실행 주기를 판단하여, 기설정된 설정 주기 이내에 미디어 스캐닝이 수행되지 않았다면 안정성 확보를 위해 미디어 스캐닝을 수행할 수 있다.The media scanning apparatus may determine an execution cycle of media scanning performed before booting, and perform media scanning to ensure stability if media scanning is not performed within a preset setting cycle.

결국, 본 발명은 사용자 단말이 부팅되더라도 내부 저장 매체 또는 외부 저장 매체 각각에 대해 미디어 스캐닝이 필요한 지 여부를 판단하여 미디어 스캐닝을 수행함으로써, 사용자의 대기 시간을 줄임으로써 사용자가 체감하는 부팅 시간을 단축시킬 수 있다. As a result, the present invention performs media scanning by determining whether media scanning is required for each of the internal storage media or the external storage media even when the user terminal is booted, thereby reducing the user's waiting time by reducing the user's waiting time. You can.

본 발명의 실시 예에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. The methods according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.

100: 사용자 단말
101: 미디어 스캐닝 장치
102: 내부 저장 매체
103: 외부 저장 매체
104: internal.db
105: external.db
100: user terminal
101: media scanning device
102: internal storage medium
103: external storage medium
104: internal.db
105: external.db

Claims (18)

미디어 스캐닝 방법에 있어서,
사용자 단말의 부팅이 진행되는지를 판단하는 단계
상기 사용자 단말이 부팅되면, 상기 사용자 단말의 저장 매체가 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계; 및
상기 저장 매체가 실행 조건을 만족하는 경우, 상기 저장 매체의 미디어 스캐닝을 수행하는 단계
를 포함하는 미디어 스캐닝 방법.
In the media scanning method,
Step of determining whether the booting of the user terminal is in progress
When the user terminal is booted, determining whether a storage medium of the user terminal satisfies a media scanning execution condition; And
If the storage medium satisfies an execution condition, performing media scanning of the storage medium
Media scanning method comprising a.
제1항에 있어서,
상기 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계는,
상기 사용자 단말의 내부에 위치한 내부 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 단계; 및
상기 내부 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 단계
중 적어도 하나를 수행하여 내부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 미디어 스캐닝 방법.
The method of claim 1,
The determining of whether the media scanning execution condition is satisfied may include:
Determining a validity of a media file associated with an internal storage medium located inside the user terminal; And
Confirming an execution cycle of media scanning of the internal storage medium;
Performing at least one of the following to determine whether a media scanning execution condition associated with an internal storage medium is satisfied.
제2항에 있어서,
상기 미디어 스캐닝을 수행하는 단계는,
상기 미디어 파일의 유효성에 이상이 있거나 또는 상기 미디어 스캐닝의 실행 주기가 설정 주기를 초과하면 상기 내부 저장 매체의 미디어 스캐닝을 수행하는 미디어 스캐닝 방법.
3. The method of claim 2,
Performing the media scanning,
And performing media scanning of the internal storage medium when there is an abnormality in the validity of the media file or when the execution period of the media scanning exceeds a setting period.
제2항에 있어서,
상기 미디어 파일의 유효성을 판단하는 단계는,
상기 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단하는 미디어 스캐닝 방법.
3. The method of claim 2,
Determining the validity of the media file,
And determining whether or not the user terminal is normally powered off or abnormally powered off before booting.
제2항에 있어서,
상기 미디어 파일의 유효성을 판단하는 단계는,
상기 내부 저장 매체와 관련된 DB 파일의 식별값과 생성 일자가 부팅 전과 차이가 있는지 여부에 따라 미디어 파일의 유효성을 판단하는 미디어 스캐닝 방법.
3. The method of claim 2,
Determining the validity of the media file,
And determining the validity of the media file according to whether the identification value of the DB file related to the internal storage medium and the creation date are different from before booting.
제5항에 있어서,
상기 DB 파일의 식별값은,
미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리) 중 적어도 하나를 포함하는 미디어 스캐닝 방법.
6. The method of claim 5,
The identification value of the DB file,
A media scanning method comprising at least one of a file size, a file number, and a file structure (directory) of a media file.
제2항에 있어서,
상기 미디어 스캐닝의 실행 주기를 확인하는 단계는,
상기 내부 저장 매체의 미디어 스캐닝의 실행 주기와 기 설정된 설정 주기를 비교하는 미디어 스캐닝 방법.
3. The method of claim 2,
Confirming the execution cycle of the media scanning,
The media scanning method of comparing the execution period of the media scanning of the internal storage medium with a predetermined set period.
제1항에 있어서,
상기 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 단계는,
상기 사용자 단말에 장착가능한 외부 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 단계;
상기 외부 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 단계; 및
상기 사용자 단말의 부팅 시점에 기초한 외부 저장 매체의 장착 상태를 확인하는 단계
중 적어도 하나를 수행하여 외부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 미디어 스캐닝 방법.
The method of claim 1,
The determining of whether the media scanning execution condition is satisfied may include:
Determining a validity of a media file associated with an external storage medium mountable on the user terminal;
Confirming an execution cycle of media scanning of the external storage medium; And
Checking a mounting state of an external storage medium based on a booting time of the user terminal;
Performing at least one of the following to determine whether a media scanning execution condition associated with an external storage medium is satisfied.
제8항에 있어서,
상기 미디어 스캐닝을 수행하는 단계는,
상기 미디어 파일의 유효성에 이상이 있거나, 상기 미디어 스캐닝의 실행 주기가 설정 주기를 초과하거나 또는, 상기 외부 저장 매체의 장착 상태가 변경되면 미디어 스캐닝을 수행하는 미디어 스캐닝 방법.
9. The method of claim 8,
Performing the media scanning,
The media scanning method performs a media scanning when there is an abnormality in the validity of the media file, the execution period of the media scanning exceeds a setting period, or when the mounting state of the external storage medium is changed.
제8항에 있어서,
상기 미디어 파일의 유효성을 판단하는 단계는,
상기 사용자 단말이 부팅 전에 정상적으로 전원 오프되었는지 또는 비정상적으로 전원 오프되었는 지 여부를 구분하여 미디어 파일의 유효성을 판단하는 미디어 스캐닝 방법.
9. The method of claim 8,
Determining the validity of the media file,
And determining whether or not the user terminal is normally powered off or abnormally powered off before booting.
제8항에 있어서,
상기 미디어 파일의 유효성을 판단하는 단계는,
상기 외부 저장 매체와 관련된 DB 파일의 식별값과 생성 일자를 이용하여 미디어 파일의 유효성을 판단하는 미디어 스캐닝 방법.
9. The method of claim 8,
Determining the validity of the media file,
And determining the validity of the media file by using an identification value of the DB file related to the external storage medium and a creation date.
제11항에 있어서,
상기 DB 파일의 식별값은,
미디어 파일의 파일 사이즈, 파일 개수, 파일 구조(디렉토리) 중 적어도 하나를 포함하는 미디어 스캐닝 방법.
12. The method of claim 11,
The identification value of the DB file,
A media scanning method comprising at least one of a file size, a file number, and a file structure (directory) of a media file.
제8항에 있어서,
상기 미디어 스캐닝의 실행 주기를 확인하는 단계는,
상기 외부 저장 매체의 미디어 스캐닝의 실행 주기와 기 설정된 설정 주기를 비교하는 미디어 스캐닝 방법.
9. The method of claim 8,
Confirming the execution cycle of the media scanning,
The media scanning method of comparing the execution cycle of the media scanning of the external storage medium with a predetermined set period.
제8항에 있어서,
상기 외부 저장 매체의 장착 상태를 확인하는 단계는,
상기 사용자 단말의 부팅 이후에, 외부 저장 매체가 사용자 단말에 장착되었는 지 여부를 확인하는 미디어 스캐닝 방법.
9. The method of claim 8,
Checking the mounting state of the external storage medium,
And after the booting of the user terminal, checking whether an external storage medium is mounted in the user terminal.
제8항에 있어서,
상기 외부 저장 매체의 장착 상태를 확인하는 단계는,
상기 외부 저장 매체에 대한 부팅 이전의 장착 상태와 부팅 이후의 장착 상태를 비교하여 확인하는 미디어 스캐닝 방법.
9. The method of claim 8,
Checking the mounting state of the external storage medium,
The media scanning method of comparing the mounting state before booting with the mounting state after booting the external storage medium.
미디어 스캐닝 장치에 있어서,
사용자 단말이 부팅되면, 상기 사용자 단말의 저장 매체가 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 실행 조건 판단부; 및
상기 저장 매체가 실행 조건을 만족하는 경우, 상기 저장 매체의 미디어 스캐닝을 수행하는 미디어 스캐닝 수행부
를 포함하는 미디어 스캐닝 장치.
In a media scanning apparatus,
An execution condition determination unit determining whether a storage medium of the user terminal satisfies a media scanning execution condition when the user terminal is booted; And
A media scanning execution unit that performs media scanning of the storage medium when the storage medium satisfies an execution condition
Media scanning device comprising a.
제16항에 있어서,
상기 실행 조건 판단부는,
상기 사용자 단말의 저장 매체와 관련된 미디어 파일의 유효성을 판단하는 유효성 판단부; 및
상기 저장 매체의 미디어 스캐닝의 실행 주기를 확인하는 실행 주기 확인부
중 적어도 하나를 이용하여 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 미디어 스캐닝 장치.
17. The method of claim 16,
The execution condition determination unit,
A validity determination unit determining a validity of a media file associated with a storage medium of the user terminal; And
An execution cycle checking unit for checking an execution cycle of media scanning of the storage medium
And determining whether the media scanning execution condition associated with the storage medium is satisfied using at least one of the following.
제16항에 있어서,
상기 실행 조건 판단부는,
상기 사용자 단말의 부팅 시점에 기초한 외부 저장 매체의 장착 상태를 확인하는 장착 상태 확인부를 이용하여 외부 저장 매체와 관련된 미디어 스캐닝 실행 조건을 만족하는 지 여부를 판단하는 미디어 스캐닝 장치.
17. The method of claim 16,
The execution condition determination unit,
And determining whether a media scanning execution condition related to the external storage medium is satisfied by using a mounting state checking unit that checks a mounting state of the external storage medium based on a booting time of the user terminal.
KR1020130019078A 2013-02-22 2013-02-22 Media scanning method and media scanning device for storage medium of user terminal KR101384929B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130019078A KR101384929B1 (en) 2013-02-22 2013-02-22 Media scanning method and media scanning device for storage medium of user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130019078A KR101384929B1 (en) 2013-02-22 2013-02-22 Media scanning method and media scanning device for storage medium of user terminal

Publications (1)

Publication Number Publication Date
KR101384929B1 true KR101384929B1 (en) 2014-04-11

Family

ID=50657593

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130019078A KR101384929B1 (en) 2013-02-22 2013-02-22 Media scanning method and media scanning device for storage medium of user terminal

Country Status (1)

Country Link
KR (1) KR101384929B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170094845A (en) * 2016-02-12 2017-08-22 주식회사 엘지유플러스 Apparatus and Method for Media Scan based on Server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040096734A (en) * 2003-05-10 2004-11-17 엘지전자 주식회사 Method for firm ware upgrade in a mobile phone
KR20050003793A (en) * 2003-07-04 2005-01-12 현대자동차주식회사 Method of booting driver information system using cell phone
KR20050096302A (en) * 2004-03-30 2005-10-06 에스케이텔레텍주식회사 Method for recognizing universal serial bus in multi download in mobile phone having multi-processor and mobile phone implementing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040096734A (en) * 2003-05-10 2004-11-17 엘지전자 주식회사 Method for firm ware upgrade in a mobile phone
KR20050003793A (en) * 2003-07-04 2005-01-12 현대자동차주식회사 Method of booting driver information system using cell phone
KR20050096302A (en) * 2004-03-30 2005-10-06 에스케이텔레텍주식회사 Method for recognizing universal serial bus in multi download in mobile phone having multi-processor and mobile phone implementing the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170094845A (en) * 2016-02-12 2017-08-22 주식회사 엘지유플러스 Apparatus and Method for Media Scan based on Server
KR101973236B1 (en) * 2016-02-12 2019-04-26 주식회사 엘지유플러스 Apparatus and Method for Media Scan based on Server

Similar Documents

Publication Publication Date Title
AU2016404863B2 (en) Patch-upgrade-based file processing method and apparatus, terminal, and storage medium
US10235149B2 (en) Preinstalled application management method for mobile terminal and mobile terminal
US10140113B2 (en) Data processing method and device of preset application after upgrading
JP5658283B2 (en) Application operating method, apparatus and system
EP2998861B1 (en) Implementing and deleting method and device for intelligent terminal multi-operation system
CN102662689B (en) Method and system for upgrading embedded software based on USB interface
US20150012924A1 (en) Method and Device for Loading a Plug-In
US20130227259A1 (en) Client terminal, operating system providing apparatus, and methods for supporting multiple operating systems
US9542228B2 (en) Image processing apparatus, control method thereof and storage medium
US20050177709A1 (en) Apparatus and method for updating firmware
US20140149644A1 (en) Electronic apparatus, method of updating firmware, and computer-readable recording medium
CN107368343B (en) Terminal starting method based on android system, terminal and storage medium
US20180121101A1 (en) Smart Storage Policy
WO2016183951A1 (en) System upgrade method and terminal
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN109117153B (en) Application processing method, device, terminal and storage medium
WO2023060893A1 (en) Storage space management method and apparatus, and device and storage medium
WO2018161791A1 (en) Method and device for compressing executable file
CN111694585A (en) Method, system, terminal and storage medium for replacing system partition file
WO2019137280A1 (en) Terminal anomaly repair method, apparatus, mobile terminal, and storage medium
CN102135923A (en) Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system
US20110252414A1 (en) System using separate modules to update software and the method thereof
CN110442380B (en) Data preheating method and computing equipment
KR101384929B1 (en) Media scanning method and media scanning device for storage medium of user terminal
KR20170085979A (en) Information processing apparatus and resource management method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170926

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180927

Year of fee payment: 5