WO2017071524A1 - Multimedia resource publishing method and apparatus - Google Patents

Multimedia resource publishing method and apparatus Download PDF

Info

Publication number
WO2017071524A1
WO2017071524A1 PCT/CN2016/102763 CN2016102763W WO2017071524A1 WO 2017071524 A1 WO2017071524 A1 WO 2017071524A1 CN 2016102763 W CN2016102763 W CN 2016102763W WO 2017071524 A1 WO2017071524 A1 WO 2017071524A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia resource
resource
version
multimedia
different versions
Prior art date
Application number
PCT/CN2016/102763
Other languages
French (fr)
Chinese (zh)
Inventor
柏杨
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017071524A1 publication Critical patent/WO2017071524A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for distributing multimedia resources.
  • IPTV/OTT technology provides a way to transmit video, audio, pictures and other media content in the network, and thus has been widely used in multimedia service systems, especially mobile multimedia services.
  • users have higher and higher requirements for the clarity and smoothness of video services. How to solve the problem of improving user experience and reducing storage space and bandwidth usage is extremely urgent.
  • the traditional content distribution technology solution generally pulls the original film source into the local storage system intact, and the original film source with multiple code rates will occupy a relatively large storage space.
  • the high-frequency content of the ball game and the low-frequency content such as cartoons are often wasteful and not suitable (high-frequency content, under the condition of a certain bandwidth, the highest code rate is removed under the premise of ensuring the user's smooth experience; low frequency Content, under the guarantee of the user's service experience, remove the highest code rate and save bandwidth).
  • the embodiment of the invention provides a method and a device for a multimedia resource, so as to at least solve the problem that the storage space and the bandwidth are too large when the multimedia resource is released in the related art.
  • a method for distributing a multimedia resource including: a media publishing server receiving a request message for requesting to issue a multimedia resource; and the media publishing server acquiring the multimedia resource from a content providing server Different versions, wherein code rates between different versions of the multimedia resource are different; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining versions of the multimedia resource; The media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
  • the media publishing server deleting the partial version from the different versions of the multimedia resource includes: determining, by the media publishing server, whether the partial version needs to be deleted according to the resource type of the multimedia resource and a predetermined publishing policy; Determining that the partial version needs to be deleted, the media publishing server deletes a partial version from different versions of the multimedia resource.
  • the media publishing server determining, by the media publishing server, whether the partial version is required to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy, the media publishing server determining, by the predetermined publishing policy, that the target version needs to be deleted Whether the target resource type of the target multimedia resource includes the resource type of the multimedia resource; Describe the resource type of the multimedia resource, and determine that the partial version needs to be deleted.
  • deleting, by the media publishing server, a partial version from different versions of the multimedia resource the media publishing server determining whether different versions of the multimedia resource include the target version, and if the target version is included, The target version is then deleted from a different version of the multimedia resource.
  • deleting, by the media publishing server, a partial version from different versions of the multimedia resource comprises: the media publishing server deleting a version with the highest code rate from different versions of the multimedia resource.
  • a device for distributing a multimedia resource includes: a receiving module, configured to receive a request message for requesting to issue a multimedia resource; and an acquiring module configured to acquire the content from the content providing server Different versions of the multimedia resource, wherein the code rates between different versions of the multimedia resource are different; the processing module is configured to delete a partial version from different versions of the multimedia resource and to have a remaining version of the multimedia resource Performing a storage; a publishing module, configured to select one or more of the remaining versions of the multimedia resource for publishing.
  • the processing module further includes: a first determining unit, configured to determine, according to the resource type of the multimedia resource, and a predetermined publishing policy, whether to delete the partial version; the first deleting unit is configured to determine that the content is needed Deleting the partial version removes a partial version from a different version of the multimedia resource.
  • the determining unit includes: a determining subunit, configured to determine whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes a resource type of the multimedia resource; And if it is set to include the resource type of the multimedia resource, it is determined that the partial version needs to be deleted.
  • the processing module further includes: a second determining unit, configured to determine whether the different version of the multimedia resource includes the target version; and the second deleting unit is configured to: if the target version is included, The target version is deleted in different versions of the multimedia resource.
  • the processing module further includes: a third deleting unit, configured to delete the version with the highest code rate from different versions of the multimedia resource.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • Receiving a request message for requesting to issue a multimedia resource acquiring different versions of the multimedia resource from a content providing server, wherein a code rate between different versions of the multimedia resource is different; from different versions of the multimedia resource Partial versions are deleted and the remaining versions of the multimedia resources are stored; one or more of the remaining versions of the multimedia resources are selected for publishing.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the version with the highest code rate is removed from different versions of the multimedia resource.
  • the media publishing server receives a request message for requesting to issue a multimedia resource; the media publishing server acquires different versions of the multimedia resource from the content providing server, where different versions of the multimedia resource are The code rate is different; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource; the media publishing server is from the remaining versions of the multimedia resource Select one or more to publish.
  • the invention solves the problem that the storage space and the bandwidth are too large when the multimedia resources are released in the related art, thereby achieving the effect of saving storage space and bandwidth under the service experience of the user.
  • FIG. 1 is a flowchart of a method for distributing a multimedia resource according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a device for distributing multimedia resources according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a system for distributing multimedia resources according to an embodiment of the present invention.
  • FIG. 7 is a timing chart showing the operation of a multimedia resource distribution system according to an alternative embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an Apple HLS based scenario in accordance with an alternative embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a DASH based scenario according to an alternative embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an HSS based scenario in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for publishing a multimedia resource according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 The media publishing server receives a request message for requesting to issue a multimedia resource.
  • the multimedia resource may be a video resource, an audio resource, or a picture or other multimedia resource.
  • the multimedia publishing server receives the request message and performs subsequent processing.
  • the multimedia publishing server may be a website of a video website, a live broadcast platform, a sharing platform, or a software server.
  • Step S104 The media publishing server acquires different versions of the multimedia resources from the content providing server, where the code rates between different versions of the multimedia resources are different.
  • the multimedia resource includes one or more versions, and each version may have different definitions due to different code rates, such as ultra high definition, high definition, normal, etc., each version occupies the capacity of the multimedia resource, correspondingly Each multimedia resource of the version occupies a corresponding capacity and bandwidth when the multimedia resource is saved or transmitted.
  • Step S106 The media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource.
  • some versions of multimedia resources such as Ultra HD versions, do not need to be published on the publishing server because of the multimedia itself, or the memory capacity and bandwidth, or the reason why the user uses too little.
  • Different versions of the multimedia resource are deleted, the unneeded version is deleted, and the storage is to be released.
  • Step S108 The media publishing server selects one or more of the remaining versions of the multimedia resources for publishing.
  • the multimedia publishing server receives the request for the transmission of the multimedia resource or the message downloaded from the server, one or more of the remaining versions of the multimedia resource to be released are stored.
  • the media publishing server receives a request message for requesting to issue a multimedia resource, and the media publishing server acquires different versions of the multimedia resource from the content providing server, where a code rate between different versions of the multimedia resource is different;
  • the publishing server deletes part of the version from the different versions of the multimedia resource and stores the remaining versions of the multimedia resource; the media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
  • the media publishing server deleting the partial version from different versions of the multimedia resource includes:
  • the media publishing server determines, according to the resource type of the multimedia resource and the predetermined publishing policy, whether a partial version needs to be deleted.
  • the resource type of the multimedia resource is related to the frequency of the multimedia resource, and the frequency may be a frame speed during video playback, and is related to the fluency of the resource playing, and the different multimedia resources may be classified into a high frequency and an intermediate frequency according to the type of the resource.
  • the low-frequency three-speed, resource type information is carried in the request message when the resource request is issued, and is generated by the upper layer network, that is, the video frequency Video Frequency field, 1 indicates low frequency, 2 indicates intermediate frequency, and 3 indicates high frequency.
  • the high frequency type multimedia resource may be a live ball game content
  • the low frequency type multimedia resource may be an animation
  • the predetermined publishing policy may be pre-set processing of deleting a partial version of one or more types of multimedia resources, such as deleting a high frequency. And partial versions of multimedia resources of low frequency type, but no processing of multimedia resources of intermediate frequency type.
  • the media publishing server deletes the partial version from different versions of the multimedia resource.
  • the media publishing server determines whether the partial version needs to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy, and the media publishing server determines whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes multimedia.
  • the resource type of the resource if the resource type of the multimedia resource is included, it is determined that the partial version needs to be deleted.
  • the resource type that needs to be deleted in the partial release policy is deleted, and the Video Frequency field of the multimedia resource is parsed. If the resource type corresponding to the predetermined publishing policy is deleted, the multimedia resource is deleted. Version processing.
  • the media publishing server deleting the partial version from different versions of the multimedia resource includes: the media publishing server determining whether the different versions of the multimedia resource include the target version, and if the target version is included, deleting the target version from different versions of the multimedia resource.
  • the predetermined release policy also indicates which specific version of the multimedia resource is deleted, such as deleting the high frequency and intermediate frequency versions of the multimedia resource, then the high frequency and the intermediate frequency are the target versions, and only the low frequency version is retained, and all of the multimedia resources are
  • the version includes a version in which the predetermined policy indicates deletion, the target version is deleted, and when all versions of the multimedia resource do not have the target version, no processing is performed.
  • the version of the multimedia resource is not deleted.
  • the media publishing server deleting the partial version from the different versions of the multimedia resource includes the media publishing server deleting the version with the highest rate from the different versions of the multimedia resource. It can be an Ultra HD version that deletes multimedia resources. Optionally, the version with the highest bit rate of the high frequency type and the low frequency type is deleted.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a device for distributing a multimedia resource is provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module" can achieve a predetermined function a combination of software and / or hardware.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device may be configured to set a multimedia resource publishing server, and the device includes: a receiving module 20, an obtaining module 22, and a processing module 24. , publishing module 26, wherein
  • the receiving module 20 is configured to receive a request message for requesting to issue a multimedia resource
  • the obtaining module 22 is coupled to the receiving module 20 and configured to obtain different versions of the multimedia resources from the content providing server, where the code rates between different versions of the multimedia resources are different;
  • the processing module 24 is coupled to the obtaining module 22, configured to delete a partial version from different versions of the multimedia resource, and store the remaining versions of the multimedia resource;
  • the publishing module 26 is coupled to the processing module 24 and is configured to select one or more of the remaining versions of the multimedia resource for publishing.
  • FIG. 3 is a block diagram of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a first determining unit, in addition to all the modules shown in FIG. 30. The first deleting unit 32, wherein
  • the first determining unit 30 is configured to determine, according to the resource type of the multimedia resource and the predetermined publishing policy, whether the partial version needs to be deleted;
  • the first deleting unit 32 is coupled to the first determining unit 30, and is configured to delete the partial version from different versions of the multimedia resource if it is determined that the partial version needs to be deleted.
  • FIG. 4 is a block diagram 2 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention.
  • the device includes, in addition to all the modules shown in FIG. 3, the first determining unit 30 further includes: a determining unit. Unit 40, determining subunit 42, wherein
  • the determining sub-unit 40 is configured to determine whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes the resource type of the multimedia resource;
  • the determining sub-unit 42 is coupled to the determining sub-unit 40, and is set to determine that the partial version needs to be deleted if the resource type of the multimedia resource is included.
  • FIG. 5 is a block diagram 3 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention. As shown in FIG. 5, the device further includes: a second determining unit, in addition to all the modules shown in FIG. 50. The second deleting unit 52, wherein
  • the second determining unit 50 is configured to determine whether different versions of the multimedia resource include the target version
  • the second deleting unit 52 is configured to delete the target version from different versions of the multimedia resource if the target version is included.
  • the processing module 24 further includes: a third deleting unit (not shown in the drawing), configured to delete the version with the highest code rate from different versions of the multimedia resource, and the third deleting unit may be set in FIG. 2 3.
  • a third deleting unit (not shown in the drawing), configured to delete the version with the highest code rate from different versions of the multimedia resource, and the third deleting unit may be set in FIG. 2 3.
  • the optional embodiment utilizes the type judgment of the content to be released in advance, and then releases the highest content rate after the source content is released, so as to reduce the occupation of the storage space and the use of bandwidth while satisfying the user experience.
  • FIG. 6 is a structural diagram of a multimedia resource issuance system according to an embodiment of the present invention.
  • the system includes: a content management system 60, a content interface machine 61, a system management device 62, and a configuration device 63.
  • a server 64 a media distribution server 65, wherein
  • Content management system CMS60 content management system (CMS), responsible for uploading, reviewing, packaging and other business logic processing, and finally publishing content request message (including Video Frequency field, 1 means low frequency, 2 means The intermediate frequency, 3 indicates high frequency) is sent to the content distribution network (Content Distribution Network, CDN for short) content distribution system;
  • CMS content management system
  • Content interface machine CIMP61 Content Interface Management Platform (CIMP), which is responsible for parsing the content distribution message of the CMS, and converting it into a CDN internal message, transparently transmitting the VideoFrequency field, and notifying the CDNMGR to publish the content;
  • CIMP Content Interface Management Platform
  • the system management device CDNMGR/DB 62 is the administrator of the internal CDN system (Content Distribution Network Manager/Database), is responsible for content distribution and storage control, transparently transmits the VideoFrequency field, and forwards the published message to the service managed by the node to be released.
  • Service Load Balance (SLB) server is the administrator of the internal CDN system (Content Distribution Network Manager/Database), is responsible for content distribution and storage control, transparently transmits the VideoFrequency field, and forwards the published message to the service managed by the node to be released.
  • SLB Service Load Balance
  • the configuration device CDNWEB63 which is a WEB server that configures CDN data, saves the configured content distribution policy into a CDNDB (Content Distribution Network Database), and synchronizes to the media distribution server;
  • the SLB server 64 the service load balancing server, is responsible for receiving the content distribution message of the CDNMGR, and transparently transmitting the VideoFrequency field according to the load condition of each media publishing server, and transmitting the publishing message to the media publishing server with the lightest load;
  • the media publishing server 65 is configured to receive a content publishing message of the SLB (Service Load Balance), and includes a plurality of media publishing modules, and obtains a content from the source station according to the Video Frequency field value in the publishing request message and the content publishing policy synchronized by the CDNWEB server. Content, released after removing the highest code rate;
  • SLB Service Load Balance
  • the CIMP waits to receive a content publishing request of the CMS.
  • the SLB waits to receive a content distribution request of the CDNMGR
  • the media publishing server waits to receive a content publishing request of the SLB.
  • the CMS sends a content publishing request to the CIMP.
  • the CIMP converts the message into a CDN internal message, and notifies the CDNMGR to publish the content
  • the CDNMGR forwards the message to the SLB, and notifies the SLB to perform content distribution;
  • the media publishing server receives the content publishing request of the SLB, according to the VideoFrequency field value in the publishing request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and the content publishing policy synchronized by the CDNWEB, and the source station obtains Content, released after removing the highest code rate;
  • the media publishing server in the core network plane, the media publishing server according to the VideoFrequency field value in the release request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and CDNWEB synchronizes
  • the content publishing strategy go to the source station to get the content, remove the highest code rate and release it.
  • FIG. 7 is a timing diagram of operations of a multimedia resource distribution system according to an alternative embodiment of the present invention. As shown in FIG. 7, the method includes the following steps:
  • Step S301 The CIMP server starts monitoring, and is responsible for receiving a content publishing request sent by the CMS.
  • Step S302 The CDNMGR server starts monitoring, and is responsible for receiving the content publishing request sent by the CIMP;
  • Step S303 The SLB server starts monitoring, and is responsible for receiving the content publishing request sent by the CDNMGR.
  • Step S304 The media publishing server starts monitoring, and is responsible for receiving the content publishing request sent by the SLB;
  • Step S305 The CMS server initiates a content publishing request to the CIMP server, where the request message includes a VideoFrequency field value (1 indicates a low frequency, 2 indicates an intermediate frequency, and 3 indicates a high frequency);
  • Step S306 The CIMP server receives the content publishing request of the CMS server, converts it into an internal message format, and transparently transmits the value of the VideoFrequency field to the CDNMGR server.
  • Step S307 The CDNMGR server transparently transmits the VideoFrequency field value to the SLB server, and forwards the content publishing request.
  • Step S308 The SLB server transparently transmits the value of the VideoFrequency field according to the load balancing policy, and forwards the message to the media publishing server with the lightest load;
  • Step S309 The media publishing server according to the VideoFrequency field value in the content distribution request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and combines the content publishing strategy to obtain the content from the source station, and removes the highest code rate and then releases the content;
  • Step S310 The media publishing server returns a content publishing result to the SLB server.
  • Step S311 The SLB server returns a content publishing result to the CDNMGR server;
  • Step S312 The CDNMGR server returns a content publishing result to the CIMP server.
  • Step S313 The CIMP server returns a content publishing result to the CMS server.
  • the media publishing server is responsible for synchronizing the content publishing policy of the CDNWEB configuration, and receiving After the content is published, the content is processed according to the content type and the publishing policy.
  • FIG. 8 is a schematic diagram of an Apple HLS based scenario according to an alternative embodiment of the present invention. As shown in FIG. 8, the method includes:
  • Step S401 The CMS initiates an Apple HLS (Dynamic Rate Rate Adaptive Technology) content publishing request to the CIMP, including VideoFrequency;
  • Apple HLS Dynamic Rate Rate Adaptive Technology
  • Step S402 CIMP transparently transmits VideoFrequency to CDNMGR;
  • Step S403 CDNMGR transparently transmits VideoFrequency to the SLB;
  • Step S404 The SLB transparently transmits VideoFrequency to the media publishing server
  • Step S405 The media publishing server requests the main index file index.m3u8 from the source station;
  • Step S406 The media publishing server parses the index.m3u8 file, and obtains the code rate parameter values in the file;
  • Step S407 The media publishing server removes the highest code rate in the main index index.m3u8 file, and locally distributes the source file corresponding to the remaining code rate.
  • FIG. 9 is a schematic diagram of a DASH-based scenario according to an alternative embodiment of the present invention. As shown in FIG. 9, the method includes:
  • Step S501 The CMS initiates a DASH content publishing request to the CIMP, including VideoFrequency;
  • Step S502 CIMP transparently transmits VideoFrequency to CDNMGR;
  • Step S503 CDNMGR transparently transmits VideoFrequency to the SLB;
  • Step S504 The SLB transparently transmits VideoFrequency to the media publishing server;
  • Step S505 The media publishing server requests the index file manifest.mpd from the source station;
  • Step S506 The media publishing server parses the manifest.mpd file, and obtains the code rate parameter values in the file;
  • Step S507 The media publishing server removes the highest code rate in the manifest.mpd file, and locally distributes the source file corresponding to the remaining code rate.
  • FIG. 10 is a schematic diagram of an HSS-based scenario according to an alternative embodiment of the present invention. As shown in FIG. 10, the method includes:
  • Step S601 The CMS initiates a DASH content publishing request to the CIMP, including VideoFrequency;
  • Step S602 CIMP transparently transmits VideoFrequency to CDNMGR;
  • Step S603 CDNMGR transparently transmits VideoFrequency to the SLB;
  • Step S604 The SLB transparently transmits VideoFrequency to the media publishing server;
  • Step S605 The media publishing server requests the index file xxx.ism from the source station;
  • Step S606 The media publishing server parses the xxx.ism file, and obtains the code rate parameter values in the file;
  • Step S607 The media publishing server removes the highest code rate in the xxx.ism file, and locally distributes the source file corresponding to the remaining code rate.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the media publishing server receives a request message for requesting to publish a multimedia resource.
  • the media publishing server acquires different versions of the multimedia resource from the content providing server, where a code rate between different versions of the multimedia resource is different.
  • the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining versions of the multimedia resource.
  • the media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the media publishing server receives a request message for requesting to issue a multimedia resource; the media publishing server acquires different versions of the multimedia resource from the content providing server, where the multimedia resource The code rate is different between different versions; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource; the media publishing server from the multimedia resource Select one or more of the remaining versions to publish.
  • the invention solves the problem that the storage space and the bandwidth are too large when the multimedia resources are released in the related art, thereby achieving the effect of saving storage space and bandwidth under the service experience of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided are a multimedia resource publishing method and apparatus. The method comprises: a media publishing server receiving a request message used to request to publish a multimedia resource; the media publishing server acquiring different versions of the multimedia resource from a content providing server, wherein the different versions of the multimedia resource have different code rates; the media publishing server deleting some of the different versions of the multimedia resource, and storing the remaining versions of the multimedia resource; and the media publishing server selecting and publishing one or more of the remaining versions of the multimedia resource. The present invention solves the problem in the relevant art of occupying excessive storage spaces and bandwidths when publishing a multimedia resource, thereby achieving the effect of saving storage spaces and bandwidths while ensuring the service experience of a user.

Description

多媒体资源的发布方法及装置Method and device for releasing multimedia resources 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种多媒体资源的发布方法及装置。The present invention relates to the field of communications, and in particular, to a method and an apparatus for distributing multimedia resources.
背景技术Background technique
网络带宽的提高和4G(Fourth Generation)无线通信技术的发展为在互联网网络上开展基于媒体内容的服务业务提供了可能。IPTV/OTT技术提供了一种在网络中传输视频、音频、图片等媒体内容的方式,因此在多媒体业务系统,特别是移动多媒体业务中得到了广泛的应用。同时,随着互联网技术的发展,用户对视频服务的清晰度,流畅度的要求越来越高。如何解决提高用户体验和降低存储空间、带宽使用的问题迫在眉睫。The improvement of network bandwidth and the development of 4G (Fourth Generation) wireless communication technology have made it possible to carry out media content-based service services on the Internet. IPTV/OTT technology provides a way to transmit video, audio, pictures and other media content in the network, and thus has been widely used in multimedia service systems, especially mobile multimedia services. At the same time, with the development of Internet technology, users have higher and higher requirements for the clarity and smoothness of video services. How to solve the problem of improving user experience and reducing storage space and bandwidth usage is extremely urgent.
传统的内容发布技术方案,一般是将原始片源原封不动的下拉到本地存储系统,针对存在多档码率的原始片源,会占用比较大的存储空间。针对球赛类的高频内容、以及动画片等低频内容,往往浪费较大,不太适用(高频内容,在带宽一定的条件下,在保证用户流畅体验的前提下,去除最高码率;低频内容,在保证用户的服务体验下,去除最高码率,节省带宽)。The traditional content distribution technology solution generally pulls the original film source into the local storage system intact, and the original film source with multiple code rates will occupy a relatively large storage space. The high-frequency content of the ball game and the low-frequency content such as cartoons are often wasteful and not suitable (high-frequency content, under the condition of a certain bandwidth, the highest code rate is removed under the premise of ensuring the user's smooth experience; low frequency Content, under the guarantee of the user's service experience, remove the highest code rate and save bandwidth).
针对相关技术中,多媒体资源在发布过程中,浪费存储空间和带宽的问题,目前尚未发现有效的解决办法。In the related art, in the process of publishing multimedia resources, the problem of wasting storage space and bandwidth is not found, and no effective solution has been found yet.
发明内容Summary of the invention
本发明实施例提供了一种多媒体资源的方法及装置,以至少解决相关技术中发布多媒体资源时占用存储空间和带宽过大的问题。The embodiment of the invention provides a method and a device for a multimedia resource, so as to at least solve the problem that the storage space and the bandwidth are too large when the multimedia resource is released in the related art.
根据本发明实施例的一个方面,提供了一种多媒体资源的发布方法,包括:媒体发布服务器接收用于请求发布多媒体资源的请求消息;所述媒体发布服务器从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;所述媒体发布服务器从所述多媒体资源的剩余版本中选择一个或多个进行发布。According to an aspect of the embodiments of the present invention, a method for distributing a multimedia resource is provided, including: a media publishing server receiving a request message for requesting to issue a multimedia resource; and the media publishing server acquiring the multimedia resource from a content providing server Different versions, wherein code rates between different versions of the multimedia resource are different; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining versions of the multimedia resource; The media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
可选地,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:所述媒体发布服务器根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本;若判断出需要删除所述部分版本,则所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本。Optionally, the media publishing server deleting the partial version from the different versions of the multimedia resource includes: determining, by the media publishing server, whether the partial version needs to be deleted according to the resource type of the multimedia resource and a predetermined publishing policy; Determining that the partial version needs to be deleted, the media publishing server deletes a partial version from different versions of the multimedia resource.
可选地,所述媒体发布服务器根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本包括:所述媒体发布服务器判断所述预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括所述多媒体资源的资源类型;若包括所 述多媒体资源的资源类型,则判断出需要删除所述部分版本。Optionally, determining, by the media publishing server, whether the partial version is required to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy, the media publishing server determining, by the predetermined publishing policy, that the target version needs to be deleted Whether the target resource type of the target multimedia resource includes the resource type of the multimedia resource; Describe the resource type of the multimedia resource, and determine that the partial version needs to be deleted.
可选地,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:所述媒体发布服务器判断所述多媒体资源的不同版本是否包括所述目标版本,若包括所述目标版本,则从所述多媒体资源的不同版本中删除所述目标版本。Optionally, deleting, by the media publishing server, a partial version from different versions of the multimedia resource, the media publishing server determining whether different versions of the multimedia resource include the target version, and if the target version is included, The target version is then deleted from a different version of the multimedia resource.
可选地,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:所述媒体发布服务器从所述多媒体资源的不同版本中删除码率最高的版本。Optionally, deleting, by the media publishing server, a partial version from different versions of the multimedia resource comprises: the media publishing server deleting a version with the highest code rate from different versions of the multimedia resource.
根据本发明实施例的另一方面,提供了一种多媒体资源的发布装置,包括:接收模块,设置为接收用于请求发布多媒体资源的请求消息;获取模块,设置为从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;处理模块,设置为从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;发布模块,设置为从所述多媒体资源的剩余版本中选择一个或多个进行发布。According to another aspect of the present invention, a device for distributing a multimedia resource includes: a receiving module, configured to receive a request message for requesting to issue a multimedia resource; and an acquiring module configured to acquire the content from the content providing server Different versions of the multimedia resource, wherein the code rates between different versions of the multimedia resource are different; the processing module is configured to delete a partial version from different versions of the multimedia resource and to have a remaining version of the multimedia resource Performing a storage; a publishing module, configured to select one or more of the remaining versions of the multimedia resource for publishing.
可选地,所述处理模块还包括:第一判断单元,设置为根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本;第一删除单元,设置为若判断出需要删除所述部分版本,则从所述多媒体资源的不同版本中删除部分版本。Optionally, the processing module further includes: a first determining unit, configured to determine, according to the resource type of the multimedia resource, and a predetermined publishing policy, whether to delete the partial version; the first deleting unit is configured to determine that the content is needed Deleting the partial version removes a partial version from a different version of the multimedia resource.
可选地,所述判断单元包括:判断子单元,设置为判断所述预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括所述多媒体资源的资源类型;确定子单元,设置为若包括所述多媒体资源的资源类型,则判断出需要删除所述部分版本。Optionally, the determining unit includes: a determining subunit, configured to determine whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes a resource type of the multimedia resource; And if it is set to include the resource type of the multimedia resource, it is determined that the partial version needs to be deleted.
可选地,所述处理模块还包括:第二判断单元,设置为判断所述多媒体资源的不同版本是否包括所述目标版本;第二删除单元,设置为若包括所述目标版本,则从所述多媒体资源的不同版本中删除所述目标版本。Optionally, the processing module further includes: a second determining unit, configured to determine whether the different version of the multimedia resource includes the target version; and the second deleting unit is configured to: if the target version is included, The target version is deleted in different versions of the multimedia resource.
可选地,所述处理模块还包括:第三删除单元,设置为从所述多媒体资源的不同版本中删除码率最高的版本。Optionally, the processing module further includes: a third deleting unit, configured to delete the version with the highest code rate from different versions of the multimedia resource.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
接收用于请求发布多媒体资源的请求消息;从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;从所述多媒体资源的剩余版本中选择一个或多个进行发布。Receiving a request message for requesting to issue a multimedia resource; acquiring different versions of the multimedia resource from a content providing server, wherein a code rate between different versions of the multimedia resource is different; from different versions of the multimedia resource Partial versions are deleted and the remaining versions of the multimedia resources are stored; one or more of the remaining versions of the multimedia resources are selected for publishing.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本;若判断出需要删除所述部分版本,则从所述多媒体资源的不同版本中删除部分版本。Determining whether the partial version needs to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy; if it is determined that the partial version needs to be deleted, deleting the partial version from different versions of the multimedia resource.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码: Optionally, the storage medium is further arranged to store program code for performing the following steps:
判断所述预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括所述多媒体资源的资源类型;若包括所述多媒体资源的资源类型,则判断出需要删除所述部分版本。Determining, by the predetermined publishing policy, whether the target resource type of the target multimedia resource that needs to delete the target version includes the resource type of the multimedia resource; if the resource type of the multimedia resource is included, determining that the partial version needs to be deleted .
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
判断所述多媒体资源的不同版本是否包括所述目标版本,若包括所述目标版本,则从所述多媒体资源的不同版本中删除所述目标版本。Determining whether different versions of the multimedia resource include the target version, and if the target version is included, deleting the target version from different versions of the multimedia resource.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
从所述多媒体资源的不同版本中删除码率最高的版本。The version with the highest code rate is removed from different versions of the multimedia resource.
通过本发明实施例,采用媒体发布服务器接收用于请求发布多媒体资源的请求消息;所述媒体发布服务器从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;所述媒体发布服务器从所述多媒体资源的剩余版本中选择一个或多个进行发布。解决了相关技术中发布多媒体资源时占用存储空间和带宽过大的问题,进而达到了在保证用户的服务体验下节省存储空间和带宽的效果。According to the embodiment of the present invention, the media publishing server receives a request message for requesting to issue a multimedia resource; the media publishing server acquires different versions of the multimedia resource from the content providing server, where different versions of the multimedia resource are The code rate is different; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource; the media publishing server is from the remaining versions of the multimedia resource Select one or more to publish. The invention solves the problem that the storage space and the bandwidth are too large when the multimedia resources are released in the related art, thereby achieving the effect of saving storage space and bandwidth under the service experience of the user.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的多媒体资源的发布方法的流程图;1 is a flowchart of a method for distributing a multimedia resource according to an embodiment of the present invention;
图2是根据本发明实施例的多媒体资源的发布装置的结构框图;2 is a structural block diagram of a device for distributing multimedia resources according to an embodiment of the present invention;
图3是根据本发明实施例的多媒体资源的发布装置的可选结构框图一;3 is a block diagram 1 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention;
图4是根据本发明实施例的多媒体资源的发布装置的可选结构框图二;4 is a block diagram 2 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention;
图5是根据本发明实施例的多媒体资源的发布装置的可选结构框图三;FIG. 5 is a block diagram 3 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的多媒体资源的发布系统的结构图;6 is a structural diagram of a system for distributing multimedia resources according to an embodiment of the present invention;
图7是根据本发明可选实施例的多媒体资源的发布系统的工作时序图;7 is a timing chart showing the operation of a multimedia resource distribution system according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的基于Apple HLS场景的示意图;8 is a schematic diagram of an Apple HLS based scenario in accordance with an alternative embodiment of the present invention;
图9是根据本发明可选实施例的基于DASH场景的示意图;9 is a schematic diagram of a DASH based scenario according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例的基于HSS场景的示意图。10 is a schematic diagram of an HSS based scenario in accordance with an alternate embodiment of the present invention.
具体实施方式 detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种多媒体资源的发布方法,图1是根据本发明实施例的多媒体资源的发布方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for distributing a multimedia resource is provided. FIG. 1 is a flowchart of a method for publishing a multimedia resource according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,媒体发布服务器接收用于请求发布多媒体资源的请求消息;Step S102: The media publishing server receives a request message for requesting to issue a multimedia resource.
在本实施例中,多媒体资源可以是视频资源、音频资源,也可以是图片或者其他多媒体资源,当存在有多媒体资源需要发布时,如用户拍摄的视频或者远端传输过来的球赛直播视频需要上传时,向媒体发布服务器发送发布多媒体资源的请求消息,多媒体发布服务器接收请求消息后进行后续的处理,可选的,多媒体发布服务器可以是视频网站、直播平台、共享平台等网站或软件的服务器。In this embodiment, the multimedia resource may be a video resource, an audio resource, or a picture or other multimedia resource. When there is a multimedia resource to be released, the video captured by the user or the live broadcast video transmitted from the remote end needs to be uploaded. The request message for publishing the multimedia resource is sent to the media publishing server, and the multimedia publishing server receives the request message and performs subsequent processing. Optionally, the multimedia publishing server may be a website of a video website, a live broadcast platform, a sharing platform, or a software server.
步骤S104,媒体发布服务器从内容提供服务器中获取多媒体资源的不同版本,其中,多媒体资源的不同版本之间的码率不同;Step S104: The media publishing server acquires different versions of the multimedia resources from the content providing server, where the code rates between different versions of the multimedia resources are different.
在本实施例中,多媒体资源包括一个或多个版本,每个版本因为码率不同导致清晰度也会有差异,如超高清、高清、普通等,每个版本都会占用多媒体资源的容量,相应的,在多媒体资源保存或者传输时,每个版本的多媒体资源都会占用相应的容量和带宽。In this embodiment, the multimedia resource includes one or more versions, and each version may have different definitions due to different code rates, such as ultra high definition, high definition, normal, etc., each version occupies the capacity of the multimedia resource, correspondingly Each multimedia resource of the version occupies a corresponding capacity and bandwidth when the multimedia resource is saved or transmitted.
步骤S106,媒体发布服务器从多媒体资源的不同版本中删除部分版本,并对多媒体资源的剩余版本进行存储;Step S106: The media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource.
可选的,有些多媒体资源的版本,如超高清的版本,因为多媒体自身的原因,或者存储器容量和带宽的原因,或用户使用太少的原因等,并不需要在发布服务器上进行发布,对多媒体资源的不同版本进行删除,删除不需要的版本,并存储待发布。Optionally, some versions of multimedia resources, such as Ultra HD versions, do not need to be published on the publishing server because of the multimedia itself, or the memory capacity and bandwidth, or the reason why the user uses too little. Different versions of the multimedia resource are deleted, the unneeded version is deleted, and the storage is to be released.
步骤S108,媒体发布服务器从多媒体资源的剩余版本中选择一个或多个进行发布。Step S108: The media publishing server selects one or more of the remaining versions of the multimedia resources for publishing.
在多媒体资源存储后,当多媒体发布服务器收到请求该多媒体资源的传输或者从服务器上下载的消息后,将存储待发布的该多媒体资源的剩余版本的一个或者多个进行发布。After the multimedia resource is stored, when the multimedia publishing server receives the request for the transmission of the multimedia resource or the message downloaded from the server, one or more of the remaining versions of the multimedia resource to be released are stored.
通过本实施例,采用媒体发布服务器接收用于请求发布多媒体资源的请求消息;媒体发布服务器从内容提供服务器中获取多媒体资源的不同版本,其中,多媒体资源的不同版本之间的码率不同;媒体发布服务器从多媒体资源的不同版本中删除部分版本,并对多媒体资源的剩余版本进行存储;媒体发布服务器从多媒体资源的剩余版本中选择一个或多个进行发布。解决了相关技术中发布多媒体资源时占用存储空间和带宽过大的问题,进而达到了在保证用户的服务体验下节省存储空间和带宽的效果。In this embodiment, the media publishing server receives a request message for requesting to issue a multimedia resource, and the media publishing server acquires different versions of the multimedia resource from the content providing server, where a code rate between different versions of the multimedia resource is different; The publishing server deletes part of the version from the different versions of the multimedia resource and stores the remaining versions of the multimedia resource; the media publishing server selects one or more of the remaining versions of the multimedia resource for publishing. The invention solves the problem that the storage space and the bandwidth are too large when the multimedia resources are released in the related art, thereby achieving the effect of saving storage space and bandwidth under the service experience of the user.
在根据本发明实施例的可选实施方式中,媒体发布服务器从多媒体资源的不同版本中删除部分版本包括: In an optional implementation manner according to an embodiment of the present invention, the media publishing server deleting the partial version from different versions of the multimedia resource includes:
S11,媒体发布服务器根据多媒体资源的资源类型和预定发布策略判断是否需要删除部分版本;S11. The media publishing server determines, according to the resource type of the multimedia resource and the predetermined publishing policy, whether a partial version needs to be deleted.
可选的,多媒体资源的资源类型与多媒体资源的频率有关,频率可以是视频播放时的帧速度,与资源播放的流畅度相关,可以根据资源的类型将不同的多媒体资源分为高频、中频、低频三档,资源类型的信息在资源请求发布时携带在请求消息中,由上层网络产生,即视频频率Video Frequency字段,1表示低频,2表示中频,3表示高频。高频类型的多媒体资源可以是直播球赛内容,低频类型的多媒体资源可以是动画片,预定发布策略可以是预先设置对一种或多种类型的多媒体资源进行删除部分版本的处理,如删除高频和低频类型的多媒体资源的部分版本,而对中频类型的多媒体资源不作处理。Optionally, the resource type of the multimedia resource is related to the frequency of the multimedia resource, and the frequency may be a frame speed during video playback, and is related to the fluency of the resource playing, and the different multimedia resources may be classified into a high frequency and an intermediate frequency according to the type of the resource. The low-frequency three-speed, resource type information is carried in the request message when the resource request is issued, and is generated by the upper layer network, that is, the video frequency Video Frequency field, 1 indicates low frequency, 2 indicates intermediate frequency, and 3 indicates high frequency. The high frequency type multimedia resource may be a live ball game content, and the low frequency type multimedia resource may be an animation, and the predetermined publishing policy may be pre-set processing of deleting a partial version of one or more types of multimedia resources, such as deleting a high frequency. And partial versions of multimedia resources of low frequency type, but no processing of multimedia resources of intermediate frequency type.
S12,若判断出需要删除部分版本,则媒体发布服务器从多媒体资源的不同版本中删除部分版本。S12. If it is determined that the partial version needs to be deleted, the media publishing server deletes the partial version from different versions of the multimedia resource.
可选的,媒体发布服务器根据多媒体资源的资源类型和预定发布策略判断是否需要删除部分版本包括:媒体发布服务器判断预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括多媒体资源的资源类型;若包括多媒体资源的资源类型,则判断出需要删除部分版本。在具体的判断过程中,可以先获取预定发布策略所指示的需要删除部分版本的资源类型,再解析多媒体资源的Video Frequency字段,如果是预定发布策略对应的资源类型,则对该多媒体资源进行删除版本的处理。Optionally, the media publishing server determines whether the partial version needs to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy, and the media publishing server determines whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes multimedia. The resource type of the resource; if the resource type of the multimedia resource is included, it is determined that the partial version needs to be deleted. In the specific judging process, the resource type that needs to be deleted in the partial release policy is deleted, and the Video Frequency field of the multimedia resource is parsed. If the resource type corresponding to the predetermined publishing policy is deleted, the multimedia resource is deleted. Version processing.
可选的,媒体发布服务器从多媒体资源的不同版本中删除部分版本包括:媒体发布服务器判断多媒体资源的不同版本是否包括目标版本,若包括目标版本,则从多媒体资源的不同版本中删除目标版本。在具体的删除过程中,预定发布策略还指示删除多媒体资源的具体哪个版本,如删除多媒体资源的高频和中频版本,则高频和中频为目标版本,只保留低频版本,在多媒体资源的所有版本中包括预定策略指示删除的版本时,则对该目标版本进行删除,而在多媒体资源的所有版本没有该目标版本时,则不作处理。可选的,当多媒体资源只有一个版本,而该版本又是目标版本时,不对多媒体资源的该版本进行删除处理。Optionally, the media publishing server deleting the partial version from different versions of the multimedia resource includes: the media publishing server determining whether the different versions of the multimedia resource include the target version, and if the target version is included, deleting the target version from different versions of the multimedia resource. In the specific deletion process, the predetermined release policy also indicates which specific version of the multimedia resource is deleted, such as deleting the high frequency and intermediate frequency versions of the multimedia resource, then the high frequency and the intermediate frequency are the target versions, and only the low frequency version is retained, and all of the multimedia resources are When the version includes a version in which the predetermined policy indicates deletion, the target version is deleted, and when all versions of the multimedia resource do not have the target version, no processing is performed. Optionally, when there is only one version of the multimedia resource, and the version is the target version, the version of the multimedia resource is not deleted.
在根据本发明实施例的可选实施方式中,媒体发布服务器从多媒体资源的不同版本中删除部分版本包括:媒体发布服务器从多媒体资源的不同版本中删除码率最高的版本。可以是删除多媒体资源的超高清版本,可选的,删除高频类型和低频类型的码率最高的版本。In an optional implementation in accordance with an embodiment of the present invention, the media publishing server deleting the partial version from the different versions of the multimedia resource includes the media publishing server deleting the version with the highest rate from the different versions of the multimedia resource. It can be an Ultra HD version that deletes multimedia resources. Optionally, the version with the highest bit rate of the high frequency type and the low frequency type is deleted.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种多媒体资源的发布装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能 的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for distributing a multimedia resource is provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" can achieve a predetermined function a combination of software and / or hardware. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的多媒体资源的发布装置的结构框图,如图2所示,该装置可以设置多媒体资源的发布服务器上,该装置包括:接收模块20、获取模块22、处理模块24、发布模块26,其中,2 is a structural block diagram of a device for distributing a multimedia resource according to an embodiment of the present invention. As shown in FIG. 2, the device may be configured to set a multimedia resource publishing server, and the device includes: a receiving module 20, an obtaining module 22, and a processing module 24. , publishing module 26, wherein
接收模块20,设置为接收用于请求发布多媒体资源的请求消息;The receiving module 20 is configured to receive a request message for requesting to issue a multimedia resource;
获取模块22,与接收模块20耦合连接,设置为从内容提供服务器中获取多媒体资源的不同版本,其中,多媒体资源的不同版本之间的码率不同;The obtaining module 22 is coupled to the receiving module 20 and configured to obtain different versions of the multimedia resources from the content providing server, where the code rates between different versions of the multimedia resources are different;
处理模块24,与获取模块22耦合连接,设置为从多媒体资源的不同版本中删除部分版本,并对多媒体资源的剩余版本进行存储;The processing module 24 is coupled to the obtaining module 22, configured to delete a partial version from different versions of the multimedia resource, and store the remaining versions of the multimedia resource;
发布模块26,与处理模块24耦合连接,设置为从多媒体资源的剩余版本中选择一个或多个进行发布。The publishing module 26 is coupled to the processing module 24 and is configured to select one or more of the remaining versions of the multimedia resource for publishing.
图3是根据本发明实施例的多媒体资源的发布装置的可选结构框图一,如图3所示,该装置除包括图2所示的所有模块外,处理模块24还包括:第一判断单元30、第一删除单元32,其中,FIG. 3 is a block diagram of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a first determining unit, in addition to all the modules shown in FIG. 30. The first deleting unit 32, wherein
第一判断单元30,设置为根据多媒体资源的资源类型和预定发布策略判断是否需要删除部分版本;The first determining unit 30 is configured to determine, according to the resource type of the multimedia resource and the predetermined publishing policy, whether the partial version needs to be deleted;
第一删除单元32,与第一判断单元30耦合连接,设置为若判断出需要删除部分版本,则从多媒体资源的不同版本中删除部分版本。The first deleting unit 32 is coupled to the first determining unit 30, and is configured to delete the partial version from different versions of the multimedia resource if it is determined that the partial version needs to be deleted.
图4是根据本发明实施例的多媒体资源的发布装置的可选结构框图二,如图4所示,该装置除包括图3所示的所有模块外,第一判断单元30还包括:判断子单元40、确定子单元42,其中,FIG. 4 is a block diagram 2 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention. As shown in FIG. 4, the device includes, in addition to all the modules shown in FIG. 3, the first determining unit 30 further includes: a determining unit. Unit 40, determining subunit 42, wherein
判断子单元40,设置为判断预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括多媒体资源的资源类型;The determining sub-unit 40 is configured to determine whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes the resource type of the multimedia resource;
确定子单元42,与判断子单元40耦合连接,设置为若包括多媒体资源的资源类型,则判断出需要删除部分版本。The determining sub-unit 42 is coupled to the determining sub-unit 40, and is set to determine that the partial version needs to be deleted if the resource type of the multimedia resource is included.
图5是根据本发明实施例的多媒体资源的发布装置的可选结构框图三,如图5所示,该装置除包括图4所示的所有模块外,处理模块24还包括:第二判断单元50、第二删除单元52,其中,FIG. 5 is a block diagram 3 of an optional structure of a device for distributing multimedia resources according to an embodiment of the present invention. As shown in FIG. 5, the device further includes: a second determining unit, in addition to all the modules shown in FIG. 50. The second deleting unit 52, wherein
第二判断单元50,设置为判断多媒体资源的不同版本是否包括目标版本;The second determining unit 50 is configured to determine whether different versions of the multimedia resource include the target version;
第二删除单元52,设置为若包括目标版本,则从多媒体资源的不同版本中删除目标版本。 The second deleting unit 52 is configured to delete the target version from different versions of the multimedia resource if the target version is included.
可选的,处理模块24还包括:第三删除单元(附图中未标出),设置为从多媒体资源的不同版本中删除码率最高的版本,第三删除单元可以设置在图2、图3、图4、图5所示装置的处理模块24中。Optionally, the processing module 24 further includes: a third deleting unit (not shown in the drawing), configured to delete the version with the highest code rate from different versions of the multimedia resource, and the third deleting unit may be set in FIG. 2 3. In the processing module 24 of the apparatus shown in Figures 4 and 5.
下面结合根据本发明的可选实施例对本发明进行详细说明:The invention will now be described in detail in connection with an alternative embodiment in accordance with the invention:
本可选实施例利用预先对所需要发布内容的类型判断,进而在发布时候对源内容去掉最高码率后进行发布,达到在满足用户体验的同时降低存储空间的占用和带宽的使用。The optional embodiment utilizes the type judgment of the content to be released in advance, and then releases the highest content rate after the source content is released, so as to reduce the occupation of the storage space and the use of bandwidth while satisfying the user experience.
图6是根据本发明实施例的多媒体资源的发布系统的结构图,如图6所示,该系统包括:内容管理系统60、内容接口机61、系统管理装置62,配置装置63,业务负载均衡服务器64,媒体发布服务器65,其中,FIG. 6 is a structural diagram of a multimedia resource issuance system according to an embodiment of the present invention. As shown in FIG. 6, the system includes: a content management system 60, a content interface machine 61, a system management device 62, and a configuration device 63. a server 64, a media distribution server 65, wherein
内容管理系统CMS60,内容管理系统(Content Management System,简称为CMS),负责对内容进行上传,审核,打包等业务逻辑处理,最终将内容发布请求消息(包含Video Frequency字段,1表示低频,2表示中频,3表示高频)发送至内容发布网络(Content Distribution Network,简称为CDN)内容发布系统;Content management system CMS60, content management system (CMS), responsible for uploading, reviewing, packaging and other business logic processing, and finally publishing content request message (including Video Frequency field, 1 means low frequency, 2 means The intermediate frequency, 3 indicates high frequency) is sent to the content distribution network (Content Distribution Network, CDN for short) content distribution system;
内容接口机CIMP61:内容接口机(Content Interface Management Platform,简称为CIMP),负责解析CMS的内容发布消息,并转换成CDN内部消息,透传VideoFrequency字段,通知CDNMGR进行内容发布;Content interface machine CIMP61: Content Interface Management Platform (CIMP), which is responsible for parsing the content distribution message of the CMS, and converting it into a CDN internal message, transparently transmitting the VideoFrequency field, and notifying the CDNMGR to publish the content;
系统管理装置CDNMGR/DB 62:为内部CDN系统的管理者(Content Distribution Network Manager/Database),负责内容的发布和存储控制,透传VideoFrequency字段,将发布消息转发给待发布节点所归属管理的业务负载均衡(Service Load Balance,简称为SLB)服务器;The system management device CDNMGR/DB 62: is the administrator of the internal CDN system (Content Distribution Network Manager/Database), is responsible for content distribution and storage control, transparently transmits the VideoFrequency field, and forwards the published message to the service managed by the node to be released. Service Load Balance (SLB) server;
配置装置CDNWEB63,指配置CDN数据的WEB服务器,将配置的内容发布策略保存进CDNDB(Content Distribution Network Database),并同步给媒体发布服务器;The configuration device CDNWEB63, which is a WEB server that configures CDN data, saves the configured content distribution policy into a CDNDB (Content Distribution Network Database), and synchronizes to the media distribution server;
SLB服务器64,业务负载均衡服务器,负责接收CDNMGR的内容发布消息,并根据各个媒体发布服务器的负载情况,透传VideoFrequency字段,将发布消息发送给当前负载最轻的媒体发布服务器;The SLB server 64, the service load balancing server, is responsible for receiving the content distribution message of the CDNMGR, and transparently transmitting the VideoFrequency field according to the load condition of each media publishing server, and transmitting the publishing message to the media publishing server with the lightest load;
媒体发布服务器65,负责接收SLB(Service Load Balance)的内容发布消息,包括多个媒体发布模块,根据发布请求消息中的Video Frequency字段值并结合CDNWEB服务器所同步的内容发布策略,去源站获取内容,去掉最高码率后发布;The media publishing server 65 is configured to receive a content publishing message of the SLB (Service Load Balance), and includes a plurality of media publishing modules, and obtains a content from the source station according to the Video Frequency field value in the publishing request message and the content publishing policy synchronized by the CDNWEB server. Content, released after removing the highest code rate;
本可选实施例的方法流程还包括:The method flow of this alternative embodiment further includes:
S22,CIMP等待接收CMS的内容发布请求;S22. The CIMP waits to receive a content publishing request of the CMS.
S23,SLB等待接收CDNMGR的内容发布请求;S23, the SLB waits to receive a content distribution request of the CDNMGR;
S24,媒体发布服务器等待接收SLB的内容发布请求;S24. The media publishing server waits to receive a content publishing request of the SLB.
S25,CMS向CIMP发送内容发布请求; S25. The CMS sends a content publishing request to the CIMP.
S26,CIMP将消息转换成CDN内部消息,通知CDNMGR进行内容发布;S26, the CIMP converts the message into a CDN internal message, and notifies the CDNMGR to publish the content;
S27,CDNMGR将消息转发给SLB,通知SLB进行内容发布;S27: The CDNMGR forwards the message to the SLB, and notifies the SLB to perform content distribution;
S28,媒体发布服务器,接收SLB的内容发布请求,根据发布请求消息中的VideoFrequency字段值(1表示低频,2表示中频,3表示高频),以及CDNWEB所同步的内容发布策略,去源站获取内容,去掉最高码率后发布;S28. The media publishing server receives the content publishing request of the SLB, according to the VideoFrequency field value in the publishing request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and the content publishing policy synchronized by the CDNWEB, and the source station obtains Content, released after removing the highest code rate;
使用采用本发明所公开的方法构建的多媒体业务系统:在核心网络平面,媒体发布服务器根据发布请求消息中的VideoFrequency字段值(1表示低频,2表示中频,3表示高频),以及CDNWEB所同步的内容发布策略,去源站获取内容,去掉最高码率后发布。Using the multimedia service system constructed by the method disclosed by the present invention: in the core network plane, the media publishing server according to the VideoFrequency field value in the release request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and CDNWEB synchronizes The content publishing strategy, go to the source station to get the content, remove the highest code rate and release it.
图7是根据本发明可选实施例的多媒体资源的发布系统的工作时序图,如图7所示,包含以下步骤:FIG. 7 is a timing diagram of operations of a multimedia resource distribution system according to an alternative embodiment of the present invention. As shown in FIG. 7, the method includes the following steps:
步骤S301:CIMP服务器开始监听,负责接收CMS发送过来的内容发布请求;Step S301: The CIMP server starts monitoring, and is responsible for receiving a content publishing request sent by the CMS.
步骤S302:CDNMGR服务器开始监听,负责接收CIMP发送过来的内容发布请求;Step S302: The CDNMGR server starts monitoring, and is responsible for receiving the content publishing request sent by the CIMP;
步骤S303:SLB服务器开始监听,负责接收CDNMGR发送过来的内容发布请求Step S303: The SLB server starts monitoring, and is responsible for receiving the content publishing request sent by the CDNMGR.
步骤S304:媒体发布服务器开始监听,负责接收SLB发送过来的内容发布请求;Step S304: The media publishing server starts monitoring, and is responsible for receiving the content publishing request sent by the SLB;
步骤S305:CMS服务器向CIMP服务器发起内容发布请求,请求消息中包含VideoFrequency字段值(1表示低频,2表示中频,3表示高频);Step S305: The CMS server initiates a content publishing request to the CIMP server, where the request message includes a VideoFrequency field value (1 indicates a low frequency, 2 indicates an intermediate frequency, and 3 indicates a high frequency);
步骤S306:CIMP服务器收到CMS服务器的内容发布请求,转换为内部消息格式,透传VideoFrequency字段值,转发给CDNMGR服务器;Step S306: The CIMP server receives the content publishing request of the CMS server, converts it into an internal message format, and transparently transmits the value of the VideoFrequency field to the CDNMGR server.
步骤S307:CDNMGR服务器向SLB服务器透传VideoFrequency字段值,转发内容发布请求;Step S307: The CDNMGR server transparently transmits the VideoFrequency field value to the SLB server, and forwards the content publishing request.
步骤S308:SLB服务器根据负载均衡策略,透传VideoFrequency字段值,转发消息给负载最轻的媒体发布服务器;Step S308: The SLB server transparently transmits the value of the VideoFrequency field according to the load balancing policy, and forwards the message to the media publishing server with the lightest load;
步骤S309:媒体发布服务器根据内容发布请求消息中的VideoFrequency字段值(1表示低频,2表示中频,3表示高频),结合内容发布策略,去源站获取内容,去掉最高码率后发布;Step S309: The media publishing server according to the VideoFrequency field value in the content distribution request message (1 indicates low frequency, 2 indicates intermediate frequency, 3 indicates high frequency), and combines the content publishing strategy to obtain the content from the source station, and removes the highest code rate and then releases the content;
步骤S310:媒体发布服务器向SLB服务器返回内容发布结果;Step S310: The media publishing server returns a content publishing result to the SLB server.
步骤S311:SLB服务器向CDNMGR服务器返回内容发布结果;Step S311: The SLB server returns a content publishing result to the CDNMGR server;
步骤S312:CDNMGR服务器向CIMP服务器返回内容发布结果;Step S312: The CDNMGR server returns a content publishing result to the CIMP server.
步骤S313:CIMP服务器向CMS服务器返回内容发布结果;Step S313: The CIMP server returns a content publishing result to the CMS server.
特别说明:本实施中,媒体发布服务器负责同步CDNWEB配置的内容发布策略,并在收 到内容发布请求后根据内容类型结合发布策略进行相应处理。Special note: In this implementation, the media publishing server is responsible for synchronizing the content publishing policy of the CDNWEB configuration, and receiving After the content is published, the content is processed according to the content type and the publishing policy.
下面结合本实施例的方法在各个场景下的具体应用流程进行说明:The following describes the specific application process in each scenario in conjunction with the method in this embodiment:
示例1Example 1
图8是根据本发明可选实施例的基于Apple HLS场景的示意图,如图8所示,包括:FIG. 8 is a schematic diagram of an Apple HLS based scenario according to an alternative embodiment of the present invention. As shown in FIG. 8, the method includes:
步骤S401:CMS向CIMP发起Apple HLS(动态码率自适应技术)内容发布请求,包含VideoFrequency;Step S401: The CMS initiates an Apple HLS (Dynamic Rate Rate Adaptive Technology) content publishing request to the CIMP, including VideoFrequency;
步骤S402:CIMP透传VideoFrequency给CDNMGR;Step S402: CIMP transparently transmits VideoFrequency to CDNMGR;
步骤S403:CDNMGR透传VideoFrequency给SLB;Step S403: CDNMGR transparently transmits VideoFrequency to the SLB;
步骤S404:SLB透传VideoFrequency给媒体发布服务器;Step S404: The SLB transparently transmits VideoFrequency to the media publishing server;
步骤S405:媒体发布服务器到源站请求主索引文件index.m3u8;Step S405: The media publishing server requests the main index file index.m3u8 from the source station;
步骤S406:媒体发布服务器解析index.m3u8文件,获取文件中的各档码率参数值;Step S406: The media publishing server parses the index.m3u8 file, and obtains the code rate parameter values in the file;
步骤S407:媒体发布服务器去除掉主索引index.m3u8文件里面的最高码率,将剩余码率对应的源文件在本地发布;Step S407: The media publishing server removes the highest code rate in the main index index.m3u8 file, and locally distributes the source file corresponding to the remaining code rate.
示例2Example 2
图9是根据本发明可选实施例的基于DASH场景的示意图,如图9所示,包括:FIG. 9 is a schematic diagram of a DASH-based scenario according to an alternative embodiment of the present invention. As shown in FIG. 9, the method includes:
步骤S501:CMS向CIMP发起DASH内容发布请求,包含VideoFrequency;Step S501: The CMS initiates a DASH content publishing request to the CIMP, including VideoFrequency;
步骤S502:CIMP透传VideoFrequency给CDNMGR;Step S502: CIMP transparently transmits VideoFrequency to CDNMGR;
步骤S503:CDNMGR透传VideoFrequency给SLB;Step S503: CDNMGR transparently transmits VideoFrequency to the SLB;
步骤S504:SLB透传VideoFrequency给媒体发布服务器;Step S504: The SLB transparently transmits VideoFrequency to the media publishing server;
步骤S505:媒体发布服务器到源站请求索引文件manifest.mpd;Step S505: The media publishing server requests the index file manifest.mpd from the source station;
步骤S506:媒体发布服务器解析manifest.mpd文件,获取文件中的各档码率参数值;Step S506: The media publishing server parses the manifest.mpd file, and obtains the code rate parameter values in the file;
步骤S507:媒体发布服务器去除掉manifest.mpd文件里面的最高码率,将剩余码率对应的源文件在本地发布;Step S507: The media publishing server removes the highest code rate in the manifest.mpd file, and locally distributes the source file corresponding to the remaining code rate.
示例3Example 3
图10是根据本发明可选实施例的基于HSS场景的示意图,如图10所示,包括:FIG. 10 is a schematic diagram of an HSS-based scenario according to an alternative embodiment of the present invention. As shown in FIG. 10, the method includes:
步骤S601:CMS向CIMP发起DASH内容发布请求,包含VideoFrequency;Step S601: The CMS initiates a DASH content publishing request to the CIMP, including VideoFrequency;
步骤S602:CIMP透传VideoFrequency给CDNMGR; Step S602: CIMP transparently transmits VideoFrequency to CDNMGR;
步骤S603:CDNMGR透传VideoFrequency给SLB;Step S603: CDNMGR transparently transmits VideoFrequency to the SLB;
步骤S604:SLB透传VideoFrequency给媒体发布服务器;Step S604: The SLB transparently transmits VideoFrequency to the media publishing server;
步骤S605:媒体发布服务器到源站请求索引文件xxx.ism;Step S605: The media publishing server requests the index file xxx.ism from the source station;
步骤S606:媒体发布服务器解析xxx.ism文件,获取文件中的各档码率参数值;Step S606: The media publishing server parses the xxx.ism file, and obtains the code rate parameter values in the file;
步骤S607:媒体发布服务器去除掉xxx.ism文件里面的最高码率,将剩余码率对应的源文件在本地发布;Step S607: The media publishing server removes the highest code rate in the xxx.ism file, and locally distributes the source file corresponding to the remaining code rate.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,媒体发布服务器接收用于请求发布多媒体资源的请求消息;S1. The media publishing server receives a request message for requesting to publish a multimedia resource.
S2,媒体发布服务器从内容提供服务器中获取多媒体资源的不同版本,其中,多媒体资源的不同版本之间的码率不同;S2. The media publishing server acquires different versions of the multimedia resource from the content providing server, where a code rate between different versions of the multimedia resource is different.
S3,媒体发布服务器从多媒体资源的不同版本中删除部分版本,并对多媒体资源的剩余版本进行存储;S3. The media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining versions of the multimedia resource.
S4,媒体发布服务器从多媒体资源的剩余版本中选择一个或多个进行发布。S4. The media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明多媒体资源的发布过程中,采用媒体发布服务器接收用于请求发布多媒体资源的请求消息;所述媒体发布服务器从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;所述媒体发布服务器从所述多媒体资源的剩余版本中选择一个或多个进行发布。解决了相关技术中发布多媒体资源时占用存储空间和带宽过大的问题,进而达到了在保证用户的服务体验下节省存储空间和带宽的效果。 In the process of publishing the multimedia resource of the present invention, the media publishing server receives a request message for requesting to issue a multimedia resource; the media publishing server acquires different versions of the multimedia resource from the content providing server, where the multimedia resource The code rate is different between different versions; the media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining version of the multimedia resource; the media publishing server from the multimedia resource Select one or more of the remaining versions to publish. The invention solves the problem that the storage space and the bandwidth are too large when the multimedia resources are released in the related art, thereby achieving the effect of saving storage space and bandwidth under the service experience of the user.

Claims (10)

  1. 一种多媒体资源的发布方法,包括:A method for distributing multimedia resources, including:
    媒体发布服务器接收用于请求发布多媒体资源的请求消息;The media publishing server receives a request message for requesting to issue a multimedia resource;
    所述媒体发布服务器从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;The media publishing server acquires different versions of the multimedia resource from a content providing server, where a code rate between different versions of the multimedia resource is different;
    所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体资源的剩余版本进行存储;The media publishing server deletes a partial version from different versions of the multimedia resource, and stores the remaining versions of the multimedia resource;
    所述媒体发布服务器从所述多媒体资源的剩余版本中选择一个或多个进行发布。The media publishing server selects one or more of the remaining versions of the multimedia resource for publishing.
  2. 根据权利要求1所述的方法,其中,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:The method of claim 1, wherein the media publishing server deleting a partial version from different versions of the multimedia resource comprises:
    所述媒体发布服务器根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本;Determining, by the media publishing server, whether the partial version needs to be deleted according to the resource type of the multimedia resource and a predetermined publishing policy;
    若判断出需要删除所述部分版本,则所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本。If it is determined that the partial version needs to be deleted, the media publishing server deletes a partial version from different versions of the multimedia resource.
  3. 根据权利要求2所述的方法,其中,所述媒体发布服务器根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本包括:The method according to claim 2, wherein the media publishing server determines whether the partial version needs to be deleted according to the resource type of the multimedia resource and the predetermined publishing policy, including:
    所述媒体发布服务器判断所述预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括所述多媒体资源的资源类型;若包括所述多媒体资源的资源类型,则判断出需要删除所述部分版本。Determining, by the media publishing server, that the target resource type of the target multimedia resource that needs to be deleted by the predetermined publishing policy includes the resource type of the multimedia resource; if the resource type of the multimedia resource is included, determining that the resource type is needed Delete the partial version.
  4. 根据权利要求3所述的方法,其中,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:The method of claim 3, wherein the deleting, by the media publishing server, a partial version from different versions of the multimedia resource comprises:
    所述媒体发布服务器判断所述多媒体资源的不同版本是否包括所述目标版本,若包括所述目标版本,则从所述多媒体资源的不同版本中删除所述目标版本。The media publishing server determines whether different versions of the multimedia resource include the target version, and if the target version is included, deleting the target version from different versions of the multimedia resource.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述媒体发布服务器从所述多媒体资源的不同版本中删除部分版本包括:The method according to any one of claims 1 to 4, wherein the media publishing server deleting a partial version from different versions of the multimedia resource comprises:
    所述媒体发布服务器从所述多媒体资源的不同版本中删除码率最高的版本。The media publishing server deletes the version with the highest code rate from different versions of the multimedia resource.
  6. 一种多媒体资源的发布装置,包括:A device for distributing multimedia resources, comprising:
    接收模块,设置为接收用于请求发布多媒体资源的请求消息;a receiving module, configured to receive a request message for requesting to issue a multimedia resource;
    获取模块,设置为从内容提供服务器中获取所述多媒体资源的不同版本,其中,所述多媒体资源的不同版本之间的码率不同;Obtaining a module, configured to acquire different versions of the multimedia resource from a content providing server, where a code rate between different versions of the multimedia resource is different;
    处理模块,设置为从所述多媒体资源的不同版本中删除部分版本,并对所述多媒体 资源的剩余版本进行存储;a processing module configured to delete a partial version from a different version of the multimedia resource and to the multimedia The remaining versions of the resource are stored;
    发布模块,设置为从所述多媒体资源的剩余版本中选择一个或多个进行发布。A publishing module is configured to select one or more of the remaining versions of the multimedia resource for publishing.
  7. 根据权利要求6所述的装置,其中,所述处理模块还包括:The apparatus of claim 6, wherein the processing module further comprises:
    第一判断单元,设置为根据所述多媒体资源的资源类型和预定发布策略判断是否需要删除所述部分版本;The first determining unit is configured to determine, according to the resource type of the multimedia resource and the predetermined publishing policy, whether the partial version needs to be deleted;
    第一删除单元,设置为若判断出需要删除所述部分版本,则从所述多媒体资源的不同版本中删除部分版本。The first deleting unit is configured to delete the partial version from different versions of the multimedia resource if it is determined that the partial version needs to be deleted.
  8. 根据权利要求7所述的装置,其中,所述第一判断单元包括:The apparatus according to claim 7, wherein said first determining unit comprises:
    判断子单元,设置为判断所述预定发布策略所指示的需要删除目标版本的目标多媒体资源的目标资源类型是否包括所述多媒体资源的资源类型;a determining subunit, configured to determine whether the target resource type of the target multimedia resource that needs to delete the target version indicated by the predetermined publishing policy includes a resource type of the multimedia resource;
    确定子单元,设置为若包括所述多媒体资源的资源类型,则判断出需要删除所述部分版本。Determining the subunit, if it is set to include the resource type of the multimedia resource, determining that the partial version needs to be deleted.
  9. 根据权利要求8所述的装置,其中,所述处理模块还包括:The apparatus of claim 8, wherein the processing module further comprises:
    第二判断单元,设置为判断所述多媒体资源的不同版本是否包括所述目标版本;a second determining unit, configured to determine whether different versions of the multimedia resource include the target version;
    第二删除单元,设置为若包括所述目标版本,则从所述多媒体资源的不同版本中删除所述目标版本。And a second deleting unit, configured to delete the target version from different versions of the multimedia resource if the target version is included.
  10. 根据权利要求6至9中任一项所述的装置,其中,所述处理模块还包括:The apparatus according to any one of claims 6 to 9, wherein the processing module further comprises:
    第三删除单元,设置为从所述多媒体资源的不同版本中删除码率最高的版本。 And a third deleting unit, configured to delete the version with the highest code rate from different versions of the multimedia resource.
PCT/CN2016/102763 2015-10-27 2016-10-20 Multimedia resource publishing method and apparatus WO2017071524A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510708430.3 2015-10-27
CN201510708430.3A CN106612269A (en) 2015-10-27 2015-10-27 Multimedia resource issuing method and device

Publications (1)

Publication Number Publication Date
WO2017071524A1 true WO2017071524A1 (en) 2017-05-04

Family

ID=58614345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102763 WO2017071524A1 (en) 2015-10-27 2016-10-20 Multimedia resource publishing method and apparatus

Country Status (2)

Country Link
CN (1) CN106612269A (en)
WO (1) WO2017071524A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414515A (en) * 2020-03-17 2020-07-14 中国建设银行股份有限公司 Resource auditing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080172692A1 (en) * 2007-01-16 2008-07-17 Sony Corporation Program distribution system and recording and reproduction device
CN101765003A (en) * 2008-12-23 2010-06-30 上海茂碧信息科技有限公司 Method for transmitting audio and video under environment of network with different speeds
CN102395047A (en) * 2011-10-25 2012-03-28 深圳市同洲电子股份有限公司 Method and equipment for deleting multi-media contents in content publishing network nodes
CN103369368A (en) * 2013-06-24 2013-10-23 西安交通大学 Video cloud on-demand cache scheduling method supporting multi-code-rate version
CN104010232A (en) * 2014-05-23 2014-08-27 惠州Tcl移动通信有限公司 Method and system for intelligently playing online videos, player and mobile terminal
CN104202356A (en) * 2014-08-07 2014-12-10 西安交通大学 A video file deploying method of a video cloud on-demand system based on a multi-code-rate version

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800885A (en) * 2010-02-26 2010-08-11 北京新岸线网络技术有限公司 Video data distribution method and system method and system for distributing video data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080172692A1 (en) * 2007-01-16 2008-07-17 Sony Corporation Program distribution system and recording and reproduction device
CN101765003A (en) * 2008-12-23 2010-06-30 上海茂碧信息科技有限公司 Method for transmitting audio and video under environment of network with different speeds
CN102395047A (en) * 2011-10-25 2012-03-28 深圳市同洲电子股份有限公司 Method and equipment for deleting multi-media contents in content publishing network nodes
CN103369368A (en) * 2013-06-24 2013-10-23 西安交通大学 Video cloud on-demand cache scheduling method supporting multi-code-rate version
CN104010232A (en) * 2014-05-23 2014-08-27 惠州Tcl移动通信有限公司 Method and system for intelligently playing online videos, player and mobile terminal
CN104202356A (en) * 2014-08-07 2014-12-10 西安交通大学 A video file deploying method of a video cloud on-demand system based on a multi-code-rate version

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414515A (en) * 2020-03-17 2020-07-14 中国建设银行股份有限公司 Resource auditing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106612269A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US10616301B2 (en) Request-based encoding for streaming content portions
KR102305064B1 (en) Video live broadcasting method and device
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
WO2017088381A1 (en) Method, apparatus and system for playing live video
CN102547478B (en) Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network)
WO2019084972A1 (en) Streaming media live broadcast method and system
US8352931B2 (en) Data push service method and system using data pull model
CN108063769B (en) Method and device for realizing content service and content distribution network node
CN106993054A (en) Document distribution method, node and system
EP2493191B1 (en) Method, device and system for realizing hierarchically requesting content in http streaming system
WO2015165395A1 (en) Video playback method and apparatus
CN103813185B (en) A kind of method that segment programs are quickly distributed, server and client
CN108924609B (en) Streaming media data transmission method, electronic equipment, device and storage medium
US9866602B2 (en) Adaptive bit rates during broadcast transmission in distributed content delivery networks
CN110445723A (en) A kind of network data dispatching method and fringe node
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
CN103841468A (en) Real-time streaming media data transmission method
EP3902279A1 (en) Audio and video stream distribution method in audio and video stream distribution system, and dynamic parent node
WO2017071524A1 (en) Multimedia resource publishing method and apparatus
US20160127491A1 (en) Cloud service system, cloud sevice device, and method using same
CN105100147A (en) Controlmethod and device based on separation of content provider and service provider
CN110417902B (en) Streaming network service load method, related device and readable storage medium
WO2014117508A1 (en) Content delivery network and content management method in content delivery network
WO2016165596A1 (en) Multimedia file control method and system

Legal Events

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

Ref document number: 16858959

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858959

Country of ref document: EP

Kind code of ref document: A1