WO2012092901A2 - Media storage system and method - Google Patents

Media storage system and method Download PDF

Info

Publication number
WO2012092901A2
WO2012092901A2 PCT/CN2012/071075 CN2012071075W WO2012092901A2 WO 2012092901 A2 WO2012092901 A2 WO 2012092901A2 CN 2012071075 W CN2012071075 W CN 2012071075W WO 2012092901 A2 WO2012092901 A2 WO 2012092901A2
Authority
WO
WIPO (PCT)
Prior art keywords
media
content
storage pool
read
storage
Prior art date
Application number
PCT/CN2012/071075
Other languages
French (fr)
Chinese (zh)
Other versions
WO2012092901A3 (en
Inventor
施有铸
黄汉砚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2012/071075 priority Critical patent/WO2012092901A2/en
Priority to CN201280000227.5A priority patent/CN102687149B/en
Publication of WO2012092901A2 publication Critical patent/WO2012092901A2/en
Publication of WO2012092901A3 publication Critical patent/WO2012092901A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • the present invention relates to storage technologies, and in particular, to a media storage system and method. Background technique
  • An existing media storage system consists of multiple repositories, each of which is used to store media content for different lifecycles/business cycles.
  • the original material storage is used to store media files or media streams directly received from the media source;
  • the program storage library is stored for storage by an external transcoding system and production system. Subsequent media files;
  • the standby database is used to store media files that are ready to be broadcast.
  • one media content can be stored in different storages in a different format in different life cycles/business cycles, and each storage library is independent of each other.
  • a shared storage library merely provides a basic underlying storage interface, and cannot directly support the above-mentioned Media services, for example: There must be other external devices to record the live video stream into media files, or other external devices must convert the media content read by one format to the media in the format to be stored.
  • the final media file can be stored in the above shared storage system; similarly, when the user needs to access the media file in the shared storage library, the user can only read the media format currently stored in the shared storage library, and cannot Media format, or media streaming mode access, unless the shared repository will be Export file storage media, and then be converted or fluidizing medium format devices by other external systems.
  • the shared repository generally only provides a file system, and does not support the management of metadata, such as directors, actors, and dialogues, of video files. It must also have other external devices to provide media content. Metadata management. In the above shared storage library, media management and storage management are relatively independent, and the system of combining the two parts is complicated, flexible, and inefficient. For example: The current media asset management system.
  • media asset management system In the media asset management system, it can be generally divided into three layers: media asset business, media management and storage management, in which media asset business and media management are tightly coupled, taking the broadcasting industry as an example. Users can only purchase a complete set of media asset management systems. The system cannot provide media management and storage management services for other media services (such as production services, broadcast control services, news services, etc.). Summary of the invention
  • Embodiments of the present invention provide a media storage system and method for improving storage flexibility and storage efficiency of a medium.
  • a media storage system located in the server, including:
  • a content storage module configured to store at least one of the first media file or the media stream, and the second media file in a first storage pool; and according to a first preset policy for media content migration, The media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool;
  • the first storage pool is configured to perform media content storage according to scheduling of the content storage module
  • the content storage module stores at least one of the first media file or media stream and the second media file in a first storage pool; and according to a first preset policy for media content migration, The media content in a storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool.
  • the content collection module records the first media file or the media stream from the media source by using the content collection module, and converts the first media file or the media stream into the second media file, and then the content storage module And storing at least one of the first media file or the media stream and the second media file in the first storage pool, and migrating the media content in the first storage pool to the second storage pool according to the first preset policy, Or migrating the media content in the second storage pool to the first storage pool, because the content collection module searches for the first media file or media collected from the media source.
  • FIG. 2 is a schematic structural diagram of a media storage system according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a media storage system according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a media storage method according to another embodiment of the present invention.
  • 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.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the media storage system of this embodiment may include a content collection module 1 1 , a content storage module 12 , and a first storage. Pool 13 and second storage pool 14.
  • the content collection module 11 is configured to receive the first media file or the media stream from the media source (that is, the API interface provided by the content collection module to the external device, and receive the first device provided by the media source through the API interface. a media file or media stream), and converting the first media file or media stream to a second media file.
  • a news collector can connect to the content collection module 11 through a computer (PC), and upload a newly edited news program video file through a File Transfer Protocol (FTP).
  • the content storage module 12 is configured to store at least one of the first media file or the media stream included in the content recording module 11 and the second media file converted by the content recording module 11 in the first storage pool;
  • the first preset policy of the media content migration, the media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool.
  • the first storage pool 13 is configured to perform media content storage according to the scheduling of the content storage module.
  • the second storage pool 14 is configured to perform media content storage according to the scheduling of the content storage module.
  • the foregoing media source may include, but is not limited to, media content of at least one of an audio format, a video format, an image format, and a text format.
  • the foregoing first media file or media stream may include, but is not limited to, an audio format, a video format, a media file or media stream of at least one of an image format and a text format;
  • the second media file may include, but is not limited to, a media file of at least one of an audio format, a video format, an image format, and a text format.
  • the media format of the media source may be a static media file (for example, a video file of the Moving Picture Experts Group 2 (MPEG-2) format), or may be a dynamic media stream (for example: Transport Stream (Transport Stream, referred to as MPEG-2).
  • MPEG-2 Moving Picture Experts Group 2
  • Transport Stream Transport Stream
  • the content collection module 11 includes a first text transfer protocol (HTTP) upload, a network distributed authoring and version management (Web-based Distributed Authoring and Versioning) from a media source. At least one of WebDAV (upload) and physical media copy (for example: Digital Versatile Disc (DVD) disc reading).
  • HTTP text transfer protocol
  • Web-based Distributed Authoring and Versioning At least one of WebDAV (upload) and physical media copy (for example: Digital Versatile Disc (DVD) disc reading).
  • the content collection module 11 includes the media from the media source.
  • Protocol referred to as IGMP, at least one of multicast, HTTP push, and WebDAV push.
  • the content collection module 11 may partially receive the first media file or the media stream and convert the same to the second media file; or may completely receive all the first media. After the file or media stream, convert it to a second media file.
  • the content recording module 11 may specifically utilize an audio and video codec conversion method, an audio and video code rate conversion method, a media format conversion method, a digital rights management (DRM) method, a digital watermark method, and a message digest.
  • DRM digital rights management
  • MD5 Message Digest Algorithm 5
  • the content recording module 11 converts the read media content into a second media file, which may be a file, or may be multiple files, or may be a group of packaged integrated files.
  • the first storage pool may be an online storage pool, and the second storage pool may be a near-line storage pool and an offline storage pool; or the first storage pool may also be a near-line storage
  • the second storage pool may be an online storage pool and an offline storage pool.
  • the second storage pool may be an offline storage pool, and the second storage pool may be an online storage pool and a near-line storage pool.
  • the online storage pool is used to store the original and/or converted media content (that is, the first media file or the media stream and at least one of the foregoing second media files) included in the content collection module 11 and needs high performance.
  • a storage device such as a Solid State Disk (SSD) or a disk array.
  • Near-line storage pools are used to store media content with less frequent access, requiring performance in general Storage devices, such as: Serial Advanced Technology Accessories (Serial Advanced Technology)
  • Attachment referred to as SATA
  • the offline storage pool is used to store media content with minimal access frequency (ie, archived media content), and its physical storage resources can be in a dormant or power-down state, such as: a sleepable disk or a power-down disk, which can further save system cost. .
  • the content collection module converts the live broadcast media stream of the 2008 Olympic Games 100m race final into MPEG2 file, and then the content storage module 12 stores the 2008 Olympic Games 100m race final live content and MPEG2 file in the online storage pool; 2008 Olympic Games 100m race final After 1 month, there is no programming for the 100m final (also can be seen as an interview). There is very little access to the relevant MPEG2 files.
  • the content storage module 12 can migrate the live broadcast content and MPEG2 files of the 2008 Olympic Games 100m race finals.
  • content storage module 12 can be the 2008 Olympic Games
  • the 100m race final live content and MPEG2 files are migrated to the offline storage pool; an Olympic 100m final feature program needs to be produced, and the content storage module 12 can edit and edit the video files related to the multiple Olympic 100 meters finals with subtitles and commentary dubbing.
  • the first media file or the media stream is recorded from the media source by the content collection module, and the first media file or the media stream is converted into the second media file, and then the first media file or the content file module is used by the content storage module.
  • the media stream, and the at least one of the foregoing second media files are stored in the first storage pool, and the media content in the first storage pool is migrated to the second storage pool according to the first preset policy, or the second The media content in the storage pool is migrated to the first storage pool, and the content storage module can perform the pre-processing of the first media file or the media stream collected from the media source, so that the content storage module can store the media file of more formats, thereby
  • the storage flexibility of the media is improved; since the first storage pool and the second storage pool are not independent of each other, the content storage module can perform media content migration between the two (that is, the media content in the first storage pool is migrated to the first The second storage pool, or the media content in the second storage pool is migrated to the first storage pool), which can
  • FIG. 2 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1, the media storage system of this embodiment may further include Internal chord module 21 for
  • Receiving metadata of the first media file or media stream sent by the media source or content collection module 11 and/or media content from at least one of the first storage pool and the second storage pool ie, first Extracting metadata from at least one of a media file or media stream, and the second media file;
  • the content retrieval module provides an API interface for content retrieval to the external device, and receives a retrieval request sent by the external device through the API interface), wherein the retrieval request includes a feature parameter, and according to the above feature, The metadata is retrieved and the search results are provided to the above external device.
  • the content retrieval module 21 may receive a movie dialogue will be back" input by the external device, and retrieve relevant metadata of the corresponding movie "Terminator".
  • the retrieval result provided by the content retrieval module 21 to the external device may include, but is not limited to, at least one of an index number, a hyperlink, a text description, and an image.
  • the satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race” and description.
  • the content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates them into MPEG2 files, and then the content storage module 12 stores the MPEG2 files in the first storage pool.
  • the content retrieval module can access the MPEG2 file in the first storage pool, extract the subtitle text in the MPEG2 file, and save it as feature data of the internal search.
  • the content retrieval module receives a retrieval request sent by an external device, and the retrieval request includes a feature parameter "2008 Olympic 100m Racing Final".
  • the content retrieval module may perform the retrieval in the metadata according to the above characteristic parameters, and provide the retrieval result to the external device, for example: return a list of the 2008 Olympic Games 100 meters running final video, description description text, and access connection list.
  • the metadata is automatically extracted by the internal search module, and/or the media is obtained from the outside.
  • the metadata provided by the source and the API interface for providing content retrieval to the external device enable the internal search module to provide a retrieval service to the external device, thereby improving storage utilization.
  • FIG. 3 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1 or FIG. 2, the media storage system in this embodiment may further include content access. Module 31, for
  • a first access request sent by the external device that is, an API interface that the content access module provides content reading to an external device, and receiving a first access request sent by the external device through the API interface
  • the first access request includes the request Reading the media identifier and reading the content information
  • the first access request includes the request Reading the media identifier and reading the content information
  • the content access module provides an API interface for content storage to an external device, and receives a second access request sent by the external device through the API interface
  • the second access request includes request storage
  • the media file and the stored content information and when the media file included in the second access request is inconsistent with the media content required by the stored content information, converting the media file included in the second access request into a And storing the fourth media file that is consistent with the media content required by the content information, and storing the fourth media file in the first storage pool or the second storage pool, or the media file included in the second access request And when the media content required to store the content information is consistent, storing the media file included in the second access request in the first storage pool or the second storage pool.
  • External devices can access application programming interfaces through content (Application
  • the Programming Interface sends the first access request to the content access module.
  • the content access module will obtain the low code directly from the first storage pool or the second storage pool. Rate video files, or generate low-rate files from the original high-rate files when the low-rate video files do not exist and then provide them to external devices for access.
  • the content accessing module 31 may specifically use the audio and video encoding and decoding method to convert the audio and video code rate conversion according to the read content information. At least one of the method and the media format conversion method converts the read media content into a corresponding third media file.
  • the content accessing module 31 may specifically use the audio and video encoding and decoding method to convert the method and the sound according to the stored content information. At least one of the video bit rate conversion method and the media format conversion method converts the media file included in the second access request into a corresponding fourth media file.
  • the satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race” and description.
  • the content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates it into an MPEG2 file, and then the content storage module stores the MPEG2 file in the first storage pool.
  • the content access module receives the first access request sent by the external device, and the content access module reads the video file captured by different shots of the 2008 Olympic Games 100 meters running final from the first storage pool, and the external device does not care which geographic location the video file is specifically stored in.
  • the external device can further edit and edit the read video file, for example: Combine the video files of different shots of the 2008 Olympic Games 100m race final into a special video, and add subtitles and dubbing.
  • the content is The access module sends a second access request.
  • the content access module stores the thematic video created by the external device in the first storage pool. Further, the content access module may further import the updated or newly added metadata obtained by the external device to the content retrieval module to be saved as the feature data of the content retrieval; or the content retrieval module may further be from the first storage pool.
  • the thematic video extracts the metadata and stores it as characteristic data of the internal search.
  • FIG. 4 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1, FIG. 2 or FIG. 3, as shown in FIG. 4, the media storage system of this embodiment may further Include a content outbound module 41 for
  • Receiving an export request sent by the external device ie, the content delivery module is provided to an external device
  • the API interface of the library is received, and the export request sent by the external device is received through the API interface, where the export request includes the media identifier and the exported content information that are requested to be exported, and the corresponding media content is determined according to the media identifier.
  • a storage pool or the second storage pool and reading corresponding media content from the determined first storage pool or the second storage pool, when the read media content and the exported content information are required
  • the read media content is converted into a fifth media file that is consistent with the media content required by the exported content information
  • the read media content is converted into a fifth media file.
  • the external device or when the read media content is consistent with the media content required by the exported content information, providing the read media content to the external device; or
  • Reading according to the second preset policy and the exported content information for the media content export, the media content that is required to be exported by the second preset policy from the first storage pool or the second storage pool, and when reading When the outdated media content is inconsistent with the media content required by the exported content information, the read media content is converted into a sixth media file that is consistent with the media content required by the exported content information, and will be read out.
  • the sixth media file converted into the media content is provided to the external device, or when the read media content is consistent with the media content required by the exported content information, the read media content is provided to the external device. .
  • CCTV-1 live channel received from the satellite receiving station after being stored in the first storage pool, can be converted into streaming media (FLV Video) format live media outflow library in real time, and provided to the video website push Watch it for network users.
  • streaming media FLV Video
  • the content delivery module 41 may specifically use the audio and video encoding and decoding method to convert the audio and video code rate conversion according to the derived content information. At least one of the method, the media format conversion method, the DRM method, the digital watermarking method, and the MD5 encryption method converts the read media content into a corresponding fifth media file.
  • the content delivery module 41 may specifically use the audio and video code rate conversion method according to the second preset policy for media content export. And at least one of a media format conversion method, a DRM method, a digital watermarking method, and an MD5 encryption method, and converting the read media content into a corresponding sixth media file.
  • the second preset policy may include, but is not limited to, real-time export and storage delay after storage. At least one of the exported at a specified time after exporting and storing after the specified time.
  • the satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race” and description.
  • the content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates it into an MPEG2 file, and then the content storage module stores the MPEG2 file in the first storage pool.
  • the content delivery module receives the export request sent by the external device, and the content delivery module reads the special video of the Olympic 100m running final from the first storage pool, and the external device does not care which location or file system the specific video is stored in. , you only need to automatically get the corresponding video file according to the interface request.
  • the special video can be used by external devices, for example: The special video of the Olympic 100-meter race finals will be broadcast on the satellite channel at 8:00 pm in the Olympic Express program.
  • the external device does not need to care about the internal work, collaboration, and physical distribution of the media storage system, and only needs to access the Platform as a Services (PAAS) interface provided by the media storage system to obtain related information.
  • PAAS Platform as a Services
  • the content delivery module provides an API interface for content export to the external device, so that the content delivery module can provide an export service to the external device, thereby improving storage utilization.
  • the foregoing first storage pool may be a physical storage device, or may be a virtual storage device, for example, a cloud storage server;
  • the second storage pool may be a physical storage device, or may also be a virtual storage device, for example, : Cloud Storage Server.
  • the storage capacity of the first storage pool and the second storage pool may further support a manual setting manner and/or an automatic dividing manner.
  • media content located in different life cycles can be stored, and storage management and media management are supported at the same time, which can effectively improve storage efficiency; and, through content collection, retrieval, access, and export provided by external devices.
  • the API interface of the service enables the support of media asset management services, media production services, video surveillance services and distance education services.
  • the physical business can effectively improve the utilization of storage.
  • the real-time media stream of video surveillance is injected into the content collection module through HTTP push or WebDAV, and recorded into a media file according to a predetermined policy, for example: writing a media file by time.
  • the content storage module stores the recorded media files in an online storage pool, and then further migrates the media files from the online storage pool to the near-line storage pool or the offline storage pool according to a preset policy, such as: content access popularity.
  • the internal search module can extract metadata from media files in online storage pools, near-line storage pools, and offline storage pools, such as: time, voice information, and so on.
  • the external device initiates an application request for the internal search through the API interface provided by the internal search module to the external device, for example: the content creation time is February 7, 2012, and the retrieval is performed to obtain a plurality of media files; or, input one Search for a face image; or, enter a license plate number for retrieval, and so on.
  • the external device can initiate a video access request for the retrieved media file.
  • the content access module receives the access request, and initiates a first access request to the media file in the online storage pool or the near-line storage pool, such as streaming the content, so that the user can play through an external device (for example, a client player). Access to video content.
  • the content access module can migrate it to online or nearline storage.
  • FIG. 5 is a schematic flowchart of a media storage method according to another embodiment of the present invention. As shown in FIG. 5, the media storage method in this embodiment may include:
  • the content collection module includes the first media file or the media stream from the media source, and converts the first media file or the media stream into the second media file.
  • the content storage module stores at least one of the foregoing first media file or media stream and the second media file in a first storage pool; and according to the first preset policy for media content migration, the first The media content in the storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool.
  • the content storage module performs the migration of the media content (that is, the media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first
  • the first preset policy according to a storage pool may include, but is not limited to, at least one of a content life cycle, a content access heat, and a manual setting.
  • the first media file or the media stream is recorded from the media source by the content collection module, and the first media file or the media stream is converted into the second media file, and then the first media file or the content file module is used by the content storage module.
  • the media stream, and the at least one of the foregoing second media files are stored in the first storage pool, and the media content in the first storage pool is migrated to the second storage pool according to the first preset policy, or the second The media content in the storage pool is migrated to the first storage pool, and the content storage module can perform the pre-processing of the first media file or the media stream collected from the media source, so that the content storage module can store the media file of more formats, thereby
  • the storage flexibility of the media is improved; since the first storage pool and the second storage pool are not independent of each other, the content storage module can perform media content migration between the two (that is, the media content in the first storage pool is migrated to the first The second storage pool, or the media content in the second storage pool is migrated to the first storage pool), which can effectively improve the internal
  • the storage speed and read speed of the storage module increase the storage efficiency of the media while reducing the cost.
  • the method further includes:
  • the internal search module obtains metadata of the first media file or media stream from the media source or the content collection module, and/or extracts media content from at least one of the first storage pool and the second storage pool Metadata;
  • the internal search module receives a search request transmitted by the external device, the search request includes a feature parameter, and searches for the metadata based on the feature parameter, and provides the search result to the external device.
  • the method further includes:
  • the content access module receives the first access request sent by the external device, where the first access request includes the media identifier and the read content information that are requested to be read, and determines, according to the media identifier, that the corresponding media content is in the first storage pool or The second storage pool reads the corresponding media content from the determined first storage pool or the second storage pool, and reads the read media content when the read media content does not satisfy the read content information.
  • the outputted media content is converted into a third media file that satisfies the above-described read content information, and the read media content is converted into a third media file provided Giving the above external device, or when the read media content satisfies the read content information, providing the read media content to the external device; and/or
  • the content access module receives the second access request sent by the external device, where the second access request includes the media file and the stored content information that are requested to be stored, and the media file included in the second access request does not satisfy the stored content information. Transmitting, by the media file included in the second access request, a fourth media file that satisfies the stored content information, and storing the fourth media file in the first storage pool or the second storage pool, or And when the media file included in the second access request satisfies the stored content information, storing the media file included in the second access request in the first storage pool or the second storage pool.
  • the API interface of the content reading or the API interface of the content storage is provided to the external device through the content access module, so that the content access module can provide an access (read or store) service to the external device, thereby improving the storage. Utilization rate.
  • the content outbound module reads the media content requested by the second preset policy from the first storage pool or the second storage pool according to the second preset policy and the exported content information used for the media content export. And when the read media content does not satisfy the above-mentioned exported content information, converting the read media content into a sixth media file that satisfies the derived content information, and converting the read media content into The sixth media file is provided to the external device, or when the read media content satisfies the exported content information, the read media content is provided to the external device.
  • the second preset policy may include, but is not limited to, real-time export and storage delay after storage. At least one of the exported at a specified time after exporting and storing after the specified time.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.

Abstract

Provided are a media storage system and method. A content recording module pre-converts a first media file or media stream recorded from a media source, thereby enabling a content storage module to store media files of multiple formats and enhancing the media storage flexibility; and a first storage pool and a second storage pool are not independent of each other, so the content storage module is able to transfer media content between the two pools (i.e. to transfer media content from the first storage pool to the second storage pool, or to transfer media content from the second storage pool to the first storage pool), thereby enhancing the storage speed and read and retrieval speed of the content storage module and improving the media storage efficiency, as well as further reducing cost.

Description

媒体存储系统及方法  Media storage system and method
技术领域 本发明涉及存储技术, 尤其涉及一种媒体存储系统及方法。 背景技术 TECHNICAL FIELD The present invention relates to storage technologies, and in particular, to a media storage system and method. Background technique
现有的媒体存储系统由多个存储库组成, 每个存储库用于存储不同生命 周期 /业务周期的媒体内容。 例如: 在现有的广播电视制作系统中, 原始素材 存储库用于存储从媒体源直接接收到的媒体文件或媒体流; 制作节目存储库 用于存储经过外部的转码系统和制作系统进行处理之后的媒体文件; 备播数 据库用于存储准备播出的媒体文件。  An existing media storage system consists of multiple repositories, each of which is used to store media content for different lifecycles/business cycles. For example: In the existing broadcast television production system, the original material storage is used to store media files or media streams directly received from the media source; the program storage library is stored for storage by an external transcoding system and production system. Subsequent media files; The standby database is used to store media files that are ready to be broadcast.
然而, 在现有的媒体存储系统中, 一个媒体内容在不同的生命周期 /业务 周期只能以一种格式存储在不同的存储库中,而且各个存储库之间相互独立, 另一方面, 在现有的媒体存储系统中, 虽然也有将不同生命周期 /业务周 期的媒体内容存储在同一个共享存储库中, 但这样的共享存储库仅仅是提供 了基础的底层存储接口, 无法直接支持上述的媒体业务, 例如: 必须有其它 的外部设备将视频直播流录制成媒体文件后, 或者必须有其它的外部设备将 一种格式的媒体文件将读取出的媒体内容转换成需要存储的格式的媒体文件 后, 才能将最终的媒体文件存入上述共享存储系统; 类似地, 用户需要访问 共享存储库中的媒体文件时 , 也只能按共享存储库当前存储的媒体格式进行 读取, 无法按需要的媒体格式、 或媒体流方式进行访问, 除非将共享存储库 存储的媒体文件导出, 再通过其他外部系统设备进行媒体格式转换或流化。 再一方面, 共享存储库一般只提供文件系统, 也不支持对视频文件的元数据 (例如: 导演、 演员和对白等)进行存储、 检索等管理, 也必须有其它的外 部设备提供媒体内容的元数据管理。 在上述共享存储库中, 媒体管理和存储 管理相对独立, 用户将这两部分组合的系统复杂、 灵活性和效率不高。 例如: 当前的媒资管理系统。 在媒资管理系统中, 一般可以分为三层: 媒资业务、 媒体管理和存储管理, 其中媒资业务和媒体管理紧耦合, 以广电行业为例, 用户只能购买一整套完整的媒资管理系统, 系统无法为其它媒体业务(如制 作业务、 播控业务、 新闻业务等)提供媒体管理、 存储管理的服务。 发明内容 However, in the existing media storage system, one media content can be stored in different storages in a different format in different life cycles/business cycles, and each storage library is independent of each other. In the existing media storage system, although the media content of different life cycles/business cycles are stored in the same shared storage library, such a shared storage library merely provides a basic underlying storage interface, and cannot directly support the above-mentioned Media services, for example: There must be other external devices to record the live video stream into media files, or other external devices must convert the media content read by one format to the media in the format to be stored. After the file is saved, the final media file can be stored in the above shared storage system; similarly, when the user needs to access the media file in the shared storage library, the user can only read the media format currently stored in the shared storage library, and cannot Media format, or media streaming mode access, unless the shared repository will be Export file storage media, and then be converted or fluidizing medium format devices by other external systems. On the other hand, the shared repository generally only provides a file system, and does not support the management of metadata, such as directors, actors, and dialogues, of video files. It must also have other external devices to provide media content. Metadata management. In the above shared storage library, media management and storage management are relatively independent, and the system of combining the two parts is complicated, flexible, and inefficient. For example: The current media asset management system. In the media asset management system, it can be generally divided into three layers: media asset business, media management and storage management, in which media asset business and media management are tightly coupled, taking the broadcasting industry as an example. Users can only purchase a complete set of media asset management systems. The system cannot provide media management and storage management services for other media services (such as production services, broadcast control services, news services, etc.). Summary of the invention
本发明实施例提供一种媒体存储系统及方法, 用以提高媒体的存储灵活 性和存储效率。  Embodiments of the present invention provide a media storage system and method for improving storage flexibility and storage efficiency of a medium.
一方面提供了一种媒体存储系统, 位于服务器中, 包括:  In one aspect, a media storage system is provided, located in the server, including:
内容收录模块, 用于从媒体源收录第一媒体文件或媒体流, 并将所述第 一媒体文件或媒体流转换为第二媒体文件;  a content recording module, configured to: collect a first media file or a media stream from a media source, and convert the first media file or media stream into a second media file;
内容存储模块, 用于将所述第一媒体文件或媒体流, 和所述第二媒体文 件中的至少一个存储在第一存储池; 并根据用于媒体内容迁移的第一预设策 略, 将所述第一存储池中的媒体内容迁移到第二存储池, 或者将所述第二存 储池中的媒体内容迁移到所述第一存储池;  a content storage module, configured to store at least one of the first media file or the media stream, and the second media file in a first storage pool; and according to a first preset policy for media content migration, The media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool;
所述第一存储池, 用于根据所述内容存储模块的调度, 进行媒体内容存 储;  The first storage pool is configured to perform media content storage according to scheduling of the content storage module;
所述第二存储池, 用于根据所述内容存储模块的调度, 进行媒体内容存 储。  The second storage pool is configured to perform media content storage according to scheduling of the content storage module.
另一方面提供了一种媒体存储方法, 包括:  Another aspect provides a media storage method, including:
内容收录模块从媒体源收录第一媒体文件或媒体流, 并将所述第一媒体 文件或媒体流转换为第二媒体文件;  The content collection module includes the first media file or the media stream from the media source, and converts the first media file or the media stream into the second media file;
内容存储模块将所述第一媒体文件或媒体流, 和所述第二媒体文件中的 至少一个存储在第一存储池; 并根据用于媒体内容迁移的第一预设策略, 将 所述第一存储池中的媒体内容迁移到第二存储池, 或者将所述第二存储池中 的媒体内容迁移到所述第一存储池。  The content storage module stores at least one of the first media file or media stream and the second media file in a first storage pool; and according to a first preset policy for media content migration, The media content in a storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool.
由上述技术方案可知, 本发明实施例通过内容收录模块从媒体源收录第 一媒体文件或媒体流,并将上述第一媒体文件或媒体流转换为第二媒体文件, 进而由内容存储模块将上述第一媒体文件或媒体流, 和上述第二媒体文件中 的至少一个存储在第一存储池, 并根据第一预设策略, 将上述第一存储池中 的媒体内容迁移到第二存储池, 或者将上述第二存储池中的媒体内容迁移到 上述第一存储池, 由于内容收录模块对从媒体源收录的第一媒体文件或媒体 流进行转换预处理, 能够使得内容存储模块存储更多格式的媒体文件, 从而 提高了媒体的存储灵活性; 由于第一存储池与第二存储池不是相互独立的, 内容存储模块能够在二者之间进行媒体内容的迁移 (即将第一存储池中的媒 体内容迁移到第二存储池, 或者将第二存储池中的媒体内容迁移到第一存储 池) , 能够有效提高内容存储模块的存储速度和读取速度, 从而提高了媒体 的存储效率, 同时还可以进一步降成本。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 According to the foregoing technical solution, the content collection module records the first media file or the media stream from the media source by using the content collection module, and converts the first media file or the media stream into the second media file, and then the content storage module And storing at least one of the first media file or the media stream and the second media file in the first storage pool, and migrating the media content in the first storage pool to the second storage pool according to the first preset policy, Or migrating the media content in the second storage pool to the first storage pool, because the content collection module searches for the first media file or media collected from the media source. The stream performs conversion pre-processing, which enables the content storage module to store media files of more formats, thereby improving storage flexibility of the media; since the first storage pool and the second storage pool are not independent of each other, the content storage module can be in both The media content is migrated between the media content in the first storage pool or the media content in the second storage pool is migrated to the first storage pool, which can effectively improve the storage of the content storage module. Speed and read speed, which improves the storage efficiency of the media, while further reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为本发明一实施例提供的媒体存储系统的结构示意图;  FIG. 1 is a schematic structural diagram of a media storage system according to an embodiment of the present invention;
图 2为本发明另一实施例提供的媒体存储系统的结构示意图;  2 is a schematic structural diagram of a media storage system according to another embodiment of the present invention;
图 3为本发明另一实施例提供的媒体存储系统的结构示意图;  3 is a schematic structural diagram of a media storage system according to another embodiment of the present invention;
图 4为本发明另一实施例提供的媒体存储系统的结构示意图;  4 is a schematic structural diagram of a media storage system according to another embodiment of the present invention;
图 5为本发明另一实施例提供的媒体存储方法的流程示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  FIG. 5 is a schematic flowchart diagram of a media storage method according to another embodiment of the present invention. 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. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明一实施例提供的媒体存储系统的结构示意图,位于服务器 中, 如图 1 所示, 本实施例的媒体存储系统可以包括内容收录模块 1 1、 内 容存储模块 12、 第一存储池 13和第二存储池 14。 其中, 内容收录模块 11 用于从媒体源收录第一媒体文件或媒体流(即内容收录模块向外部设备提供 内容收录的 API接口,并通过该 API接口接收外部设备即媒体源提供的第一 媒体文件或媒体流), 并将上述第一媒体文件或媒体流转换为第二媒体文件。 例如: 例如新闻采集人员可以通过电脑 (PC )连接到内容收录模块 11 , 通 过文件传输协议 ( File Transfer Protocol, 简称 FTP )上传新采编的新闻节目 视频文件。 内容存储模块 12用于将内容收录模块 11收录的上述第一媒体文 件或媒体流,和内容收录模块 1 1转换的上述第二媒体文件中的至少一个存储 在第一存储池; 并根据用于媒体内容迁移的第一预设策略, 将上述第一存储 池中的媒体内容迁移到第二存储池, 或者将上述第二存储池中的媒体内容迁 移到上述第一存储池。第一存储池 13用于根据所述内容存储模块的调度,进 行媒体内容存储。第二存储池 14用于根据所述内容存储模块的调度,进行媒 体内容存储。 1 is a schematic structural diagram of a media storage system according to an embodiment of the present invention, which is located in a server. As shown in FIG. 1, the media storage system of this embodiment may include a content collection module 1 1 , a content storage module 12 , and a first storage. Pool 13 and second storage pool 14. The content collection module 11 is configured to receive the first media file or the media stream from the media source (that is, the API interface provided by the content collection module to the external device, and receive the first device provided by the media source through the API interface. a media file or media stream), and converting the first media file or media stream to a second media file. For example: For example, a news collector can connect to the content collection module 11 through a computer (PC), and upload a newly edited news program video file through a File Transfer Protocol (FTP). The content storage module 12 is configured to store at least one of the first media file or the media stream included in the content recording module 11 and the second media file converted by the content recording module 11 in the first storage pool; The first preset policy of the media content migration, the media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool. The first storage pool 13 is configured to perform media content storage according to the scheduling of the content storage module. The second storage pool 14 is configured to perform media content storage according to the scheduling of the content storage module.
其中, 上述媒体源可以包括但不限于音频格式、 视频格式、 图像格式和 文本格式中的至少一种格式的媒体内容; 上述第一媒体文件或媒体流可以包 括但不限于音频格式、 视频格式、 图像格式和文本格式中的至少一种格式的 媒体文件或媒体流; 上述第二媒体文件可以包括但不限于音频格式、 视频格 式、 图像格式和文本格式中的至少一种格式的媒体文件。  The foregoing media source may include, but is not limited to, media content of at least one of an audio format, a video format, an image format, and a text format. The foregoing first media file or media stream may include, but is not limited to, an audio format, a video format, a media file or media stream of at least one of an image format and a text format; the second media file may include, but is not limited to, a media file of at least one of an audio format, a video format, an image format, and a text format.
其中, 上述媒体源的媒体格式可以是静态的媒体文件(例如: 活动图像 专家组 2 ( Moving Picture Experts Group 2, 简称 MPEG-2 )格式的视频文 件) , 或者可以是动态的媒体流(例如: 传输流(Transport Stream, 简称 The media format of the media source may be a static media file (for example, a video file of the Moving Picture Experts Group 2 (MPEG-2) format), or may be a dynamic media stream (for example: Transport Stream (Transport Stream, referred to as
TS )格式的直播视频流) 。 TS) format live video stream).
在本实施例的一个可选实施方式中,内容存储模块 12进行媒体内容的迁 移 (即将第一存储池中的媒体内容迁移到第二存储池, 或者将第二存储池中 的媒体内容迁移到第一存储池 )所根据的第一预设策略可以包括但不限于内 容生命周期、 内容访问热度和人工设定中的至少一个。  In an optional implementation manner of this embodiment, the content storage module 12 performs migration of the media content (ie, migrating the media content in the first storage pool to the second storage pool, or migrating the media content in the second storage pool to The first preset policy according to the first storage pool may include, but is not limited to, at least one of a content life cycle, a content access heat, and a manual setting.
在本实施例的一个可选实施方式中,内容收录模块 11从媒体源收录第一 文本传输协议( HyperText Transfer Protocol, 简称 HTTP )上传、 网络分布 式创作与版本管理 ( Web-based Distributed Authoring and Versioning, 简称 WebDAV )上传)和物理介质拷贝(例如: 数字多功能光盘 ( Digital Versatile Disc, 简称 DVD )光盘读取) 中的至少一种方式。  In an optional implementation manner of this embodiment, the content collection module 11 includes a first text transfer protocol (HTTP) upload, a network distributed authoring and version management (Web-based Distributed Authoring and Versioning) from a media source. At least one of WebDAV (upload) and physical media copy (for example: Digital Versatile Disc (DVD) disc reading).
在本实施例的一个可选实施方式中,内容收录模块 11从媒体源收录媒体 Protocol, 简称 IGMP )组播、 HTTP推送和 WebDAV推送中的至少一种方 式。 In an optional implementation manner of this embodiment, the content collection module 11 includes the media from the media source. Protocol, referred to as IGMP, at least one of multicast, HTTP push, and WebDAV push.
在本实施例的一个可选实施方式中,内容收录模块 11具体可以部分接收 上述第一媒体文件或媒体流后, 将其转换为第二媒体文件; 或者也可以完全 接收所有的上述第一媒体文件或媒体流后, 将其转换为第二媒体文件。 具体 地, 内容收录模块 11具体可以利用音视频编解码方式转换方法、音视频码率 转换方法、 媒体格式转换方法、 数字版权管理( Digital Rights Management, 简称 DRM ) 方法、 数字水印方法和, 信息摘要算法 5 ( Message Digest Algorithm 5, 简称 MD5 )加密方法中的至少一个, 将上述第一媒体文件或媒 体流转换为上述第二媒体文件。  In an optional implementation manner of the embodiment, the content collection module 11 may partially receive the first media file or the media stream and convert the same to the second media file; or may completely receive all the first media. After the file or media stream, convert it to a second media file. Specifically, the content recording module 11 may specifically utilize an audio and video codec conversion method, an audio and video code rate conversion method, a media format conversion method, a digital rights management (DRM) method, a digital watermark method, and a message digest. At least one of the Message Digest Algorithm 5 (MD5) encryption method converts the first media file or the media stream into the second media file.
可以理解的是:内容收录模块 1 1将读取出的媒体内容转换成的上述第二 媒体文件可以是一个文件, 或者还可以是多个文件, 或者也可以是一组打包 集成的文件。  It can be understood that the content recording module 11 converts the read media content into a second media file, which may be a file, or may be multiple files, or may be a group of packaged integrated files.
在本实施例的一个可选实施方式中,内容存储模块 12具体可以将上述第 一媒体文件或媒体流, 和上述第二媒体文件都存储在第一存储池, 或者还可 以仅将其中的一种存储在第一存储池。 对于单个媒体内容(即第一媒体文件 或媒体流或上述第二媒体文件) , 内容存储模块 12可以在内容收录模块 11 进行转换的同时, 将上述第一媒体文件或媒体流, 和上述第二媒体文件中的 至少一个存储在第一存储池,或者还可以在内容收录模块 11进行转换完成之 后, 将上述第一媒体文件或媒体流, 和上述第二媒体文件中的至少一个存储 在第一存储池。  In an optional implementation manner of the embodiment, the content storage module 12 may specifically store the first media file or the media stream and the second media file in the first storage pool, or may only Stored in the first storage pool. For a single media content (ie, the first media file or the media stream or the second media file), the content storage module 12 may convert the first media file or media stream, and the second, while the content recording module 11 performs the conversion. At least one of the media files is stored in the first storage pool, or may be stored in the first at least one of the first media file or the media stream and the second media file after the content collection module 11 performs the conversion. Storage pool.
在本实施例的一个可选实施方式中,第一存储池可以为一个在线存储池, 第二存储池可以为近线存储池和离线存储池; 或者第一存储池还可以为一个 近线存储池, 第二存储池可以为在线存储池和离线存储池; 或者第一存储池 也可以为一个离线存储池, 第二存储池可以为在线存储池和近线存储池等。 其中, 在线存储池用于存储内容收录模块 11 收录的原始和 /或已经转换的媒 体内容(即上述第一媒体文件或媒体流,和上述第二媒体文件中的至少一个), 需要性能高的存储设备, 例如: 固态硬盘(Solid State Disk, 简称 SSD )或 磁盘阵列等。 近线存储池用于存储访问频率较少的媒体内容, 需要性能一般 的存储设备, 例如: 串行高级技术附件 (Serial Advanced TechnologyIn an optional implementation manner of the embodiment, the first storage pool may be an online storage pool, and the second storage pool may be a near-line storage pool and an offline storage pool; or the first storage pool may also be a near-line storage The second storage pool may be an online storage pool and an offline storage pool. The second storage pool may be an offline storage pool, and the second storage pool may be an online storage pool and a near-line storage pool. The online storage pool is used to store the original and/or converted media content (that is, the first media file or the media stream and at least one of the foregoing second media files) included in the content collection module 11 and needs high performance. A storage device, such as a Solid State Disk (SSD) or a disk array. Near-line storage pools are used to store media content with less frequent access, requiring performance in general Storage devices, such as: Serial Advanced Technology Accessories (Serial Advanced Technology)
Attachment, 简称 SATA )硬盘或低转速磁盘等, 能够进一步降低系统成本。 离线存储池用于存放访问频率极少的媒体内容(即归档媒体内容) , 其物理 存储资源可以处于休眠或者掉电的状态, 例如: 可休眠磁盘或可掉电磁盘等, 能够进一步节省系统成本。 Attachment, referred to as SATA) hard disk or low-speed disk, can further reduce system cost. The offline storage pool is used to store media content with minimal access frequency (ie, archived media content), and its physical storage resources can be in a dormant or power-down state, such as: a sleepable disk or a power-down disk, which can further save system cost. .
例如: 内容收录模块将 2008 奥运会百米赛跑决赛直播媒体流转换为 MPEG2文件, 进而由内容存储模块 12将 2008奥运会百米赛跑决赛直播内 容和 MPEG2文件存储在在线存储池; 2008奥运会百米赛跑决赛 1个月之后 , 没有进行百米决赛的任何节目制作(也可以看作为访问) , 对相关 MPEG2 文件很少访问, 内容存储模块 12则可以将 2008奥运会百米赛跑决赛直播内 容和 MPEG2文件迁移到近线存储池; 2008奥运会百米赛跑决赛 6个月之后, 没有进行百米决赛的任何节目制作(也可以看作为访问) , 对相关 MPEG2 文件几乎没有访问, 内容存储模块 12则可以将 2008奥运会百米赛跑决赛直 播内容和 MPEG2文件迁移到离线存储池; 需要制作一个奥运百米决赛专题 节目,内容存储模块 12则可以将多个奥运百米决赛相关的视频文件剪辑并加 上字幕、 解说配音形成一个专题节目存储在在线存储池。  For example: The content collection module converts the live broadcast media stream of the 2008 Olympic Games 100m race final into MPEG2 file, and then the content storage module 12 stores the 2008 Olympic Games 100m race final live content and MPEG2 file in the online storage pool; 2008 Olympic Games 100m race final After 1 month, there is no programming for the 100m final (also can be seen as an interview). There is very little access to the relevant MPEG2 files. The content storage module 12 can migrate the live broadcast content and MPEG2 files of the 2008 Olympic Games 100m race finals. Near-line storage pool; after 6 months of the 2008 Olympic Games 100-meter final, no programming for the 100-meter final (also can be seen as an interview), almost no access to the relevant MPEG2 files, content storage module 12 can be the 2008 Olympic Games The 100m race final live content and MPEG2 files are migrated to the offline storage pool; an Olympic 100m final feature program needs to be produced, and the content storage module 12 can edit and edit the video files related to the multiple Olympic 100 meters finals with subtitles and commentary dubbing. Form a special program Stored in the online storage pools.
本实施例中, 通过内容收录模块从媒体源收录第一媒体文件或媒体流, 并将上述第一媒体文件或媒体流转换为第二媒体文件, 进而由内容存储模块 将上述第一媒体文件或媒体流, 和上述第二媒体文件中的至少一个存储在第 —存储池, 并根据第一预设策略, 将上述第一存储池中的媒体内容迁移到第 二存储池, 或者将上述第二存储池中的媒体内容迁移到上述第一存储池, 由 于内容收录模块对从媒体源收录的第一媒体文件或媒体流进行转换预处理, 能够使得内容存储模块存储更多格式的媒体文件, 从而提高了媒体的存储灵 活性; 由于第一存储池与第二存储池不是相互独立的, 内容存储模块能够在 二者之间进行媒体内容的迁移 (即将第一存储池中的媒体内容迁移到第二存 储池, 或者将第二存储池中的媒体内容迁移到第一存储池) , 能够有效提高 内容存储模块的存储速度和读取速度, 从而提高了媒体的存储效率, 同时还 可以减氏成本。  In this embodiment, the first media file or the media stream is recorded from the media source by the content collection module, and the first media file or the media stream is converted into the second media file, and then the first media file or the content file module is used by the content storage module. The media stream, and the at least one of the foregoing second media files are stored in the first storage pool, and the media content in the first storage pool is migrated to the second storage pool according to the first preset policy, or the second The media content in the storage pool is migrated to the first storage pool, and the content storage module can perform the pre-processing of the first media file or the media stream collected from the media source, so that the content storage module can store the media file of more formats, thereby The storage flexibility of the media is improved; since the first storage pool and the second storage pool are not independent of each other, the content storage module can perform media content migration between the two (that is, the media content in the first storage pool is migrated to the first The second storage pool, or the media content in the second storage pool is migrated to the first storage pool), which can be effective Memory speed and high speed read the contents of the memory module, thereby increasing the efficiency of the storage medium, but also can reduce the cost of s.
图 2为本发明另一实施例提供的媒体存储系统的结构示意图, 与图 1对 应的实施例相比, 如图 2所示, 本实施例的媒体存储系统还可以进一步包括 内 佥索模块 21 , 用于 2 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1, the media storage system of this embodiment may further include Internal chord module 21 for
接收上述媒体源或内容收录模块 11 发送的上述第一媒体文件或媒体流 的元数据, 和 /或从上述第一存储池和上述第二存储池中的至少一个中的媒体 内容(即第一媒体文件或媒体流, 和上述第二媒体文件中的至少一个) 中提 取元数据; 以及  Receiving metadata of the first media file or media stream sent by the media source or content collection module 11 and/or media content from at least one of the first storage pool and the second storage pool (ie, first Extracting metadata from at least one of a media file or media stream, and the second media file; and
接收外部设备发送的检索请求(即内容检索模块向外部设备提供内容检 索的 API接口, 并通过该 API接口接收外部设备发送的检索请求) , 上述检 索请求中包含特征参数, 以及根据上述特征 在上述元数据中进行检索, 并将检索结果提供给上述外部设备。  Receiving a retrieval request sent by the external device (that is, the content retrieval module provides an API interface for content retrieval to the external device, and receives a retrieval request sent by the external device through the API interface), wherein the retrieval request includes a feature parameter, and according to the above feature, The metadata is retrieved and the search results are provided to the above external device.
例如:内容检索模块 21可以接收外部设备输入的一句电影对白 Ί will be back" , 检索到对应的电影 《终结者》 的相关元数据。  For example, the content retrieval module 21 may receive a movie dialogue will be back" input by the external device, and retrieve relevant metadata of the corresponding movie "Terminator".
在本实施例的一个可选实施方式中,内容检索模块 21具体可以利用属性 描述信息提取方法、 视频字幕文本提取方法、 音频语音识别提取方法、 图像 特征码识别提取方法和音频特征码识别提取方法中的至少一个, 提取上述元 数据。 例如: 上述元数据可以包括但不限于索引编号、 时间范围、 分类信息、 文本描述、 图像特征信息、 音频特征信息和视频特征信息中的至少一个。  In an optional implementation manner of the embodiment, the content retrieval module 21 may specifically use an attribute description information extraction method, a video subtitle text extraction method, an audio speech recognition extraction method, an image feature code recognition extraction method, and an audio feature code identification extraction method. At least one of the above, extracting the above metadata. For example: the above metadata may include, but is not limited to, at least one of an index number, a time range, classification information, text description, image feature information, audio feature information, and video feature information.
在本实施例的一个可选实施方式中,内容检索模块 21向上述外部设备提 供的检索结果可以包括但不限于索引编号、 超链接、 文本描述和图像中的至 少一个。  In an optional embodiment of the embodiment, the retrieval result provided by the content retrieval module 21 to the external device may include, but is not limited to, at least one of an index number, a hyperlink, a text description, and an image.
例如: 卫星信号接收机将 2008奥运会百米赛跑决赛直播媒体流推送到 内容收录模块, 同时人工加注该直播媒体流的标题 "2008奥运会百米赛跑决 赛" 和描述。 内容收录模块将 2008奥运会百米赛跑决赛直播媒体流按照节 目进行分割, 并封装为 MPEG2文件, 进而由内容存储模块 12将 MPEG2 文件存储在第一存储池。 内容检索模块可以访问第一存储池中的 MPEG2文 件, 提取该 MPEG2文件中的字幕文本, 作为内 佥索的特征数据保存。 内 容检索模块接收到外部设备发送的检索请求, 该检索请求中包含特征参数 "2008奥运会百米赛跑决赛" 。 内容检索模块则可以根据上述特征参数, 在 上述元数据中进行检索, 并将检索结果提供给上述外部设备, 例如: 返回一 个 2008奥运会百米赛跑决赛视频的列表、 描述说明文字以及访问连接列表。  For example: The satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race" and description. The content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates them into MPEG2 files, and then the content storage module 12 stores the MPEG2 files in the first storage pool. The content retrieval module can access the MPEG2 file in the first storage pool, extract the subtitle text in the MPEG2 file, and save it as feature data of the internal search. The content retrieval module receives a retrieval request sent by an external device, and the retrieval request includes a feature parameter "2008 Olympic 100m Racing Final". The content retrieval module may perform the retrieval in the metadata according to the above characteristic parameters, and provide the retrieval result to the external device, for example: return a list of the 2008 Olympic Games 100 meters running final video, description description text, and access connection list.
本实施例中, 通过内 佥索模块自动提取元数据, 和 /或从外部获得媒体 源提供的元数据, 并向外部设备提供内容检索的 API接口, 使得内 佥索模 块能够向外部设备提供检索服务, 从而提高了存储利用率。 In this embodiment, the metadata is automatically extracted by the internal search module, and/or the media is obtained from the outside. The metadata provided by the source and the API interface for providing content retrieval to the external device enable the internal search module to provide a retrieval service to the external device, thereby improving storage utilization.
图 3为本发明另一实施例提供的媒体存储系统的结构示意图, 与图 1或 图 2对应的实施例相比, 如图 3所示, 本实施例的媒体存储系统还可以进一 步包括内容访问模块 31 , 用于  FIG. 3 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1 or FIG. 2, the media storage system in this embodiment may further include content access. Module 31, for
接收上述外部设备发送的第一访问请求(即内容访问模块向外部设备提 供内容读取的 API接口, 并通过该 API接口接收外部设备发送的第一访问请 求) , 上述第一访问请求中包含请求读取的媒体标识和读取内容信息, 以及 根据上述媒体标识确定对应的媒体内容在所述第一存储池或者所述第二存储 池中,并从确定的上述第一存储池或上述第二存储池中读取对应的媒体内容, 当读取出的媒体内容与所述读取内容信息要求的媒体内容不一致时, 则将读 取出的媒体内容转换为与所述读取内容信息要求的媒体内容一致的第三媒体 文件, 并将读取出的媒体内容转换成的第三媒体文件提供给上述外部设备, 或者当读取出的媒体内容与所述读取内容信息要求的媒体内容一致时, 则将 读取出的媒体内容提供给上述外部设备; 和 /或  Receiving a first access request sent by the external device (that is, an API interface that the content access module provides content reading to an external device, and receiving a first access request sent by the external device through the API interface), where the first access request includes the request Reading the media identifier and reading the content information, and determining, according to the media identifier, that the corresponding media content is in the first storage pool or the second storage pool, and determining the first storage pool or the second Reading the corresponding media content in the storage pool, and when the read media content is inconsistent with the media content required by the read content information, converting the read media content into the required content information a third media file having the same media content, and the third media file converted into the read media content is provided to the external device, or when the read media content is consistent with the media content required to read the content information Providing the read media content to the external device; and/or
接收上述外部设备发送的第二访问请求(即内容访问模块向外部设备提 供内容存储的 API接口, 并通过该 API接口接收外部设备发送的第二访问请 求) , 上述第二访问请求中包含请求存储的媒体文件和存储内容信息, 以及 当所述第二访问请求中包含的媒体文件与所述存储内容信息要求的媒体内容 不一致时, 则将上述第二访问请求中包含的媒体文件转换为与所述存储内容 信息要求的媒体内容一致的第四媒体文件, 并将上述第四媒体文件存储到上 述第一存储池或上述第二存储池中, 或者当所述第二访问请求中包含的媒体 文件与所述存储内容信息要求的媒体内容一致时, 则将上述第二访问请求中 包含的媒体文件存储到上述第一存储池或上述第二存储池中。  Receiving a second access request sent by the external device (that is, the content access module provides an API interface for content storage to an external device, and receives a second access request sent by the external device through the API interface), where the second access request includes request storage The media file and the stored content information, and when the media file included in the second access request is inconsistent with the media content required by the stored content information, converting the media file included in the second access request into a And storing the fourth media file that is consistent with the media content required by the content information, and storing the fourth media file in the first storage pool or the second storage pool, or the media file included in the second access request And when the media content required to store the content information is consistent, storing the media file included in the second access request in the first storage pool or the second storage pool.
例如: 外部设备可以通过内容访问应用程序编程接口 (Application For example: External devices can access application programming interfaces through content (Application
Programming Interface, 简称 API ) 向内容访问模块发送第一访问请求, 例 如: 请提供《终结者》 800kbps码率的视频文件, 则内容访问模块会从第一 存储池或第二存储池直接获得低码率视频文件, 或者在低码率视频文件不存 在时从原有高码率文件生成低码率文件然后提供给外部设备访问。 The Programming Interface (API) sends the first access request to the content access module. For example, please provide the video file of the Terminator 800kbps code rate. The content access module will obtain the low code directly from the first storage pool or the second storage pool. Rate video files, or generate low-rate files from the original high-rate files when the low-rate video files do not exist and then provide them to external devices for access.
在本实施例的一个可选实施方式中, 当所述内容访问模块将读取出的媒体内容转换成所述第三媒体文件时, 内容访问模块 31具体可以根据上述读取内容信息,利用音视频编解码方式转 换方法、 音视频码率转换方法和媒体格式转换方法中的至少一个, 将读取出 的媒体内容转换为对应的第三媒体文件。 In an optional implementation manner of this embodiment, When the content access module converts the read media content into the third media file, the content accessing module 31 may specifically use the audio and video encoding and decoding method to convert the audio and video code rate conversion according to the read content information. At least one of the method and the media format conversion method converts the read media content into a corresponding third media file.
当所述内容访问模块将所述第二访问请求中包含的媒体文件转换成所述 第四媒体文件时, 内容访问模块 31具体可以根据上述存储内容信息, 利用音 视频编解码方式转换方法、 音视频码率转换方法和媒体格式转换方法中的至 少一个,将上述第二访问请求中包含的媒体文件转换为对应的第四媒体文件。  When the content access module converts the media file included in the second access request into the fourth media file, the content accessing module 31 may specifically use the audio and video encoding and decoding method to convert the method and the sound according to the stored content information. At least one of the video bit rate conversion method and the media format conversion method converts the media file included in the second access request into a corresponding fourth media file.
例如: 卫星信号接收机将 2008奥运会百米赛跑决赛直播媒体流推送到 内容收录模块, 同时人工加注该直播媒体流的标题 "2008奥运会百米赛跑决 赛" 和描述。 内容收录模块将 2008奥运会百米赛跑决赛直播媒体流按照节 目进行分割, 并封装为 MPEG2文件, 进而由内容存储模块将 MPEG2文件 存储在第一存储池。 内容访问模块接收到外部设备发送的第一访问请求, 内 容访问模块从第一存储池读取 2008奥运会百米赛跑决赛不同镜头拍摄的视 频文件, 外部设备不用关心该视频文件具体存储在哪个地理位置或者什么文 件系统上, 只需要根据接口请求即可自动获得相应的视频文件。 外部设备还 可以进一步对读取出的视频文件进行制作编辑, 例如: 将 2008奥运会百米 赛跑决赛不同镜头拍摄的视频文件剪辑合成一个专题视频, 并加上字幕和配 音, 制作完成后, 向内容访问模块发送第二访问请求。 内容访问模块将外部 设备制作完成的专题视频存储在第一存储池。 进一步地, 内容访问模块还可 以进一步将外部设备获得的更新或者新增加的元数据导入给内容检索模块, 以作为内容检索的特征数据保存; 或者内容检索模块还可以进一步从第一存 储池中的专题视频提取元数据, 以作为内 佥索的特征数据保存。  For example: The satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race" and description. The content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates it into an MPEG2 file, and then the content storage module stores the MPEG2 file in the first storage pool. The content access module receives the first access request sent by the external device, and the content access module reads the video file captured by different shots of the 2008 Olympic Games 100 meters running final from the first storage pool, and the external device does not care which geographic location the video file is specifically stored in. Or what file system, you only need to automatically obtain the corresponding video file according to the interface request. The external device can further edit and edit the read video file, for example: Combine the video files of different shots of the 2008 Olympic Games 100m race final into a special video, and add subtitles and dubbing. After the production is completed, the content is The access module sends a second access request. The content access module stores the thematic video created by the external device in the first storage pool. Further, the content access module may further import the updated or newly added metadata obtained by the external device to the content retrieval module to be saved as the feature data of the content retrieval; or the content retrieval module may further be from the first storage pool. The thematic video extracts the metadata and stores it as characteristic data of the internal search.
本实施例中, 通过内容访问模块向外部设备提供内容读取的 API接口或 内容存储的 API接口, 使得内容访问模块能够向外部设备提供访问 (读取或 存储)服务, 从而提高了存储利用率。  In this embodiment, the content access module provides an API interface for content reading or an API interface for content storage to the external device, so that the content access module can provide an access (read or store) service to the external device, thereby improving storage utilization. .
图 4为本发明另一实施例提供的媒体存储系统的结构示意图, 与图 1、 图 2或图 3对应的实施例相比, 如图 4所示, 本实施例的媒体存储系统还可 以进一步包括内容出库模块 41 , 用于  FIG. 4 is a schematic structural diagram of a media storage system according to another embodiment of the present invention. Compared with the embodiment corresponding to FIG. 1, FIG. 2 or FIG. 3, as shown in FIG. 4, the media storage system of this embodiment may further Include a content outbound module 41 for
接收上述外部设备发送的导出请求(即内容出库模块向外部设备提供内 容出库的 API接口, 并通过该 API接口接收外部设备发送的导出请求) , 上 述导出请求中包含请求导出的媒体标识和导出内容信息 , 以及根据上述媒体 标识确定对应的媒体内容在所述第一存储池或者所述第二存储池中, 并从确 定的上述第一存储池或上述第二存储池中读取对应的媒体内容, 当读取出的 媒体内容与所述导出内容信息要求的媒体内容不一致时, 则将读取出的媒体 内容转换为与所述导出内容信息要求的媒体内容一致的第五媒体文件, 并将 读取出的媒体内容转换成的第五媒体文件提供给上述外部设备, 或者当读取 出的媒体内容与所述导出内容信息要求的媒体内容一致时, 则将读取出的媒 体内容提供给上述外部设备; 或者 Receiving an export request sent by the external device (ie, the content delivery module is provided to an external device) The API interface of the library is received, and the export request sent by the external device is received through the API interface, where the export request includes the media identifier and the exported content information that are requested to be exported, and the corresponding media content is determined according to the media identifier. a storage pool or the second storage pool, and reading corresponding media content from the determined first storage pool or the second storage pool, when the read media content and the exported content information are required When the media content is inconsistent, the read media content is converted into a fifth media file that is consistent with the media content required by the exported content information, and the read media content is converted into a fifth media file. The external device, or when the read media content is consistent with the media content required by the exported content information, providing the read media content to the external device; or
根据用于媒体内容导出的第二预设策略和导出内容信息, 从所述第一存 储池或所述第二存储池中读取该第二预设策略要求导出的媒体内容, 以及当 读取出的媒体内容与所述导出内容信息要求的媒体内容不一致时, 则将读取 出的媒体内容转换为与所述导出内容信息要求的媒体内容一致的第六媒体文 件, 并将将读取出的媒体内容转换成的第六媒体文件提供给上述外部设备, 或者当读取出的媒体内容与所述导出内容信息要求的媒体内容一致时, 则将 读取出的媒体内容提供给上述外部设备。  Reading, according to the second preset policy and the exported content information for the media content export, the media content that is required to be exported by the second preset policy from the first storage pool or the second storage pool, and when reading When the outdated media content is inconsistent with the media content required by the exported content information, the read media content is converted into a sixth media file that is consistent with the media content required by the exported content information, and will be read out. The sixth media file converted into the media content is provided to the external device, or when the read media content is consistent with the media content required by the exported content information, the read media content is provided to the external device. .
例如: 从卫星接收站接收的 CCTV-1直播频道, 收录存储在第一存储池 中之后, 可以实时将其转换为流媒体(FLash Video, 简称 FLV )格式直播媒 体流出库, 提供给视频网站推送给网络用户收看。  For example: CCTV-1 live channel received from the satellite receiving station, after being stored in the first storage pool, can be converted into streaming media (FLV Video) format live media outflow library in real time, and provided to the video website push Watch it for network users.
在本实施例的一个可选实施方式中,  In an optional implementation manner of this embodiment,
当所述内容导出模块将读取出的媒体内容转换成所述第五媒体文件时, 内容出库模块 41具体可以根据上述导出内容信息,利用音视频编解码方式转 换方法、 音视频码率转换方法、 媒体格式转换方法、 DRM方法、 数字水印方 法和 M D 5加密方法中的至少一个,将读取出的媒体内容转换为对应的第五媒 体文件。  When the content exporting module converts the read media content into the fifth media file, the content delivery module 41 may specifically use the audio and video encoding and decoding method to convert the audio and video code rate conversion according to the derived content information. At least one of the method, the media format conversion method, the DRM method, the digital watermarking method, and the MD5 encryption method converts the read media content into a corresponding fifth media file.
当所述内容导出模块将读取出的媒体内容转换成所述第六媒体文件时, 内容出库模块 41具体可以根据用于媒体内容导出的第二预设策略,利用音视 频码率转换方法、 媒体格式转换方法、 DRM方法、 数字水印方法和 MD5加 密方法中的至少一个, 将读取出的媒体内容转换为对应的第六媒体文件。  When the content exporting module converts the read media content into the sixth media file, the content delivery module 41 may specifically use the audio and video code rate conversion method according to the second preset policy for media content export. And at least one of a media format conversion method, a DRM method, a digital watermarking method, and an MD5 encryption method, and converting the read media content into a corresponding sixth media file.
其中, 上述第二预设策略可以包括但不限于存储后实时导出、 存储后延 时指定时间后导出和存储后在指定时间导出中的至少一个。 The second preset policy may include, but is not limited to, real-time export and storage delay after storage. At least one of the exported at a specified time after exporting and storing after the specified time.
例如: 卫星信号接收机将 2008奥运会百米赛跑决赛直播媒体流推送到 内容收录模块, 同时人工加注该直播媒体流的标题 "2008奥运会百米赛跑决 赛" 和描述。 内容收录模块将 2008奥运会百米赛跑决赛直播媒体流按照节 目进行分割, 并封装为 MPEG2文件, 进而由内容存储模块将 MPEG2文件 存储在第一存储池。 内容出库模块接收外部设备发送的导出请求, 内容出库 模块从第一存储池读取奥运会百米赛跑决赛的专题视频, 外部设备不用关心 该专题视频具体存储在哪个地理位置或者什么文件系统上, 只需要根据接口 请求即可自动获得相应的视频文件。 外部设备可以使用该专题视频, 例如: 在晚上 8点奥运直通车节目时间将制作好的奥运会百米赛跑决赛的专题视频 在卫星频道中播出。  For example: The satellite signal receiver pushes the live broadcast media stream of the 2008 Olympic Games 100 meters to the content collection module, and manually adds the title of the live broadcast media stream to the title of "2008 Olympic Games 100 meters race" and description. The content collection module divides the live broadcast media stream of the 2008 Olympic Games 100m race finals according to the program and encapsulates it into an MPEG2 file, and then the content storage module stores the MPEG2 file in the first storage pool. The content delivery module receives the export request sent by the external device, and the content delivery module reads the special video of the Olympic 100m running final from the first storage pool, and the external device does not care which location or file system the specific video is stored in. , you only need to automatically get the corresponding video file according to the interface request. The special video can be used by external devices, for example: The special video of the Olympic 100-meter race finals will be broadcast on the satellite channel at 8:00 pm in the Olympic Express program.
需要说明的是: 本实施例中, 内 佥索模块、 内容访问模块和内容出库 模块中的任意两个或三个模块执行各自的功能均没有时间顺序要求。  It should be noted that, in this embodiment, no two or three modules of the internal cable module, the content access module, and the content delivery module perform their respective functions without chronological requirements.
可以理解的是: 外部设备无需关心媒体存储系统的内部分工、 协作关系 和物理分布, 只需要按照媒体存储系统提供的平台即服务(Platform as a Services, 简称 PAAS )接口进行访问, 即可获得相关的媒体存储和处理能 力。  It can be understood that: the external device does not need to care about the internal work, collaboration, and physical distribution of the media storage system, and only needs to access the Platform as a Services (PAAS) interface provided by the media storage system to obtain related information. Media storage and processing capabilities.
本实施例中, 通过内容出库模块向外部设备提供内容导出的 API接口, 使得内容出库模块能够向外部设备提供导出服务, 从而提高了存储利用率。  In this embodiment, the content delivery module provides an API interface for content export to the external device, so that the content delivery module can provide an export service to the external device, thereby improving storage utilization.
需要说明的是: 上述第一存储池和上述第二存储池可以位于相同或不同 的局域网。 另外, 如果位于不同的局域网, 上述第一存储池和上述第二存储 池的位置可以相同也可以不相同。  It should be noted that: the foregoing first storage pool and the second storage pool may be located on the same or different local area networks. In addition, if located in different local area networks, the locations of the first storage pool and the second storage pool may be the same or different.
需要说明的是: 上述第一存储池可以为物理存储设备, 或者还可以为虚 拟存储设备, 例如: 云存储服务器; 上述第二存储池可以为物理存储设备, 或者还可以为虚拟存储设备, 例如: 云存储服务器。 另外上述第一存储池和 上述第二存储池的存储能力还可以支持人工设定方式和 /或自动划分方式。  It should be noted that: the foregoing first storage pool may be a physical storage device, or may be a virtual storage device, for example, a cloud storage server; the second storage pool may be a physical storage device, or may also be a virtual storage device, for example, : Cloud Storage Server. In addition, the storage capacity of the first storage pool and the second storage pool may further support a manual setting manner and/or an automatic dividing manner.
在本发明提供的媒体存储系统中, 可以存储位于不同生命周期的媒体内 容, 同时支持存储管理和媒体管理, 能够有效提高存储效率; 另外, 通过对 外部设备提供的内容收录、 检索、 访问和导出等服务的 API接口, 使得能够 支持媒资管理业务、 媒体制作业务、 视频监控业务和远程教育业务等多种媒 体业务, 能够有效提高存储的利用率。 In the media storage system provided by the present invention, media content located in different life cycles can be stored, and storage management and media management are supported at the same time, which can effectively improve storage efficiency; and, through content collection, retrieval, access, and export provided by external devices. The API interface of the service enables the support of media asset management services, media production services, video surveillance services and distance education services. The physical business can effectively improve the utilization of storage.
为使得本发明实施例提供的系统更加清楚, 下面将以用于视频监控业 务的媒体存储系统作为举例。 视频监控的实时媒体流通过 HTTP 推送或 WebDAV等注入内容收录模块, 并按照预定策略录制成媒体文件, 例如: 按 时间写成一个媒体文件。 内容存储模块将录制的媒体文件存储在在线存储池, 然后还可以进一步根据预设策略, 例如: 内容访问热度, 将媒体文件从在线 存储池迁移至近线存储池或离线存储池。 内 佥索模块可以从在线存储池、 近线存储池和离线存储池中的媒体文件中提取元数据, 例如: 时间、 声音信 息等。 通过内 佥索模块向外设备提供的 API接口, 外部设备发起内 佥索 的应用请求, 例如: 按内容创建时间是 2012年 2月 7 日, 进行检索, 获得 若干个媒体文件; 或者, 输入一张人脸图片进行检索; 或者, 输入一个车牌 号码进行检索, 等。 通过内容访问模块向外部设备提供的 API接口, 对检索 出的媒体文件, 外部设备可发起视频访问的请求。 内容访问模块收到访问请 求, 向在线存储池或近线存储池中的媒体文件发起第一访问请求, 如将内容 进行流化, 最终使用户可以通过外部设备(例如: 客户端播放器)播放访问 的视频内容。 此时, 若媒体文件位于离线存储中, 则内容访问模块可以将其 迁移至在线或近线存储中。  In order to make the system provided by the embodiment of the present invention clearer, a media storage system for video surveillance services will be exemplified below. The real-time media stream of video surveillance is injected into the content collection module through HTTP push or WebDAV, and recorded into a media file according to a predetermined policy, for example: writing a media file by time. The content storage module stores the recorded media files in an online storage pool, and then further migrates the media files from the online storage pool to the near-line storage pool or the offline storage pool according to a preset policy, such as: content access popularity. The internal search module can extract metadata from media files in online storage pools, near-line storage pools, and offline storage pools, such as: time, voice information, and so on. The external device initiates an application request for the internal search through the API interface provided by the internal search module to the external device, for example: the content creation time is February 7, 2012, and the retrieval is performed to obtain a plurality of media files; or, input one Search for a face image; or, enter a license plate number for retrieval, and so on. Through the API interface provided by the content access module to the external device, the external device can initiate a video access request for the retrieved media file. The content access module receives the access request, and initiates a first access request to the media file in the online storage pool or the near-line storage pool, such as streaming the content, so that the user can play through an external device (for example, a client player). Access to video content. At this point, if the media file is in offline storage, the content access module can migrate it to online or nearline storage.
图 5为本发明另一实施例提供的媒体存储方法的流程示意图, 如图 5所 示, 本实施例的媒体存储方法可以包括:  FIG. 5 is a schematic flowchart of a media storage method according to another embodiment of the present invention. As shown in FIG. 5, the media storage method in this embodiment may include:
501、 内容收录模块从媒体源收录第一媒体文件或媒体流,并将上述第一 媒体文件或媒体流转换为第二媒体文件;  501. The content collection module includes the first media file or the media stream from the media source, and converts the first media file or the media stream into the second media file.
502、 内容存储模块将上述第一媒体文件或媒体流,和上述第二媒体文件 中的至少一个存储在第一存储池;并根据用于媒体内容迁移的第一预设策略, 将上述第一存储池中的媒体内容迁移到第二存储池, 或者将上述第二存储池 中的媒体内容迁移到上述第一存储池。  502. The content storage module stores at least one of the foregoing first media file or media stream and the second media file in a first storage pool; and according to the first preset policy for media content migration, the first The media content in the storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool.
详细描述可以参见图 1〜图 4对应的实施例中的相关内容,此处不再赘述。 在本实施例的一个可选实施方式中, 内容存储模块进行媒体内容的迁移 (即将第一存储池中的媒体内容迁移到第二存储池, 或者将第二存储池中的 媒体内容迁移到第一存储池 ) 所根据的第一预设策略可以包括但不限于内容 生命周期、 内容访问热度和人工设定中的至少一个。 本实施例中, 通过内容收录模块从媒体源收录第一媒体文件或媒体流, 并将上述第一媒体文件或媒体流转换为第二媒体文件, 进而由内容存储模块 将上述第一媒体文件或媒体流, 和上述第二媒体文件中的至少一个存储在第 一存储池, 并根据第一预设策略, 将上述第一存储池中的媒体内容迁移到第 二存储池, 或者将上述第二存储池中的媒体内容迁移到上述第一存储池, 由 于内容收录模块对从媒体源收录的第一媒体文件或媒体流进行转换预处理, 能够使得内容存储模块存储更多格式的媒体文件, 从而提高了媒体的存储灵 活性; 由于第一存储池与第二存储池不是相互独立的, 内容存储模块能够在 二者之间进行媒体内容的迁移 (即将第一存储池中的媒体内容迁移到第二存 储池, 或者将第二存储池中的媒体内容迁移到第一存储池) , 能够有效提高 内容存储模块的存储速度和读取速度, 从而提高了媒体的存储效率, 同时还 可以降低成本。 For details, refer to related content in the embodiment corresponding to FIG. 1 to FIG. 4, and details are not described herein again. In an optional implementation manner of this embodiment, the content storage module performs the migration of the media content (that is, the media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first The first preset policy according to a storage pool may include, but is not limited to, at least one of a content life cycle, a content access heat, and a manual setting. In this embodiment, the first media file or the media stream is recorded from the media source by the content collection module, and the first media file or the media stream is converted into the second media file, and then the first media file or the content file module is used by the content storage module. The media stream, and the at least one of the foregoing second media files are stored in the first storage pool, and the media content in the first storage pool is migrated to the second storage pool according to the first preset policy, or the second The media content in the storage pool is migrated to the first storage pool, and the content storage module can perform the pre-processing of the first media file or the media stream collected from the media source, so that the content storage module can store the media file of more formats, thereby The storage flexibility of the media is improved; since the first storage pool and the second storage pool are not independent of each other, the content storage module can perform media content migration between the two (that is, the media content in the first storage pool is migrated to the first The second storage pool, or the media content in the second storage pool is migrated to the first storage pool), which can effectively improve the internal The storage speed and read speed of the storage module increase the storage efficiency of the media while reducing the cost.
在本实施例的一个可选实施方式中, 还可以进一步包括:  In an optional implementation manner of this embodiment, the method further includes:
内 佥索模块从上述媒体源或上述内容收录模块获得上述第一媒体文件 或媒体流的元数据, 和 /或从上述第一存储池和上述第二存储池中至少一个中 的媒体内容中提取元数据; 以及  The internal search module obtains metadata of the first media file or media stream from the media source or the content collection module, and/or extracts media content from at least one of the first storage pool and the second storage pool Metadata; and
上述内 佥索模块接收外部设备发送的检索请求, 上述检索请求中包含 特征参数, 以及根据上述特征参数, 在上述元数据中进行检索, 并将检索结 果提供给上述外部设备。  The internal search module receives a search request transmitted by the external device, the search request includes a feature parameter, and searches for the metadata based on the feature parameter, and provides the search result to the external device.
详细描述可以参见图 1〜图 4对应的实施例中的相关内容,此处不再赘述。 本可选实施方式中, 通过内 佥索模块自动提取元数据, 和 /或从外部获 得媒体源提供的元数据, 并向外部设备提供内 佥索的 API接口, 使得内容 检索模块能够向外部设备提供检索服务, 从而提高了存储利用率。  For details, refer to related content in the embodiment corresponding to FIG. 1 to FIG. 4, and details are not described herein again. In this optional embodiment, the metadata is automatically extracted by the internal search module, and/or the metadata provided by the media source is obtained from the outside, and the API interface of the internal search is provided to the external device, so that the content retrieval module can be externally Provide search services to increase storage utilization.
在本实施例的一个可选实施方式中, 还可以进一步包括:  In an optional implementation manner of this embodiment, the method further includes:
内容访问模块接收上述外部设备发送的第一访问请求, 上述第一访问请 求中包含请求读取的媒体标识和读取内容信息, 以及根据上述媒体标识确定 对应的媒体内容在上述第一存储池或者上述第二存储池中, 并从确定的上述 第一存储池或上述第二存储池中读取对应的媒体内容, 当读取出的媒体内容 不满足上述读取内容信息时, 则将读取出的媒体内容转换为满足上述读取内 容信息的第三媒体文件, 并将读取出的媒体内容转换成的第三媒体文件提供 给上述外部设备, 或者当读取出的媒体内容满足上述读取内容信息时, 则将 读取出的媒体内容提供给上述外部设备; 和 /或 The content access module receives the first access request sent by the external device, where the first access request includes the media identifier and the read content information that are requested to be read, and determines, according to the media identifier, that the corresponding media content is in the first storage pool or The second storage pool reads the corresponding media content from the determined first storage pool or the second storage pool, and reads the read media content when the read media content does not satisfy the read content information. The outputted media content is converted into a third media file that satisfies the above-described read content information, and the read media content is converted into a third media file provided Giving the above external device, or when the read media content satisfies the read content information, providing the read media content to the external device; and/or
上述内容访问模块接收上述外部设备发送的第二访问请求, 上述第二访 问请求中包含请求存储的媒体文件和存储内容信息, 以及当上述第二访问请 求中包含的媒体文件不满足上述存储内容信息时, 则将上述第二访问请求中 包含的媒体文件转换为满足上述存储内容信息的第四媒体文件, 并将上述第 四媒体文件存储到上述第一存储池或上述第二存储池中, 或者当上述第二访 问请求中包含的媒体文件满足上述存储内容信息时, 则将上述第二访问请求 中包含的媒体文件存储到上述第一存储池或上述第二存储池中。  The content access module receives the second access request sent by the external device, where the second access request includes the media file and the stored content information that are requested to be stored, and the media file included in the second access request does not satisfy the stored content information. Transmitting, by the media file included in the second access request, a fourth media file that satisfies the stored content information, and storing the fourth media file in the first storage pool or the second storage pool, or And when the media file included in the second access request satisfies the stored content information, storing the media file included in the second access request in the first storage pool or the second storage pool.
详细描述可以参见图 1〜图 4对应的实施例中的相关内容,此处不再赘述。 本可选实施方式中, 通过内容访问模块向外部设备提供内容读取的 API 接口或内容存储的 API接口,使得内容访问模块能够向外部设备提供访问(读 取或存储)服务, 从而提高了存储利用率。  For details, refer to related content in the embodiment corresponding to FIG. 1 to FIG. 4, and details are not described herein again. In this optional implementation manner, the API interface of the content reading or the API interface of the content storage is provided to the external device through the content access module, so that the content access module can provide an access (read or store) service to the external device, thereby improving the storage. Utilization rate.
在本实施例的一个可选实施方式中, 还可以进一步包括:  In an optional implementation manner of this embodiment, the method further includes:
内容出库模块接收上述外部设备发送的导出请求, 上述导出请求中包含 请求导出的媒体标识和导出内容信息, 以及根据上述媒体标识确定对应的媒 体内容在上述第一存储池或者上述第二存储池中, 并从确定的上述第一存储 池或上述第二存储池中读取对应的媒体内容, 当读取出的媒体内容不满足上 述导出内容信息时, 则将读取出的媒体内容转换为满足上述导出内容信息的 第五媒体文件, 并将读取出的媒体内容转换成的第五媒体文件提供给上述外 部设备, 或者当读取出的媒体内容满足上述导出内容信息时, 则将读取出的 媒体内容提供给上述外部设备; 或者  The content delivery module receives the export request sent by the external device, where the export request includes the media identifier and the exported content information that are requested to be exported, and determines, according to the media identifier, that the corresponding media content is in the first storage pool or the second storage pool. And reading the corresponding media content from the determined first storage pool or the second storage pool, and when the read media content does not satisfy the exported content information, converting the read media content into And satisfying, by the fifth media file, the fifth media file, and converting the read media content into the fifth device, or the read The extracted media content is provided to the above external device; or
上述内容出库模块根据用于媒体内容导出的第二预设策略和导出内容信 息, 从所述第一存储池或所述第二存储池中读取该第二预设策略要求导出的 媒体内容, 以及当读取出的媒体内容不满足上述导出内容信息时, 则将读取 出的媒体内容转换为满足上述导出内容信息的第六媒体文件, 并将将读取出 的媒体内容转换成的第六媒体文件提供给上述外部设备, 或者当读取出的媒 体内容满足上述导出内容信息时, 则将读取出的媒体内容提供给上述外部设 备。  The content outbound module reads the media content requested by the second preset policy from the first storage pool or the second storage pool according to the second preset policy and the exported content information used for the media content export. And when the read media content does not satisfy the above-mentioned exported content information, converting the read media content into a sixth media file that satisfies the derived content information, and converting the read media content into The sixth media file is provided to the external device, or when the read media content satisfies the exported content information, the read media content is provided to the external device.
其中, 上述第二预设策略可以包括但不限于存储后实时导出、 存储后延 时指定时间后导出和存储后在指定时间导出中的至少一个。 The second preset policy may include, but is not limited to, real-time export and storage delay after storage. At least one of the exported at a specified time after exporting and storing after the specified time.
详细描述可以参见图 1〜图 4对应的实施例中的相关内容,此处不再赘述。 本可选实施方式中, 通过内容出库模块向外部设备提供内容导出的 API 接口, 使得内容出库模块能够向外部设备提供导出服务, 从而提高了存储利 用率。  For details, refer to related content in the embodiment corresponding to FIG. 1 to FIG. 4, and details are not described herein again. In this optional implementation, the content delivery module provides an API interface for content export to the external device, so that the content delivery module can provide an export service to the external device, thereby improving the storage utilization rate.
需要说明的是: 本文中术语"和 /或", 仅仅是一种描述关联对象的关联 关系, 表示可以存在三种关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 ", —般表 示前后关联对象是一种"或"的关系。  It should be noted that: The term "and/or" in this article is only an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which can represent: A exists separately, and A exists at the same time. And B, there are three cases of B alone. In addition, the character "," in this article, generally means that the contextual object is an "or" relationship.
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。  It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 另外 ,在本发明各个实施例中的各功能单元可以集成在一个处理单元中 , 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用硬件加软件 功能单元的形式实现。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算机 可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若干指 令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(Read-Only Memory, 简称 ROM ) 、 随机存取存储 器( Random Access Memory, 简称 RAM )、 磁碟或者光盘等各种可以存储 程序代码的介质。  The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 书 Claim
1、 一种媒体存储系统, 位于服务器中, 其特征在于, 包括:  A media storage system, located in a server, comprising:
内容收录模块, 用于从媒体源收录第一媒体文件或媒体流, 并将所述第 一媒体文件或媒体流转换为第二媒体文件;  a content recording module, configured to: collect a first media file or a media stream from a media source, and convert the first media file or media stream into a second media file;
内容存储模块, 用于将所述第一媒体文件或媒体流, 和所述第二媒体文 件中的至少一个存储在第一存储池; 并根据用于媒体内容迁移的第一预设策 略, 将所述第一存储池中的媒体内容迁移到第二存储池, 或者将所述第二存 储池中的媒体内容迁移到所述第一存储池;  a content storage module, configured to store at least one of the first media file or the media stream, and the second media file in a first storage pool; and according to a first preset policy for media content migration, The media content in the first storage pool is migrated to the second storage pool, or the media content in the second storage pool is migrated to the first storage pool;
所述第一存储池, 用于根据所述内容存储模块的调度, 进行媒体内容存 储;  The first storage pool is configured to perform media content storage according to scheduling of the content storage module;
所述第二存储池, 用于根据所述内容存储模块的调度, 进行媒体内容存 储。  The second storage pool is configured to perform media content storage according to scheduling of the content storage module.
2、 根据权利要求 1所述的系统, 其特征在于, 所述系统还包括内 佥索 模块, 所述内 佥索模块用于  2. The system of claim 1 wherein the system further comprises an internal chord module, the internal chord module being used
从所述媒体源或所述内容收录模块获得所述第一媒体文件或媒体流的元 数据, 和 /或从所述第一存储池和所述第二存储池中的至少一个存储的媒体内 容中提取元数据; 以及  Obtaining metadata of the first media file or media stream from the media source or the content listing module, and/or storing media content from at least one of the first storage pool and the second storage pool Extracting metadata; and
接收外部设备发送的检索请求, 所述检索请求中包含特征参数, 以及根 据所述特征参数, 在所述元数据中进行检索, 并将检索结果提供给所述外部 设备。  Receiving a retrieval request sent by an external device, the retrieval request includes a feature parameter, and performing retrieval in the metadata according to the feature parameter, and providing the retrieval result to the external device.
3、根据权利要求 1或 2所述的系统, 其特征在于, 所述系统还包括内容 访问模块, 所述内容访问模块用于  The system according to claim 1 or 2, wherein the system further comprises a content access module, wherein the content access module is used
接收所述外部设备发送的第一访问请求, 所述第一访问请求中包含请求 读取的媒体标识和读取内容信息, 根据所述媒体标识确定该媒体标识对应的 媒体内容所在的存储池, 并从确定的存储池中读取对应的媒体内容, 当读取 出的媒体内容与所述读取内容信息要求的媒体内容不一致时, 则将读取出的 媒体内容转换为与所述读取内容信息要求的媒体内容一致的第三媒体文件, 并将将读取出的媒体内容转换成的第三媒体文件提供给所述外部设备, 或者 当读取出的媒体内容与所述读取内容信息要求的媒体内容一致时, 则将读取 出的媒体内容提供给所述外部设备; 和 /或 接收所述外部设备发送的第二访问请求, 所述第二访问请求中包含请求 存储的媒体文件和存储内容信息, 以及当所述第二访问请求中包含的媒体文 件与所述存储内容信息要求的媒体内容不一致时, 则将所述第二访问请求中 包含的媒体文件转换为与所述存储内容信息要求的媒体内容一致的第四媒体 文件, 并将所述第四媒体文件存储到所述第一存储池或所述第二存储池中, 或者当所述第二访问请求中包含的媒体文件与所述存储内容信息要求的媒体 内容一致时, 则将所述第二访问请求中包含的媒体文件存储到所述第一存储 池或所述第二存储池中。 Receiving a first access request sent by the external device, where the first access request includes a media identifier and a read content information that are requested to be read, and determining, according to the media identifier, a storage pool in which the media content corresponding to the media identifier is located, And reading the corresponding media content from the determined storage pool, and when the read media content is inconsistent with the media content required by the read content information, converting the read media content into the reading a third media file whose media content is required by the content information, and a third media file into which the read media content is converted is provided to the external device, or when the read media content and the read content are When the media content required by the information is consistent, the read media content is provided to the external device; and/or Receiving a second access request sent by the external device, where the second access request includes a media file and stored content information that are requested to be stored, and a media file and the stored content information request included in the second access request When the media content is inconsistent, converting the media file included in the second access request into a fourth media file that is consistent with the media content required to store the content information, and storing the fourth media file in the In the first storage pool or the second storage pool, or when the media file included in the second access request is consistent with the media content required by the stored content information, the second access request is included The media file is stored in the first storage pool or the second storage pool.
4、 根据权利要求 3所述的系统, 其特征在于,  4. The system of claim 3, wherein
当所述内容访问模块将读取出的媒体内容转换成所述第三媒体文件时, 所述内容访问模块具体用于根据所述读取内容信息, 利用音视频编解码方式 转换方法、 音视频码率转换方法和媒体格式转换方法中的至少一个, 将读取 出的媒体内容转换为所述第三媒体文件;  When the content access module converts the read media content into the third media file, the content access module is specifically configured to use an audio/video codec conversion method, audio and video according to the read content information. Converting the read media content into the third media file, at least one of a rate conversion method and a media format conversion method;
当所述内容访问模块将所述第二访问请求中包含的媒体文件转换成所述 第四媒体文件时, 所述内容访问模块具体用于根据所述存储内容信息, 利用 音视频编解码方式转换方法、 音视频码率转换方法和媒体格式转换方法中的 至少一个,将所述第二访问请求中包含的媒体文件转换为所述第四媒体文件。  When the content access module converts the media file included in the second access request into the fourth media file, the content access module is specifically configured to use an audio/video codec conversion manner according to the stored content information. At least one of the method, the audio and video code rate conversion method, and the media format conversion method, converting the media file included in the second access request into the fourth media file.
5、 根据权利要求 1~4任一权利要求所述的系统, 其特征在于, 所述系 统还包括内容出库模块, 所述内容出库模块用于  The system according to any one of claims 1 to 4, wherein the system further comprises a content delivery module, and the content delivery module is used for
接收所述外部设备发送的导出请求, 所述导出请求中包含请求导出的媒 体标识和导出内容信息, 以及根据所述媒体标识确定该媒体标识对应的媒体 内容所在的存储池中, 并从确定的存储池中读取对应的媒体内容, 当读取出 的媒体内容与所述导出内容信息要求的媒体内容不一致时, 则将读取出的媒 体内容转换为与所述导出内容信息要求的媒体内容一致的第五媒体文件, 并 将将读取出的媒体内容转换成的第五媒体文件提供给所述外部设备, 或者当 读取出的媒体内容与所述导出内容信息要求的媒体内容一致时, 则将读取出 的媒体内容提供给所述外部设备; 或者  Receiving, by the external device, an export request, where the export request includes the media identifier and the exported content information that are requested to be exported, and determining, according to the media identifier, a storage pool in which the media content corresponding to the media identifier is located, and determining from the storage pool The corresponding media content is read in the storage pool, and when the read media content is inconsistent with the media content required by the exported content information, the read media content is converted into the media content required by the exported content information. a consistent fifth media file, and the fifth media file into which the read media content is converted is provided to the external device, or when the read media content is consistent with the media content required by the exported content information , providing the read media content to the external device; or
根据用于媒体内容导出的第二预设策略和导出内容信息, 从所述第一存 储池或所述第二存储池中读取该第二预设策略要求导出的媒体内容, 以及当 读取出的媒体内容与所述导出内容信息要求的媒体内容不一致时, 则将读取 出的媒体内容转换为与所述导出内容信息要求的媒体内容一致的第六媒体文 件, 并将将读取出的媒体内容转换成的第六媒体文件提供给所述外部设备, 或者当读取出的媒体内容与所述导出内容信息要求的媒体内容一致时, 则将 读取出的媒体内容提供给所述外部设备。 Reading, according to the second preset policy and the exported content information for the media content export, the media content that is required to be exported by the second preset policy from the first storage pool or the second storage pool, and when reading When the media content that is out is inconsistent with the media content required to export the content information, the read will be read And outputting the media content into a sixth media file that is consistent with the media content required to export the content information, and providing the sixth media file into which the read media content is converted to the external device, or when reading When the outgoing media content matches the media content required to export the content information, the read media content is provided to the external device.
6、 根据权利要求 5所述的系统, 其特征在于,  6. The system of claim 5 wherein:
当所述内容导出模块将读取出的媒体内容转换成所述第五媒体文件时, 所述内容出库模块具体用于根据所述导出内容信息, 利用音视频编解码方式 转换方法、 音视频码率转换方法、 媒体格式转换方法、 DRM方法、 数字水印 方法和 M D5加密方法中的至少一个,将读取出的媒体内容转换为所述第五媒 体文件;  When the content exporting module converts the read media content into the fifth media file, the content delivery module is specifically configured to use the audio and video encoding and decoding mode conversion method, audio and video according to the exported content information. Converting the read media content into the fifth media file by at least one of a rate conversion method, a media format conversion method, a DRM method, a digital watermarking method, and an M D5 encryption method;
当所述内容导出模块将读取出的媒体内容转换成所述第六媒体文件时, 所述内容出库模块具体用于根据所述第二预设策略, 利用音视频码率转换方 法、 媒体格式转换方法、 DRM方法、 数字水印方法和 MD5加密方法中的至 少一个, 将读取出的媒体内容转换为所述第六媒体文件。  When the content exporting module converts the read media content into the sixth media file, the content delivery module is specifically configured to use an audio and video code rate conversion method and a media according to the second preset policy. At least one of the format conversion method, the DRM method, the digital watermark method, and the MD5 encryption method converts the read media content into the sixth media file.
7、根据权利要求 5或 6所述的系统, 其特征在于, 所述第二预设策略包 括存储后实时导出、 存储后延时指定时间后导出和存储后在指定时间导出中 的至少一个。  The system according to claim 5 or 6, wherein the second preset policy comprises at least one of real-time export after storage, storage after a specified time delay, and export and storage at a specified time.
8、 根据权利要求 1~7任一权利要求所述的系统, 其特征在于, 所述内 容收录模块具体用于  The system according to any one of claims 1 to 7, wherein the content recording module is specifically used for
利用音视频编解码方式转换方法、 音视频码率转换方法、 媒体格式转换 方法、 DRM方法、 数字水印方法和 MD5加密方法中的至少一个, 将所述第 一媒体文件或媒体流转换为所述第二媒体文件。  Converting the first media file or media stream into the at least one of an audio/video codec conversion method, an audio/video code rate conversion method, a media format conversion method, a DRM method, a digital watermarking method, and an MD5 encryption method Second media file.
9、 根据权利要求 1~8任一权利要求所述的系统, 其特征在于, 所述第 一预设策略包括内容生命周期、 内容访问热度和人工设定中的至少一个。  The system according to any one of claims 1 to 8, wherein the first preset policy comprises at least one of a content life cycle, a content access heat, and a manual setting.
10、 根据权利要求 1~9任一权利要求所述的系统, 其特征在于, 所述第 一存储池和所述第二存储池位于相同或不同的局域网。  The system according to any one of claims 1 to 9, wherein the first storage pool and the second storage pool are located on the same or different local area networks.
11、 一种媒体存储方法, 其特征在于, 包括:  11. A media storage method, comprising:
内容收录模块从媒体源收录第一媒体文件或媒体流, 并将所述第一媒体 文件或媒体流转换为第二媒体文件;  The content collection module includes the first media file or the media stream from the media source, and converts the first media file or the media stream into the second media file;
内容存储模块将所述第一媒体文件或媒体流, 和所述第二媒体文件中的  The content storage module stores the first media file or media stream, and the second media file
19 至少一个存储在第一存储池; 并根据用于媒体内容迁移的第一预设策略, 将 所述第一存储池中的媒体内容迁移到第二存储池, 或者将所述第二存储池中 的媒体内容迁移到所述第一存储池。 19 At least one is stored in the first storage pool; and the media content in the first storage pool is migrated to the second storage pool according to the first preset policy for media content migration, or the second storage pool is The media content is migrated to the first storage pool.
12、 根据权利要求 11所述的方法, 其特征在于, 还包括: 12. The method according to claim 11, further comprising:
内 佥索模块从所述媒体源或所述内容收录模块获得所述第一媒体文件 或媒体流的元数据, 和 /或从所述第一存储池和所述第二存储池中的至少一个 中的媒体内容中提取元数据; 以及  The internal search module obtains metadata of the first media file or media stream from the media source or the content listing module, and/or from at least one of the first storage pool and the second storage pool Extracting metadata from media content in ;
所述内 佥索模块接收外部设备发送的检索请求, 所述检索请求中包含 特征参数, 以及根据所述特征参数, 在所述元数据中进行检索, 并将检索结 果提供给所述外部设备。  The internal search module receives a retrieval request sent by an external device, the retrieval request includes a characteristic parameter, and performs retrieval in the metadata according to the characteristic parameter, and provides the retrieval result to the external device.
13、 根据权利要求 11或 12所述的方法, 其特征在于, 还包括: 内容访问模块接收所述外部设备发送的第一访问请求, 所述第一访问请 求中包含请求读取的媒体标识和读取内容信息, 以及根据所述媒体标识确定 该媒体标识对应的媒体内容所在的存储池中, 并从确定的存储池中读取对应 的媒体内容, 当读取出的媒体内容与所述读取内容信息要求的媒体内容不一 致时, 则将读取出的媒体内容转换为与所述读取内容信息要求的媒体内容一 致的第三媒体文件, 并将将读取出的媒体内容转换成的第三媒体文件提供给 所述外部设备, 或者当读取出的媒体内容与所述读取内容信息要求的媒体内 容一致时, 则将读取出的媒体内容提供给所述外部设备; 和 /或  The method according to claim 11 or 12, further comprising: receiving, by the content access module, a first access request sent by the external device, where the first access request includes a media identifier that is requested to be read and Reading the content information, determining, according to the media identifier, a storage pool in which the media content corresponding to the media identifier is located, and reading the corresponding media content from the determined storage pool, when the read media content and the reading When the media content requested by the content information is inconsistent, the read media content is converted into a third media file that is consistent with the media content required to read the content information, and the read media content is converted into The third media file is provided to the external device, or when the read media content is consistent with the media content required by the read content information, the read media content is provided to the external device; and Or
所述内容访问模块接收所述外部设备发送的第二访问请求, 所述第二访 问请求中包含请求存储的媒体文件和存储内容信息, 以及当所述第二访问请 求中包含的媒体文件与所述存储内容信息要求的媒体内容不一致时, 则将所 述第二访问请求中包含的媒体文件转换为与所述存储内容信息要求的媒体内 容一致的第四媒体文件, 并将所述第四媒体文件存储到所述第一存储池或所 述第二存储池中, 或者当所述第二访问请求中包含的媒体文件与所述存储内 容信息要求的媒体内容一致时, 则将所述第二访问请求中包含的媒体文件存 储到所述第一存储池或所述第二存储池中。  The content access module receives a second access request sent by the external device, where the second access request includes a media file and stored content information that are requested to be stored, and a media file and a device included in the second access request. When the media content required to store the content information is inconsistent, the media file included in the second access request is converted into a fourth media file that is consistent with the media content required to store the content information, and the fourth media is And storing the file in the first storage pool or the second storage pool, or when the media file included in the second access request is consistent with the media content required by the stored content information, The media file included in the access request is stored in the first storage pool or the second storage pool.
14、 根据权利要求 11 ~13任一权利要求所述的方法, 其特征在于, 还包 括:  The method according to any one of claims 11 to 13, further comprising:
内容出库模块接收所述外部设备发送的导出请求, 所述导出请求中包含  The content delivery module receives an export request sent by the external device, where the export request includes
20 请求导出的媒体标识和导出内容信息, 以及根据所述媒体标识确定该媒体标 识对应的媒体内容所在的存储池中, 并从确定的存储池中读取对应的媒体内 容, 当读取出的媒体内容与所述导出内容信息要求的媒体内容不一致时, 则 将读取出的媒体内容转换为与所述导出内容信息要求的媒体内容一致的第五 媒体文件, 并将将读取出的媒体内容转换成的第五媒体文件提供给所述外部 设备,或者当读取出的媒体内容与所述导出内容信息要求的媒体内容一致时, 则将读取出的媒体内容提供给所述外部设备; 或者 20 Requesting the exported media identifier and the exported content information, and determining, according to the media identifier, a storage pool in which the media content corresponding to the media identifier is located, and reading the corresponding media content from the determined storage pool, when the read media is read When the content is inconsistent with the media content required by the exported content information, the read media content is converted into a fifth media file that is consistent with the media content requested by the exported content information, and the read media content is to be read. Converting the converted fifth media file to the external device, or when the read media content is consistent with the media content required by the exported content information, providing the read media content to the external device; or
所述内容出库模块根据用于媒体内容导出的第二预设策略和导出内容信 息, 从所述第一存储池或所述第二存储池中读取该第二预设策略要求导出的 媒体内容, 以及当读取出的媒体内容与所述导出内容信息要求的媒体内容不 一致时, 则将读取出的媒体内容转换为与所述导出内容信息要求的媒体内容 一致的第六媒体文件, 并将将读取出的媒体内容转换成的第六媒体文件提供 给所述外部设备, 或者当读取出的媒体内容与所述导出内容信息要求的媒体 内容一致时, 则将读取出的媒体内容提供给所述外部设备。  The content delivery module reads the media requested by the second preset policy from the first storage pool or the second storage pool according to the second preset policy and the exported content information used for the media content export. Content, and when the read media content is inconsistent with the media content required by the exported content information, converting the read media content into a sixth media file that is consistent with the media content required by the derived content information, And providing, to the external device, a sixth media file into which the read media content is converted, or when the read media content is consistent with the media content required by the exported content information, Media content is provided to the external device.
15、 根据权利要求 14 所述的方法, 其特征在于, 所述第二预设策略包 括存储后实时导出、 存储后延时指定时间后导出和存储后在指定时间导出中 的至少一个。  The method according to claim 14, wherein the second preset policy comprises at least one of real-time export after storage, storage after a specified time delay, and export and storage at a specified time.
16、 根据权利要求 11 ~15任一权利要求所述的方法, 其特征在于, 所述 第一预设策略包括内容生命周期、 内容访问热度和人工设定中的至少一个。  The method according to any one of claims 11 to 15, wherein the first preset policy comprises at least one of a content life cycle, a content access heat, and a manual setting.
21 twenty one
PCT/CN2012/071075 2012-02-13 2012-02-13 Media storage system and method WO2012092901A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/071075 WO2012092901A2 (en) 2012-02-13 2012-02-13 Media storage system and method
CN201280000227.5A CN102687149B (en) 2012-02-13 2012-02-13 Media storage system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/071075 WO2012092901A2 (en) 2012-02-13 2012-02-13 Media storage system and method

Publications (2)

Publication Number Publication Date
WO2012092901A2 true WO2012092901A2 (en) 2012-07-12
WO2012092901A3 WO2012092901A3 (en) 2013-01-10

Family

ID=46457760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071075 WO2012092901A2 (en) 2012-02-13 2012-02-13 Media storage system and method

Country Status (2)

Country Link
CN (1) CN102687149B (en)
WO (1) WO2012092901A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021044250A1 (en) * 2019-09-06 2021-03-11 International Business Machines Corporation Converting large extent storage pools into small extent storage pools in place

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024550A (en) * 2012-11-22 2013-04-03 上海文广互动电视有限公司 Three-dimensional (3D) television content service system
CN107888636B (en) * 2016-09-30 2020-01-17 杭州海康威视数字技术股份有限公司 Data processing method and system based on cloud storage
CN108228644B (en) * 2016-12-21 2021-07-30 北京京东尚科信息技术有限公司 Method and device for exporting report
CN107566851B (en) * 2017-09-05 2020-07-03 成都索贝数码科技股份有限公司 Video slice storage method and system applied to media data access

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0415786A2 (en) * 1989-08-31 1991-03-06 The Regents Of The University Of California Information storage and processing
US20040177373A1 (en) * 2003-02-28 2004-09-09 Tsuyoshi Kawabe Graphic data distribution system and a data converter, and a graphic data distribution method
US20070234214A1 (en) * 2006-03-17 2007-10-04 One True Media, Inc. Web based video editing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068341B (en) * 2007-06-01 2010-08-04 中兴通讯股份有限公司 Stream media dispatching system and medium file scheduling method thereof
CN102136289B (en) * 2010-12-30 2013-03-13 华为技术有限公司 Methods, devices and systems for storing and reading media contents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0415786A2 (en) * 1989-08-31 1991-03-06 The Regents Of The University Of California Information storage and processing
US20040177373A1 (en) * 2003-02-28 2004-09-09 Tsuyoshi Kawabe Graphic data distribution system and a data converter, and a graphic data distribution method
US20070234214A1 (en) * 2006-03-17 2007-10-04 One True Media, Inc. Web based video editing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021044250A1 (en) * 2019-09-06 2021-03-11 International Business Machines Corporation Converting large extent storage pools into small extent storage pools in place
GB2603326A (en) * 2019-09-06 2022-08-03 Ibm Converting large extent storage pools into small extent storage pools in place
GB2603326B (en) * 2019-09-06 2023-02-08 Ibm Converting large extent storage pools into small extent storage pools in place

Also Published As

Publication number Publication date
CN102687149B (en) 2014-03-12
CN102687149A (en) 2012-09-19
WO2012092901A3 (en) 2013-01-10

Similar Documents

Publication Publication Date Title
US9319487B2 (en) Server device, client device, information processing system, information processing method, and program
US8886896B2 (en) Storage format for media streams
CN103414949B (en) A kind of multimedia edit system based on intelligent television and method
JP5112287B2 (en) Method and system for providing distributed editing and storage of digital media over a network
US10715595B2 (en) Remotes metadata extraction and transcoding of files to be stored on a network attached storage (NAS)
CN102084338B (en) For the new media file of multi-platform non-linear video editing systems
US20190069006A1 (en) Seeking in live-transcoded videos
US20140223309A1 (en) Method and system for browsing, searching and sharing of personal video by a non-parametric approach
Pea et al. Video workflow in the learning sciences: Prospects of emerging technologies for augmenting work practices
JP2016500218A (en) Join video to integrated video
US11226930B2 (en) Distributed file system with integrated file object conversion
CN102591986A (en) System and method for realizing video and audio editing based on BS (browser/server) mode
WO2012092901A2 (en) Media storage system and method
WO2013053259A1 (en) Processing method, playing method and apparatus for streaming media data
US20080005028A1 (en) Contents metadata registering method, registering system, and registering program
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
US20150373395A1 (en) Systems And Methods For Merging Media Content
CN106790558B (en) Film multi-version integration storage and extraction system
JP5043711B2 (en) Video evaluation apparatus and method
WO2011137681A1 (en) Method and apparatus for filing time shift slicing files and playing programs in an interactive personality television system
CN102231847B (en) Direct and accurate frame positioning method supporting stream media files
KR20190091215A (en) Method and apparatus for streaming multimedia data without transcoding using meta data
US20230156298A1 (en) Simultaneous recording and uploading of multiple audio files of the same conversation and audio drift normalization systems and methods
Xin et al. Live Signal Recording and Segmenting Solution Based on Cloud Architecture
JP2009060353A (en) Content distribution apparatus, mobile terminal device, content distribution system, content distribution method, content receiving method, and content distribution program

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000227.5

Country of ref document: CN

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

Ref document number: 12732027

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12732027

Country of ref document: EP

Kind code of ref document: A2