WO2016070534A1 - 一种本地媒体文件的扫描方法及系统 - Google Patents

一种本地媒体文件的扫描方法及系统 Download PDF

Info

Publication number
WO2016070534A1
WO2016070534A1 PCT/CN2015/073851 CN2015073851W WO2016070534A1 WO 2016070534 A1 WO2016070534 A1 WO 2016070534A1 CN 2015073851 W CN2015073851 W CN 2015073851W WO 2016070534 A1 WO2016070534 A1 WO 2016070534A1
Authority
WO
WIPO (PCT)
Prior art keywords
media file
path information
file
data table
storage device
Prior art date
Application number
PCT/CN2015/073851
Other languages
English (en)
French (fr)
Inventor
田超
Original Assignee
深圳创维数字技术有限公司
深圳市创维软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳创维数字技术有限公司, 深圳市创维软件有限公司 filed Critical 深圳创维数字技术有限公司
Priority to EP15856523.4A priority Critical patent/EP3217295A4/en
Priority to BR112017009449-5A priority patent/BR112017009449B1/pt
Publication of WO2016070534A1 publication Critical patent/WO2016070534A1/zh
Priority to US15/490,400 priority patent/US10452609B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • 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/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method and system for scanning local media files.
  • the following disadvantages are found:
  • the directory hierarchy in the storage device is complex, the number of files is large, and the file format is large, the user searches for the media file by browsing through the directory.
  • the operation process is time consuming, cumbersome, and inconvenient to use.
  • the second scheme since the storage device is not solidified on the set top box terminal device, the user may need to perform the plugging and unplugging operation frequently.
  • the second scheme uses this simple policy to scan the file. When a secondary user inserts or removes a storage device, it needs to perform a full scan of the files on the storage device. This will prevent users from browsing all media files at a faster speed during the scanning process.
  • the file directory on the storage device is complex and the number of files is large, it takes a long time to complete scanning of all files through this simple scanning strategy, thereby reducing the scanning efficiency of local media files.
  • Embodiments of the present invention provide a method and system for scanning a local media file, which are used to improve scanning efficiency of a local media file.
  • a first aspect of the present invention provides a method for scanning a local media file, including:
  • Receiving a scan instruction acquiring an identifier of the storage device according to the scan instruction, and creating a view table mapped to the data table according to the identifier of the storage device;
  • the newly added media file is scanned according to the newly added media file path information in the data table, the file information of the newly added media file is obtained, and the obtained file information is updated into a database.
  • a second aspect of the present invention provides a scanning system for a local media file, including:
  • a receiving unit configured to receive a scan instruction
  • An obtaining unit configured to acquire an identifier of the storage device according to the scan instruction received by the receiving unit
  • a creating unit configured to create a view table mapped with the data table according to the identifier of the storage device acquired by the acquiring unit;
  • a scanning unit configured to scan the storage device according to the scan instruction received by the receiving unit
  • the acquiring unit is configured to scan the storage device by the scanning unit, and obtain file path information of a media file in the storage device;
  • the obtaining unit is further configured to compare the file path information acquired by the acquiring unit to the media file with the path information of the media file in the data table, and acquire the media file that does not exist in the data table. Path information
  • a storage unit configured to store path information of a media file that is not in the data table acquired by the acquiring unit, into the data table;
  • the scanning unit is further configured to scan the newly added media file according to the newly added media file path information in the data table;
  • the obtaining unit is further configured to scan, by the scanning unit, the media file in the data table Depicting, obtaining file information of the media file;
  • an update unit configured to update file information of the media file acquired by the obtaining unit into a database.
  • the identifier of the storage device is obtained according to the scan instruction by receiving the scan instruction, and a view table mapped with the data table is created according to the identifier of the storage device, and the storage is performed according to the scan instruction.
  • the device performs scanning, obtains path information of the media file in the storage device, compares path information of the media file with path information of the media file in the data table, and obtains media that does not exist in the data table.
  • the path information of the file, the path information of the media file that does not exist in the data table is stored in the data table, and the newly added media file is added according to the newly added media file path information in the data table. Scanning, obtaining file information of the newly added media file, and updating the obtained file information to the database.
  • the media files in the storage device can be quickly aggregated, and the scanning efficiency of the local media files is improved.
  • FIG. 1 is a flowchart of an embodiment of a method for scanning a local media file according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another embodiment of a method for scanning a local media file according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a local media file scanning system according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another embodiment of a scanning system for a local media file according to an embodiment of the present invention.
  • the terminal mentioned in the embodiment of the present invention may include a smart TV with a USB socket, a set top box, a video or audio playback device, and the like.
  • the storage device mentioned in the embodiments of the present invention may include a USB flash drive, a mobile hard disk, a TF card or an SD card, and the like.
  • FIG. 1 is a flowchart of a method for scanning a local media file according to an embodiment of the present invention; the method may include the following steps:
  • S101 Receive a scan instruction, obtain an identifier of the storage device according to the scan instruction, and create a view table mapped to the data table according to the identifier of the storage device.
  • the foregoing scan instruction may be triggered by a user operation, triggered by an external storage device mount operation, or triggered by a device startup operation.
  • the system receives the scan instruction, the system acquires and stores the currently inserted.
  • a unique identifier Universally Unique Identifier
  • the view table that is mapped to the data table according to the identifier of the storage device, where the view table includes: three views of video, audio, and images, and the foregoing three
  • the view quickly filters out the media file information recorded by the current storage device into the media database during the last insertion of the set-top box terminal from the data table, and changes in real time with the change of the data in the data table.
  • the above data table is the files table in the database.
  • the above files table is used to store various media file information, wherein the _id field stores the serial number of the media file record, and its value is incremented from small to large.
  • the _data field is used to store the absolute path information of the media file on the storage device.
  • the media_type field stores types of various media files, such as mp3, rmvb, jpeg, and the like.
  • the date_added field stores the time each record was added.
  • the date_modified field stores the modification date of the media file.
  • the width and height fields are used to store the resolution size of the image file.
  • the device_id is used to store the unique identifier UUID of the storage device. It can distinguish which hard disk each record stored in the database belongs to.
  • the device table is created, and the UUID of the storage device, the mounting path of the storage disk, and the plugging and unplugging state are created. Recorded in the device table, where the insertion status of the storage device is represented by the number 1, and the unplugged state of the storage device is represented by the number 0.
  • the storage device is found and removed from the device table. Corresponding records change their status from 1 to 0.
  • the current storage device is inserted and removed as the filtering condition, and the UUID stored in the device_id field in the files table matches the UUID corresponding to the storage device whose status is 1 in the device table.
  • the data in the table changes.
  • S102 Scan the storage device according to the scan instruction, and obtain path information of the media file in the storage device.
  • the system when the system receives the scan command, the system performs a first-stage scan on the storage device according to the scan command, and the first-stage scan is used to obtain path information of the media file in the storage device.
  • the system scans the storage device before scanning the detailed information of the media file.
  • the obtained path information of the media file is compared with the path information of the media file in the data table corresponding to the storage device in the database, and the path information of the media file that does not exist in the data table is obtained.
  • S104 Store path information of the media file that does not exist in the data table in the data table.
  • the system compares and scans the obtained path information of the media file with the path information of the media file in the view table, and if the path information of the media file does not exist in the view table, And storing the media files that are not present in the foregoing view table into the cache, where the cache is used to temporarily store the obtained path information of the media files that are not present in the data table.
  • the system determines whether the number of path information of the media file stored in the cache exceeds a preset threshold, for example, 500. If the system determines that the number of path information of the media file stored in the cache exceeds 500, or the system determines that the number of path information of the media file stored in the cache does not exceed 500, the system scans the storage device. The path information of the media files stored in the cache area is uniformly stored in the data table.
  • S104 Scan the newly added media file according to the newly added media file path information in the data table, obtain file information of the newly added media file, and update the obtained file information into a database.
  • the system scans the newly added media file in the data table according to the path information of the newly added media file in the data table, and obtains specific information of the newly added media file, and obtains the specific information of the newly added media file.
  • the specific information of the media file is updated to the database.
  • the scanning task is a second-stage scanning, and the specific information of the media file includes a thumbnail of the video file, a playing time, a file size, a file modification time, a thumbnail of the music file, a file size, a playing duration, a genre, and the like. , image file size, resolution, height, shooting time, rotation angle, and so on.
  • the identifier of the storage device is obtained according to the scan instruction by receiving the scan instruction, and a view table mapped with the data table is created according to the identifier of the storage device, and the storage is performed according to the scan instruction.
  • the device performs scanning, obtains path information of the media file in the storage device, compares path information of the media file with path information of the media file in the data table, and obtains media that does not exist in the data table.
  • the path information of the file, the path information of the media file that does not exist in the data table is stored in the data table, and the newly added media file is added according to the newly added media file path information in the data table. Scanning, obtaining file information of the newly added media file, and updating the obtained file information to the database.
  • the media files in the storage device can be quickly aggregated, and the scanning efficiency of the local media files is improved.
  • FIG. 2 is a flowchart of another method for scanning a local media file according to an embodiment of the present invention; the method may include the following steps:
  • S201 Receive a scan instruction, and acquire an identifier of the storage device according to the scan instruction.
  • the foregoing scan instruction may be triggered by a user operation, triggered by an external storage device mount operation, or triggered by a device startup operation, when the system receives a scan instruction,
  • the system obtains and stores the Universally Unique Identifier (UUID) of the currently inserted storage device.
  • UUID Universally Unique Identifier
  • the data table corresponding to the storage device is stored in the database according to the unique identifier UUID of the storage device.
  • the above files table is used to store various media file information, wherein the _id field stores the serial number of the media file record, and its value is incremented from small to large.
  • the _data field is used to store the absolute path information of the media file on the storage device.
  • the media_type field stores types of various media files, such as mp3, rmvb, jpeg, and the like.
  • the date_added field stores the time each record was added.
  • the date_modified field stores the modification date of the media file.
  • the width and height fields are used to store the resolution size of the image file.
  • the device_id is used to store the unique identifier UUID of the storage device. It can distinguish which hard disk each record stored in the database belongs to.
  • the device table is created, and the UUID of the storage device, the mounting path of the storage disk, and the plugged-in state are recorded in the device table, where the insertion state of the storage device is represented by the number 1, and the storage device is used.
  • the unplugged state is represented by the number 0.
  • the record corresponding to the extracted storage device is found from the device table, and its state is changed from 1 to 0.
  • the current storage device is inserted and removed as the filtering condition, and the UUID stored in the device_id field in the files table matches the UUID corresponding to the storage device whose status is 1 in the device table.
  • the data in the table changes.
  • a data table file corresponding to the storage device identifier is created.
  • the system creates a view table that is mapped to the data table according to the identifier of the storage device, where the view table includes: three views of video, audio, and images.
  • the three views quickly filter out the media file information recorded by the current storage device into the media database during the last insertion of the set top box terminal from the data table, and change in real time with the change of the data in the data table.
  • users need to browse or play videos, music, and pictures, they only need to access the view table video, audio, and images respectively to quickly get all the media file information in the storage device.
  • the priority of the first phase scanning task needs to be adjusted, and the first phase is The priority of the scan task is adjusted to the first level, and the first level is a relatively high level, and only the path of the media file needs to be obtained as much as possible.
  • S206 Scan the storage device according to the scan instruction, and obtain path information of the media file in the storage device.
  • the first stage file scanning is started according to the scan instruction received by the system, and the first stage file scanning is to obtain the file path information of the media file in the storage device.
  • the scan the first phase of the above goal is to quickly obtain file path information for all media files on the device.
  • the above call interface call triggers the system to start a full disk scan of the storage device, and searches only the file path information of the media file according to the parameter convention of the calling interface.
  • the first prompt information is sent to the terminal, and the first prompt information is used to prompt to find the media file, so that the media application knows in time that the scanning service has been found.
  • the media files are stored in the database and can be used by users as needed.
  • the prompt information of the discovery media file the user can immediately obtain the existing media file according to the broadcast notification when the user just inserts the storage device and starts the media application browsing file, thereby effectively avoiding the prior art. You need to wait for the entire search process to complete before you can see the media files, which improves the user experience.
  • the query matches the media file information in the data table. If the current media file path information already exists in the data table, the description already exists in the database. Record, you do not need to insert the currently acquired media file into the database again. If the current file path information does not exist in the above data table, the current media file path information is stored in the cache.
  • the data cache and the real-time comparison mechanism are used to determine whether the obtained file information is already in the database, which can effectively reduce the same file information being inserted into the database repeatedly when the same storage device is frequently inserted and removed. .
  • a hard disk A stores three media files R1, R2, and R3.
  • the media scanning service When the first time is inserted into the terminal, the media scanning service inserts the absolute paths of the three files R1, R2, and R3 in the hard disk A into the database. During the period of time, the user pulls out the hard disk A and copies three media source M1, M2, M3 on the personal computer. When the user inserts the hard disk A into the set top box terminal again, the database storage unit of the media scanning service, Through cache comparison, it is found that the record information of the media files R1, R2, and R3 in the hard disk already exist in the database. Therefore, only three newly added media files of M1, M2, and M3 need to be inserted into the database, so that The time taken to insert the records corresponding to the files R1, R2, and R3 into the database is reduced, and the scanning speed of the media file is improved.
  • the system stores the path information of the media file that does not exist in the view table in the cache for accumulation, and the path information bar of the media file accumulated in the cache table.
  • the media file in the above view table is inserted into the data table corresponding to the storage device unique identifier UUID in the database at one time. For example, when the number of media files to be scanned accumulated in the cache exceeds 500, or when the first stage scan has been completed, the accumulated file records are submitted to the files corresponding to the storage device. table.
  • the storage speed of a large amount of data can be increased, thereby increasing the scanning speed of media files.
  • the second prompt information is sent to the sending terminal, and the second prompt information is a broadcast notification that the first stage scanning ends, so that the media application knows the sweep in time.
  • the service has completed the full scan of the storage device, and stores all the media file path information in the storage device into the database, and the application can be read and used according to requirements, for example, the progress bar prompt during the scanning process can be stopped.
  • the priority of the task is re-adjusted, the task priority is adjusted to the second level, and the second level is a relatively lower level.
  • the second stage scanning is to scan the newly added media file according to the newly added media file path information in the data table, and the second stage of scanning is to obtain the specific information of the newly added media file in the data table.
  • Information and update it to the database including thumbnails of video files, playback duration, file size, file modification time, etc., thumbnails of music files, file size, playback duration, genre, etc., image files Size, resolution, height, shooting time, rotation angle, and more.
  • This information can enrich the application's display effect on media files, but it is not necessary for the normal playback of media files, and to obtain this information, each media file needs to be parsed. This process takes some time and the CPU load is also It will increase greatly, so we schedule it to be completed slowly during the second round of scanning to ensure that system performance is not affected by this complex process.
  • S210 Scan the newly added media file according to the newly added media file path information in the data table, obtain file information of the newly added media file, and update the obtained file information into a database.
  • the second-stage file scanning is started, and the mounting path information of the storage device is obtained by calling the interface, and the parameter mode is adopted to make the second
  • the stage scan scans the newly added media file according to the newly added media file path information in the data table, acquires file information of the newly added media file, and notifies the system that the current scan is the second stage scan, and Requesting the update operation of the file record (instead of the insert operation), the above interface call triggers the system to perform a full disk scan on the storage device again, and parses the detailed information of the media file to be scanned one by one according to the parameter convention of the calling interface, and queries the matching cache by querying
  • the file record collection, the corresponding id number of the media file in the data table files, the database update operation is performed by the id number, and the detailed information of the obtained media file is updated to the database.
  • the third prompt information is sent to the terminal immediately, and the third prompt information is a broadcast notification that the second stage scanning ends, so that the media application knows the scanning service in time.
  • the process of parsing all the media file information of the storage device has been completed, and the detailed information of all the media files is stored in the database, and the application can be read and used according to requirements, such as refreshing the display page, displaying the specific information of the media file to the user, etc. .
  • the identifier of the storage device is obtained according to the scan instruction by receiving the scan instruction, and a view table mapped with the data table is created according to the identifier of the storage device, and the storage is performed according to the scan instruction.
  • the device performs scanning, obtains path information of the media file in the storage device, compares path information of the media file with path information of the media file in the data table, and obtains media that does not exist in the data table.
  • the path information of the file, the path information of the media file that does not exist in the data table is stored in the data table, and the newly added media file is added according to the newly added media file path information in the data table. Scanning, obtaining file information of the newly added media file, and updating the obtained file information to the database.
  • the media files in the storage device can be quickly aggregated, and the scanning efficiency of the local media files is improved.
  • FIG. 3 is a schematic structural diagram of a scanning system of a local media file according to an embodiment of the present invention; the system may include the following steps:
  • the receiving unit 101 is configured to receive a scan instruction.
  • the obtaining unit 102 is configured to acquire an identifier of the storage device according to the scan instruction received by the receiving unit;
  • a creating unit 103 configured to create a view table mapped with the data table according to the identifier of the storage device acquired by the acquiring unit;
  • the scanning unit 104 is configured to scan the storage device according to the scan instruction received by the receiving unit;
  • the obtaining unit 102 is configured to scan, by the scanning unit, the storage device to obtain file path information of a media file in the storage device.
  • the obtaining unit 102 is further configured to compare the file path information acquired by the acquiring unit to the media file with the path information of the media file in the data table, and acquire the media file that does not exist in the data table. Path information
  • a storage unit 105 configured to store path information of a media file that is not in the data table acquired by the acquiring unit, into the data table;
  • the scanning unit 104 is further configured to scan the newly added media file according to the newly added media file path information in the data table;
  • the obtaining unit 102 is further configured to: the scanning unit scans a media file in the data table, and acquires file information of the media file;
  • the updating unit 106 is configured to update file information of the media file acquired by the acquiring unit into a database.
  • the receiving unit 101 receives the scan instruction
  • the obtaining unit 102 acquires the identifier of the storage device according to the scan instruction
  • the creating unit 103 creates a view table mapped with the data table according to the identifier of the storage device.
  • the scanning unit 104 scans the storage device according to the scanning instruction
  • the acquiring unit 102 acquires path information of the media file in the storage device
  • the acquiring unit 102 uses the path information of the media file and the data table.
  • the path information of the media file in the data file is compared, the path information of the media file that does not exist in the data table is obtained, and the storage unit 105 stores the path information of the media file that does not exist in the data table into the data table.
  • the scanning unit 104 scans the newly added media file according to the newly added media file path information in the data table, and the acquiring unit 102 acquires the file information of the newly added media file, and the updating unit 106 acquires the file information.
  • the file information obtained is updated to the database.
  • the media files in the storage device can be quickly aggregated, and the scanning efficiency of the local media files is improved.
  • the implementation manner of the scanning system of the local media file refer to steps S101-S105 in the first embodiment of the method for scanning local media files provided by the embodiment of the present invention. Narration.
  • FIG. 4 is a schematic structural diagram of another local media file scanning system according to an embodiment of the present invention.
  • the system may include the following steps:
  • the receiving unit 201 is configured to receive a scan instruction.
  • the obtaining unit 202 is configured to acquire an identifier of the storage device by using a scan instruction received according to the receiving unit.
  • the querying unit 203 is configured to query, according to the identifier of the device that is obtained by the acquiring unit, whether a data table corresponding to the identifier is stored in the database.
  • the creating unit 204 is configured to: when the query unit queries that the data table corresponding to the identifier is not stored in the database, create a data table corresponding to the identifier.
  • the creating unit 204 is further configured to create a view table mapped with the data table according to the identifier of the storage device acquired by the acquiring unit.
  • the adjusting unit 205 is configured to adjust a priority of the task of acquiring the file path information of the media file in the upper storage device to a first level.
  • the scanning unit 206 is configured to scan the storage device according to the scan instruction received by the receiving unit.
  • the obtaining unit 202 is further configured to acquire file path information of the media file in the storage device when the upper scanning unit scans the upper storage device.
  • the obtaining unit 202 is further configured to compare the path information of the media file with the path information of the media file in the data table corresponding to the storage device in the database when the acquiring unit acquires the file path of the media file, Obtain the path information of the media file that does not exist in the above data table.
  • the obtaining unit 202 includes: a query subunit, configured to query whether the file path information that is the same as the file path information of the media file is stored in the data table.
  • a first storage subunit configured to store the path information of the media file into the cache when the query subunit queries the file path information that is not the same as the file path information in the data table.
  • the storage unit 207 includes a determining unit, configured to determine whether the number of file path information of the media file stored in the cache exceeds a preset threshold.
  • a second storage subunit configured to: when the determining unit determines that the number of file path information of the media file stored in the cache exceeds a preset threshold, the file path of the media file stored in the cache Information is stored in the data table.
  • the sending unit is configured to send the first prompt information to the terminal when the file path information of the media file is acquired for the first time in the process of acquiring the file path information of the media file in the storage device
  • the first prompt information is used to prompt to discover a media file.
  • the sending unit is further configured to: when the acquiring unit acquires the file path of the media file in the storage device, send the second prompt information to the terminal, where the second prompt information is used to prompt the location The task of obtaining the file path information of the media file in the storage device is completed.
  • the adjusting unit 205 is further configured to adjust a priority of the task of scanning the newly added media file according to the newly added media file path information in the data table to a second level.
  • the scanning unit 206 is further configured to scan the newly added media file according to the newly added media file path information in the data table.
  • the obtaining unit 202 is further configured to: the scanning unit scans a media file in the data table, and acquires file information of the media file.
  • the updating unit 208 is configured to update file information of the media file acquired by the acquiring unit into a database.
  • the sending unit is further configured to: when the scanning unit scans each media file in the media file directory set, send the third prompt information to the terminal, where the third prompt information Used to prompt completion of scanning of each media file in the media file directory collection.
  • the receiving unit 201 receives the scan instruction
  • the obtaining unit 202 acquires the identifier of the storage device according to the scan instruction
  • the creating unit 203 creates a view table mapped with the data table according to the identifier of the storage device.
  • the scanning unit 206 scans the storage device according to the scanning instruction
  • the acquiring unit 202 acquires the path information of the media file in the storage device
  • the acquiring unit 202 uses the path information of the media file and the data table.
  • the path information of the media file in the data file is compared, the path information of the media file that does not exist in the data table is obtained, and the storage unit 207 stores the path information of the media file that does not exist in the data table into the data table.
  • the scanning unit 206 scans the newly added media file according to the newly added media file path information in the data table, and the acquiring unit 202 acquires the file information of the newly added media file, and the updating unit 208 obtains the file information.
  • the file information obtained is updated to the database.
  • the media files in the storage device can be quickly aggregated, and the scanning efficiency of the local media files is improved.
  • the scanning system of the local media file refer to steps S201-S210 in the first embodiment of the method for scanning a local media file provided by the embodiment of the present invention. Narration.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

一种本地媒体文件的扫描方法,该方法包括:接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述标识符,创建所述数据表映射的视图表(S101);根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息(S102);将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息(S103)并存储至所述数据表中(S104);根据所述数据表中新增的媒体文件路径信息,对所述新增媒体文件进行扫描,获取所述媒体文件的文件信息,并将获取到的媒体文件的文件信息更新至数据库中(S105)。一种本地媒体文件的扫描系统。可以提升本地媒体文件的扫描效率。

Description

一种本地媒体文件的扫描方法及系统
本申请要求于2014年11月04日提交中国专利局、申请号为201410614511.2、发明名称为“一种本地媒体文件的扫描方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子技术领域,尤其涉及一种本地媒体文件的扫描方法及系统。
背景技术
随着存储技术的发展,存储设备的存储容量有了很大提升,用户可借助存储设备存储平时收集到的片源媒体文件,构建家庭媒体中心。
现有技术,常用于播放存储设备中的媒体文件的技术方案有:方案一,通过逐级浏览目录和文件的方式浏览、播放媒体文件;方案二,通过简单的策略搜索本地硬盘上的媒体文件,并将搜索的结果存储起来,以供用户使用。
通过对现有技术的实际应用情况进行分析,发现有如下缺点:方案一,当存储设备中的目录层次较复杂、文件数目较多、文件格式较多时,用户通过逐个目录浏览的方式查找媒体文件,操作过程比较耗时、繁琐,且使用不方便;方案二,由于存储设备不是固化在机顶盒终端设备上,用户可能需要频繁的进行插拔操作,方案二采用这种简单的策略扫描文件,每次用户插拔存储设备时,都需要重新对存储设备上的文件进行一次全盘扫描,这样会导致扫描过程中用户无法以较快的速度浏览到所有的媒体文件。另外,存储设备上的文件目录较为复杂,文件数量庞大时,通过这种简单的扫描策略,需要耗费较长的时间才能完成所有文件的扫描,从而降低了本地媒体文件的扫描效率。
发明内容
本发明实施例提供一种本地媒体文件的扫描方法及系统,用于提升本地媒体文件的扫描效率。
本发明第一方面提供一种本地媒体文件的扫描方法,包括:
接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表;
根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息;
将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息;
将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中;
根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。
本发明第二方面提供一种本地媒体文件的扫描系统,包括:
接收单元,用于接收扫描指令;
获取单元,用于根据所述接收单元接收到的扫描指令,获取存储设备的标识符;
创建单元,用于根据所述获取单元获取到的所述存储设备的标识符创建与数据表映射的视图表;
扫描单元,用于根据所述接收单元接收到的扫描指令,对存储设备进行扫描;
所述获取单元,用于所述扫描单元对所述存储设备进行扫描,获取存储设备中的媒体文件的文件路径信息;
所述获取单元,还用于将所述获取单元获取到所述媒体文件的文件路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息;
存储单元,用于将所述获取单元获取到的所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中;
所述扫描单元,还用于根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描;
所述获取单元,还用于所述扫描单元对所述数据表中的媒体文件进行扫 描,获取所述媒体文件的文件信息;
更新单元,用于将所述获取单元获取到的媒体文件的文件信息更新至数据库中。
实施本发明实施例,具有如下有益效果:
本发明实施例中,通过接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表,根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息,将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中,根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。使得在多个大数据存储设备交替插拔的使用情况下,能够快速的将存储设备中的媒体文件聚合,提升了本地媒体文件的扫描效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种本地媒体文件的扫描方法的实施例流程图;
图2为本发明实施例提供的另一种本地媒体文件的扫描方法的实施例流程图;
图3为本发明实施例提供的一种本地媒体文件的扫描系统的实施例结构示意图;
图4为本发明实施例提供的另一种本地媒体文件的扫描系统的实施例结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中提及的终端可以包括带有USB插口的智能电视机、机顶盒、视频或是音频的播放设备等等。本发明实施例中提及的存储设备可以包括U盘、移动硬盘、TF卡或者SD卡等等。
请参见图1,图1为本发明实施例提供的一种本地媒体文件的扫描方法的流程图;该方法可包括以下步骤:
S101、接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表。
在一些可行的实施例中,上述扫描指令可以是用户操作触发的,外部存储设备挂载操作触发的,或者是设备启动操作触发的,当系统接收到扫描指令时,系统获取并存储当前所插入的存储设备的唯一标示符(Universally Unique Identifier,UUID),并根据上述存储设备的标识符,创建与数据表映射关系的视图表,上述视图表包括:video、audio、images三张视图,上述三张视图从数据表中快速过滤出了当前存储设备在上次插入机顶盒终端时,经过扫描过程记录到媒体数据库中的媒体文件信息,并且实时伴随上述数据表中数据的变化而变化。当用户需要浏览或者播放视频、音乐、图片时,只需要分别访问视图表video、audio、images,即可快速得到存储设备中所有的媒体文件信息。上述数据表为数据库中的files表。上述files表用于存储各种媒体文件信息,其中_id字段存储媒体文件记录的序号,其值由小到大进行递增。_data字段用来存储媒体文件在存储设备的绝对路径信息。media_type字段存储各种媒体文件的类型,比如mp3、rmvb、jpeg等。date_added字段存储每条记录添加的时间。date_modified字段存储媒体文件的修改日期。width和height字段用于存储图片文件的分辨率大小。device_id用于存放存储设备的唯一标示符UUID,可以区分数据库中存储的每条记录归属于哪个硬盘。当检测到有储设备处于插入状态时,创建device表,将存储设备的UUID、存储盘的挂载路径以及插拔状态 记录到device表中,其中存储设备的插入状态用数字1表示,存储设备的拔出状态用数字0表示,当检测到存储设备被拔掉时,从device表中找到与被拔出的存储设备相对应的记录,将其状态从1修改为0。基于files表,以当前存储设备的插拔状态为1作为过滤条件,并以files表中device_id字段所存放的UUID和device表中所记录的状态为1的存储设备对应的UUID相匹配为条件,分别创建video、audio、images三张视图,此三张视图从files表中快速过滤出了当前存储设备在上次插入终端时,经过扫描过程记录到媒体数据库中的媒体文件信息,并且实时伴随files表中数据的变化而变化。当应用需要浏览或者播放视频、音乐、图片时,只需要分别访问视图表video、audio、images,即可快速得到存储设备中所有的媒体文件信息。
S102、根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息。
在一些可行的实施例中,系统接收到上述扫描指令时,根据上述扫描指令,对存储设备进行第一阶段扫描,上述第一阶段扫描用于获取上述存储设备中的媒体文件的路径信息。
S103、将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息。
在一些可行的实施例中,在存储设备插入终端时,为了避免再次将已存在数据库中的媒体文件插入数据库中,因此在对上述存储设备进行扫描获取媒体文件的详细信息之前,系统先将扫描获取到的上述媒体文件的路径信息与数据库中与所述存储设备对应的数据表中的媒体文件的路径信息进行对比筛选,获取上述数据表中未存在的媒体文件的路径信息。
S104、将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中。
在一些可行的实施例中,系统将扫描获取到的上述媒体文件的路径信息与上述视图表中的媒体文件的路径信息进行对比筛选,若上述媒体文件的路径信息在上述视图表中未存在,则将上述视图表中未存在的媒体文件累积存储至缓存中,上述缓存为用于暂时存储获取到的上述数据表中未存在的媒体文件的路径信息。
进一步的,系统判断上述缓存中存储的媒体文件的路径信息条数是否超过预设阈值,例如,500条。若系统判断上述缓存中存储的媒体文件的路径信息条数超过500条,或者,系统判断上述缓存中存储的媒体文件的路径信息条数未超过500条,但是系统对上述存储设备的扫描已完成,则将上述缓存区域中存储的媒体文件的路径信息统一存储至上述数据表中。
S104、根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。
在一些可行的实施例中,系统根据上述数据表中的新增媒体文件的路径信息,对上述数据表中新增的媒体文件进行扫描,获取新增的媒体文件的具体信息,并将获取到的媒体文件的具体信息更新至数据库中。其中,上述扫描任务为第二阶段扫描,上述媒体文件的具体信息包括视频文件的缩略图、播放时长、文件大小、文件修改时间等,音乐文件的缩略图、文件大小、播放时长、所属流派等,图片文件的大小、分辨率宽高、拍摄时间、旋转角度等等。
本发明实施例中,通过接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表,根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息,将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中,根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。使得在多个大数据存储设备交替插拔的使用情况下,能够快速的将存储设备中的媒体文件聚合,提升了本地媒体文件的扫描效率。
请参见图2,图2为本发明实施例提供的另一种本地媒体文件的扫描方法的流程图;该方法可包括以下步骤:
S201、接收扫描指令,根据所述扫描指令,获取存储设备的标识符。
在一些可行的实施例中,上述扫描指令可以是用户操作触发的,外部存储设备挂载操作触发的,或者是设备启动操作触发的,当系统接收到扫描指令时, 系统获取并存储当前所插入的存储设备的唯一标示符(Universally Unique Identifier,UUID)。
S202、根据所述存储设备的标示符,查询所述数据库中是否存储有与所述标识符对应的数据表。
在一些可行的实施例中,根据上述存储设备的唯一标示符UUID查询数据库中是否存储有与上述存储设备的对应的数据表。上述files表用于存储各种媒体文件信息,其中_id字段存储媒体文件记录的序号,其值由小到大进行递增。_data字段用来存储媒体文件在存储设备的绝对路径信息。media_type字段存储各种媒体文件的类型,比如mp3、rmvb、jpeg等。date_added字段存储每条记录添加的时间。date_modified字段存储媒体文件的修改日期。width和height字段用于存储图片文件的分辨率大小。device_id用于存放存储设备的唯一标示符UUID,可以区分数据库中存储的每条记录归属于哪个硬盘。当检测到有储设备处于插入状态时,创建device表,将存储设备的UUID、存储盘的挂载路径以及插拔状态记录到device表中,其中存储设备的插入状态用数字1表示,存储设备的拔出状态用数字0表示,当检测到存储设备被拔掉时,从device表中找到与被拔出的存储设备相对应的记录,将其状态从1修改为0。基于files表,以当前存储设备的插拔状态为1作为过滤条件,并以files表中device_id字段所存放的UUID和device表中所记录的状态为1的存储设备对应的UUID相匹配为条件,分别创建video、audio、images三张视图,此三张视图从files表中快速过滤出了当前存储设备在上次插入终端时,经过扫描过程记录到媒体数据库中的媒体文件信息,并且实时伴随files表中数据的变化而变化。当应用需要浏览或者播放视频、音乐、图片时,只需要分别访问视图表video、audio、images,即可快速得到存储设备中所有的媒体文件信息。
S203、创建与所述标识符对应的数据表。
在一些可行的实施中,若系统查询到数据库中存储有与所述标识符对应的数据表files,则创建与上述存储设备标识符对应的数据表files。
S204、创建与数据表映射的视图表。
在一些可行的实施例中,系统根据上述存储设备的标识符,创建与数据表映射关系的视图表,上述视图表包括:video、audio、images三张视图,上述 三张视图从数据表中快速过滤出了当前存储设备在上次插入机顶盒终端时,经过扫描过程记录到媒体数据库中的媒体文件信息,并且实时伴随上述数据表中数据的变化而变化。当用户需要浏览或者播放视频、音乐、图片时,只需要分别访问视图表video、audio、images,即可快速得到存储设备中所有的媒体文件信息。
S205、调整任务优先级。
在一些可行的实施例中,为了实现快速的获取上述存储设备的所有媒体文件的路径信息,因此,在上述第一阶段扫描之前,需先调整第一阶段扫描任务的优先级,将第一阶段扫描任务的优先级调整为第一等级,上述第一等级为相对较高的等级,并且尽可能只需要获取媒体文件的路径即可。
S206、根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息。
在一些可行的实施例中,在任务优先级设定完成后,根据系统接收到的扫描指令,启动第一阶段文件扫描,上述第一阶段文件扫描为获取存储设备中的媒体文件的文件路径信息的扫描,上述第一阶段的目标是快速的获取存数设备上所有媒体文件的文件路径信息。通过调用接口获取存储设备的挂载路径信息,并通过采用参数的方式,使得第一阶段扫描仅获取媒体文件的文件路径信息,并通知系统当前扫描为第一阶段的扫描,并请求其做文件记录的插入操作,上述调用接口调用触发了系统开始对存储设备进行全盘扫描,并按照调用接口的参数约定只搜索媒体文件的文件路径信息。
进一步的,在第一阶段扫描过程中,当首次获取到媒体文件路径信息时,向终端发送第一提示信息,上述第一提示信息用于提示发现媒体文件,使得媒体应用及时了解扫描服务已经找到媒体文件并存入了数据库,用户可以根据需要进行使用。通过发送发现媒体文件的提示信息,采用这种机制,当用户刚插入存储设备,启动媒体应用浏览文件时,可以第一时间根据广播通知及时去获取已存在的媒体文件,有效避免了现有技术需要等待整个搜索过程完成后才能看到媒体文件的情况发生,提升了用户体验效果。
S207、将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息 进行对比,获取所述数据表中未存在的媒体文件的路径信息。
在一些可行的实施例中,在系统获取到媒体文件路径信息时,查询匹配上述数据表中的媒体文件信息,如果当前媒体文件路径信息已存在上述数据表中,则说明数据库中已经存在此条记录,则不需要再次将当前获取到的媒体文件插入数据库。如果当前文件路径信息未存在上述数据表中,则将当前媒体文件路径信息存储至缓存中。如此策略,采用这种数据缓存和实时比较机制,判断获取到的文件信息是否已经在数据库中存在,可以有效减少同一存储设备在频繁插拔时,重复性的将相同的文件信息插入到数据库中。例如,一块硬盘A,里头存放了三个媒体文件R1、R2、R3,在第一次插入到终端时,媒体扫描服务将硬盘A中的三个文件R1、R2、R3的绝对路径插入到了数据库中,过段时间,用户将硬盘A拔出,在个人电脑上拷贝了三个媒体片源M1、M2、M3,当用户将硬盘A再次插入到机顶盒终端时,媒体扫描服务的数据库存储单元,通过缓存比较发现硬盘中的媒体文件R1、R2、R3的记录信息已经在数据库中存在了,因此,只需要将M1、M2、M3新增加的三个媒体文件插入到数据库中即可,这样就减少了将文件R1、R2、R3对应的记录插入到数据库中所消耗的时间,提高媒体文件的扫描速度。
S208、将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中。
在一些可行的实施例中,在第一阶段扫描过程中,系统将上述视图表中未存在的媒体文件的路径信息存储至缓存中进行累计,当上述缓存表中累计的媒体文件的路径信息条数超过预设阈值时,一次性的将上述视图表中的媒体文件的插入到数据库中与上述存储设备唯一标识符UUID对应的数据表中。例如,当缓存中累计的待扫描的媒体文件记录超过500条,或者是在还没超过500条时,第一阶段扫描已完成,则将累计的文件记录一并提交至与存储设备对应的files表。利用这种机制,可以提升大量数据的存储速度,进而提高媒体文件的扫描速度。
进一步的,在上述第一阶段扫描完成后,立即向发送终端发送第二提示信息,第二提示信息为第一阶段扫描结束的广播通知,使得媒体应用及时了解扫 描服务已经完成了存储设备的全盘扫描,并将存储设备中所有的媒体文件路径信息存储到数据库中,应用可以根据需要进行读取使用,比如可以停止扫描过程中进度条提示等。
S209、调整任务优先级。
在一些可行的实施例中,在上述第一阶段扫描完成后,重新调整任务的优先级,将任务优先级调整为第二等级,上述第二等级为相对较低的级别。上述第二阶段扫描为根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,上述第二阶段的扫描目标在于获取上述数据表中新增媒体文件的具体信息并将其更新到数据库中,这些信息包括视频文件的缩略图、播放时长、文件大小、文件修改时间等等,音乐文件的缩略图、文件大小、播放时长、所属流派等等,图片文件的大小、分辨率宽高、拍摄时间、旋转角度等等。这些信息可以丰富应用对媒体文件的展示效果,但对于媒体文件的正常播放不是必要的,并且获取到这些信息,需要对每个媒体文件进行解析,这个过程需要消耗一些时间,对CPU的负荷也会大大增加,因此,我们将其安排在第二轮扫描过程中进行慢速完成,确保系统性能不因为此复杂过程而受到影响。
S210、根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。
在一些可行的实施例中,在对第二阶段扫描任务的优先级设定完成后,启动第二阶段文件扫描,通过调用接口获取存储设备的挂载路径信息,通过采用参数方式,使得第二阶段扫描根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并通知系统当前扫描为第二阶段扫描,并请求其做文件记录的更新操作(而不是插入操作),上述接口调用触发了系统再次对存储设备进行全盘扫描,按照调用接口的参数约定逐个解析待扫描的媒体文件的详细信息,通过查询匹配缓存的文件记录集合,得到媒体文件在数据表files中对应的id号,通过id号执行数据库的更新操作,将获取到的媒体文件的详细信息更新到数据库中。
进一步的,在第二阶段扫描完成后,立即向终端发送第三提示信息,上述第三提示信息为第二阶段扫描结束的广播通知,使得媒体应用及时了解扫描服 务已经完成了存储设备的所有媒体文件信息的解析过程,并将所有媒体文件的详细信息存储至数据库中,应用可以根据需要进行读取使用,比如刷新显示页面,向用户展示媒体文件具体信息等。
本发明实施例中,通过接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表,根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息,将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中,根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。使得在多个大数据存储设备交替插拔的使用情况下,能够快速的将存储设备中的媒体文件聚合,提升了本地媒体文件的扫描效率。
请参见图3,为本发明实施例提供的一种本地媒体文件的扫描系统的结构示意图;该系统可包括以下步骤:
接收单元101,用于接收扫描指令;
获取单元102,用于根据所述接收单元接收到的扫描指令,获取存储设备的标识符;
创建单元103,用于根据所述获取单元获取到的所述存储设备的标识符创建与数据表映射的视图表;
扫描单元104,用于根据所述接收单元接收到的扫描指令,对存储设备进行扫描;
上述获取单元102,用于所述扫描单元对所述存储设备进行扫描,获取存储设备中的媒体文件的文件路径信息;
上述获取单元102,还用于将所述获取单元获取到所述媒体文件的文件路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息;
存储单元105,用于将所述获取单元获取到的所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中;
上述扫描单元104,还用于根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描;
上述获取单元102,还用于所述扫描单元对所述数据表中的媒体文件进行扫描,获取所述媒体文件的文件信息;
更新单元106,用于将所述获取单元获取到的媒体文件的文件信息更新至数据库中。
本发明实施例中,通过接收单元101接收扫描指令,获取单元102根据所述扫描指令,获取存储设备的标识符,创建单元103根据所述存储设备的标识符,创建与数据表映射的视图表,扫描单元104根据所述扫描指令,对存储设备进行扫描,上述获取单元102获取所述存储设备中的媒体文件的路径信息,上述获取单元102将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,存储单元105将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中,上述扫描单元104根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,上述获取单元102获取所述新增媒体文件的文件信息,更新单元106将获取到的文件信息更新至数据库中。使得在多个大数据存储设备交替插拔的使用情况下,能够快速的将存储设备中的媒体文件聚合,提升了本地媒体文件的扫描效率。本发明实施例中,具体实现中,上述本地媒体文件的扫描系统的实现方式可参见本发明实施例提供的本地媒体文件的扫描方法的第一实施例中的步骤S101-S105,在此不再赘述。
请参见图4,为本发明实施例提供的另一种本地媒体文件的扫描系统的结构示意图;该系统可包括以下步骤:
接收单元201,用于接收扫描指令。
获取单元202,用于用根据所述接收单元接收到的扫描指令,获取存储设备的标识符。
查询单元203,用于根据所述获取单元获取到的所述设备的标识符,查询所述数据库中是否存储有与所述标识符对应的数据表。
创建单元204,用于在所述查询单元查询到到所述数据库中未存储有与所述标识符对应的数据表,则创建与所述标识符对应的数据表。
上述创建单元204,还用于根据所述获取单元获取到的所述存储设备的标识符创建与数据表映射的视图表。
调整单元205,用于调整获取上存储设备中的媒体文件的文件路径信息任务的优先级为第一等级。
扫描单元206,用于根据所述接收单元接收到的扫描指令,对存储设备进行扫描。
上述获取单元202,还用于在上扫描单元对上存储设备进行扫描时,获取存储设备中的媒体文件的文件路径信息。
上述获取单元202,还用于在上述获取单元获取到上述媒体文件的文件路径时,将上述媒体文件的路径信息与数据库中与上述存储设备对应的数据表中的媒体文件的路径信息进行对比,获取上述数据表中未存在的媒体文件的路径信息。
进一步的,在第一阶段扫描过程中,上述获取单元202包括:查询子单元,用于查询所述数据表中是否存储有与所述媒体文件的文件路径信息相同的文件路径信息。
第一存储子单元,用于在所述查询子单元查询到所述数据表中未存储有与所述文件路径信息相同的文件路径信息时,将所述媒体文件的路径信息存储至缓存中。
进一步的,在第一阶段扫描过程中,存储单元207包括判断单元,用于判断所述缓存中存储的所述媒体文件的文件路径信息条数是否超过预设阈值。
第二存储子单元,用于在所述判断单元判断所述缓存中存储的所述媒体文件的文件路径信息条数超过预设阈值时,将所述缓存中存储的所述媒体文件的文件路径信息存储至所述数据表中。
进一步的,发送单元,用于在所述获取单元获取存储设备中的媒体文件的文件路径信息过程中,当第一次获取到媒体文件的文件路径信息时,向所述终端发送第一提示信息,其中,所述第一提示信息用于提示发现媒体文件。
进一步的,上述发送单元,还用于在所述获取单元获取存储设备中的媒体文件的文件路径完成时,向所述终端发送第二提示信息,其中,所述第二提示信息用于提示所述获取存储设备中的媒体文件的文件路径信息任务完成。
上述调整单元205,还用于调整根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描的任务的优先级为第二等级。
上述扫描单元206,还用于根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描。
上述获取单元202,还用于所述扫描单元对所述数据表中的媒体文件进行扫描,获取所述媒体文件的文件信息。
更新单元208,用于将所述获取单元获取到的媒体文件的文件信息更新至数据库中。
进一步的,上述发送单元,还用于在所述扫描单元对所述媒体文件目录集合中的各媒体文件进行扫描完成时,向所述终端发送第三提示信息,其中,所述第三提示信息用于提示完成对所述媒体文件目录集合中的各媒体文件的扫描。
本发明实施例中,通过接收单元201接收扫描指令,获取单元202根据所述扫描指令,获取存储设备的标识符,创建单元203根据所述存储设备的标识符,创建与数据表映射的视图表,扫描单元206根据所述扫描指令,对存储设备进行扫描,上述获取单元202获取所述存储设备中的媒体文件的路径信息,上述获取单元202将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,存储单元207将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中,上述扫描单元206根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,上述获取单元202获取所述新增媒体文件的文件信息,更新单元208将获取到的文件信息更新至数据库中。使得在多个大数据存储设备交替插拔的使用情况下,能够快速的将存储设备中的媒体文件聚合,提升了本地媒体文件的扫描效率。本发明实施例中,具体实现中,上述本地媒体文件的扫描系统的实现方式可参见本发明实施例提供的本地媒体文件的扫描方法的第一实施例中的步骤S201-S210,在此不再赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于—计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (18)

  1. 一种本地媒体文件的扫描方法,其特征在于,包括:
    接收扫描指令,根据所述扫描指令,获取存储设备的标识符,根据所述存储设备的标识符,创建与数据表映射的视图表;
    根据所述扫描指令,对存储设备进行扫描,获取所述存储设备中的媒体文件的路径信息;
    将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息;
    将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中;
    根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描,获取所述新增媒体文件的文件信息,并将获取到的文件信息更新至数据库中。
  2. 根据权利要求1所述的方法,其特征在于,所述获取存储设备的标识符之后,所述方法还包括:
    根据所述存储设备的标示符,查询所述数据库中是否存储有与所述标识符对应的数据表;
    若所述数据库中未存储有与所述标识符对应的数据表,则创建与所述标识符对应的数据表。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述扫描指令,获取存储设备中的媒体文件的文件路径信息之前,所述方法还包括:
    调整获取所述存储设备中的媒体文件的文件路径信息任务的优先级为第一等级。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述媒体文件的路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息,包括:
    查询所述数据表中是否存储有与所述媒体文件的文件路径信息相同的文件路径信息;
    若所述数据表中未存储有与所述文件路径信息相同的文件路径信息,则将所述媒体文件的路径信息存储至缓存中。
  5. 根据权利要求4所述的方法,其特征在于,所述将所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中包括:
    判断所述缓存中存储的所述媒体文件的文件路径信息条数是否超过预设阈值;
    若所述缓存中存储的所述媒体文件的文件路径信息条数超过预设阈值,则将所述缓存中存储的所述媒体文件的文件路径信息存储至所述数据表中。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在获取存储设备中的媒体文件的文件路径信息过程中,当第一次获取到媒体文件的文件路径信息时,向所述终端发送第一提示信息;
    其中,所述第一提示信息用于提示发现媒体文件。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当获取存储设备中的媒体文件的文件路径完成时,向所述终端发送第二提示信息;
    其中,所述第二提示信息用于提示所述获取存储设备中的媒体文件的文件路径信息任务完成。
  8. 根据权利要求1所述的方法,其特征在于,所述根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描之前,所述方法还包括:
    调整根据所述第一数据表中的媒体文件路径信息,对所述媒体文件进行扫描的任务的优先级为第二等级。
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描完成时,向所述终端发送第三提示信息;
    其中,所述第三提示信息用于提示完成对所述数据表中新增媒体文件的扫描。
  10. 一种本地媒体文件的扫描系统,其特征在于,包括:
    接收单元,用于接收扫描指令;
    获取单元,用于根据所述接收单元接收到的扫描指令,获取存储设备的标识符;
    创建单元,用于根据所述获取单元获取到的所述存储设备的标识符创建与数据表映射的视图表;
    扫描单元,用于根据所述接收单元接收到的扫描指令,对存储设备进行扫描;
    所述获取单元,用于所述扫描单元对所述存储设备进行扫描,获取存储设备中的媒体文件的文件路径信息;
    所述获取单元,还用于将所述获取单元获取到所述媒体文件的文件路径信息与所述数据表中的媒体文件的路径信息进行对比,获取所述数据表中未存在的媒体文件的路径信息;
    存储单元,用于将所述获取单元获取到的所述数据表中未存在的媒体文件的路径信息,存储至所述数据表中;
    所述扫描单元,还用于根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描;
    所述获取单元,还用于所述扫描单元对所述数据表中的媒体文件进行扫描,获取所述媒体文件的文件信息;
    更新单元,用于将所述获取单元获取到的媒体文件的文件信息更新至数据库中。
  11. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    查询单元,用于根据所述获取单元获取到的所述设备的标识符,查询所述数据库中是否存储有与所述标识符对应的数据表;
    所述创建单元,还用于在所述查询单元查询到到所述数据库中未存储有与所述标识符对应的数据表,则创建与所述标识符对应的数据表。
  12. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    调整单元,用于调整获取所述存储设备中的媒体文件的文件路径信息任务的优先级为第一等级。
  13. 根据权利要求10所述的系统,其特征在于,所述获取单元包括:
    查询子单元,用于查询所述数据表中是否存储有与所述媒体文件的文件路径信息相同的文件路径信息;
    第一存储子单元,用于在所述查询子单元查询到所述数据表中未存储有与所述文件路径信息相同的文件路径信息时,将所述媒体文件的路径信息存储至缓存中。
  14. 根据权利要求13所述的系统,其特征在于,所述存储单元包括:
    判断单元,用于判断所述缓存中存储的所述媒体文件的文件路径信息条数是否超过预设阈值;
    第二存储子单元,用于在所述判断单元判断所述缓存中存储的所述媒体文件的文件路径信息条数超过预设阈值时,将所述缓存中存储的所述媒体文件的文件路径信息存储至所述数据表中。
  15. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    发送单元,用于在所述获取单元获取存储设备中的媒体文件的文件路径信息过程中,当第一次获取到媒体文件的文件路径信息时,向所述终端发送第一提示信息;
    其中,所述第一提示信息用于提示发现媒体文件。
  16. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    所述发送单元,还用于在所述获取单元获取存储设备中的媒体文件的文件路径完成时,向所述终端发送第二提示信息;
    其中,所述第二提示信息用于提示所述获取存储设备中的媒体文件的文件路径信息任务完成。
  17. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    所述调整单元,还用于调整根据所述数据表中新增的媒体文件路径信息,对所述新增的媒体文件进行扫描的任务的优先级为第二等级。
  18. 根据权利要求10所述的系统,其特征在于,所述系统还包括:
    所述发送单元,还用于在所述扫描单元对所述媒体文件目录集合中的各媒体文件进行扫描完成时,向所述终端发送第三提示信息;
    其中,所述第三提示信息用于提示完成对所述媒体文件目录集合中的各媒体文件的扫描。
PCT/CN2015/073851 2014-11-04 2015-03-09 一种本地媒体文件的扫描方法及系统 WO2016070534A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP15856523.4A EP3217295A4 (en) 2014-11-04 2015-03-09 Method and system for scanning local media file
BR112017009449-5A BR112017009449B1 (pt) 2014-11-04 2015-03-09 Método para examinar um arquivo de mídia local, e sistema para examinar um arquivo de mídia local
US15/490,400 US10452609B2 (en) 2014-11-04 2017-04-18 Method and system for scanning local media file

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410614511.2A CN104536961A (zh) 2014-11-04 2014-11-04 一种本地媒体文件的扫描方法及系统
CN201410614511.2 2014-11-04

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/490,400 Continuation-In-Part US10452609B2 (en) 2014-11-04 2017-04-18 Method and system for scanning local media file

Publications (1)

Publication Number Publication Date
WO2016070534A1 true WO2016070534A1 (zh) 2016-05-12

Family

ID=52852489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073851 WO2016070534A1 (zh) 2014-11-04 2015-03-09 一种本地媒体文件的扫描方法及系统

Country Status (5)

Country Link
US (1) US10452609B2 (zh)
EP (1) EP3217295A4 (zh)
CN (1) CN104536961A (zh)
BR (1) BR112017009449B1 (zh)
WO (1) WO2016070534A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182519B (zh) * 2014-08-25 2018-03-02 百度在线网络技术(北京)有限公司 一种文件扫描方法及装置
CN105653674B (zh) * 2015-12-28 2020-02-14 Tcl海外电子(惠州)有限公司 智能终端的文件管理方法及系统
CN106484751A (zh) * 2016-03-30 2017-03-08 深圳市美贝壳科技有限公司 快速识别usb设备存储的媒体文件的方法
CN106055611A (zh) * 2016-05-25 2016-10-26 努比亚技术有限公司 扫描进度显示装置、移动终端及方法
CN107679080A (zh) * 2017-08-29 2018-02-09 努比亚技术有限公司 一种多媒体数据记录方法、终端及计算机可读存储介质
CN110019859A (zh) * 2017-08-29 2019-07-16 安波福电子(苏州)有限公司 一种多媒体文件管理方法及装置
CN109951731B (zh) * 2017-12-21 2021-06-15 深圳Tcl数字技术有限公司 解决外部存储设备重复扫描的方法、系统及存储介质
CN109542848B (zh) * 2018-11-07 2022-01-07 深圳市布谷鸟科技有限公司 一种车载媒体文件快速扫描方法和系统
CN110543575B (zh) * 2019-08-28 2021-11-19 浙江鸿泉车联网有限公司 车载外置存储设备的媒体文件检索方法及装置
CN111881305B (zh) * 2020-06-23 2024-03-01 博泰车联网科技(上海)股份有限公司 扫描方法及相关设备
CN111723054A (zh) * 2020-06-29 2020-09-29 湖北亿咖通科技有限公司 一种访问外部存储设备的方法
CN112380226A (zh) * 2020-11-10 2021-02-19 北京梧桐车联科技有限责任公司 数据加载方法、装置、电子设备及存储介质
CN114791961A (zh) * 2021-01-25 2022-07-26 华为技术有限公司 媒体数据处理方法、装置及终端设备
CN113012693B (zh) * 2021-02-18 2024-04-30 深圳创维-Rgb电子有限公司 基于语音的本地媒体筛选播放方法、装置、终端设备及介质
CN113268765B (zh) * 2021-04-30 2022-06-17 杭州安恒信息技术股份有限公司 凭据检测方法、系统、电子装置和存储介质
CN113468119A (zh) * 2021-05-31 2021-10-01 北京明朝万达科技股份有限公司 一种文件扫描方法和装置
CN113434711A (zh) * 2021-06-24 2021-09-24 宇龙计算机通信科技(深圳)有限公司 一种多媒体数据展示方法、存储介质及设备
CN113849135A (zh) * 2021-09-30 2021-12-28 北京金山云网络技术有限公司 日志的访问方法、装置及服务器
CN114860656A (zh) * 2022-04-12 2022-08-05 深圳市绿联科技股份有限公司 一种文件扫描方法、装置、电子设备以及存储介质
CN118113671B (zh) * 2024-04-30 2024-06-25 南京达道电子科技有限公司 基于Android系统实现车载外部存储设备快速扫描方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609448A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 数据库主动扫描系统及方法
US20100036872A1 (en) * 2008-08-08 2010-02-11 Hitachi, Ltd. Data management method
CN102480494A (zh) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 一种文件更新的方法、装置及系统
CN103856800A (zh) * 2012-11-28 2014-06-11 北京数码视讯软件技术发展有限公司 机顶盒读取外接存储设备的方法和装置

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181438B1 (en) * 1999-07-21 2007-02-20 Alberti Anemometer, Llc Database access system
US6741996B1 (en) * 2001-04-18 2004-05-25 Microsoft Corporation Managing user clips
AU2004208274B2 (en) * 2003-01-28 2007-09-06 Samsung Electronics Co., Ltd. Method and system for managing media file database
US7685175B2 (en) * 2005-08-12 2010-03-23 Michael Lee Carroll Content manager
US7401089B2 (en) * 2005-08-17 2008-07-15 Microsoft Corporation Storage reports file system scanner
US7562099B1 (en) * 2005-09-09 2009-07-14 Avid Technology, Inc. Graphical user interface for a media management system for communicating quality, source and accessibility information for media data and media objects
US20070156778A1 (en) * 2006-01-04 2007-07-05 Microsoft Corporation File indexer
US20070203927A1 (en) * 2006-02-24 2007-08-30 Intervoice Limited Partnership System and method for defining and inserting metadata attributes in files
US8631494B2 (en) * 2006-07-06 2014-01-14 Imation Corp. Method and device for scanning data for signatures prior to storage in a storage device
US20080250431A1 (en) * 2007-04-04 2008-10-09 Research In Motion Limited System and method for displaying media files in a media application for a portable media device
JP5071539B2 (ja) * 2010-09-13 2012-11-14 コニカミノルタビジネステクノロジーズ株式会社 画像検索装置、画像読取装置、画像検索システム、データベース生成方法およびデータベース生成プログラム
US20130166543A1 (en) * 2011-12-22 2013-06-27 Microsoft Corporation Client-based search over local and remote data sources for intent analysis, ranking, and relevance
US9100245B1 (en) * 2012-02-08 2015-08-04 Amazon Technologies, Inc. Identifying protected media files
KR101517895B1 (ko) * 2013-04-05 2015-05-08 주식회사 팬택 어플리케이션 관련 데이터를 제공하는 단말기 및 방법
AU2014292179B2 (en) * 2013-07-18 2017-12-07 Ventana Medical Systems, Inc. Auto-focus methods and systems for multi-spectral imaging
CN103412773A (zh) * 2013-08-08 2013-11-27 华为终端有限公司 一种获取文件的方法和设备
TW201526624A (zh) * 2013-12-17 2015-07-01 Primax Electronics Ltd 顯示媒體檔案之方法及區域網路系統
US9680897B2 (en) * 2014-01-31 2017-06-13 Yahoo! Inc. Throttled scanning for optimized compression of network communicated data
EP2955714A1 (en) * 2014-06-10 2015-12-16 Thomson Licensing Storage device management method and apparatus, corresponding computer program product and non-transitory computer-readable medium
DE102015205694B3 (de) * 2015-03-30 2016-10-06 Siemens Healthcare Gmbh MR-Sättigung unter Berücksichtigung der abzubildenden anatomischen Strukturen
US20160328032A1 (en) * 2015-05-08 2016-11-10 Dexin Corporation Mouse having reducing-pressure decoration plates
JP6532341B2 (ja) * 2015-07-28 2019-06-19 キヤノン株式会社 通信装置、その制御方法、およびプログラム
CN105912540A (zh) * 2015-12-11 2016-08-31 乐视移动智能信息技术(北京)有限公司 文件系统同步的方法及装置
US10390082B2 (en) * 2016-04-01 2019-08-20 Oath Inc. Computerized system and method for automatically detecting and rendering highlights from streaming videos

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609448A (zh) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 数据库主动扫描系统及方法
US20100036872A1 (en) * 2008-08-08 2010-02-11 Hitachi, Ltd. Data management method
CN102480494A (zh) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 一种文件更新的方法、装置及系统
CN103856800A (zh) * 2012-11-28 2014-06-11 北京数码视讯软件技术发展有限公司 机顶盒读取外接存储设备的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3217295A4 *

Also Published As

Publication number Publication date
EP3217295A4 (en) 2018-04-11
BR112017009449A8 (pt) 2023-01-31
BR112017009449A2 (pt) 2017-12-19
US20170220588A1 (en) 2017-08-03
EP3217295A1 (en) 2017-09-13
CN104536961A (zh) 2015-04-22
BR112017009449B1 (pt) 2023-04-04
US10452609B2 (en) 2019-10-22

Similar Documents

Publication Publication Date Title
WO2016070534A1 (zh) 一种本地媒体文件的扫描方法及系统
US8219619B2 (en) Data management server, data management system, data management method, and program
EP1711895B1 (en) Audio/video content synchronization through playlists
US20090172050A1 (en) Dual representation of stored digital content
RU2628108C2 (ru) Способ обеспечения выбора эпизода видеоматериала и устройство для этого
US8296272B2 (en) Information processing apparatus, information processing method, and program
JP3802877B2 (ja) デジタルカメラシステム
KR20060117934A (ko) 가상 콘텐트 디렉토리 서비스
US20120102076A1 (en) Information processing apparatus, information processing method, and program
US11250888B1 (en) Flash memory and method for storing and retrieving embedded audio video data
JP2014526103A (ja) モバイル端末の画像を管理するための方法及び装置
CN114116611A (zh) 一种文件扫描方法及相关装置
US20040263644A1 (en) Electronic apparatus, directory generating method, directory reading method and computer program
JP2007272836A (ja) ネットワーク検索装置、ネットワーク検索用プログラム及びネットワーク検索方法
WO2017096850A1 (zh) 文件系统同步的方法及装置
JP2005346706A (ja) メディアファイルの移動方法及び装置、並びにその方法を行うためのプログラムが保存された保存媒体
CN103246729A (zh) 一种处理安卓移动端的多媒体文件的方法和系统
JP5020499B2 (ja) 映像データの記録方法及びその記録装置
JP2008072312A (ja) データ処理装置及びデータ処理方法、並びにコンピュータ・プログラム
CN103905694A (zh) 一种关键帧处理方法及系统
CN103648021A (zh) 从usb存储设备播放网络视频文件的方法
JP2007036581A (ja) 情報管理装置及び情報管理方法
JP2004363825A (ja) 記録再生装置、記録再生方法、その記録媒体およびプログラム
JP2001333352A (ja) 画像ファイリング装置および画像ファイリング方法
JP4578454B2 (ja) データベース生成方法および情報処理装置

Legal Events

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

Ref document number: 15856523

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015856523

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112017009449

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112017009449

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20170504