US20150269147A1 - Apparatus and method for managing metadata in portable terminal - Google Patents

Apparatus and method for managing metadata in portable terminal Download PDF

Info

Publication number
US20150269147A1
US20150269147A1 US14/731,807 US201514731807A US2015269147A1 US 20150269147 A1 US20150269147 A1 US 20150269147A1 US 201514731807 A US201514731807 A US 201514731807A US 2015269147 A1 US2015269147 A1 US 2015269147A1
Authority
US
United States
Prior art keywords
external device
identifier
information
portable terminal
metadata
Prior art date
Legal status (The legal status 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 status listed.)
Abandoned
Application number
US14/731,807
Inventor
Seok-Kyu JANG
Young-June Woo
Young-hoon Min
Sin-Jae Lee
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
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 Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority to US14/731,807 priority Critical patent/US20150269147A1/en
Publication of US20150269147A1 publication Critical patent/US20150269147A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • G06F17/3012
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1847File system types specifically adapted to static storage, e.g. adapted to flash memory or SSD

Definitions

  • the present invention relates to an apparatus and method for managing metadata in a portable terminal. More particularly, the present invention relates to an apparatus and method for efficiently managing files stored in an external memory of the portable terminal.
  • portable terminals are now available that can provide a variety of multimedia functions and services, such as a phone book function, a game function, a short message service, an e-mail service, a wake-up call function, an MPEG Layer 3 (MP3) player function, a digital camera function, a wireless internet service, etc.
  • multimedia functions and services such as a phone book function, a game function, a short message service, an e-mail service, a wake-up call function, an MPEG Layer 3 (MP3) player function, a digital camera function, a wireless internet service, etc.
  • MP3 MPEG Layer 3
  • an external memory can be additionally used to overcome limitations of the internal memory of the portable terminal.
  • Metadata located in the external memory must be managed by the portable terminal.
  • a file within the external memory is searched and analyzed. Metadata is extracted according to a request by an application with which the file is to be used, and the extracted metadata is stored in an internal space of the portable terminal (i.e. database, etc.). Thereby, a requested operation is performed. For example, for a music file, information comprising a genre, a musician, an album, etc. is extracted from the music file, and the extracted metadata is stored together with a name of each file. For an image file, information comprising a color, a composition, a generation time, etc. is extracted from the image file, and the extracted information is stored together with a name of each file.
  • an external memory has a considerably lower access speed as compared with an internal memory of the portable terminal. Thus, more time is needed to analyze a file and extract metadata from the file located in the external memory. In addition, upon removal of the external memory from the portable terminal, metadata stored in the portable terminal is removed. Thus, repetitive insertion and removal for the external memory increases overhead by repetitive extraction and removal of the metadata. Therefore, a need exists for an improved apparatus and method for managing metadata in a portable terminal.
  • An aspect of the present invention is to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present invention is to provide an apparatus and method for managing metadata in a portable terminal.
  • Another aspect of the present invention is to provide an apparatus and method for determining whether an external memory inserted into a portable terminal comprises an external memory that has been previously inserted.
  • a further aspect of the present invention is to provide an apparatus and method for reusing existing metadata, upon insertion of an external memory into a portable terminal.
  • a method for managing metadata in a portable terminal includes, upon insertion of an external memory, acquiring a unique identifier of an external memory, determining whether a record having information identical to information of a file included in the external memory exists if the unique identifier is identical to a previously stored unique identifier, and reusing metadata included in the record if the record exists.
  • an apparatus for managing metadata in a portable terminal includes a controller for, upon insertion of an external memory, acquiring a unique identifier of the external memory, if the unique identifier is identical to a previously stored unique identifier, determining whether a record having information identical to information of a file included in the external memory exists, and if the record exists, reusing metadata included in the record; and the external memory being inserted into or removed from the portable terminal.
  • FIG. 1 illustrates a block diagram of a portable terminal for managing metadata according to an exemplary embodiment of the present invention
  • FIG. 2 is a flowchart of a procedure of comparing serial numbers upon insertion of an external memory into a portable terminal according to an exemplary embodiment of the present invention
  • FIG. 3 is a flowchart of an operating procedure of a portable terminal in which an external memory is inserted according to an exemplary embodiment of the present invention.
  • FIG. 4 is a flowchart of a procedure of extracting metadata from an external memory inserted into a portable terminal according to an exemplary embodiment of the present invention.
  • FIG. 1 illustrates a block diagram of a portable terminal for managing metadata according to an exemplary embodiment of the present invention.
  • the portable terminal 100 is configured to include a Micro-Processor Unit (MPU) 102 , a metadata manager 104 , a memory 106 , an output unit 108 , an input unit 110 and a communication unit 112 .
  • MPU Micro-Processor Unit
  • an external memory 120 which is connected or disconnected according to the attachment or detachment of an external connecter (not shown) is included.
  • the external memory is connected or disconnected by its attachment or detachment to or from the external connector that is located at one end of the portable terminal.
  • the MPU 102 controls overall operations of the portable terminal, and includes the metadata manager 104 .
  • the MPU controls and processes functions regarding the use of metadata.
  • the MPU controls and processes functions for the reuse of metadata that has been previously generated and stored in the memory 106 .
  • the MPU uses information of an inserted external memory 120 and of a file stored in the inserted external memory 120 to control and process functions for reusing the metadata.
  • the MPU may use a serial number of the inserted external memory 120 and a cluster number of a file stored in the external memory 120 .
  • the memory 106 stores programs for controlling overall operations of the portable terminal.
  • the memory 106 also stores temporary data that is generated during operations of the portable terminal as well as system parameters, programs and other data that is necessary for operations of the portable terminal.
  • the memory 106 stores a log file for external memory and metadata according to an exemplary embodiment of the present invention.
  • the output unit 108 displays status information, numerals, characters and the like.
  • the output unit 108 may be provided as a Liquid Crystal Display (LCD).
  • the output unit 108 may include a controller for controlling the LCD, a video memory in which image data is stored and an LCD element. If the LCD is provided as a touch screen, the output unit 108 may perform a part or all of the functions of the input unit 110 .
  • the input unit 110 is equipped with keys for inputting numerals or characters and function keys for setting various functions. Upon receipt of user input, the input unit 110 outputs functions corresponding to the keys input by the user, to the MPU 102 .
  • FIG. 2 is a flowchart of a procedure of comparing serial numbers upon insertion of an external memory into a portable terminal according to an exemplary embodiment of the present invention.
  • the portable terminal determines whether an external memory is inserted in step 201 . If it is determined that the external memory is inserted, the portable terminal proceeds to step 203 to read information of the inserted external memory. In an exemplary embodiment, the portable terminal reads a serial number of the external memory.
  • the portable terminal determines whether a log file for external memory exists in a memory of the portable terminal.
  • the log file for external memory includes a database or table in which information of external memory devices, such as their respective serial numbers, may be stored. If it is determined that the log file for external memory does not exist in the memory of the portable terminal, the portable terminal proceeds to step 207 to generate a log file for external memory. Furthermore, in step 207 the portable terminal generates an entry in the log file specific to the inserted external memory. In an exemplary implementation of generating an entry, the portable terminal stores a serial number of the inserted external memory in the generated log file. Then, the portable terminal proceeds to step 209 .
  • step 205 If it is determined in step 205 that the log file for external memory does exist in the memory of the portable terminal, the portable terminal proceeds to step 209 to read information from the log file stored in the memory.
  • the reading of information may include reading at least one serial number from the memory.
  • step 211 the portable terminal determines whether the log file includes information identical to the information of the inserted external memory.
  • step 211 If it is determined in step 211 that the identical information does exist in the log file, the portable terminal proceeds to step 213 to return the result “Same”, and ends the process.
  • the portable terminal proceeds to step 215 to store the information of the inserted external memory in the log file.
  • the portable terminal returns the result “Difference” and ends the process.
  • FIG. 3 is a flowchart of an operating procedure of a portable terminal in which an external memory is inserted according to an exemplary embodiment of the present invention.
  • New table denotes data in a database including metadata which is searched and generated in the external memory, after insertion of the external memory. That is, “New table” refers to data including metadata that is extracted from the external memory and stored in a database in the portable terminal when the external memory is inserted.
  • the term “Old table” denotes data in a database located in the portable terminal and including metadata that was generated and stored prior to the insertion of the external memory.
  • the metadata is stored in a format of a table and an assumption is made that the New table and the Old table may simultaneously exist.
  • the portable terminal determines a return value according to the procedure of FIG. 2 . If the return value is “Difference”, the portable terminal removes the New table and Old table in step 303 and ends the process. That is, since a table for a previously inserted memory (i.e. the Old table) is not the table for a currently inserted memory, as determined by receiving the return value of “Difference”, the Old table is removed.
  • the portable terminal determines whether the new table exists in step 305 . If it is determined that the new table does not exist, the portable terminal ends the process. If it is determined that the new table does exist, the portable terminal proceeds to step 307 to determine whether the Old table exists. If it is determined in step 307 that the Old table exists, the portable terminal removes the New table in step 311 and ends the process.
  • the portable terminal proceeds to step 309 to rename the New table as the Old table and ends the process.
  • the process may additionally include a comparison of the New table with the Old table to determine if the New table includes metadata not included in the Old table. If the New table does include metadata not in the Old table, the Old table may be updated prior to deletion of the New table. Additionally, in an alternative implementation of step 303 , only the Old table is deleted while the New table is maintained in the portable terminal. By not deleting the New table, its contents may be accessed by the portable terminal as needed.
  • FIG. 4 is a flowchart of a procedure of extracting metadata from an external memory inserted into a portable terminal according to an exemplary embodiment of the present invention.
  • step 401 it is determined if an external memory is inserted in the portable terminal. It is noteworthy to point out that steps 201 of FIGS. 2 and 401 of FIG. 4 both determine if an external memory is inserted in the portable terminal and that these steps may be performed simultaneously. In an exemplary implementation, it is expected that the processes of FIGS. 2 and 4 will begin upon the same initiation event (insertion of external memory) while the process of FIG. 2 will necessarily conclude prior to certain steps of FIG. 4 , for example step 407 . This will be explained in more detail below. If it is determined that an external memory is inserted in step 401 , the portable terminal proceeds to step 403 to determine whether an operation of extracting metadata is to be performed. Here, the operation of extracting metadata is performed when an application requests to use a file of the inserted external memory and to extract metadata for the file.
  • step 403 If it is determined in step 403 that the metadata extraction is not to be performed, the portable terminal ends the process.
  • the portable terminal reads information of the file to be used in order to extract the associated metadata in step 405 .
  • the information read by the portable terminal may include the file name and cluster number.
  • step 407 the portable terminal determines whether an Old table exists. As discussed above, although the process of FIGS. 2 and 4 may initiate concurrently, the process of FIG. 2 , as well as the process of FIG. 3 , must be completed prior to or at least concurrently with step 407 . If it is determined that the Old table does not exist, the portable terminal proceeds to step 415 . On the other hand, if it is determined that the Old table does exist, the portable terminal proceeds to step 409 to search the Old table using the information of the file.
  • the portable terminal determines whether the Old table includes a record identical to the information of the file. In an exemplary implementation, the portable terminal determines if both the name of the file and cluster number of the file are identical to a record in the Old table.
  • the record which is a term used in relation to database configuration, indicates an element in a table in the database.
  • Information included in the record indicates a name of a file and a cluster number of the file.
  • the portable terminal proceeds to step 415 to analyze the file and extract metadata of the file from the external memory.
  • the file that is analyzed refers to a file that is requested by the application.
  • the portable terminal proceeds to step 413 to reuse metadata stored in the identical record. Then, the portable terminal ends the process.
  • exemplary embodiments of the present invention can provide for the reuse of metadata using a serial number of an external memory and a cluster number of a file in the external memory, thereby minimizing problems associated with the extracting of metadata due to attachment of the external memory and increasing the effective management of the metadata.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)

Abstract

A method and apparatus for managing metadata in a portable terminal are provided. The method includes, upon insertion of an external memory, acquiring a unique identifier of an external memory, determining whether a record having information identical to information of a file included in the external memory exists if the unique identifier is identical to a previously stored unique identifier, and reusing metadata included in the record if the record exists.

Description

    PRIORITY
  • This application is a continuation application of a prior application Ser. No. 12/325,362, filed on Dec. 1, 2008, which claimed the benefit under 35 U.S.C. §119(a) of a Korean patent application filed in the Korean Intellectual Property Office on Dec. 5, 2007 and allocated Serial No. 10-2007-0125352, the entire disclosure of which is hereby incorporated by reference.
  • BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to an apparatus and method for managing metadata in a portable terminal. More particularly, the present invention relates to an apparatus and method for efficiently managing files stored in an external memory of the portable terminal.
  • 2. Description of the Related Art
  • With the development of electronic and communication industries over the years, portable terminals are now widely used. In response to user demands, portable terminals having various functions in addition to the main communication function are being developed.
  • For example, portable terminals are now available that can provide a variety of multimedia functions and services, such as a phone book function, a game function, a short message service, an e-mail service, a wake-up call function, an MPEG Layer 3 (MP3) player function, a digital camera function, a wireless internet service, etc.
  • As portable terminals become more efficient and multi functional, a large amount of data needs to be stored in an internal memory of the portable terminal to support the additional functions and increased efficiency. For storing the additional data, an external memory can be additionally used to overcome limitations of the internal memory of the portable terminal.
  • When an external memory is used with a portable terminal, metadata located in the external memory must be managed by the portable terminal. To manage metadata for a file which exists in the external memory, upon insertion of the external memory into the portable terminal, a file within the external memory is searched and analyzed. Metadata is extracted according to a request by an application with which the file is to be used, and the extracted metadata is stored in an internal space of the portable terminal (i.e. database, etc.). Thereby, a requested operation is performed. For example, for a music file, information comprising a genre, a musician, an album, etc. is extracted from the music file, and the extracted metadata is stored together with a name of each file. For an image file, information comprising a color, a composition, a generation time, etc. is extracted from the image file, and the extracted information is stored together with a name of each file.
  • However, an external memory has a considerably lower access speed as compared with an internal memory of the portable terminal. Thus, more time is needed to analyze a file and extract metadata from the file located in the external memory. In addition, upon removal of the external memory from the portable terminal, metadata stored in the portable terminal is removed. Thus, repetitive insertion and removal for the external memory increases overhead by repetitive extraction and removal of the metadata. Therefore, a need exists for an improved apparatus and method for managing metadata in a portable terminal.
  • SUMMARY OF THE INVENTION
  • An aspect of the present invention is to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present invention is to provide an apparatus and method for managing metadata in a portable terminal.
  • Another aspect of the present invention is to provide an apparatus and method for determining whether an external memory inserted into a portable terminal comprises an external memory that has been previously inserted.
  • A further aspect of the present invention is to provide an apparatus and method for reusing existing metadata, upon insertion of an external memory into a portable terminal.
  • According to an aspect of the present invention, a method for managing metadata in a portable terminal is provided. The method includes, upon insertion of an external memory, acquiring a unique identifier of an external memory, determining whether a record having information identical to information of a file included in the external memory exists if the unique identifier is identical to a previously stored unique identifier, and reusing metadata included in the record if the record exists.
  • According to another aspect of the present invention, an apparatus for managing metadata in a portable terminal is provided. The apparatus includes a controller for, upon insertion of an external memory, acquiring a unique identifier of the external memory, if the unique identifier is identical to a previously stored unique identifier, determining whether a record having information identical to information of a file included in the external memory exists, and if the record exists, reusing metadata included in the record; and the external memory being inserted into or removed from the portable terminal.
  • Other aspects, advantages, and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The above and other aspects, features and advantages of certain exemplary embodiments of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
  • FIG. 1 illustrates a block diagram of a portable terminal for managing metadata according to an exemplary embodiment of the present invention;
  • FIG. 2 is a flowchart of a procedure of comparing serial numbers upon insertion of an external memory into a portable terminal according to an exemplary embodiment of the present invention;
  • FIG. 3 is a flowchart of an operating procedure of a portable terminal in which an external memory is inserted according to an exemplary embodiment of the present invention; and
  • FIG. 4 is a flowchart of a procedure of extracting metadata from an external memory inserted into a portable terminal according to an exemplary embodiment of the present invention.
  • Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features and structures.
  • DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS
  • The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the invention as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
  • The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the invention. Accordingly, it should be apparent to those skilled in the art that the following description of exemplary embodiments of the present invention are provided for illustration purpose only and not for the purpose of limiting the invention as defined by the appended claims and their equivalents.
  • It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
  • Hereinafter, a method and apparatus for reusing metadata using a serial number of an external memory and a cluster number of a file in the external memory according to an exemplary embodiment of the present invention will be described.
  • FIG. 1 illustrates a block diagram of a portable terminal for managing metadata according to an exemplary embodiment of the present invention. The portable terminal 100 is configured to include a Micro-Processor Unit (MPU) 102, a metadata manager 104, a memory 106, an output unit 108, an input unit 110 and a communication unit 112. Further, an external memory 120, which is connected or disconnected according to the attachment or detachment of an external connecter (not shown) is included. In an exemplary implementation, the external memory is connected or disconnected by its attachment or detachment to or from the external connector that is located at one end of the portable terminal.
  • Referring to FIG. 1, the MPU 102 controls overall operations of the portable terminal, and includes the metadata manager 104. The MPU controls and processes functions regarding the use of metadata. For example, the MPU controls and processes functions for the reuse of metadata that has been previously generated and stored in the memory 106. In an exemplary implementation, the MPU uses information of an inserted external memory 120 and of a file stored in the inserted external memory 120 to control and process functions for reusing the metadata. For example the MPU may use a serial number of the inserted external memory 120 and a cluster number of a file stored in the external memory 120.
  • The memory 106 stores programs for controlling overall operations of the portable terminal. The memory 106 also stores temporary data that is generated during operations of the portable terminal as well as system parameters, programs and other data that is necessary for operations of the portable terminal. In addition, the memory 106 stores a log file for external memory and metadata according to an exemplary embodiment of the present invention.
  • The output unit 108 displays status information, numerals, characters and the like. In an exemplary implementation, the output unit 108 may be provided as a Liquid Crystal Display (LCD). In this case, the output unit 108 may include a controller for controlling the LCD, a video memory in which image data is stored and an LCD element. If the LCD is provided as a touch screen, the output unit 108 may perform a part or all of the functions of the input unit 110.
  • The input unit 110 is equipped with keys for inputting numerals or characters and function keys for setting various functions. Upon receipt of user input, the input unit 110 outputs functions corresponding to the keys input by the user, to the MPU 102.
  • FIG. 2 is a flowchart of a procedure of comparing serial numbers upon insertion of an external memory into a portable terminal according to an exemplary embodiment of the present invention.
  • As illustrated in FIG. 2, the portable terminal determines whether an external memory is inserted in step 201. If it is determined that the external memory is inserted, the portable terminal proceeds to step 203 to read information of the inserted external memory. In an exemplary embodiment, the portable terminal reads a serial number of the external memory.
  • In step 205, the portable terminal determines whether a log file for external memory exists in a memory of the portable terminal. In an exemplary implementation, the log file for external memory includes a database or table in which information of external memory devices, such as their respective serial numbers, may be stored. If it is determined that the log file for external memory does not exist in the memory of the portable terminal, the portable terminal proceeds to step 207 to generate a log file for external memory. Furthermore, in step 207 the portable terminal generates an entry in the log file specific to the inserted external memory. In an exemplary implementation of generating an entry, the portable terminal stores a serial number of the inserted external memory in the generated log file. Then, the portable terminal proceeds to step 209.
  • If it is determined in step 205 that the log file for external memory does exist in the memory of the portable terminal, the portable terminal proceeds to step 209 to read information from the log file stored in the memory. As an example, the reading of information may include reading at least one serial number from the memory. In step 211, the portable terminal determines whether the log file includes information identical to the information of the inserted external memory.
  • If it is determined in step 211 that the identical information does exist in the log file, the portable terminal proceeds to step 213 to return the result “Same”, and ends the process.
  • On the other hand, if it is determined that the identical information does not exist in the log file, the portable terminal proceeds to step 215 to store the information of the inserted external memory in the log file. In step 217, the portable terminal returns the result “Difference” and ends the process.
  • FIG. 3 is a flowchart of an operating procedure of a portable terminal in which an external memory is inserted according to an exemplary embodiment of the present invention.
  • In the following description, the term “New table” denotes data in a database including metadata which is searched and generated in the external memory, after insertion of the external memory. That is, “New table” refers to data including metadata that is extracted from the external memory and stored in a database in the portable terminal when the external memory is inserted. The term “Old table” denotes data in a database located in the portable terminal and including metadata that was generated and stored prior to the insertion of the external memory.
  • In the following example, the metadata is stored in a format of a table and an assumption is made that the New table and the Old table may simultaneously exist.
  • Referring to FIG. 3, in step 301, the portable terminal determines a return value according to the procedure of FIG. 2. If the return value is “Difference”, the portable terminal removes the New table and Old table in step 303 and ends the process. That is, since a table for a previously inserted memory (i.e. the Old table) is not the table for a currently inserted memory, as determined by receiving the return value of “Difference”, the Old table is removed.
  • Alternatively, if the return value is “Same”, the portable terminal determines whether the new table exists in step 305. If it is determined that the new table does not exist, the portable terminal ends the process. If it is determined that the new table does exist, the portable terminal proceeds to step 307 to determine whether the Old table exists. If it is determined in step 307 that the Old table exists, the portable terminal removes the New table in step 311 and ends the process.
  • If the Old table does not exist, the portable terminal proceeds to step 309 to rename the New table as the Old table and ends the process.
  • As illustrated above, in the case that the return value is “Same”, an operation of the portable terminal is as shown in Table 1 below. That is, when a currently inserted external memory is identical to a previously inserted external memory, the Old table is reused. This situation occurs when there is both a New table and an Old table. On the other hand, when the currently inserted external memory is not identical to the previously inserted external memory, the Old table is not reused.
  • TABLE 1
    New table Old table Operation
    Y Y Remove a New table
    Y N Rename the New table as the Old table
    N Y Terminate
    N N Terminate
  • Although not illustrated in FIG. 3, the process may additionally include a comparison of the New table with the Old table to determine if the New table includes metadata not included in the Old table. If the New table does include metadata not in the Old table, the Old table may be updated prior to deletion of the New table. Additionally, in an alternative implementation of step 303, only the Old table is deleted while the New table is maintained in the portable terminal. By not deleting the New table, its contents may be accessed by the portable terminal as needed.
  • FIG. 4 is a flowchart of a procedure of extracting metadata from an external memory inserted into a portable terminal according to an exemplary embodiment of the present invention.
  • Referring to FIG. 4, in step 401 it is determined if an external memory is inserted in the portable terminal. It is noteworthy to point out that steps 201 of FIGS. 2 and 401 of FIG. 4 both determine if an external memory is inserted in the portable terminal and that these steps may be performed simultaneously. In an exemplary implementation, it is expected that the processes of FIGS. 2 and 4 will begin upon the same initiation event (insertion of external memory) while the process of FIG. 2 will necessarily conclude prior to certain steps of FIG. 4, for example step 407. This will be explained in more detail below. If it is determined that an external memory is inserted in step 401, the portable terminal proceeds to step 403 to determine whether an operation of extracting metadata is to be performed. Here, the operation of extracting metadata is performed when an application requests to use a file of the inserted external memory and to extract metadata for the file.
  • If it is determined in step 403 that the metadata extraction is not to be performed, the portable terminal ends the process.
  • Alternatively, if it is determined in step 403 that the metadata extraction is to be performed, the portable terminal reads information of the file to be used in order to extract the associated metadata in step 405. In an exemplary embodiment, the information read by the portable terminal may include the file name and cluster number.
  • In step 407, the portable terminal determines whether an Old table exists. As discussed above, although the process of FIGS. 2 and 4 may initiate concurrently, the process of FIG. 2, as well as the process of FIG. 3, must be completed prior to or at least concurrently with step 407. If it is determined that the Old table does not exist, the portable terminal proceeds to step 415. On the other hand, if it is determined that the Old table does exist, the portable terminal proceeds to step 409 to search the Old table using the information of the file.
  • In step 411, the portable terminal determines whether the Old table includes a record identical to the information of the file. In an exemplary implementation, the portable terminal determines if both the name of the file and cluster number of the file are identical to a record in the Old table.
  • Herein, the record, which is a term used in relation to database configuration, indicates an element in a table in the database. Information included in the record indicates a name of a file and a cluster number of the file.
  • If it is determined that the Old table does not include the identical record with the information of the file, the portable terminal proceeds to step 415 to analyze the file and extract metadata of the file from the external memory. Here, the file that is analyzed refers to a file that is requested by the application.
  • Meanwhile, if the Old table includes an identical record with the information of the file, the portable terminal proceeds to step 413 to reuse metadata stored in the identical record. Then, the portable terminal ends the process.
  • As described above, exemplary embodiments of the present invention can provide for the reuse of metadata using a serial number of an external memory and a cluster number of a file in the external memory, thereby minimizing problems associated with the extracting of metadata due to attachment of the external memory and increasing the effective management of the metadata.
  • While the invention has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.

Claims (20)

What is claimed is:
1. A method comprising:
acquiring, at an electronic device, a first identifier from a first external device;
comparing the first identifier with a second identifier stored at the electronic device and corresponding to a second external device previously coupled with the electronic device; and
accessing one or more resources of the first external device using information previously stored at the electronic device in relation with the second external device, the accessing based at least in part on a determination that the first identifier matches the second identifier.
2. The method of claim 1, wherein the information comprises:
metadata corresponding to one or more files stored in the second external device.
3. The method of claim 1, wherein the information is received from the second external device.
4. The method of claim 1, wherein at least one of the first external device or the second external device comprises a storage device to store data.
5. The method of claim 1, wherein the acquiring is performed in response to the first external device being coupled with the electronic device.
6. The method of claim 1, wherein the first identifier comprises a serial number of the first external device, and wherein the second identifier comprises a serial number of the second external device.
7. The method of claim 1, wherein the accessing comprises:
updating at least one portion of the information according to a change in one or more files stored in the first external device.
8. The method of claim 1, further comprising:
based at least in part on a determination that the first identifier does not match the second identifier, discarding the information.
9. The method of claim 8, further comprising:
obtaining from the first external device metadata corresponding to one or more files stored in the first external device; and
accessing the one or more resources using the metadata obtained from the first external device.
10. The method of claim 1, further comprising:
based at least in part on a determination that the information does not exist, obtaining from the first external device metadata corresponding to one or more files stored in the first external device and accessing the one or more resources using the metadata obtained from the first external device.
11. An apparatus comprising:
a memory configured to store information associated with one or more of external devices including a first external device and a second external device; and
a controller operatively coupled with the memory, the controller configured to:
acquire a first identifier from the first external device,
compare the first identifier with a second identifier stored at the apparatus and corresponding to the second external device previously coupled with the apparatus, and
access one or more resources of the first external device using at least one portion of the information previously stored in relation with the second external device, the accessing based at least in part on a determination that the first identifier matches the second identifier.
12. The apparatus of claim 11, wherein the one or more of external devices comprises:
a storage device configured to store data.
13. The apparatus of claim 11, wherein the first identifier comprises a serial number of the first external device, and wherein the second identifier comprises a serial number of the second external device.
14. The apparatus of claim 11, wherein the controller is further configured to:
acquire the first identifier in response to the first external device being coupled with the apparatus.
15. The apparatus of claim 11, wherein the controller is further configured to:
update at least one portion of the information according to a change in one or more files stored in the first external device.
16. The apparatus of claim 11, wherein the one or more resources comprise one or more files stored in the first external device, and wherein the controller is further configured to:
access the one or more files using the at least one portion of the information.
17. The apparatus of claim 11, wherein the controller is further configured to:
based at least in part on a determination that the first identifier does not match the second identifier, discard at least one portion of the information.
18. The apparatus of claim 17, wherein the controller is further configured to:
obtain from the first external device metadata corresponding to one or more files stored in the first external device; and
access the one or more resources using the metadata obtained from the first external device.
19. The apparatus of claim 11, wherein the controller is further configured to:
based at least in part on a determination that the information previously stored in relation with the second external device does not exist, obtain from the first external device metadata corresponding to one or more files stored in the first external device and access the one or more resources using the metadata obtained from the first external device.
20. A non-transitory machine-readable storage device storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
acquiring, at an electronic device, a first identifier from a first external device;
comparing the first identifier with a second identifier stored at the electronic device and corresponding to a second external device previously coupled with the electronic device; and
accessing one or more resources of the first external device using information previously stored at the electronic device in relation with the second external device, the accessing based at least in part on a determination that the first identifier matches the second identifier.
US14/731,807 2007-12-05 2015-06-05 Apparatus and method for managing metadata in portable terminal Abandoned US20150269147A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/731,807 US20150269147A1 (en) 2007-12-05 2015-06-05 Apparatus and method for managing metadata in portable terminal

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR1020070125352A KR20090058660A (en) 2007-12-05 2007-12-05 Apparatus and method for managing metadata in poterble terminal
KR10-2007-0125352 2007-12-05
US12/325,362 US9069789B2 (en) 2007-12-05 2008-12-01 Apparatus and method for managing metadata in portable terminal
US14/731,807 US20150269147A1 (en) 2007-12-05 2015-06-05 Apparatus and method for managing metadata in portable terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/325,362 Continuation US9069789B2 (en) 2007-12-05 2008-12-01 Apparatus and method for managing metadata in portable terminal

Publications (1)

Publication Number Publication Date
US20150269147A1 true US20150269147A1 (en) 2015-09-24

Family

ID=40451213

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/325,362 Active 2033-05-06 US9069789B2 (en) 2007-12-05 2008-12-01 Apparatus and method for managing metadata in portable terminal
US14/731,807 Abandoned US20150269147A1 (en) 2007-12-05 2015-06-05 Apparatus and method for managing metadata in portable terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US12/325,362 Active 2033-05-06 US9069789B2 (en) 2007-12-05 2008-12-01 Apparatus and method for managing metadata in portable terminal

Country Status (4)

Country Link
US (2) US9069789B2 (en)
EP (1) EP2068258B1 (en)
KR (1) KR20090058660A (en)
CN (1) CN101452475B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10719487B2 (en) * 2016-01-29 2020-07-21 M-Files Oy Method, an apparatus, a computer program product for determining metadata for a data item

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138582A1 (en) * 2000-09-05 2002-09-26 Mala Chandra Methods and apparatus providing electronic messages that are linked and aggregated
US20050015713A1 (en) * 2003-07-18 2005-01-20 Microsoft Corporation Aggregating metadata for media content from multiple devices
US6901511B1 (en) * 2000-01-13 2005-05-31 Casio Computer Co., Ltd. Portable terminals, servers, systems, and their program recording mediums
US20050154941A1 (en) * 2004-01-09 2005-07-14 Samsung Electronics Co., Ltd. Memory indication apparatus and method in a portable terminal
US20050213666A1 (en) * 2004-03-29 2005-09-29 Toshimitsu Kaneko Meta data for moving picture
US20070126746A1 (en) * 2005-12-01 2007-06-07 Lg Electronics Inc. Managing information in mobile communication terminal
US20070179996A1 (en) * 2006-01-31 2007-08-02 Victor Company Of Japan, Limited Structured data storage device and structured data storage method
US20080005184A1 (en) * 2006-06-30 2008-01-03 Nokia Corporation Method and Apparatus for the Synchronization and Storage of Metadata
US20090132606A1 (en) * 2007-11-20 2009-05-21 Samsung Electronics Co., Ltd. Mobile device and data synchronization method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070276823A1 (en) * 2003-05-22 2007-11-29 Bruce Borden Data management systems and methods for distributed data storage and management using content signatures
JP3969348B2 (en) * 2003-06-05 2007-09-05 松下電器産業株式会社 Recording medium control device
US8667580B2 (en) 2004-11-15 2014-03-04 Intel Corporation Secure boot scheme from external memory using internal memory
JP5068161B2 (en) 2005-08-19 2012-11-07 パナソニック株式会社 Mobile terminal device
US20080288096A1 (en) * 2007-05-18 2008-11-20 William Thanos Digital media player with circuitry for avoiding refreshing a database of metadata associated with digital media content
US8301197B2 (en) * 2007-11-18 2012-10-30 Qualcomm Incorporated Method and apparatus for synchronizing contacts stored on smart card with contacts stored in an internal memory

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901511B1 (en) * 2000-01-13 2005-05-31 Casio Computer Co., Ltd. Portable terminals, servers, systems, and their program recording mediums
US20020138582A1 (en) * 2000-09-05 2002-09-26 Mala Chandra Methods and apparatus providing electronic messages that are linked and aggregated
US20050015713A1 (en) * 2003-07-18 2005-01-20 Microsoft Corporation Aggregating metadata for media content from multiple devices
US20050154941A1 (en) * 2004-01-09 2005-07-14 Samsung Electronics Co., Ltd. Memory indication apparatus and method in a portable terminal
US20050213666A1 (en) * 2004-03-29 2005-09-29 Toshimitsu Kaneko Meta data for moving picture
US20070126746A1 (en) * 2005-12-01 2007-06-07 Lg Electronics Inc. Managing information in mobile communication terminal
US20070179996A1 (en) * 2006-01-31 2007-08-02 Victor Company Of Japan, Limited Structured data storage device and structured data storage method
US20080005184A1 (en) * 2006-06-30 2008-01-03 Nokia Corporation Method and Apparatus for the Synchronization and Storage of Metadata
US20090132606A1 (en) * 2007-11-20 2009-05-21 Samsung Electronics Co., Ltd. Mobile device and data synchronization method thereof

Also Published As

Publication number Publication date
EP2068258A1 (en) 2009-06-10
US20090150464A1 (en) 2009-06-11
EP2068258B1 (en) 2019-01-30
US9069789B2 (en) 2015-06-30
CN101452475B (en) 2013-05-22
KR20090058660A (en) 2009-06-10
CN101452475A (en) 2009-06-10

Similar Documents

Publication Publication Date Title
WO2015117426A1 (en) File management method and device
EP2178244A1 (en) A method and device for merging bill and saving the state of the buffer queue
CN102340699B (en) Preserve TV user history and use the method and system of information
EP3125501A1 (en) File synchronization method, server, and terminal
US20100138385A1 (en) Supporting media content revert functionality across multiple devices
JP2003316591A (en) Communication equipment, communication system, plug-in module control method, program to be executed by computer and computer readable recording medium with the same program
WO2014040471A1 (en) Subtitle processing method, device and system, and storage medium
CN114116611A (en) File scanning method and related device
CN103246729A (en) Method and system for processing multi-media files of android mobile terminal
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
US20150269147A1 (en) Apparatus and method for managing metadata in portable terminal
CN111081258B (en) Voiceprint model management method, system, storage medium and device
CN114218317B (en) Progress information management and control method, micro-service device, electronic equipment and storage medium
JP4904697B2 (en) Information management system
WO2018201993A1 (en) Image drawing method, terminal and storage medium
KR100610904B1 (en) Meta data parsing method for providing multimedia service and handset using thereof
CN104753986A (en) Terminal, server and e-book synchronization method
CN109325057B (en) Middleware management method, device, computer equipment and storage medium
CN109857719B (en) Distributed file processing method, device, computer equipment and storage medium
CN106066858B (en) Terminal and picture transmission protocol file synchronization method thereof
CN106302821A (en) A kind of data request method and equipment thereof
US7577463B2 (en) Fast booting method for mobile communication device
WO2012094855A1 (en) Method, system and mobile terminal for handling telephone directory of mobile terminal
WO2022252791A1 (en) Data transmission method, electronic device, and computer readable storage medium
WO2024066503A1 (en) Service invocation method and apparatus

Legal Events

Date Code Title Description
STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION