WO2012079502A1 - Method and device for inputting data in multimedia service database on embedded device - Google Patents

Method and device for inputting data in multimedia service database on embedded device Download PDF

Info

Publication number
WO2012079502A1
WO2012079502A1 PCT/CN2011/083940 CN2011083940W WO2012079502A1 WO 2012079502 A1 WO2012079502 A1 WO 2012079502A1 CN 2011083940 W CN2011083940 W CN 2011083940W WO 2012079502 A1 WO2012079502 A1 WO 2012079502A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia file
ram
scanning
multimedia
data
Prior art date
Application number
PCT/CN2011/083940
Other languages
French (fr)
Chinese (zh)
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 EP11848524.2A priority Critical patent/EP2579168B1/en
Publication of WO2012079502A1 publication Critical patent/WO2012079502A1/en
Priority to US13/714,951 priority patent/US9311189B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy

Landscapes

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

Abstract

Disclosed are a method and a device for inputting data in a multimedia service database on an embedded device. The method comprises: when scanning multimedia files, storing generated directory information of the multimedia files in a RAM-DB, and in the scanning process, performing a RAM-DB to BAK-DB data backup operation; if the scanning process is interrupted, when continuing to scan after the scan interruption ends, copying the data in the BAK-DB into the RAM-DB, and continuing to scan, according to the existing data in the RAM-DB, multimedia files not yet scanned. Through the present invention, in a multimedia service system, two database files RAM-DB and BAK-DB are configured, avoiding the problem of multimedia file scan error caused by interruption, achieving the high efficiency of a multimedia service and the data persistence and reliability, and improving the user experience of the embedded multimedia service. Therefore, the present invention is highly practical.

Description

嵌入式设备上的多媒体服务数据库录入数据的方法和设备 技术领域 本发明涉及多媒体处理技术, 特别涉及一种嵌入式设备上的多媒体服务 数据库录入数据的方法和设备。 背景技术  TECHNICAL FIELD The present invention relates to multimedia processing technologies, and in particular, to a method and device for data entry in a multimedia service database on an embedded device. Background technique
随着嵌入式设备的计算能力和 I/O性能的增强, 存储设备, 用于存放大量 多媒体文件。越来越多的嵌入式设备可以提供多媒体服务,安全数字(Secure Digital, 以下简称 SD )存储卡、 USB通用串行总线( Universal Serial BUS, 以下简称 USB )盘和外置式串行高级技术附件( Serial Advanced Technology Attachment, 以下简称 SATA )硬盘等永久性大容量存储器普遍用于嵌入式多 媒体服务设备的外挂存。  With the increased computing power and I/O performance of embedded devices, storage devices are used to store large amounts of multimedia files. More and more embedded devices can provide multimedia services, Secure Digital (SD) memory cards, USB Universal Serial Bus (USB) and external serial advanced technology accessories ( Serial Advanced Technology Attachment (hereinafter referred to as SATA) Permanent large-capacity storage such as hard disks is commonly used for external storage of embedded multimedia service devices.
多媒体服务程序需要对多媒体文件扫描, 通过解析以提取目录信息, 如 多媒体文件的标题、 多媒体文件的书签和说明等一些信息。 目录信息用于发 布多媒体内容目录。 所提取的目录信息需要存储在一个小型数据库中, 方便 客户端进行浏览和检索。 该数据库称为媒体服务数据库。  The multimedia service program needs to scan the multimedia file and parse it to extract directory information such as the title of the multimedia file, the bookmark and description of the multimedia file, and the like. Directory information is used to publish multimedia content directories. The extracted directory information needs to be stored in a small database for easy browsing and retrieval by the client. This database is called a media service database.
在媒体服务数据库录入多媒体文件的目录信息时, 扫描多媒体文件的过 程中, 解析多媒体文件、 向媒体服务数据库存储目录信息, 以及数据库查询 等操作都需要消耗大量时间。 扫描的时长直接影响着客户体验, 如何提高扫 描性能是开发嵌入式多媒体服务需要关注的一个焦点。  When the media service database records the directory information of the multimedia file, it takes a lot of time to parse the multimedia file, store the directory information to the media service database, and query the database in the process of scanning the multimedia file. The length of scanning directly affects the customer experience. How to improve scanning performance is a focus of development of embedded multimedia services.
现有技术一的方案中, 釆用内存文件系统录入媒体服务数据库的数据, 每次启动设备后重新创建媒体服务数据库, 并重新扫描媒体文件产生目录信 息并录入媒体服务数据库。  In the solution of the prior art, the memory file system is used to enter the data of the media service database, and the media service database is re-created each time the device is started, and the media files are re-scanned to generate directory information and entered into the media service database.
但是, 现有技术一的方案存在以下的缺点: 媒体服务数据库随着设备掉 电而丟失, 下一次需要重新创建媒体服务数据库和并扫描媒体数据, 用户需 要等待的时间长。 而重新扫描也有可能使媒体文件对应的目录信息的 ID发生 变化, 造成客户端的播放列表和书签失效, 给用户带来失败的体验。 However, the prior art solution has the following disadvantages: The media service database is lost as the device is powered down, and the next time the media service database needs to be recreated and the media data is scanned, the user needs to It takes a long time to wait. The re-scanning may also change the ID of the directory information corresponding to the media file, causing the client's playlist and bookmark to be invalid, which brings a failed experience to the user.
现有技术二的方案中, 釆用外挂存储设备存储媒体数据库, 媒体服务数 据库中的目录信息可永久保存, 媒体文件增加或删除后, 仅对媒体数据库做 更新。  In the solution of the prior art 2, the external storage device is used to store the media database, and the directory information in the media service database can be permanently saved. After the media file is added or deleted, only the media database is updated.
但是, 现有技术二的方案。 媒体服务数据库读写性能差, 影响服务响应 速度。 并且, 媒体数据库易因为用户热插拔外挂存储器导致损坏, 进而导致 程序运行异常。  However, the prior art scheme is two. Media service database has poor read and write performance and affects service response speed. Moreover, the media database is easily damaged by the user's hot plugging of the external storage, which in turn causes the program to run abnormally.
由上述可得, 现有技术中的方案, 向媒体服务数据库中录入多媒体文件 的目录信息时, 有可能因为异常状况的发生, 导致媒体服务数据库中的目录  According to the above-mentioned prior art solution, when the directory information of the multimedia file is entered into the media service database, the directory in the media service database may be caused due to an abnormal situation.
造成程序异常, 影响客户体验。 发明内容 Causes abnormal programs and affects the customer experience. Summary of the invention
本发明公开了一种嵌入式设备上的多媒体服务数据库录入数据的方法和 设备, 用于在进行多媒体文件的扫描时, 确保媒体服务数据库中存储的数据 的安全性和可靠性, 提高用户的服务体验。  The invention discloses a method and a device for inputting data in a multimedia service database on an embedded device, which are used for ensuring the security and reliability of data stored in the media service database and improving the service of the user when scanning the multimedia file. Experience.
本发明提供了一种嵌入式设备上的多媒体服务数据库录入数据的方法, 包括:  The present invention provides a method for data entry in a multimedia service database on an embedded device, including:
在进行多媒体文件的扫描时, 将生成的多媒体文件的目录信息存储在 RAM-DB中, 并在扫描过程中, 进行 RAM-DB至 BAK-DB的数据备份操作; 若扫描过程发生了中断, 则在扫描中断结束后继续扫描时, 将 BAK-DB中 的数据复制到 RAM-DB中,并根据 RAM-DB中已有的数据,继续对未扫描的多 媒体文件进行扫描。  During the scanning of the multimedia file, the directory information of the generated multimedia file is stored in the RAM-DB, and during the scanning process, the data backup operation of the RAM-DB to the BAK-DB is performed; if the scanning process is interrupted, When scanning continues after the end of the scan interrupt, the data in the BAK-DB is copied to the RAM-DB, and the unscanned multimedia files are continuously scanned according to the data already in the RAM-DB.
本发明还提供了一种嵌入式设备上的多媒体服务数据库录入数据的设 备, 包括:  The present invention also provides a device for entering data in a multimedia service database on an embedded device, including:
扫描模块, 用于在进行多媒体文件的扫描时, 将生成的多媒体文件的目 录信息存储在 RAM-DB中, a scanning module, which is used to generate a multimedia file when scanning a multimedia file The recorded information is stored in the RAM-DB.
备份模块,用于在扫描过程中,进行 RAM-DB至 BAK-DB的数据备份操作; 中断处理模块, 用于扫描过程发生了中断, 在扫描中断结束后继续扫描 时, 将 BAK-DB中的数据复制到 RAM-DB中, 并根据 RAM-DB中已有的数据, 继续对未扫描的多媒体文件进行扫描。  A backup module for performing a data backup operation of the RAM-DB to the BAK-DB during the scanning process; an interrupt processing module for interrupting the scanning process, and continuing to scan after the scanning interruption ends, the BAK-DB The data is copied to the RAM-DB, and the unscanned multimedia files are scanned according to the data already in the RAM-DB.
本发明通过在多媒体服务系统中,配置 RAM-DB和 BAK-DB两个数据库文 件, 避免由于中断造成多媒体文件扫描的错误问题。 实现了多媒体服务的高 效性、 数据持久性和可靠性, 改善了嵌入式多媒体服务的用户体验。 具有艮 高的实用性。  The invention configures two database files of RAM-DB and BAK-DB in the multimedia service system to avoid the error of scanning multimedia files due to interruption. The multimedia service is highly efficient, data persistent and reliable, and the user experience of embedded multimedia services is improved. It has high practicality.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained based on these drawings without paying for creative labor.
图 1为本发明一实施例提供的嵌入式设备上的多媒体服务数据库录入数 据的方法流程图;  1 is a flowchart of a method for data entry in a multimedia service database on an embedded device according to an embodiment of the present invention;
图 2为本发明另一实施例提供的嵌入式设备上的多媒体服务数据库录入 数据的设备的结构示意图。 具体实施方式  FIG. 2 is a schematic structural diagram of an apparatus for recording data in a multimedia service database on an embedded device according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应当明确, 所描述的实施例仅仅是本发明的一部分实施例, 而不是全部 的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性 劳动前提下所获得的所有其它实施例, 都属于本发明保护的范围。 参见图 1为本发明一实施例提供的一种嵌入式设备上的多媒体服务数据 库录入数据的方法, 用以保证媒体服务数据库中录入的数据的安全性和可靠 性, 以确保客户端能够准确有效的获取媒体服务数据库中的数据, 确保多媒 体服务的高效性和可靠性, 提高嵌入式多媒体服务的用户体验。 It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. Those of ordinary skill in the art are not creative based on the embodiments of the present invention. All other embodiments obtained under the premise of labor are within the scope of the invention. FIG. 1 is a schematic diagram of a method for entering data in a multimedia service database on an embedded device according to an embodiment of the present invention, to ensure security and reliability of data entered in a media service database, so as to ensure that the client can be accurate and effective. The data in the media service database is obtained to ensure the efficiency and reliability of the multimedia service and improve the user experience of the embedded multimedia service.
在本发明实施例中, 通过优化媒体数据库录入方案, 实现嵌入设备上的 多媒体服务数据库的高效性、 数据持久性和可靠性, 改善嵌入式多媒体服务 的用户体验。  In the embodiment of the present invention, by optimizing the media database entry scheme, the efficiency, data persistence and reliability of the multimedia service database embedded on the device are realized, and the user experience of the embedded multimedia service is improved.
在本实施例的技术方案中, 需要用到两个数据库文件, 一个是位于内存 文件系统中的数据库文件, 为随机存储器数据库(Random access memory Database, 以下简称 RAM-DB ) ; 另一个是位于外挂存储器中的备份数据库 文件, 为备份数据库( Backup Database, 以下简称 BAK-DB ) 。 RAM-DB釆 用随机存储器, 特点是读写性能高, 可靠性好, 但掉电就会消失。 BAK-DB是 外挂的存储器, 掉电后数据仍可永久保存, 但读写性能差, 可靠性也比较差。  In the technical solution of the embodiment, two database files are needed, one is a database file located in the memory file system, and is a random access memory database (RAM-DB); the other is located in the plug-in The backup database file in the memory is the backup database (hereinafter referred to as BAK-DB). RAM-DB uses random access memory, which features high read/write performance and good reliability, but power loss will disappear. BAK-DB is a plug-in memory. After power-off, the data can still be stored permanently, but the read/write performance is poor and the reliability is poor.
在本实施例中, 嵌入式多媒体服务程序对外挂存储器中的多媒体文件进 行初次扫描时, 会先生成 RAM-DB, 并将生成的多媒体文件的目录信息存储 在 RAM-DB中, 并每隔一定的备份时间间隔, 或者每增加了一定的数据量, 就将 RAM-DB中的数据备份到 BAK-DB,该备份时间间隔可以根据具体需要预 先设定, 如可以设定 5秒或者 10秒, 就进行一次 RAM-DB至 BAK-DB的备份。 在对所有的多媒体文件扫描完毕后, 把 R A M - D B中的数据整体备份到 BAK-DB。  In this embodiment, when the embedded multimedia service program performs the initial scanning of the multimedia file in the external storage memory, it will become a RAM-DB, and store the generated directory information of the multimedia file in the RAM-DB, and at regular intervals. Backup time interval, or each time a certain amount of data is added, the data in the RAM-DB is backed up to the BAK-DB, and the backup time interval can be preset according to specific needs, for example, 5 seconds or 10 seconds can be set. Just perform a backup of RAM-DB to BAK-DB. After scanning all the multimedia files, back up the data in R A M - D B to BAK-DB as a whole.
在扫描过程中如果发生了意外的中断, 比如设备掉电重启, 或者媒体服 务器重启, 或者插拔了外挂存储器。 则在中断结束后, 会将 BAK-DB中的数据 重新恢复到 RAM-DB中。 在扫描多媒体文件的过程中, 若是该多媒体文件对 应的目录信息已经在媒体服务数据库中存在, 则跳过该多媒体文件。 扫描结 束后, 对媒体服务数据库中已录入但在硬盘中不存在对应的多媒体文件的目 录信息, 则需要全部进行删除, 同时再次将 RAM-DB备份到 BAK-DB。 由此就 可以实现扫描过程中媒体服务数据库的灾难备份。 If an unexpected interruption occurs during the scanning process, such as a device power failure restart, or the media server restarts, or plugged in the external storage. Then, after the end of the interrupt, the data in the BAK-DB will be restored to the RAM-DB. In the process of scanning the multimedia file, if the directory information corresponding to the multimedia file is already present in the media service database, the multimedia file is skipped. After the scan ends, the corresponding multimedia files are not recorded in the media service database but are not present in the hard disk. To record the information, you need to delete all of them, and back up the RAM-DB to BAK-DB again. This makes it possible to implement a disaster backup of the media service database during the scanning process.
基于上述的 "RAM-DB" 和 "BAK-DB" , 本发明提供的数据库存储数据 的方法 ¾口下:  Based on the above-mentioned "RAM-DB" and "BAK-DB", the method for storing data in the database provided by the present invention is as follows:
步骤 1 1、 在进行多媒体文件的扫描时, 将生成的多媒体文件的目录信息 存储在 RAM-DB中, 并在扫描过程中, 进行 RAM-DB至 BAK-DB的数据备份操 作。  Step 1 1. During the scanning of the multimedia file, the directory information of the generated multimedia file is stored in the RAM-DB, and during the scanning process, the data backup operation of the RAM-DB to the BAK-DB is performed.
在对外挂存储器中的多媒体文件进行扫描时, 在扫描一多媒体文件时, 还可以检测该多媒体文件的目录信息是否已存在于所述 BAK-DB中; 如果是, 则说明之前已经对该多媒体文件进行了扫描,则从 BAK-DB中将该多媒体文件 的目录信息复制到 RAM-DB中之后, 就可以跳过对该多媒体文件的扫描, 对 未扫描的多媒体文件进行扫描, 由此就可以接续之前的扫描。 如果否, 则说 明之前没有对该多媒体文件进行扫描, 则需要在 RAM-DB中划分存储空间以 存储该多媒体文件的目录信息。  When scanning a multimedia file in the external storage, when scanning a multimedia file, it is also possible to detect whether the directory information of the multimedia file already exists in the BAK-DB; if yes, the multimedia file has been previously After scanning, the directory information of the multimedia file is copied from the BAK-DB to the RAM-DB, and the scanning of the multimedia file can be skipped, and the unscanned multimedia file can be scanned, thereby being connected. Previous scan. If no, it is stated that the multimedia file is not scanned before, and the storage space needs to be divided in the RAM-DB to store the directory information of the multimedia file.
因此, 从 BAK-DB中将该多媒体文件的目录信息复制到 RAM-DB中之后, 在扫描多媒体文件的过程中, 还需要检测多媒体文件对应的目录信息是否已 在 RAM-DB中存在, 如果存在, 则说明该多媒体文件已扫描过, 则跳过对该 多媒体文件进行的扫描操作; 如果不存在, 则解析该多媒体文件并将生成的 对应的目录信息写入 RAM-DB中。该 RAM-DB是在多媒体服务程序初次进行扫 描时建立的, 当扫描多个多媒体文件时, 每扫描一个多媒体文件, 就需要在 RAM-DB划分出一定的存储空间存储该多媒体文件对应的目录信息。  Therefore, after copying the directory information of the multimedia file from the BAK-DB to the RAM-DB, in the process of scanning the multimedia file, it is also required to detect whether the directory information corresponding to the multimedia file exists in the RAM-DB, if present If the multimedia file has been scanned, skip the scanning operation on the multimedia file; if not, parse the multimedia file and write the generated corresponding directory information into the RAM-DB. The RAM-DB is established when the multimedia service program is scanned for the first time. When scanning a plurality of multimedia files, each time a multimedia file is scanned, a certain storage space needs to be allocated in the RAM-DB to store the directory information corresponding to the multimedia file. .
在本实施例中, 在扫描多媒体文件时, 解析多媒体文件并将生成的对应 的多媒体目录信息写入 RAM-DB中, 可以根据预设的扫描备份时间间隔, 把 RAM-DM中的数据备份到 BAK-DB中。 比如对于重要的多媒体文件, 则可以设 置 1秒至 3秒备份一次, 对于不很重要的多媒体文件, 则可以设置 5秒至十秒备 份一次。 或者, 也可以釆用每增加了一定的多媒体目录信息的数据量就进行一次 备份, 检测 RAM-DB中增加的多媒体目录信息的数据量是否达到预设值, 如 果是, 则进行一次 RAM-DB至 BAK-DB的数据备份操作。 In this embodiment, when the multimedia file is scanned, the multimedia file is parsed and the generated corresponding multimedia directory information is written into the RAM-DB, and the data in the RAM-DM can be backed up according to the preset scan backup time interval. BAK-DB. For example, for important multimedia files, you can set a backup from 1 second to 3 seconds. For multimedia files that are not very important, you can set a backup from 5 seconds to 10 seconds. Alternatively, it is also possible to perform a backup every time a certain amount of data of the multimedia directory information is added, and check whether the data amount of the multimedia directory information added in the RAM-DB reaches a preset value, and if so, perform a RAM-DB once. Data backup operation to BAK-DB.
步骤 12、 若扫描过程发生了中断, 则在扫描中断结束后继续扫描时, 将 BAK-DB中的数据复制到 RAM-DB中, 并根据 RAM-DB中已有的数据, 继续对 未扫描的多媒体文件进行扫描。  Step 12: If an interruption occurs in the scanning process, the data in the BAK-DB is copied to the RAM-DB when the scanning is continued after the scanning interruption ends, and the unscanning is continued according to the data existing in the RAM-DB. The multimedia file is scanned.
如果发生了中断, 则在中断结束后, 需要接续之前的扫描。 如对于某个 外挂存储器中有 800个文件, 扫描到第 101个时突然发生了中断, 则扫描生成 了前 100个多媒体文件对应的目录信息, 则由于在之前的扫描过程中, 已将 RAM-DB中的数据备份到 BAK-DB中, 则在中断结束后, 将 BAK-DB中的数据 还原到 RAM-DB中, 则 RAM-DB就有了之前扫描生成的 100个多媒体文件的目 录信息, 由此可以在中断结束后接续之前的扫描, 继续从第 101个多媒体文件 开始进行扫描。 由此提高了在突发情况下对外挂存储器中的多媒体文件的扫 描速度, 避免因为突发的中断造成用户体验的降低。  If an interrupt occurs, the previous scan needs to be continued after the interrupt is completed. For example, if there are 800 files in a plug-in memory and an interrupt occurs suddenly when scanning to the 101st, the scan generates the directory information corresponding to the first 100 multimedia files, because the RAM has been used in the previous scanning process. The data in the DB is backed up to the BAK-DB, and after the interrupt is completed, the data in the BAK-DB is restored to the RAM-DB, and the RAM-DB has the directory information of the 100 multimedia files generated by the previous scan. This allows the previous scan to be continued after the end of the interrupt, and scanning continues from the 101st multimedia file. This improves the scanning speed of the multimedia files in the external storage in the event of an emergency, and avoids a reduction in user experience due to sudden interruptions.
按照上述的方法, 就实现了在多媒体文件扫描过程中的灾难备份, 使得 多媒体文件的扫描不会受中断的影响。  According to the above method, the disaster backup during the multimedia file scanning process is realized, so that the scanning of the multimedia file is not affected by the interruption.
进一步的, 当多媒体文件发生了改变时, 比如硬盘或外挂式存储器中, 添加了部分多媒体文件或者删除了部分的多媒体文件。 则再次进行多媒体文 件的扫描时, 需要更新多媒体服务数据库中的目录信息。  Further, when the multimedia file is changed, such as a hard disk or an external memory, a part of the multimedia file is added or a part of the multimedia file is deleted. When the multimedia file is scanned again, the directory information in the multimedia service database needs to be updated.
此时对多媒体服务数据块中数据的处理方法如下: 当检测到有新的多媒 体文件被扫描时, 则监控生成的所述新的多媒体文件的目录信息; 将所述新 的多媒体文件的目录信息更新存储在所述 RAM-DB中,并将 RAM-DB中的数据 备份到所述 BAK-DB中。  At this time, the processing method of the data in the multimedia service data block is as follows: when it is detected that a new multimedia file is scanned, monitoring the generated directory information of the new multimedia file; and catalog information of the new multimedia file. The update is stored in the RAM-DB and the data in the RAM-DB is backed up into the BAK-DB.
在多媒体文件扫描完成后, 产生的多媒体目录信息都存储在了多媒体服 务数据库中。 由于可能删除了部分多媒体文件或者更改了部分多媒体文件。 则在扫描结束后, 需要清理多媒体服务数据库中不存在的多媒体文件的相关 的目录信息; 并把 RAM-DB中的数据整体备份到 BAK-DB中。 比如某个多媒体 文件在扫描前, 从外挂存储中本删除了, 多媒体服务数据库中还有其对应的 目录信息, 则在扫描完成后, 需要删除该目录信息, 以避免客户端程序读取 了目录信息, 但请求不到相应的多媒体文件的服务。 After the multimedia file scanning is completed, the generated multimedia directory information is stored in the multimedia service database. Some multimedia files may have been deleted or some multimedia files may have been changed. After the scanning is finished, it is necessary to clean up the related multimedia files that do not exist in the multimedia service database. Directory information; and the entire data in the RAM-DB is backed up to BAK-DB. For example, a multimedia file is deleted from the external storage before scanning, and the corresponding directory information is included in the multimedia service database. After the scanning is completed, the directory information needs to be deleted to prevent the client program from reading the directory. Information, but the service of the corresponding multimedia file is not requested.
在进行 RAM-DB至 BAK-DB的备份时, 可以釆用以下的方法: 在向所述 RAM-DB中存储多媒体文件的目录信息时,检测 RAM-DB中增加的数据量是否 达到预设的备份数据量,如果是,则进行一次 RAM-DB至 BAK-DB的数据备份。 比如, 在扫描多媒体文件时, 可以设定 RAM-DB中没增加了 100k数据, 就进 行一次备份, 以避免频繁的备份操作浪费系统的资源。  When performing the backup of the RAM-DB to the BAK-DB, the following method can be used: When the directory information of the multimedia file is stored in the RAM-DB, it is detected whether the amount of data added in the RAM-DB reaches a preset value. Back up the amount of data, and if so, perform a data backup of RAM-DB to BAK-DB. For example, when scanning multimedia files, you can set a RAM-DB without adding 100k data, and then perform a backup to avoid frequent backup operations waste system resources.
本发明实施例的多媒体服务数据库存储数据的方法, 应用的范围比较广 泛, 比如在以下场景中都能够适用: 具有数字生活网络联盟 (Digital Living Network Alliance, 以下简称 DLNA)媒体服务器的家庭网关, 通常以 USB硬盘 为外挂存储设备; 具有 itunes server (数字媒体播放应用程序服务器)的智能 手机, 通常以内置 SD存储卡或微型硬盘为外挂存储器; 支持 DLNA媒体服务 器的机顶盒, 通常以内置 SATA硬盘或外接 USB硬盘为外挂存储器。  The method for storing data in the multimedia service database of the embodiment of the present invention has a wide range of applications, for example, in the following scenarios: a home gateway having a Digital Living Network Alliance (DLNA) media server, usually USB hard disk is used as external storage device; smartphone with itunes server (digital media playback application server) usually uses built-in SD memory card or micro hard disk as external storage; set-top box supporting DLNA media server, usually with built-in SATA hard disk or external connection The USB hard disk is an external memory.
在上述应用场景中, 在媒体服务数据库中录入数据的方法流程与上述方 法类似, 此处不再赘述。  In the above application scenario, the method for entering data in the media service database is similar to the above method, and details are not described herein again.
本实施例通过在多媒体服务系统中,配置 RAM-DB和 BAK-DB两个数据库 文件, 两个数据库文件的读取速度及存储稳定性能够优缺点互补, 同时能够 实现多媒体服务数据库的数据备份, 避免由于中断造成多媒体文件扫描的错 误问题。 实现了多媒体服务的高效性、 数据持久性和可靠性, 改善了嵌入式 多媒体服务的用户体验。 具有艮高的实用性。  In this embodiment, two database files of RAM-DB and BAK-DB are configured in the multimedia service system, and the reading speed and storage stability of the two database files can be complemented by advantages and disadvantages, and data backup of the multimedia service database can be realized at the same time. Avoid errors caused by multimedia file scanning due to interruption. The efficiency, data persistence and reliability of multimedia services are realized, and the user experience of embedded multimedia services is improved. Has a high practicality.
参见图 2所示为本发明另一实施例提供的一种嵌入式设备上的多媒体服 务数据库录入数据的设备的结构示意图, 该设备包括:  FIG. 2 is a schematic structural diagram of an apparatus for inputting data in a multimedia service database on an embedded device according to another embodiment of the present disclosure, where the device includes:
扫描模块 21 , 用于在进行多媒体文件的扫描时, 将生成的多媒体文件的 目录信息存储在 RAM-DB中, 备份模块 22, 用于在扫描过程中, 进行 RAM-DB至 BAK-DB的数据备份操 作; The scanning module 21 is configured to store, in the scanning of the multimedia file, the directory information of the generated multimedia file in the RAM-DB, The backup module 22 is configured to perform a data backup operation of the RAM-DB to the BAK-DB during the scanning process;
中断处理模块 23, 用于扫描过程发生了中断, 在扫描中断结束后继续扫 描时,将 BAK-DB中的数据复制到 RAM-DB中,并根据 RAM-DB中已有的数据, 继续对未扫描的多媒体文件进行扫描。  The interrupt processing module 23 is configured to interrupt the scanning process. When the scanning is continued after the scanning interrupt ends, the data in the BAK-DB is copied to the RAM-DB, and the data is continued according to the existing data in the RAM-DB. Scanned multimedia files are scanned.
在进行多媒体文件的扫描时, 对于之前已扫描过的多媒体文件, 则可以 跳过扫描操作, 以直接扫描未扫描过的多媒体文件。 扫描模块 21 , 还用于在 扫描一多媒体文件时, 检测该多媒体文件的目录信息是否已存在于所述 BAK-DB中; 如果是, 则将该多媒体文件的目录信息复制到 RAM-DB中; 并跳 过对该多媒体文件进行的扫描操作; 否则, 扫描该多媒体文件并将生成的该 多媒体文件的目录信息写入 RAM-DB中。  When scanning a multimedia file, for a previously scanned multimedia file, you can skip the scanning operation to directly scan the unscanned multimedia file. The scanning module 21 is further configured to: when scanning a multimedia file, detecting whether directory information of the multimedia file already exists in the BAK-DB; if yes, copying the directory information of the multimedia file into the RAM-DB; And skipping the scanning operation on the multimedia file; otherwise, scanning the multimedia file and writing the generated directory information of the multimedia file into the RAM-DB.
从 BAK-DB中将该多媒体文件的目录信息复制到 RAM-DB中之后,在扫描 多媒体文件的过程中, 还需要检测该多媒体文件对应的目录信息是否已在 RAM-DB中存在, 如果存在, 则说明该多媒体文件已扫描过, 则跳过对该多 媒体文件进行的扫描操作; 如果不存在, 则解析该多媒体文件并将生成的对 应的目录信息写入 RAM-DB中。 扫描模块 21 , 还用于在扫描一多媒体文件时, 检测该多媒体文件的目录信息是否已存在于所述 RAM-DB中, 如果是, 则跳 过对该多媒体文件进行的扫描操作; 否则, 扫描该多媒体文件并将生成的该 多媒体文件的目录信息写入 RAM-DB中。  After copying the directory information of the multimedia file from the BAK-DB to the RAM-DB, in the process of scanning the multimedia file, it is also required to detect whether the directory information corresponding to the multimedia file exists in the RAM-DB, if any, If the multimedia file has been scanned, the scanning operation on the multimedia file is skipped; if not, the multimedia file is parsed and the generated corresponding directory information is written into the RAM-DB. The scanning module 21 is further configured to: when scanning a multimedia file, detecting whether directory information of the multimedia file is already present in the RAM-DB, and if yes, skip scanning operation on the multimedia file; otherwise, scanning The multimedia file writes the generated directory information of the multimedia file into the RAM-DB.
在进行数据的备份时, 可以釆用按时间备份的方式, 也可以釆用按数据 量进行备份的方式。 备份模块 22 , 用于检测 RAM-DB中增加的多媒体文件目 录信息的数据量是否达到预设值, 如果是, 则进行一次 RAM-DB至 BAK-DB的 数据备份操作。 或者, 备份模块 22, 用于根据预设的扫描备份时间间隔, 进 行 RAM-DB至 BAK-DB的数据备份操作。  When backing up data, you can use the method of backing up by time, or you can use the method of backing up by data volume. The backup module 22 is configured to detect whether the amount of data of the multimedia file directory information added in the RAM-DB reaches a preset value, and if so, perform a data backup operation of the RAM-DB to the BAK-DB. Alternatively, the backup module 22 is configured to perform a data backup operation of the RAM-DB to the BAK-DB according to a preset scan backup time interval.
此外, 在多媒体文件扫描完成后, 产生的多媒体目录信息都存储在了多 媒体服务数据库中。 由于可能删除了部分多媒体文件或者更改了部分多媒体 文件。 则在扫描结束后, 需要清理多媒体服务数据库中不存在的多媒体文件 的相关的目录信息。 该设备还包括: 删除模块 24, 用于在扫描多媒体文件完 成后, 在媒体数据库中, 删除未扫描到的多媒体文件的目录信息。 In addition, after the multimedia file scanning is completed, the generated multimedia directory information is stored in the multimedia service database. Due to the possibility of deleting some multimedia files or changing some multimedia File. After the scanning is finished, the related directory information of the multimedia file that does not exist in the multimedia service database needs to be cleaned up. The device further includes: a deleting module 24, configured to delete directory information of the unscanned multimedia file in the media database after the scanning of the multimedia file is completed.
本实施例通过在多媒体服务系统中,配置 RAM-DB和 BAK-DB两个数据库 文件, 两个数据库文件的读取速度及存储稳定性能够优缺点互补, 同时能够 实现多媒体服务数据库的数据备份, 避免由于中断造成多媒体文件扫描的错 误问题。 实现了多媒体服务的高效性、 数据持久性和可靠性, 改善了嵌入式 多媒体服务的用户体验。 具有艮高的实用性。  In this embodiment, two database files of RAM-DB and BAK-DB are configured in the multimedia service system, and the reading speed and storage stability of the two database files can be complemented by advantages and disadvantages, and data backup of the multimedia service database can be realized at the same time. Avoid errors caused by multimedia file scanning due to interruption. The efficiency, data persistence and reliability of multimedia services are realized, and the user experience of embedded multimedia services is improved. Has a high practicality.
本领域普通技术人员可以理解: 附图只是一个实施例的示意图, 附图中 的模块或流程并不一定是实施本发明所必须的。  It will be understood by those of ordinary skill in the art that the drawings are only a schematic representation of one embodiment, and the modules or processes in the drawings are not necessarily required to practice the invention.
本领域普通技术人员可以理解: 实施例中的装置中的模块可以按照实施 例描述分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例的 一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进一步 拆分成多个子模块。  It will be understood by those skilled in the art that the modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment, or may be correspondingly changed in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。  The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域的技术人员可以清楚地了解到本发明实施例可借助软件加必需的 通用硬件平台的方式来实现。 基于这样的理解, 本发明实施例的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该 计算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括 若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络 设备等)执行本发明实施例各个实施例或者实施例的某些部分所述的方法。  It will be apparent to those skilled in the art that the embodiments of the present invention can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, and the computer software product may be stored in a storage medium, such as a ROM/RAM. A disk, an optical disk, or the like, includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the embodiments of the present invention.
上述具体实施例并不用以限制本发明, 对于本技术领域的普通技术人员 来说, 凡在不脱离本发明原理的前提下, 所作的任何修改、 等同替换、 改进 等, 均应包含在本发明的保护范围之内。  The above specific embodiments are not intended to limit the present invention, and any modifications, equivalents, improvements, etc., which are included in the present invention, should be included in the present invention without departing from the principles of the present invention. Within the scope of protection.

Claims

权利 要求 书 Claim
1、 一种嵌入式设备上的多媒体服务数据库录入数据的方法, 其特征在于, 包括: A method for data entry in a multimedia service database on an embedded device, comprising:
在进行多媒体文件的扫描时, 将生成的多媒体文件的目录信息存储在随机 存储器数据库 RAM-DB 中, 并在扫描过程中, 进行 RAM-DB 至备份数据库 BAK-DB的数据备份操作;  During the scanning of the multimedia file, the directory information of the generated multimedia file is stored in the random storage database RAM-DB, and during the scanning process, the data backup operation of the RAM-DB to the backup database BAK-DB is performed;
若扫描过程发生了中断, 则在扫描中断结束后继续扫描时, 将 BAK-DB中 的数据复制到 RAM-DB中,并根据 RAM-DB中已有的数据,继续对未扫描的多 媒体文件进行扫描。  If an interruption occurs during the scanning process, the data in the BAK-DB is copied to the RAM-DB when the scanning is continued after the scanning interruption ends, and the unscanned multimedia file is continued according to the data already in the RAM-DB. scanning.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
在扫描一多媒体文件时, 检测该多媒体文件的目录信息是否已存在于所述 BAK-DB中;  When scanning a multimedia file, detecting whether directory information of the multimedia file already exists in the BAK-DB;
如果是, 则将该多媒体文件的目录信息复制到 RAM-DB中;  If yes, copy the directory information of the multimedia file to the RAM-DB;
否则, 扫描该多媒体文件并将生成的该多媒体文件的目录信息写入 RAM-DB中。  Otherwise, the multimedia file is scanned and the generated directory information of the multimedia file is written into the RAM-DB.
3、 根据权利要求 2所述的方法, 其特征在于, 还包括:  3. The method according to claim 2, further comprising:
在扫描一多媒体文件时, 检测该多媒体文件的目录信息是否已存在于所述 RAM-DB中,  When scanning a multimedia file, detecting whether directory information of the multimedia file is already present in the RAM-DB,
如果是, 则跳过对该多媒体文件进行的扫描操作;  If yes, skip the scanning operation on the multimedia file;
否则, 扫描该多媒体文件并将生成的该多媒体文件的目录信息写入 RAM-DB中。  Otherwise, the multimedia file is scanned and the generated directory information of the multimedia file is written into the RAM-DB.
4、 根据权利要求 1所述的方法, 其特征在于, 进行 RAM-DB至 BAK-DB 的数据备份操作, 包括:  4. The method according to claim 1, wherein the data backup operation of the RAM-DB to the BAK-DB is performed, including:
检测 RAM-DB中增加的多媒体文件目录信息的数据量是否达到预设值, 如 果是, 则进行一次 RAM-DB至 BAK-DB的数据备份操作。  It is detected whether the data amount of the multimedia file directory information added in the RAM-DB reaches a preset value, and if so, a data backup operation of the RAM-DB to the BAK-DB is performed once.
5、 根据权利要求 1所述的方法, 其特征在于, 解析该多媒体文件并将生成 的对应的多媒体目录写入 RAM-DB中之后, 还包括: 5. The method according to claim 1, wherein the multimedia file is parsed and generated After the corresponding multimedia directory is written into the RAM-DB, it also includes:
根据预设的扫描备份时间间隔,进行 RAM-DB至 BAK-DB的数据备份操作。 Perform data backup operations from RAM-DB to BAK-DB according to the preset scan backup interval.
6、 根据权利要求 1所述的方法, 其特征在于, 还包括: 6. The method according to claim 1, further comprising:
在扫描多媒体文件完成后, 在多媒体服务数据库中, 删除未扫描到的多媒 体文件的目录信息。  After the scanning of the multimedia file is completed, in the multimedia service database, the directory information of the unscanned multimedia file is deleted.
7、 一种嵌入式设备上的多媒体服务数据库录入数据的设备, 其特征在于, 包括:  7. A device for entering data in a multimedia service database on an embedded device, comprising:
扫描模块, 用于在进行多媒体文件的扫描时, 将生成的多媒体文件的目录 信息存储在随机存储器数据库 RAM-DB中,  a scanning module, configured to store, in the scanning of the multimedia file, the directory information of the generated multimedia file in the random access memory database RAM-DB,
备份模块, 用于在扫描过程中, 进行 RAM-DB至备份数据库 BAK-DB的数 据备份操作;  a backup module for performing a data backup operation of the RAM-DB to the backup database BAK-DB during the scanning process;
中断处理模块, 用于扫描过程发生了中断, 在扫描中断结束后继续扫描时, 将 BAK-DB中的数据复制到 RAM-DB中, 并根据 RAM-DB中已有的数据, 继 续对未扫描的多媒体文件进行扫描。  The interrupt processing module is used to interrupt the scanning process. When the scanning is continued after the scanning interrupt ends, the data in the BAK-DB is copied to the RAM-DB, and the unscanning is continued according to the data already in the RAM-DB. The multimedia files are scanned.
8、 根据权利要求 7所述的设备, 其特征在于,  8. Apparatus according to claim 7 wherein:
所述扫描模块, 还用于在扫描一多媒体文件时, 检测该多媒体文件的目录 信息是否已存在于所述 BAK-DB中; 如果是, 则将该多媒体文件的目录信息复 制到 RAM-DB中; 否则, 扫描该多媒体文件并将生成的该多媒体文件的目录信 息写入 RAM-DB中。  The scanning module is further configured to: when scanning a multimedia file, detecting whether directory information of the multimedia file already exists in the BAK-DB; if yes, copying the directory information of the multimedia file into the RAM-DB Otherwise, the multimedia file is scanned and the generated directory information of the multimedia file is written into the RAM-DB.
9、 根据权利要求 8所述的设备, 其特征在于,  9. Apparatus according to claim 8 wherein:
所述扫描模块, 还用于在扫描一多媒体文件时, 检测该多媒体文件的目录 信息是否已存在于所述 RAM-DB中, 如果是, 则跳过对该多媒体文件进行的扫 描操作; 否则, 扫描该多媒体文件并将生成的该多媒体文件的目录信息写入 The scanning module is further configured to: when scanning a multimedia file, detecting whether directory information of the multimedia file is already present in the RAM-DB, and if yes, skip scanning operation on the multimedia file; otherwise, Scan the multimedia file and write the generated directory information of the multimedia file
RAM-DB中。 RAM-DB.
10、 根据权利要求 7所述的设备, 其特征在于,  10. Apparatus according to claim 7 wherein:
所述备份模块, 用于检测 RAM-DB中增加的多媒体文件目录信息的数据量 是否达到预设值, 如果是, 则进行一次 RAM-DB至 BAK-DB的数据备份操作。 The backup module is configured to detect whether the data amount of the multimedia file directory information added in the RAM-DB reaches a preset value, and if yes, perform a data backup operation of the RAM-DB to the BAK-DB.
1 1、 根据权利要求 7所述的设备, 其特征在于, 1 1. Apparatus according to claim 7 wherein:
所述备份模块, 用于根据预设的扫描备份时间间隔, 进行 RAM-DB 至 BAK-DB的数据备份操作。  The backup module is configured to perform a data backup operation of the RAM-DB to the BAK-DB according to a preset scan backup time interval.
12、 根据权利要求 7所述的设备, 其特征在于, 还包括:  12. The device according to claim 7, further comprising:
删除模块, 用于在扫描多媒体文件完成后, 在媒体数据库中, 删除未扫描 到的多媒体文件的目录信息。  The deletion module is configured to delete the directory information of the unscanned multimedia file in the media database after the scanning of the multimedia file is completed.
PCT/CN2011/083940 2010-12-17 2011-12-14 Method and device for inputting data in multimedia service database on embedded device WO2012079502A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP11848524.2A EP2579168B1 (en) 2010-12-17 2011-12-14 Method and device for inputting data in multimedia service database on embedded device
US13/714,951 US9311189B2 (en) 2010-12-17 2012-12-14 Method and device for inputting data in multimedia service database on embedded device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010106052389A CN102142010A (en) 2010-12-17 2010-12-17 Method and equipment for inputting data to multimedia service database on embedded equipment
CN201010605238.9 2010-12-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/714,951 Continuation US9311189B2 (en) 2010-12-17 2012-12-14 Method and device for inputting data in multimedia service database on embedded device

Publications (1)

Publication Number Publication Date
WO2012079502A1 true WO2012079502A1 (en) 2012-06-21

Family

ID=44409533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083940 WO2012079502A1 (en) 2010-12-17 2011-12-14 Method and device for inputting data in multimedia service database on embedded device

Country Status (4)

Country Link
US (1) US9311189B2 (en)
EP (1) EP2579168B1 (en)
CN (1) CN102142010A (en)
WO (1) WO2012079502A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142010A (en) 2010-12-17 2011-08-03 华为终端有限公司 Method and equipment for inputting data to multimedia service database on embedded equipment
CN103473240A (en) * 2012-06-08 2013-12-25 Tcl集团股份有限公司 Storage-equipment-based file scanning method and device
CN104598844A (en) * 2014-12-31 2015-05-06 湖南国科微电子有限公司 Power failure protection method and device for preventing corruption of system files of solid-state disk
US9952935B2 (en) 2016-01-06 2018-04-24 International Business Machines Corporation Excluding content items from a backup operation
US10133639B2 (en) 2016-02-10 2018-11-20 International Business Machines Corporation Privacy protection of media files for automatic cloud backup systems
CN107861839A (en) * 2017-10-18 2018-03-30 深圳市汉普电子技术开发有限公司 USB hot plug data anti-loss method, equipment and storage medium
CN110188211B (en) * 2019-04-25 2023-06-27 深圳市布谷鸟科技有限公司 Method for rapidly loading multimedia application list in android vehicle-mounted system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937065A (en) * 2005-09-20 2007-03-28 联发科技股份有限公司 Data recovery method and system for a data recording
CN101140780A (en) * 2006-09-05 2008-03-12 联发科技股份有限公司 Optical storage medium and data recording and recovery method
US20100074589A1 (en) * 2008-09-24 2010-03-25 Pace Plc Program Content Recovery for Multimedia Devices and Digital Video Recorder Set-Top Boxes
CN102142010A (en) * 2010-12-17 2011-08-03 华为终端有限公司 Method and equipment for inputting data to multimedia service database on embedded equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6449625B1 (en) * 1999-04-20 2002-09-10 Lucent Technologies Inc. Use of a two-way stack approach to optimize flash memory management for embedded database systems
US7812860B2 (en) * 2004-04-01 2010-10-12 Exbiblio B.V. Handheld device for capturing text from both a document printed on paper and a document displayed on a dynamic display device
WO2008075312A2 (en) 2006-12-20 2008-06-26 Nxp B.V. Wireless media system with embedded media server
CN101043555A (en) * 2007-03-09 2007-09-26 华为技术有限公司 Prompting tone updating method, system and voice playing equipment thereof
US20080294691A1 (en) * 2007-05-22 2008-11-27 Sunplus Technology Co., Ltd. Methods for generating and playing multimedia file and recording medium storing multimedia file
CN101365044B (en) 2007-08-08 2011-07-20 青岛海信电器股份有限公司 Program information storage and management method for multimedia device and multimedia device
CN101547215B (en) * 2008-03-27 2013-07-03 新奥特(北京)视频技术有限公司 File dumping method and system in process of real-time data acquisition
CN100595733C (en) * 2008-10-24 2010-03-24 普天信息技术研究院有限公司 Smart card operation method and smart card
WO2010142468A1 (en) * 2009-06-12 2010-12-16 Technische Universität Berlin Continous network discovery using opportunistic scanning
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937065A (en) * 2005-09-20 2007-03-28 联发科技股份有限公司 Data recovery method and system for a data recording
CN101140780A (en) * 2006-09-05 2008-03-12 联发科技股份有限公司 Optical storage medium and data recording and recovery method
US20100074589A1 (en) * 2008-09-24 2010-03-25 Pace Plc Program Content Recovery for Multimedia Devices and Digital Video Recorder Set-Top Boxes
CN102142010A (en) * 2010-12-17 2011-08-03 华为终端有限公司 Method and equipment for inputting data to multimedia service database on embedded equipment

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
EP2579168A1 (en) 2013-04-10
US9311189B2 (en) 2016-04-12
EP2579168B1 (en) 2015-02-18
US20130103645A1 (en) 2013-04-25
CN102142010A (en) 2011-08-03
EP2579168A4 (en) 2013-08-28

Similar Documents

Publication Publication Date Title
WO2012079502A1 (en) Method and device for inputting data in multimedia service database on embedded device
US9703640B2 (en) Method and system of performing incremental SQL server database backups
US7421551B2 (en) Fast verification of computer backup data
US7861049B2 (en) Methods and apparatus for archiving digital data
US9043280B1 (en) System and method to repair file system metadata
US8332442B1 (en) Automated restoration of links when restoring individual directory service objects
WO2010137079A1 (en) Management methods of storage system and file system
CN105550073A (en) Database backup method and system thereof
WO2020088533A1 (en) Disaster recovery method and apparatus for virtualization platform
CN107506266B (en) Data recovery method and system
CN103999058A (en) Tape drive system server
WO2013044785A1 (en) User data backup method and apparatus
WO2009092254A1 (en) Method, device and system for recovering data of cache
US20140214766A1 (en) Storage system and control device
JP2006059347A (en) Storage system using journaling
US8271755B1 (en) Discovering data storage for backup
US8170991B1 (en) Method and apparatus for managing image data on a sequential storage device
CN114003439B (en) Data backup method, device, equipment and storage medium
RU2665272C1 (en) Method and apparatus for restoring deduplicated data
CN110972497A (en) Disaster recovery method and device for virtualization platform
JP2005050073A (en) Data restoration method, and data recorder
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system
CN113485872A (en) Fault processing method and device and distributed storage system
US11645333B1 (en) Garbage collection integrated with physical file verification
CN104407941A (en) Windows file backup method base on file archive attribute

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: 11848524

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011848524

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE