WO2017193760A1 - Content publishing method, device and system, and content-distributed network system - Google Patents
Content publishing method, device and system, and content-distributed network system Download PDFInfo
- Publication number
- WO2017193760A1 WO2017193760A1 PCT/CN2017/080370 CN2017080370W WO2017193760A1 WO 2017193760 A1 WO2017193760 A1 WO 2017193760A1 CN 2017080370 W CN2017080370 W CN 2017080370W WO 2017193760 A1 WO2017193760 A1 WO 2017193760A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transcoding
- multimedia content
- content
- publishing
- multimedia
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012544 monitoring process Methods 0.000 claims description 58
- 238000006243 chemical reaction Methods 0.000 description 13
- 238000004806 packaging method and process Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012552 review Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing 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/234309—Processing 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 by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
Definitions
- the present disclosure relates to the field of multimedia services, and in particular, to a content publishing method, apparatus, and system, and a content distributed network system.
- IPTV/OTT Internet TV
- IPTV/OTT Internet TV
- the traditional content transcoding is generally implemented by manually translating the original source on the encoder 40, and then publishing the transcoded content to the storage system through the publishing process.
- the accuracy of this traditional manual processing method is not guaranteed, and the efficiency is low. It is stretched when dealing with large-volume content that needs to be transcoded and released.
- the present disclosure provides a content distribution method, apparatus, and system, and a content distribution network system, which are intended to solve the problem of inefficiency and poor experience caused by performing transcoding of multimedia content by using a manual processing method in the related art.
- a content publishing method including:
- the transcoded multimedia content is released.
- the publishing policy further includes a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, and the target identifier includes target bit rate information of the multimedia content;
- Performing transcoding on the multimedia content includes performing transcoding on the multimedia information according to the source identifier and the target identifier.
- the method when performing transcoding on the multimedia content, the method further includes: monitoring completion of transcoding of the multimedia content.
- the completing the monitoring multimedia content comprises: receiving the monitoring message according to the fixed time interval; and after the transcoding of the multimedia content is completed, feeding back the transcoding completion message according to the monitoring message.
- the releasing the transcoded multimedia content comprises: selecting a media publishing server according to a load balancing principle, and publishing, by the media publishing server, the transcoded multimedia content.
- a content distribution apparatus including:
- transcoding module configured to perform transcoding on the multimedia content in a publishing policy for identifying the multimedia content Perform transcoding on the multimedia content when transcoding control information
- the content publishing module is configured to publish the transcoded multimedia content.
- a monitoring module is further configured to monitor completion of transcoding of the multimedia content.
- the monitoring module includes a monitoring message receiving module and a monitoring message feedback module, where the monitoring message receiving module is configured to receive the monitoring message periodically; the monitoring message feedback module is configured to: when the transcoding of the multimedia content is completed And feeding back the coding completion message according to the monitoring message.
- the content publishing module further includes a balancing module, configured to select a media publishing server according to a load balancing principle, and publish the transcoded multimedia content.
- a balancing module configured to select a media publishing server according to a load balancing principle, and publish the transcoded multimedia content.
- the present disclosure further provides a content distributed network system, including a content interface machine, system management, and at least one media publishing server;
- the content interface device is configured to obtain a publishing policy of the multimedia content, and send the transcoding request message to the encoder when the transcoding control information is included in the publishing policy, including performing transcoding on the multimedia;
- the system management is configured to control the media publishing server to publish the transcoded multimedia content
- the media publishing server is configured to publish the transcoded multimedia content.
- the content interface device is further configured to periodically send monitoring information to the encoder, and receive a transcoding completion message after the transcoding of the multimedia content is completed.
- the service load balancing server is further configured to: before the media publishing server issues the transcoded multimedia content, select a media publishing server according to a load balancing principle, to perform the transcoded multimedia content. release.
- the present disclosure also provides a content distribution system, including a content management system, an encoder, and the content distribution network system described above, wherein:
- the content management system is configured to mark a publishing policy of the generated multimedia content, where the publishing policy at least includes transcoding control information for performing transcoding on the multimedia content;
- the encoder is configured to receive a transcoding request message, and perform transcoding on the multimedia content according to the transcoding request message.
- an embodiment of the present disclosure further provides a content distribution device, including:
- a memory for storing instructions executable by the processor
- the processor is configured to perform an action according to the instruction stored in the memory, the action comprising:
- the transcoded multimedia content is released.
- a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing an implementation of any one of the foregoing embodiments.
- the present disclosure provides a content distribution method, apparatus, and system, and a content distribution network system.
- a distribution policy for identifying multimedia content includes transcoding control information for performing transcoding on the multimedia content
- the disclosure is performed on the multimedia content.
- the publishing policy of the generated multimedia content is marked, it can automatically determine whether to perform transcoding according to the transcoding control information in the publishing policy, thereby eliminating the manual link and improving the efficiency while ensuring the user experience. .
- FIG. 1 is a flowchart of a content publishing method according to an embodiment of the present disclosure
- FIG. 2 is a schematic block diagram of a content distribution apparatus according to an embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of a content distributed network system according to an embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram of a content distribution system according to an embodiment of the present disclosure.
- FIG. 5 is a flowchart of a content publishing method according to an embodiment of the present disclosure
- FIG. 6 is a schematic flowchart diagram of a content publishing method according to an embodiment of the present disclosure.
- the idea of the present disclosure is to first obtain a publishing policy when publishing the multimedia content, and then, according to the publishing policy, automatically determine that the transcoding needs to be performed according to the transcoding control information in the publishing policy, and then perform the transcoding on the multimedia content, and The multimedia content is released after the transcoding is successful. While satisfying the user experience, the manual processing is eliminated, and the fault tolerance and processing efficiency are improved.
- This embodiment provides a multimedia content publishing method.
- the method includes:
- the multimedia content in this embodiment may include video content, audio content, image content, etc.
- the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
- the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process.
- the grading process can be considered as transcoding of multimedia content.
- the transcoding efficiency will be low and the accuracy cannot be guaranteed.
- the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content.
- the publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system.
- the publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content.
- the transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
- the transcoding control information should be easily recognized, so that work efficiency can be improved.
- the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content.
- the field defining the transcoding control information is Encode
- the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode : 1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
- the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed.
- the code rate is the same code rate, and the same code rate includes standard definition, high definition, ultra clear, blue light, etc., regardless of the source code of the source multimedia content, the transcoding is a uniform code rate; Or according to the current network conditions, the resolution of the multimedia content is uniformly reduced, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, the code rate of the multimedia content can be uniformly increased; or different multimedia content Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment.
- the choice of encoder is also varied, and can be selected according to the type of multimedia content, such as the commonly used encoder with ENVIVO encoder and so on.
- the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes a target of the multimedia content.
- Rate information that is, code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, then when the publishing policy includes the source identifier and the target identifier, the encoder Perform transcoding of the multimedia content based on the source identifier and the target identifier.
- the original content rate multimedia content is transcoded to the target code rate.
- the publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
- the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content.
- the field of the source code rate is set to Bitrate
- the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source
- Bitrate: 8000 indicates the HD bit rate or the HD source, etc.
- the code rate field is Definition
- the corresponding field value is Definition: 0 means smooth code rate or smooth definition
- Definition: 1 means SD code rate or SD definition
- Definition: 4 means HD code rate. Or HD resolution.
- the source code rate is determined according to the field value of Bitrate, and the target code rate is determined according to Definition, thereby performing the multimedia content. Transcode.
- the multimedia content When multimedia content is uploaded, the multimedia content is naturally stored.
- the location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path.
- the storage path of the multimedia content After determining that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the encoder, and the encoder obtains the uploaded multimedia content from the storage path, and performs a transcoding operation on the multimedia content.
- the multimedia content may also be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the encoder may be provided with a storage path after the transcoding of the multimedia content, thereby determining the transcoding after the transcoding. Storage location.
- the storage path in this embodiment includes a pre-transcoding and post-transcoding storage path, which may be in the form of a URL (Uniform Resource Locator), which exists in the publishing policy of the multimedia content, that is, according to The publishing policy, in addition to determining whether the multimedia content needs to be transcoded, can also determine the location stored before and after the multimedia content is transcoded.
- URL Uniform Resource Locator
- the method further includes receiving the monitoring message according to a fixed time interval, and the sending of the monitoring message may be performed by a CIMP (Content Interface Management Platform) or by a CDNMGR/DB (Content Distribution Network). Manager/Database, System Management) to complete.
- CIMP Content Interface Management Platform
- CDNMGR/DB Content Distribution Network
- the encoder 40 receives the monitoring message, and after the multimedia content transcoding is completed, feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the corresponding device that sends the monitoring message according to the source of the monitoring message.
- the purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
- the method further includes selecting a media publishing server according to a load balancing principle, and publishing the transcoded multimedia content by the selected media publishing server. Selecting the media publishing server according to the load balancing principle means that the load of each media publishing server is equal as much as possible. Generally speaking, it is often selected that the media publishing server with a small load publishes the transcoded multimedia content.
- the transcoding control information does not need to perform transcoding on the multimedia content, then the multimedia content is directly published.
- the feedback process can be from the media release server to the system management, to the content interface machine, to the device that uploads the multimedia content, that is, the CMS (Content Management System, content). Management system) to complete the entire release process.
- CMS Content Management System, content). Management system
- the efficiency of the transcoding can be accelerated, and the multimedia content can be released faster under the premise of ensuring the user experience.
- This embodiment provides a multimedia content distribution apparatus. Referring to FIG. 2, the method includes:
- the transcoding module 11 is configured to perform transcoding on the multimedia content in the publishing policy for identifying the multimedia content. Transcoding the multimedia content when transcoding control information;
- the content distribution module 12 is configured to publish the transcoded multimedia content.
- the multimedia content in this embodiment may include video content, audio content, image content, etc.
- the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
- the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process.
- the grading process can be considered as transcoding of multimedia content.
- the transcoding efficiency will be low and the accuracy cannot be guaranteed. Therefore, after the multimedia content is generated, its publishing policy is determined, and the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content.
- the publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system.
- the publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content.
- the transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
- the transcoding control information should be easily recognized, so that work efficiency can be improved.
- the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content.
- the field defining the transcoding control information is Encode
- the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode : 1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
- the transcoding module 11 After knowing the transcoding control information in the publishing policy, it can determine whether the transcoding of the multimedia content needs to be performed according to the transcoding control information therein. If the result of the judgment is that transcoding is required for the multimedia content, then the transcoding module 11 is required to perform transcoding on the multimedia content.
- the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed.
- the code rate is the same code rate, and the same code rate includes standard definition, high definition, ultra clear, blue light, etc., regardless of the source code of the source multimedia content, the transcoding is a uniform code rate; Or according to the current network conditions, the resolution of the multimedia content is uniformly reduced, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, the code rate of the multimedia content can be uniformly increased; or different multimedia content Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment.
- the transcoding module 11 includes an encoder.
- the selection of the encoder is also various, and the corresponding selection may be made according to the type of the multimedia content. For example, the commonly used encoder has an ENVIVO encoder and the like.
- the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes the multimedia identifier.
- the target rate information of the content that is, the code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, then when the publishing policy includes the source identifier and the target identifier,
- the encoder performs transcoding of the multimedia content based on the source identifier and the target identifier.
- the original content rate multimedia content is transcoded to the target code rate.
- the publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
- the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content.
- the field of the source code rate is set to Bitrate
- the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source
- Bitrate: 8000 indicates the HD bit rate or the HD source, etc.
- the code rate field is Definition
- the corresponding field value is Definition: 0 means smooth code rate or smooth definition
- Definition: 1 means SD code rate or SD definition
- Definition: 4 means HD code rate. Or HD resolution.
- the source code rate is determined according to the field value of Bitrate
- the target code rate is determined according to Definition, thereby performing transcoding on the multimedia content.
- the multimedia content When multimedia content is uploaded, the multimedia content is naturally stored.
- the location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path.
- the storage path of the multimedia content After determining that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the transcoding module 11, and the transcoding module 11 obtains the uploaded multimedia content from the storage path, and performs a transcoding operation on the multimedia content.
- the multimedia content may be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the transcoding module 11 may be provided with the storage path after the transcoding of the multimedia content, thereby determining the transfer.
- the storage location after the code After determining that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the transcoding module 11, and the transcoding module 11 obtains the uploaded multimedia content from the storage path, and performs a transcoding operation on the multimedia content.
- the storage path in this embodiment includes a pre-transcoding and post-transcoding storage path, which may be in the form of a URL, and exists in a publishing policy of the multimedia content, that is, according to the publishing policy, it may be determined whether The multimedia content is transcoded to determine the location of the multimedia content before and after transcoding.
- a monitoring module 13 can be included for monitoring the degree of completion of transcoding of the multimedia content.
- the monitoring module 13 includes a monitoring message receiving module 131 and a monitoring message feedback module 132.
- the monitoring message receiving module 131 is configured to receive the monitoring message according to a fixed time interval.
- the sending of the monitoring message may be performed by CIMP, or may be This is done by CDNMGR/DB.
- the transcoding module 11 receives the monitoring message, and after the multimedia content transcoding is completed, the monitoring message feedback module 132 feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the corresponding sending according to the source of the monitoring message.
- the device that monitors the message. The purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
- the content publishing module 12 further includes a balancing module. 121.
- the method is used to select a media publishing server according to a load balancing principle, and release the transcoded multimedia content by the selected media publishing server.
- the media publishing server is included in the content publishing module 12, and the content publishing module 12 includes at least one media server. Selecting the media publishing server according to the load balancing principle means that the load of each media publishing server is equal as much as possible. Generally speaking, it is often selected that the media publishing server with a small load publishes the transcoded multimedia content.
- the transcoding control information does not need to perform transcoding on the multimedia content
- the multimedia content is directly published.
- the published executable is still the media publishing server 23.
- the feedback process may be from the media release server to the system management, to the content interface machine, to the device that uploads the multimedia content, that is, the CMS, thereby completing the entire release process. .
- the efficiency of transcoding can be speeded up, and the multimedia content can be released faster under the premise of ensuring the user experience.
- This embodiment provides a content distributed network system, please refer to FIG. 3, including a content interface machine 21, a system management 22, and at least one media publishing server 23;
- the content interface machine 21 is configured to obtain a publishing policy of the multimedia content, and send a transcoding request message to the encoder 40 when the transcoding control information is performed on the multimedia, including the transcoding control information for performing transcoding on the multimedia;
- the system management 22 is configured to control the media publishing server 23 to publish the transcoded multimedia content
- the media distribution server 23 is configured to publish the transcoded multimedia content.
- the multimedia content is generated, it is uploaded by the content management system 30, that is, uploaded to a preset server address.
- the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable.
- the multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
- the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process.
- the grading process can be considered as transcoding of multimedia content.
- the transcoding efficiency will be low and the accuracy cannot be guaranteed. Therefore, after the multimedia content is generated, its publishing policy is determined, and the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content.
- the publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system.
- the publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content.
- the transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
- the transcoding control information should be easily recognized, so that work efficiency can be improved.
- the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content.
- the field defining the transcoding control information is Encode
- the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode : 1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
- the content interface machine 21 can determine whether it is necessary to perform transcoding on the multimedia content according to the transcoding control information therein. If the result of the determination is that transcoding of the multimedia content is required, then the encoder 40 is required to perform transcoding on the multimedia content.
- the content interface machine 21 transmits a transcoding request message to the encoder 40, and the encoder 40 performs transcoding on the multimedia content according to the transcoding request message.
- the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed.
- the code rate is the same code rate, and the same code rate includes SD, HD, Ultra Clear, Blu-ray, etc., regardless of the source code of the source multimedia content, the same code rate after transcoding; Or according to the current network condition, the same is to reduce the definition of the multimedia content, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, can also increase the code rate of the multimedia content uniformly; or for different multimedia content. Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment.
- the selection of the encoder 40 is also various, and the corresponding selection can be made according to the type of the multimedia content. For example, the commonly used encoder 40 has the ENVIVO encoder 40 and the like.
- the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes a target of the multimedia content.
- the code rate information that is, the code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, the encoder 40 is used when the publishing policy includes the source identifier and the target identifier. Transcoding the multimedia content according to the source identifier and the target identifier. In other words, the original content rate multimedia content is transcoded to the target code rate. It is worth mentioning that the two parameters of the original bit rate and the target bit rate are not necessary.
- the publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
- the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content.
- the field of the source code rate is set to Bitrate
- the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source
- Bitrate: 8000 indicates the HD bit rate or the HD source, etc.
- the code rate field is Definition
- the corresponding field value is Definition: 0 means smooth code rate or smooth definition
- Definition: 1 means SD code rate or SD definition
- Definition: 4 means HD code rate. Or HD resolution.
- the source code rate is determined according to the field value of Bitrate
- the target code rate is determined according to Definition, thereby performing transcoding on the multimedia content.
- the multimedia content When multimedia content is uploaded, the multimedia content is naturally stored.
- the location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path.
- the storage path of the multimedia content needs to be sent to the encoder 40, and the encoder 40 obtains the uploaded multimedia content from the storage path, and performs the transfer on the multimedia content. Code operation.
- the multimedia content can also be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the encoder 40 can be provided with the storage path after the transcoding of the multimedia content, thereby determining the transcoding. After the storage location.
- the storage path in this embodiment includes a storage path before and after transcoding. It may be in the form of a URL, which exists in the publishing policy of the multimedia content, that is, according to the publishing policy, in addition to determining whether the multimedia content needs to be transcoded, the location stored before and after the transcoding of the multimedia content may also be determined. It should be noted that the content interface device 21 needs to send a transcoding request message to the encoder 40 after determining that the multimedia content needs to be transcoded, and the transcoding request message may include information such as a source identifier, a target identifier, a storage path, and the like.
- the transcoding request message may also be a publishing policy of the multimedia content, and the content of the transcoding request message and the publishing policy may be consistent, the difference may be that the format is different due to the difference between the content interface machine 21 and the encoder 40.
- the encoder 40 can also spontaneously acquire the required content. This is not limited in this embodiment.
- the content interface machine 21 is also used to monitor the completion of transcoding of multimedia content.
- the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval, and the encoder 40 receives the monitoring message.
- the encoder 40 receives the monitoring message, and after the multimedia content transcoding is completed, feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the content interface device 21 according to the source of the monitoring message.
- the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval.
- the encoder 40 does not need to respond to the message; after the transcoding is completed, the encoder 40
- the transcoding completion message is fed back to the content interface unit 21.
- the purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
- the content interface machine 21 After the content interface machine 21 receives the transcoding completion message fed back by the encoder 40, the content interface machine 21 sends a content distribution request to the system management 22; the system management 22 notifies the media distribution server 23 of the multimedia content according to the content distribution request.
- the service load balancing server 24 is further included.
- the media publishing server 23 issues the transcoded multimedia content. Selecting the media distribution server 23 according to the load balancing principle means that the load of each media distribution server 23 is equal as much as possible. Generally, the media distribution server 23 that selects a small load often issues the transcoded multimedia content.
- the transcoding control information does not need to perform transcoding on the multimedia content
- the multimedia content is directly published.
- the published executable is still the media publishing server 23.
- the feedback process may be from the media distribution server 23 to the service equalization server, to the system management 22, and then to the content interface machine 21, to the device that uploads the multimedia content. , that is, CMS, to complete the entire release process.
- the efficiency of transcoding can be speeded up, and the multimedia content can be released faster under the premise of ensuring the user experience.
- This embodiment provides a content distribution system.
- the content management system 30 and the encoder 40 are included.
- the above-mentioned content distributed network system 20, and the content distributed network system 20 is consistent with the above embodiments, and details are not described herein again.
- a content management system 30 configured to mark a publishing policy of the generated multimedia content, where the publishing policy at least includes transcoding control information for performing transcoding on the multimedia content;
- the encoder 40 is configured to receive the transcoding request message sent by the content interface device 21, and transcode the multimedia content according to the transcoding request message.
- the content management system 30 is actually used to upload the generated multimedia content, that is, upload to a preset server address.
- the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable.
- the multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video rate, conversion of an audio format, or conversion of an image format, a pixel, and the like.
- the video content may include TS (Jun Gun Edition) content, MP4 (Moving Picture Experts Group 4) content, FLV (Flash Video, streaming media format) content, and the like.
- the encoder 40 is configured to transcode the multimedia content. After the content interface device 21 determines that the multimedia content needs to be transcoded, it sends a transcoding request message to the encoder 40, and the encoder 40 transcodes the multimedia content according to the transcoding request message.
- the transcoding request message includes at least an instruction to transcode the multimedia content, and may further include other information in the publishing policy, such as information such as source identifier, target identifier, storage path, etc., and the transcoding request message may be multimedia content.
- the publishing policy, the content of the transcoding request message and the publishing policy may be identical, and the difference may be that the format is different due to the difference between the content broker and the encoder 40.
- the encoder 40 can also spontaneously acquire the required content. This is not limited in this embodiment.
- the content interface machine 21 monitors the transcode completion degree of the encoder 40
- the monitoring message is transmitted to the encoder 40 at a fixed time interval, and the encoder 40 receives the monitoring message at the same time interval.
- the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval.
- the encoder 40 does not need to respond to the message; after the transcoding is completed, the encoder 40
- the transcoding completion message is fed back to the content interface unit 21.
- the purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
- This embodiment provides a multimedia content publishing method. Referring to FIG. 5 and FIG. 6, the method includes:
- the content management system 30 initiates a publishing policy of the multimedia content to the content interface device 21, where the publishing policy includes a transcoding control information Encode field, a target identifier Definition field, and a source identifier Bitrate field.
- Encode 1 means that transcoding is required
- Definition of 4 means transcoding to high definition
- Bitrate 2000 means the source is standard definition source
- the content interface machine 21 receives the publishing policy of the content management system 30, determines that the transcoding needs to be performed, and then generates a corresponding presetid according to the combination of the Definition field value and the Bitrate field value, and sends a transcoding request message to the ENVIVO encoder 40;
- jobname is the name of the transcoding task
- inputfilename is the path of the multimedia content to be transcoded
- outputfilename is the path of the multimedia content after transcoding
- the ENVIVO encoder 40 starts performing transcoding, and returns a task identifier jobid of the task for performing transcoding on the multimedia task, for the subsequent content interface machine 21 to query the transcoding result of the transcoding task; wherein, performing transcoding on the multimedia task
- the task identification jobid of the task is: ( ⁇ jobid>aa1d3d12d45ec856e51565243f1a2716 ⁇ /jobid>);
- the CIMP server sends a monitoring message to the ENVIVO encoder 40 at a timing of 5 minutes.
- the content interface machine 21 sends a content distribution request to the system management 22;
- S307 The system management 22 forwards the content publishing request to the service load balancing server 24;
- S308 The service load balancing server 24 forwards the content publishing request to the lightest load according to the load balancing principle.
- the media publishing server 23 obtains the content according to the publishing URL in the content publishing request, and performs publishing;
- the media publishing server 23 returns a content publishing result to the service load balancing server 24;
- S311 The SLB server returns a content publishing result to the system management 22;
- the embodiment of the present disclosure further provides a content distribution device, including:
- a memory for storing instructions executable by the processor
- the processor is configured to perform an action according to the instruction stored in the memory, the action comprising:
- the transcoded multimedia content is released.
- a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing an implementation of any one of the foregoing embodiments.
- the content publishing method provided by the embodiment of the present disclosure can be applied to a content distributed network system, and after determining the publishing policy of the generated multimedia content, automatically determining whether to perform the forwarding according to the transcoding control information in the publishing policy.
- the code eliminates the manual link and improves the efficiency while ensuring the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Provided are a content publishing method, device and system, and a content-distributed network system. When a publishing strategy of recognising a multi-media content comprises transcoding control information for transcoding a multi-media content, transcoding is executed on the multi-media content, and then the transcoded multi-media content is published after the transcoding is completed. After the publishing strategy for the generated multi-media content is marked, whether to perform transcoding can be automatically determined according to the transcoding control information in the publishing strategy, thereby omitting the link of manual work, and improving the efficiency while ensuring the user experience is positive.
Description
本公开涉及多媒体业务领域,尤其涉及一种内容发布方法、装置和系统以及内容分布式网络系统。The present disclosure relates to the field of multimedia services, and in particular, to a content publishing method, apparatus, and system, and a content distributed network system.
网络带宽的提高和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 (Internet TV) technology provides a way to transmit video, audio, pictures and other media content in the network, and thus has been widely used in multimedia services. At the same time, with the development of Internet technology, the demand and clarity requirements of mobile phone users for video services are getting higher and higher. How to solve the problem of large files transcoding into small files with multiple bitrates is urgently needed.
传统的内容转码发布的方案,一般是将原始片源通过人工方式在编码器40上执行转码后存放,再通过发布流程将转码后的内容发布到存储系统中。这种传统的人工处理方式准确率不能保证,且效率低,在处理大批量需要转码后进行发布的内容时显得捉襟见肘。The traditional content transcoding is generally implemented by manually translating the original source on the encoder 40, and then publishing the transcoded content to the storage system through the publishing process. The accuracy of this traditional manual processing method is not guaranteed, and the efficiency is low. It is stretched when dealing with large-volume content that needs to be transcoded and released.
发明内容Summary of the invention
本公开提供了一种内容发布方法、装置和系统以及内容分布式网络系统,旨在解决相关技术中采用人工处理方式对多媒体内容执行转码而导致的效率低下,体验差的问题。The present disclosure provides a content distribution method, apparatus, and system, and a content distribution network system, which are intended to solve the problem of inefficiency and poor experience caused by performing transcoding of multimedia content by using a manual processing method in the related art.
为了解决上述技术问题,本公开提供了一种内容发布方法,包括:In order to solve the above technical problem, the present disclosure provides a content publishing method, including:
在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对所述多媒体内容执行转码;And performing, in the publishing policy for identifying the multimedia content, performing transcoding on the multimedia content, when performing transcoding control information on the multimedia content;
转码完成后,将转码后的所述多媒体内容进行发布。After the transcoding is completed, the transcoded multimedia content is released.
可选的,所述发布策略还包括来源标识和目标标识;所述来源标识包括所述多媒体内容的来源码率信息,所述目标标识包括所述多媒体内容的目标码率信息;Optionally, the publishing policy further includes a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, and the target identifier includes target bit rate information of the multimedia content;
所述对多媒体内容执行转码包括:根据所述来源标识和所述目标标识对所述多媒体信息执行转码。Performing transcoding on the multimedia content includes performing transcoding on the multimedia information according to the source identifier and the target identifier.
可选的,在所述对多媒体内容执行转码时,还包括:监控所述多媒体内容转码的完成度。Optionally, when performing transcoding on the multimedia content, the method further includes: monitoring completion of transcoding of the multimedia content.
可选的,所述监控多媒体内容的完成度包括:按照固定的时间间隔接收监控消息;当所述多媒体内容的转码完成后,根据所述监控消息反馈转码完成消息。Optionally, the completing the monitoring multimedia content comprises: receiving the monitoring message according to the fixed time interval; and after the transcoding of the multimedia content is completed, feeding back the transcoding completion message according to the monitoring message.
可选的,所述将转码后的多媒体内容进行发布包括:根据负载平衡原则选择媒体发布服务器,并由所述媒体发布服务器对所述转码后的多媒体内容进行发布。Optionally, the releasing the transcoded multimedia content comprises: selecting a media publishing server according to a load balancing principle, and publishing, by the media publishing server, the transcoded multimedia content.
进一步的,本公开还提供了一种内容发布装置,包括:Further, the present disclosure further provides a content distribution apparatus, including:
转码模块,用于在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码
的转码控制信息时,对所述多媒体内容执行转码;a transcoding module, configured to perform transcoding on the multimedia content in a publishing policy for identifying the multimedia content
Perform transcoding on the multimedia content when transcoding control information;
内容发布模块,用于将转码后的多媒体内容进行发布。The content publishing module is configured to publish the transcoded multimedia content.
可选的,还包括监控模块,用于监控所述多媒体内容转码的完成度。Optionally, a monitoring module is further configured to monitor completion of transcoding of the multimedia content.
可选的,所述监控模块包括监控消息接收模块和监控消息反馈模块,所述监控消息接收模块用于定时接收监控消息;所述监控消息反馈模块用于当所述多媒体内容的转码完成后,根据所述监控消息反馈编码完成消息。Optionally, the monitoring module includes a monitoring message receiving module and a monitoring message feedback module, where the monitoring message receiving module is configured to receive the monitoring message periodically; the monitoring message feedback module is configured to: when the transcoding of the multimedia content is completed And feeding back the coding completion message according to the monitoring message.
可选的,所述内容发布模块还包括平衡模块,用于根据负载平衡原则选择媒体发布服务器,并对所述转码后的多媒体内容进行发布。Optionally, the content publishing module further includes a balancing module, configured to select a media publishing server according to a load balancing principle, and publish the transcoded multimedia content.
进一步的,本公开还提供了一种内容分布式网络系统,包括内容接口机、系统管理以及至少一个媒体发布服务器;Further, the present disclosure further provides a content distributed network system, including a content interface machine, system management, and at least one media publishing server;
所述内容接口机用于获取多媒体内容的发布策略,并在识别出所述发布策略中,包括对所述多媒体执行转码的转码控制信息时,向编码器发送转码请求消息;The content interface device is configured to obtain a publishing policy of the multimedia content, and send the transcoding request message to the encoder when the transcoding control information is included in the publishing policy, including performing transcoding on the multimedia;
所述系统管理用于控制所述媒体发布服务器对转码后的所述多媒体内容进行发布;The system management is configured to control the media publishing server to publish the transcoded multimedia content;
所述媒体发布服务器用于对转码后的所述多媒体内容进行发布。The media publishing server is configured to publish the transcoded multimedia content.
可选的,所述内容接口机还用于定时向所述编码器发送监控信息,并在所述多媒体内容的转码完成后,接收转码完成消息。Optionally, the content interface device is further configured to periodically send monitoring information to the encoder, and receive a transcoding completion message after the transcoding of the multimedia content is completed.
可选的,还包括业务负载均衡服务器,用于在所述媒体发布服务器对转码后的多媒体内容进行发布之前,根据负载平衡原则选择媒体发布服务器,以对转码后的所述多媒体内容进行发布。Optionally, the service load balancing server is further configured to: before the media publishing server issues the transcoded multimedia content, select a media publishing server according to a load balancing principle, to perform the transcoded multimedia content. release.
进一步的,本公开还提供了一种内容发布系统,包括内容管理系统、编码器以及上述的内容分布式网络系统,其中:Further, the present disclosure also provides a content distribution system, including a content management system, an encoder, and the content distribution network system described above, wherein:
所述内容管理系统用于标记生成的多媒体内容的发布策略,所述发布策略至少包括是否对所述多媒体内容执行转码的转码控制信息;The content management system is configured to mark a publishing policy of the generated multimedia content, where the publishing policy at least includes transcoding control information for performing transcoding on the multimedia content;
所述编码器用于接收转码请求消息,并根据所述转码请求消息对所述多媒体内容执行转码。The encoder is configured to receive a transcoding request message, and perform transcoding on the multimedia content according to the transcoding request message.
为解决上述技术问题,本公开实施例还提供一种内容发布设备,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a content distribution device, including:
处理器;processor;
存储器,用于存储所述处理器可执行的指令;a memory for storing instructions executable by the processor;
所述处理器用于根据所述存储器中存储的所述指令执行动作,所述动作包括:The processor is configured to perform an action according to the instruction stored in the memory, the action comprising:
在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对所述多媒体内容执行转码;And performing, in the publishing policy for identifying the multimedia content, performing transcoding on the multimedia content, when performing transcoding control information on the multimedia content;
转码完成后,将转码后的所述多媒体内容进行发布。After the transcoding is completed, the transcoded multimedia content is released.
在本公开实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中任一种内容发布方法的实现。In an embodiment of the present disclosure, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing an implementation of any one of the foregoing embodiments.
本公开提供了一种内容发布方法、装置和系统以及内容分布式网络系统,在识别出多媒体内容的发布策略中,包括对多媒体内容执行转码的转码控制信息时,就对该多媒体内容执行转码,然后在转码完成后将转码后的多媒体内容进行发布。在标记了生成的多媒体内容的发布策略后,就可以自动的根据该发布策略中的转码控制信息确定是否要进行转码,省去了人工的环节,在保证了用户体验的同时提高了效率。The present disclosure provides a content distribution method, apparatus, and system, and a content distribution network system. When a distribution policy for identifying multimedia content includes transcoding control information for performing transcoding on the multimedia content, the disclosure is performed on the multimedia content. Transcode, and then post the transcoded multimedia content after the transcoding is completed. After the publishing policy of the generated multimedia content is marked, it can automatically determine whether to perform transcoding according to the transcoding control information in the publishing policy, thereby eliminating the manual link and improving the efficiency while ensuring the user experience. .
图1是本公开实施例提供的一种内容发布方法的流程图;FIG. 1 is a flowchart of a content publishing method according to an embodiment of the present disclosure;
图2是本公开实施例提供的一种内容发布装置的模块示意图;2 is a schematic block diagram of a content distribution apparatus according to an embodiment of the present disclosure;
图3是本公开实施例提供的一种内容分布式网络系统的结构示意图;3 is a schematic structural diagram of a content distributed network system according to an embodiment of the present disclosure;
图4是本公开实施例提供的一种内容发布系统的结构示意图;4 is a schematic structural diagram of a content distribution system according to an embodiment of the present disclosure;
图5是本公开实施例提供的一种内容发布方法的流程图;FIG. 5 is a flowchart of a content publishing method according to an embodiment of the present disclosure;
图6是本公开实施例提供的一种内容发布方法的流程示意图。FIG. 6 is a schematic flowchart diagram of a content publishing method according to an embodiment of the present disclosure.
本公开的构思在于:在对多媒体内容进行发布时,首先获取发布策略,然后根据该发布策略,根据发布策略中的转码控制信息自动判断需要执行转码,然后该多媒体内容执行转码,并在转码成功后对该多媒体内容进行发布。在满足用户体验的同时,省去了人工处理的环节,提高了容错率和处理效率。The idea of the present disclosure is to first obtain a publishing policy when publishing the multimedia content, and then, according to the publishing policy, automatically determine that the transcoding needs to be performed according to the transcoding control information in the publishing policy, and then perform the transcoding on the multimedia content, and The multimedia content is released after the transcoding is successful. While satisfying the user experience, the manual processing is eliminated, and the fault tolerance and processing efficiency are improved.
下面结合附图对本公开的具体实施方式作进一步说明。The specific embodiments of the present disclosure are further described below in conjunction with the accompanying drawings.
本实施例提供了一种多媒体内容发布方法,请参考图1,包括:This embodiment provides a multimedia content publishing method. Referring to FIG. 1, the method includes:
S101、在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对多媒体内容执行转码;S101. Perform a transcoding on the multimedia content when the transcoding control information is performed on the multimedia content, including the transcoding control information for performing the transcoding on the multimedia content.
S102、转码完成后,将转码后的多媒体内容进行发布。S102: After the transcoding is completed, the transcoded multimedia content is released.
在生成多媒体内容之后,会将其进行上传,即上传到预设的服务器地址上。上传的时候,会对该多媒体内容进行审核,以及打包等逻辑处理;审核的目的通常是看多媒体内容是否符合发布条件,发布条件则是根据应用场景的不同而有所差别,比如不得违反国家的法律法规等等;打包则是进行压缩等操作,使多媒体内容的大小比较合理。本实施例中的多媒体内容,可以包括视频内容,音频内容,图像内容等,而转码操作,可以包括视频的码率的转换,音频的格式等转换,或者图像的格式、像素等转换均作为本实施例中的多媒体内容的转码操作。After the multimedia content is generated, it will be uploaded, that is, uploaded to the default server address. When uploading, the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable. The multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
出于各种各样的原因,需要对多媒体内容执行转码,转码可以包括高码率转为低码率,或者低码率转为高码率,以及转码过程中对多媒体内容进行切分等过程,都可以认为是对多媒体内容的转码。而由人工来操作转码过程,转码效率会很低,且不能保证准确率。因
此,在生成多媒体内容之后,就确定其发布策略,而发布策略中至少包括了是否对该多媒体内容执行转码的转码控制信息。发布策略可以是在上传时,由用户制定,而用户可以根据自己的需要或者是系统的要求来制定,发布策略中,至少应包括是否对该多媒体内容执行转码的转码控制信息。转码控制信息决定了是否对该多媒体内容执行转码,在将多媒体内容上传之后,无需人为确定,系统可以自动根据该发布策略中的转码控制信息判断。For various reasons, it is necessary to perform transcoding on the multimedia content, and the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process. The grading process can be considered as transcoding of multimedia content. When the transcoding process is operated manually, the transcoding efficiency will be low and the accuracy cannot be guaranteed. Cause
Thus, after the multimedia content is generated, its publishing policy is determined, and the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content. The publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system. The publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content. The transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
转码控制信息,在本实施例中,应该容易被辨识,从而可以提高工作效率。可选的,转码控制信息包括字段值;直接根据该字段值就可以判断是否需要对该多媒体内容执行转码操作。转码与否只有两种可能性,那么,若定义转码控制信息的字段为Encode,那么字段值就可以是Encode:0、Encode:1;其中,Encode:0表示不需要转码,而Encode:1表示需要转码,或者相反,这个设定过程可以是任意的,只要这两者的字段值不同即可。The transcoding control information, in the present embodiment, should be easily recognized, so that work efficiency can be improved. Optionally, the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content. There are only two possibilities for transcoding. If the field defining the transcoding control information is Encode, then the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode : 1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
知道了发布策略中的转码控制信息后,就可以根据其中的转码控制信息确定是否需要对多媒体内容执行转码。若判断的结果为需要对该多媒体内容执行转码,那么,就需要由编码器对该多媒体内容执行转码。在本实施例中,对多媒体内容的转码,可以是根据设定的规则来转码;这个设定的规则是任意的,以下可以举一部分例子,以多媒体内容是视频而言,保证其转码后都是同样的码率,而同样的码率包括标清、高清、超清、蓝光等等不一而足,不管来源的多媒体内容是什么码率,转码后都为统一的码率;或者根据当前的网络状况,统一让多媒体内容的清晰度降低,这也可以在一定程度上减小多媒体内容的大小,相应的,也可以统一升高多媒体内容的码率;或者对不同的多媒体内容执行不同的转码,又或者在转码时对多媒体内容进行切分,这些种种转码方式在本实施例中均是可行的。编码器的选择也是多种多样的,可以根据多媒体内容的类型不同而做出相应的选择,比如常用的编码器有ENVIVO编码器等等。After knowing the transcoding control information in the publishing policy, it can determine whether the transcoding of the multimedia content needs to be performed according to the transcoding control information therein. If the result of the judgment is that transcoding needs to be performed on the multimedia content, then the encoder needs to perform transcoding on the multimedia content. In this embodiment, the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed. The code rate is the same code rate, and the same code rate includes standard definition, high definition, ultra clear, blue light, etc., regardless of the source code of the source multimedia content, the transcoding is a uniform code rate; Or according to the current network conditions, the resolution of the multimedia content is uniformly reduced, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, the code rate of the multimedia content can be uniformly increased; or different multimedia content Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment. The choice of encoder is also varied, and can be selected according to the type of multimedia content, such as the commonly used encoder with ENVIVO encoder and so on.
可选的,本实施例中的发布策略还可以包括来源标识和目标标识;来源标识包括多媒体内容的来源码率信息,即上传的该多媒体内容的原始码率信息,目标标识包括多媒体内容的目标码率信息,即转码后的多媒体内容的码率信息;也就是说,若从转码控制信息确定需要对多媒体内容执行转码,那么在发布策略包括来源标识和目标标识时,编码器则根据来源标识和目标标识对多媒体内容执行转码。换言之,则是将原始码率的多媒体内容转码为目标码率。值得一提的是,原始码率和目标码率这两个参数并不是必要的,发布策略可以仅仅包括转码控制信息,可选的转码过程则通过上述的方式实现。Optionally, the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes a target of the multimedia content. Rate information, that is, code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, then when the publishing policy includes the source identifier and the target identifier, the encoder Perform transcoding of the multimedia content based on the source identifier and the target identifier. In other words, the original content rate multimedia content is transcoded to the target code rate. It is worth mentioning that the two parameters of the original bit rate and the target bit rate are not necessary. The publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
此外,与转码控制信息类似,来源标识和目标标识也可以包括字段值;直接根据该字段值就可以确定,多媒体内容的来源码率和目标码率是多少。例如,若设定来源码率的字段为Bitrate,相应的字段值为Bitrate:2000表示标清码率,或者说标清片源,Bitrate:8000表示高清码率或者说高清片源等等;设定目标码率的字段为Definition,相应的字段值为Definition:0表示流畅的码率或者说是流畅清晰度,Definition:1表示标清的码率或者说是标清清晰度,Definition:4表示高清的码率或者说是高清清晰度。在转码时,则根据Bitrate的字段值确定来源码率,根据Definition确定目标码率,从而对该多媒体内容执
行转码。In addition, similar to the transcoding control information, the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content. For example, if the field of the source code rate is set to Bitrate, the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source, Bitrate: 8000 indicates the HD bit rate or the HD source, etc.; The code rate field is Definition, the corresponding field value is Definition: 0 means smooth code rate or smooth definition, Definition: 1 means SD code rate or SD definition, Definition: 4 means HD code rate. Or HD resolution. At the time of transcoding, the source code rate is determined according to the field value of Bitrate, and the target code rate is determined according to Definition, thereby performing the multimedia content.
Transcode.
在上传了多媒体内容时,自然会对该多媒体内容进行存储。存储的位置不是一定的,但是每一个多媒体内容所存储的位置肯定是可索引的,对应各个多媒体内容存储的位置均有存储路径。在确定需要对多媒体内容进行转码后,就需要将多媒体内容的存储路径发送给编码器,让编码器从该存储路径获取上传的多媒体内容,并对该多媒体内容执行转码操作。此外,转码后,也可以对该多媒体内容进行存储,而此时存储路径不一定是与上传时一致,因此,可以对编码器提供多媒体内容转码后的存储路径,从而确定其转码后的存储位置。本实施例中的存储路径,包括转码前和转码后的存储路径,其可以是以URL(Uniform Resource Locator,统一资源定位符)的形式,存在于多媒体内容的发布策略之中,即根据该发布策略,除了可以确定是否需要对该多媒体内容进行转码,还可以确定多媒体内容转码前后存储的位置。When multimedia content is uploaded, the multimedia content is naturally stored. The location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path. After determining that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the encoder, and the encoder obtains the uploaded multimedia content from the storage path, and performs a transcoding operation on the multimedia content. In addition, after the transcoding, the multimedia content may also be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the encoder may be provided with a storage path after the transcoding of the multimedia content, thereby determining the transcoding after the transcoding. Storage location. The storage path in this embodiment includes a pre-transcoding and post-transcoding storage path, which may be in the form of a URL (Uniform Resource Locator), which exists in the publishing policy of the multimedia content, that is, according to The publishing policy, in addition to determining whether the multimedia content needs to be transcoded, can also determine the location stored before and after the multimedia content is transcoded.
由于编码器执行对多媒体内容的转码过程并不是立即完成的,因此,往往需要监控多媒体内容的转码完成度,即监控该多媒体内容何时完成,以便能够及时将该多媒体内容进行发布。因此,本实施例中,还包括按照固定的时间间隔接收监控消息,监控消息的发送可以是由CIMP(Content Interface Management Platform,内容接口机)来完成,也可以是由CDNMGR/DB(Content Distribution Network Manager/Database,系统管理)来完成。编码器40接收该监控消息,并在多媒体内容转码完成后,根据该监控消息反馈转码完成消息,即根据监控消息的来源将转码完成消息反馈给对应的发送该监控消息的设备。监控的目的是及时得知多媒体内容转码的完成,以便进行后续的发布等操作,提高工作效率。Since the encoder performs the transcoding process on the multimedia content is not completed immediately, it is often necessary to monitor the transcoding completion degree of the multimedia content, that is, to monitor when the multimedia content is completed, so that the multimedia content can be released in time. Therefore, in this embodiment, the method further includes receiving the monitoring message according to a fixed time interval, and the sending of the monitoring message may be performed by a CIMP (Content Interface Management Platform) or by a CDNMGR/DB (Content Distribution Network). Manager/Database, System Management) to complete. The encoder 40 receives the monitoring message, and after the multimedia content transcoding is completed, feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the corresponding device that sends the monitoring message according to the source of the monitoring message. The purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
在转码完成后,就需要对该多媒体内容进行发布。在CDN(Content Distribution Network,内容分布式网络)系统中,往往会有多个媒体发布服务器,而一个多媒体内容的发布仅需要一个媒体发布服务器对其进行发布就够了,因此,在本实施例中,还包括根据负载平衡原则选择媒体发布服务器,并由选择的该媒体发布服务器对转码后的多媒体内容进行发布。根据负载平衡原则选择媒体发布服务器是指尽可能的使各个媒体发布服务器的负载相等,而通常而言,往往是选择负载小的媒体发布服务器对转码后的多媒体内容进行发布。After the transcoding is completed, the multimedia content needs to be published. In a CDN (Content Distribution Network) system, there are often multiple media publishing servers, and it is sufficient for a multimedia content distribution to be published by only one media publishing server. Therefore, in this embodiment, The method further includes selecting a media publishing server according to a load balancing principle, and publishing the transcoded multimedia content by the selected media publishing server. Selecting the media publishing server according to the load balancing principle means that the load of each media publishing server is equal as much as possible. Generally speaking, it is often selected that the media publishing server with a small load publishes the transcoded multimedia content.
当然,若一开始,转码控制信息中确定不需要对该多媒体内容执行转码,那么就直接对该多媒体内容进行发布。Of course, if it is determined at the outset that the transcoding control information does not need to perform transcoding on the multimedia content, then the multimedia content is directly published.
在发布完成后,可以将发布完成的消息进行反馈,反馈的过程可以是从媒体发布服务器到系统管理,再到内容接口机,再到上传该多媒体内容的设备,即CMS(Content Management System,内容管理系统),从而完成整个发布流程。After the release is complete, the message of the completion of the release can be fed back. The feedback process can be from the media release server to the system management, to the content interface machine, to the device that uploads the multimedia content, that is, the CMS (Content Management System, content). Management system) to complete the entire release process.
采用本实施例中的方式对多媒体内容进行发布,可以加快转码的效率,在保证了用户体验的前提下,可以更快的执行多媒体内容的发布。By publishing the multimedia content in the manner of the embodiment, the efficiency of the transcoding can be accelerated, and the multimedia content can be released faster under the premise of ensuring the user experience.
本实施例提供了一种多媒体内容发布装置,请参考图2,包括:This embodiment provides a multimedia content distribution apparatus. Referring to FIG. 2, the method includes:
转码模块11,用于在识别出多媒体内容的发布策略中,包括对多媒体内容执行转码
的转码控制信息时,对多媒体内容执行转码;The transcoding module 11 is configured to perform transcoding on the multimedia content in the publishing policy for identifying the multimedia content.
Transcoding the multimedia content when transcoding control information;
内容发布模块12,用于将转码后的多媒体内容进行发布。The content distribution module 12 is configured to publish the transcoded multimedia content.
在生成多媒体内容之后,会将其进行上传,即上传到预设的服务器地址上。上传的时候,会对该多媒体内容进行审核,以及打包等逻辑处理;审核的目的通常是看多媒体内容是否符合发布条件,发布条件则是根据应用场景的不同而有所差别,比如不得违反国家的法律法规等等;打包则是进行压缩等操作,使多媒体内容的大小比较合理。本实施例中的多媒体内容,可以包括视频内容,音频内容,图像内容等,而转码操作,可以包括视频的码率的转换,音频的格式等转换,或者图像的格式、像素等转换均作为本实施例中的多媒体内容的转码操作。After the multimedia content is generated, it will be uploaded, that is, uploaded to the default server address. When uploading, the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable. The multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
出于各种各样的原因,需要对多媒体内容执行转码,转码可以包括高码率转为低码率,或者低码率转为高码率,以及转码过程中对多媒体内容进行切分等过程,都可以认为是对多媒体内容的转码。而由人工来操作转码过程,转码效率会很低,且不能保证准确率。因此,在生成多媒体内容之后,就确定其发布策略,而发布策略中至少包括了是否对该多媒体内容执行转码的转码控制信息。发布策略可以是在上传时,由用户制定,而用户可以根据自己的需要或者是系统的要求来制定,发布策略中,至少应包括是否对该多媒体内容执行转码的转码控制信息。转码控制信息决定了是否对该多媒体内容执行转码,在将多媒体内容上传之后,无需人为确定,系统可以自动根据该发布策略中的转码控制信息判断。For various reasons, it is necessary to perform transcoding on the multimedia content, and the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process. The grading process can be considered as transcoding of multimedia content. When the transcoding process is operated manually, the transcoding efficiency will be low and the accuracy cannot be guaranteed. Therefore, after the multimedia content is generated, its publishing policy is determined, and the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content. The publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system. The publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content. The transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
转码控制信息,在本实施例中,应该容易被辨识,从而可以提高工作效率。可选的,转码控制信息包括字段值;直接根据该字段值就可以判断是否需要对该多媒体内容执行转码操作。转码与否只有两种可能性,那么,若定义转码控制信息的字段为Encode,那么字段值就可以是Encode:0、Encode:1;其中,Encode:0表示不需要转码,而Encode:1表示需要转码,或者相反,这个设定过程可以是任意的,只要这两者的字段值不同即可。The transcoding control information, in the present embodiment, should be easily recognized, so that work efficiency can be improved. Optionally, the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content. There are only two possibilities for transcoding. If the field defining the transcoding control information is Encode, then the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode : 1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
知道了发布策略中的转码控制信息后,就可以根据其中的转码控制信息确定是否需要对多媒体内容执行转码。若判断的结果为需要对该多媒体内容执行转码,那么,就需要由转码模块11对该多媒体内容执行转码。在本实施例中,对多媒体内容的转码,可以是根据设定的规则来转码;这个设定的规则是任意的,以下可以举一部分例子,以多媒体内容是视频而言,保证其转码后都是同样的码率,而同样的码率包括标清、高清、超清、蓝光等等不一而足,不管来源的多媒体内容是什么码率,转码后都为统一的码率;或者根据当前的网络状况,统一让多媒体内容的清晰度降低,这也可以在一定程度上减小多媒体内容的大小,相应的,也可以统一升高多媒体内容的码率;或者对不同的多媒体内容执行不同的转码,又或者在转码时对多媒体内容进行切分,这些种种转码方式在本实施例中均是可行的。转码模块11包括编码器,编码器的选择也是多种多样的,可以根据多媒体内容的类型不同而做出相应的选择,比如常用的编码器有ENVIVO编码器等等。After knowing the transcoding control information in the publishing policy, it can determine whether the transcoding of the multimedia content needs to be performed according to the transcoding control information therein. If the result of the judgment is that transcoding is required for the multimedia content, then the transcoding module 11 is required to perform transcoding on the multimedia content. In this embodiment, the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed. The code rate is the same code rate, and the same code rate includes standard definition, high definition, ultra clear, blue light, etc., regardless of the source code of the source multimedia content, the transcoding is a uniform code rate; Or according to the current network conditions, the resolution of the multimedia content is uniformly reduced, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, the code rate of the multimedia content can be uniformly increased; or different multimedia content Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment. The transcoding module 11 includes an encoder. The selection of the encoder is also various, and the corresponding selection may be made according to the type of the multimedia content. For example, the commonly used encoder has an ENVIVO encoder and the like.
可选的,本实施例中的发布策略还可以包括来源标识和目标标识;来源标识包括多媒体内容的来源码率信息,即上传的该多媒体内容的原始码率信息,目标标识包括多媒体内
容的目标码率信息,即转码后的多媒体内容的码率信息;也就是说,若从转码控制信息确定需要对多媒体内容执行转码,那么在发布策略包括来源标识和目标标识时,编码器则根据来源标识和目标标识对多媒体内容执行转码。换言之,则是将原始码率的多媒体内容转码为目标码率。值得一提的是,原始码率和目标码率这两个参数并不是必要的,发布策略可以仅仅包括转码控制信息,可选的转码过程则通过上述的方式实现。Optionally, the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes the multimedia identifier.
The target rate information of the content, that is, the code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, then when the publishing policy includes the source identifier and the target identifier, The encoder performs transcoding of the multimedia content based on the source identifier and the target identifier. In other words, the original content rate multimedia content is transcoded to the target code rate. It is worth mentioning that the two parameters of the original bit rate and the target bit rate are not necessary. The publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
此外,与转码控制信息类似,来源标识和目标标识也可以包括字段值;直接根据该字段值就可以确定,多媒体内容的来源码率和目标码率是多少。例如,若设定来源码率的字段为Bitrate,相应的字段值为Bitrate:2000表示标清码率,或者说标清片源,Bitrate:8000表示高清码率或者说高清片源等等;设定目标码率的字段为Definition,相应的字段值为Definition:0表示流畅的码率或者说是流畅清晰度,Definition:1表示标清的码率或者说是标清清晰度,Definition:4表示高清的码率或者说是高清清晰度。在转码时,则根据Bitrate的字段值确定来源码率,根据Definition确定目标码率,从而对该多媒体内容执行转码。In addition, similar to the transcoding control information, the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content. For example, if the field of the source code rate is set to Bitrate, the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source, Bitrate: 8000 indicates the HD bit rate or the HD source, etc.; The code rate field is Definition, the corresponding field value is Definition: 0 means smooth code rate or smooth definition, Definition: 1 means SD code rate or SD definition, Definition: 4 means HD code rate. Or HD resolution. At the time of transcoding, the source code rate is determined according to the field value of Bitrate, and the target code rate is determined according to Definition, thereby performing transcoding on the multimedia content.
在上传了多媒体内容时,自然会对该多媒体内容进行存储。存储的位置不是一定的,但是每一个多媒体内容所存储的位置肯定是可索引的,对应各个多媒体内容存储的位置均有存储路径。在确定需要对多媒体内容进行转码后,就需要将多媒体内容的存储路径发送给转码模块11,让转码模块11从该存储路径获取上传的多媒体内容,并对该多媒体内容执行转码操作。此外,转码后,也可以对该多媒体内容进行存储,而此时存储路径不一定是与上传时一致,因此,可以对转码模块11提供多媒体内容转码后的存储路径,从而确定其转码后的存储位置。本实施例中的存储路径,包括转码前和转码后的存储路径,其可以是以URL的形式,存在于多媒体内容的发布策略之中,即根据该发布策略,除了可以确定是否需要对该多媒体内容进行转码,还可以确定多媒体内容转码前后存储的位置。When multimedia content is uploaded, the multimedia content is naturally stored. The location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path. After determining that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the transcoding module 11, and the transcoding module 11 obtains the uploaded multimedia content from the storage path, and performs a transcoding operation on the multimedia content. . In addition, after the transcoding, the multimedia content may be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the transcoding module 11 may be provided with the storage path after the transcoding of the multimedia content, thereby determining the transfer. The storage location after the code. The storage path in this embodiment includes a pre-transcoding and post-transcoding storage path, which may be in the form of a URL, and exists in a publishing policy of the multimedia content, that is, according to the publishing policy, it may be determined whether The multimedia content is transcoded to determine the location of the multimedia content before and after transcoding.
由于转码模块11执行对多媒体内容的转码过程并不是立即完成的,因此,往往需要监控多媒体内容的转码完成度,即监控该多媒体内容何时完成,以便能够及时将该多媒体内容进行发布。因此,可以包括监控模块13,用于监控多媒体内容转码的完成度。可选的,监控模块13包括监控消息接收模块131和监控消息反馈模块132,监控消息接收模块131用于按照固定的时间间隔接收监控消息,监控消息的发送可以是由CIMP来完成,也可以是由CDNMGR/DB来完成。转码模块11接收该监控消息,并在多媒体内容转码完成后,由监控消息反馈模块132根据该监控消息反馈转码完成消息,即根据监控消息的来源将转码完成消息反馈给对应的发送该监控消息的设备。监控的目的是及时得知多媒体内容转码的完成,以便进行后续的发布等操作,提高工作效率。Since the transcoding process performed by the transcoding module 11 on the multimedia content is not completed immediately, it is often necessary to monitor the transcoding completion degree of the multimedia content, that is, to monitor when the multimedia content is completed, so that the multimedia content can be released in time. . Therefore, a monitoring module 13 can be included for monitoring the degree of completion of transcoding of the multimedia content. Optionally, the monitoring module 13 includes a monitoring message receiving module 131 and a monitoring message feedback module 132. The monitoring message receiving module 131 is configured to receive the monitoring message according to a fixed time interval. The sending of the monitoring message may be performed by CIMP, or may be This is done by CDNMGR/DB. The transcoding module 11 receives the monitoring message, and after the multimedia content transcoding is completed, the monitoring message feedback module 132 feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the corresponding sending according to the source of the monitoring message. The device that monitors the message. The purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
在转码完成后,就需要对该多媒体内容进行发布。在CDN系统中,往往会有多个媒体发布服务器,而一个多媒体内容的发布仅需要一个媒体发布服务器对其进行发布就够了,因此,在本实施例中,内容发布模块12还包括平衡模块121,用于根据负载平衡原则选择媒体发布服务器,并由选择的该媒体发布服务器对转码后的多媒体内容进行发布。
媒体发布服务器包括于内容发布模块12,内容发布模块12中包括至少一个媒体服务器。根据负载平衡原则选择媒体发布服务器是指尽可能的使各个媒体发布服务器的负载相等,而通常而言,往往是选择负载小的媒体发布服务器对转码后的多媒体内容进行发布。After the transcoding is completed, the multimedia content needs to be published. In the CDN system, there are often multiple media publishing servers, and the publishing of a multimedia content requires only one media publishing server to publish it. Therefore, in this embodiment, the content publishing module 12 further includes a balancing module. 121. The method is used to select a media publishing server according to a load balancing principle, and release the transcoded multimedia content by the selected media publishing server.
The media publishing server is included in the content publishing module 12, and the content publishing module 12 includes at least one media server. Selecting the media publishing server according to the load balancing principle means that the load of each media publishing server is equal as much as possible. Generally speaking, it is often selected that the media publishing server with a small load publishes the transcoded multimedia content.
当然,若一开始,转码控制信息中确定不需要对该多媒体内容执行转码,那么就直接对该多媒体内容进行发布。发布的执行体仍然是媒体发布服务器23。Of course, if it is determined at the outset that the transcoding control information does not need to perform transcoding on the multimedia content, then the multimedia content is directly published. The published executable is still the media publishing server 23.
在发布完成后,可以将发布完成的消息进行反馈,反馈的过程可以是从媒体发布服务器到系统管理,再到内容接口机,再到上传该多媒体内容的设备,即CMS,从而完成整个发布流程。After the release is completed, the message of the completion of the release may be fed back. The feedback process may be from the media release server to the system management, to the content interface machine, to the device that uploads the multimedia content, that is, the CMS, thereby completing the entire release process. .
采用本实施例中的装置对多媒体内容进行发布,可以加快转码的效率,在保证了用户体验的前提下,可以更快的执行多媒体内容的发布。By using the device in this embodiment to publish multimedia content, the efficiency of transcoding can be speeded up, and the multimedia content can be released faster under the premise of ensuring the user experience.
本实施例提供了一种内容分布式网络系统,请参考图3,包括内容接口机21、系统管理22以及至少一个媒体发布服务器23;This embodiment provides a content distributed network system, please refer to FIG. 3, including a content interface machine 21, a system management 22, and at least one media publishing server 23;
内容接口机21用于获取多媒体内容的发布策略,并在识别出发布策略中,包括对多媒体执行转码的转码控制信息时,向编码器40发送转码请求消息;The content interface machine 21 is configured to obtain a publishing policy of the multimedia content, and send a transcoding request message to the encoder 40 when the transcoding control information is performed on the multimedia, including the transcoding control information for performing transcoding on the multimedia;
系统管理22用于控制媒体发布服务器23对转码后的多媒体内容进行发布;The system management 22 is configured to control the media publishing server 23 to publish the transcoded multimedia content;
媒体发布服务器23用于对转码后的多媒体内容进行发布。The media distribution server 23 is configured to publish the transcoded multimedia content.
在生成多媒体内容后,会由内容管理系统30将其上传,即上传到预设的服务器地址上。上传的时候,会对该多媒体内容进行审核,以及打包等逻辑处理;审核的目的通常是看多媒体内容是否符合发布条件,发布条件则是根据应用场景的不同而有所差别,比如不得违反国家的法律法规等等;打包则是进行压缩等操作,使多媒体内容的大小比较合理。本实施例中的多媒体内容,可以包括视频内容,音频内容,图像内容等,而转码操作,可以包括视频的码率的转换,音频的格式等转换,或者图像的格式、像素等转换均作为本实施例中的多媒体内容的转码操作。After the multimedia content is generated, it is uploaded by the content management system 30, that is, uploaded to a preset server address. When uploading, the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable. The multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video bit rate, audio format conversion, or image format, pixel conversion, etc. The transcoding operation of the multimedia content in this embodiment.
出于各种各样的原因,需要对多媒体内容执行转码,转码可以包括高码率转为低码率,或者低码率转为高码率,以及转码过程中对多媒体内容进行切分等过程,都可以认为是对多媒体内容的转码。而由人工来操作转码过程,转码效率会很低,且不能保证准确率。因此,在生成多媒体内容之后,就确定其发布策略,而发布策略中至少包括了是否对该多媒体内容执行转码的转码控制信息。发布策略可以是在上传时,由用户制定,而用户可以根据自己的需要或者是系统的要求来制定,发布策略中,至少应包括是否对该多媒体内容执行转码的转码控制信息。转码控制信息决定了是否对该多媒体内容执行转码,在将多媒体内容上传之后,无需人为确定,系统可以自动根据该发布策略中的转码控制信息判断。For various reasons, it is necessary to perform transcoding on the multimedia content, and the transcoding may include changing the high code rate to a low code rate, or converting the low code rate to a high code rate, and cutting the multimedia content during the transcoding process. The grading process can be considered as transcoding of multimedia content. When the transcoding process is operated manually, the transcoding efficiency will be low and the accuracy cannot be guaranteed. Therefore, after the multimedia content is generated, its publishing policy is determined, and the publishing policy includes at least the transcoding control information for performing transcoding on the multimedia content. The publishing policy may be formulated by the user when uploading, and the user may formulate according to the needs of the user or the requirements of the system. The publishing policy shall at least include transcoding control information for performing transcoding on the multimedia content. The transcoding control information determines whether to perform transcoding on the multimedia content. After the multimedia content is uploaded, the system can automatically determine according to the transcoding control information in the publishing policy after no artificial determination.
转码控制信息,在本实施例中,应该容易被辨识,从而可以提高工作效率。可选的,转码控制信息包括字段值;直接根据该字段值就可以判断是否需要对该多媒体内容执行转码操作。转码与否只有两种可能性,那么,若定义转码控制信息的字段为Encode,那么字段值就可以是Encode:0、Encode:1;其中,Encode:0表示不需要转码,而Encode:
1表示需要转码,或者相反,这个设定过程可以是任意的,只要这两者的字段值不同即可。The transcoding control information, in the present embodiment, should be easily recognized, so that work efficiency can be improved. Optionally, the transcoding control information includes a field value, and directly determining, according to the field value, whether a transcoding operation needs to be performed on the multimedia content. There are only two possibilities for transcoding. If the field defining the transcoding control information is Encode, then the field value can be Encode:0, Encode:1; where Encode:0 means no transcoding is required, and Encode :
1 indicates that transcoding is required, or conversely, this setting process can be arbitrary as long as the field values of the two are different.
知道了发布策略中的转码控制信息后,内容接口机21就可以根据其中的转码控制信息确定是否需要对多媒体内容执行转码。若判断的结果为需要对该多媒体内容执行转码,那么,就需要由编码器40对该多媒体内容执行转码。内容接口机21向编码器40发送转码请求消息,编码器40则根据该转码请求消息对多媒体内容执行转码。在本实施例中,对多媒体内容的转码,可以是根据设定的规则来转码;这个设定的规则是任意的,以下可以举一部分例子,以多媒体内容是视频而言,保证其转码后都是同样的码率,而同样的码率包括标清、高清、超清、蓝光等等不一而足,不管来源的多媒体内容是什么码率,转码后都为同一的码率;或者根据当前的网络状况,同一让多媒体内容的清晰度降低,这也可以在一定程度上减小多媒体内容的大小,相应的,也可以统一升高多媒体内容的码率;或者对不同的多媒体内容执行不同的转码,又或者在转码时对多媒体内容进行切分,这些种种转码方式在本实施例中均是可行的。编码器40的选择也是多种多样的,可以根据多媒体内容的类型不同而做出相应的选择,比如常用的编码器40有ENVIVO编码器40等等。After knowing the transcoding control information in the publishing policy, the content interface machine 21 can determine whether it is necessary to perform transcoding on the multimedia content according to the transcoding control information therein. If the result of the determination is that transcoding of the multimedia content is required, then the encoder 40 is required to perform transcoding on the multimedia content. The content interface machine 21 transmits a transcoding request message to the encoder 40, and the encoder 40 performs transcoding on the multimedia content according to the transcoding request message. In this embodiment, the transcoding of the multimedia content may be transcoded according to the set rules; the rules of the setting are arbitrary, and some examples may be given below, in which the multimedia content is a video, and the transfer is guaranteed. The code rate is the same code rate, and the same code rate includes SD, HD, Ultra Clear, Blu-ray, etc., regardless of the source code of the source multimedia content, the same code rate after transcoding; Or according to the current network condition, the same is to reduce the definition of the multimedia content, which can also reduce the size of the multimedia content to a certain extent, and correspondingly, can also increase the code rate of the multimedia content uniformly; or for different multimedia content. Performing different transcodings, or segmenting the multimedia content at the time of transcoding, these various transcoding methods are feasible in this embodiment. The selection of the encoder 40 is also various, and the corresponding selection can be made according to the type of the multimedia content. For example, the commonly used encoder 40 has the ENVIVO encoder 40 and the like.
可选的,本实施例中的发布策略还可以包括来源标识和目标标识;来源标识包括多媒体内容的来源码率信息,即上传的该多媒体内容的原始码率信息,目标标识包括多媒体内容的目标码率信息,即转码后的多媒体内容的码率信息;也就是说,若从转码控制信息确定需要对多媒体内容执行转码,那么在发布策略包括来源标识和目标标识时,编码器40则根据来源标识和目标标识对多媒体内容执行转码。换言之,则是将原始码率的多媒体内容转码为目标码率。值得一提的是,原始码率和目标码率这两个参数并不是必要的,发布策略可以仅仅包括转码控制信息,可选的转码过程则通过上述的方式实现。Optionally, the publishing policy in this embodiment may further include a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, that is, the original code rate information of the uploaded multimedia content, and the target identifier includes a target of the multimedia content. The code rate information, that is, the code rate information of the transcoded multimedia content; that is, if it is determined from the transcoding control information that transcoding is required for the multimedia content, the encoder 40 is used when the publishing policy includes the source identifier and the target identifier. Transcoding the multimedia content according to the source identifier and the target identifier. In other words, the original content rate multimedia content is transcoded to the target code rate. It is worth mentioning that the two parameters of the original bit rate and the target bit rate are not necessary. The publishing strategy may only include transcoding control information, and the optional transcoding process is implemented by the above method.
此外,与转码控制信息类似,来源标识和目标标识也可以包括字段值;直接根据该字段值就可以确定,多媒体内容的来源码率和目标码率是多少。例如,若设定来源码率的字段为Bitrate,相应的字段值为Bitrate:2000表示标清码率,或者说标清片源,Bitrate:8000表示高清码率或者说高清片源等等;设定目标码率的字段为Definition,相应的字段值为Definition:0表示流畅的码率或者说是流畅清晰度,Definition:1表示标清的码率或者说是标清清晰度,Definition:4表示高清的码率或者说是高清清晰度。在转码时,则根据Bitrate的字段值确定来源码率,根据Definition确定目标码率,从而对该多媒体内容执行转码。In addition, similar to the transcoding control information, the source identifier and the target identifier may also include a field value; directly according to the field value, it may be determined, what is the source code rate and the target bit rate of the multimedia content. For example, if the field of the source code rate is set to Bitrate, the corresponding field value is Bitrate: 2000 indicates the standard code rate, or the standard definition source, Bitrate: 8000 indicates the HD bit rate or the HD source, etc.; The code rate field is Definition, the corresponding field value is Definition: 0 means smooth code rate or smooth definition, Definition: 1 means SD code rate or SD definition, Definition: 4 means HD code rate. Or HD resolution. At the time of transcoding, the source code rate is determined according to the field value of Bitrate, and the target code rate is determined according to Definition, thereby performing transcoding on the multimedia content.
在上传了多媒体内容时,自然会对该多媒体内容进行存储。存储的位置不是一定的,但是每一个多媒体内容所存储的位置肯定是可索引的,对应各个多媒体内容存储的位置均有存储路径。在内容接口机21确定需要对多媒体内容进行转码后,就需要将多媒体内容的存储路径发送给编码器40,让编码器40从该存储路径获取上传的多媒体内容,并对该多媒体内容执行转码操作。此外,转码后,也可以对该多媒体内容进行存储,而此时存储路径不一定是与上传时一致,因此,可以对编码器40提供多媒体内容转码后的存储路径,从而确定其转码后的存储位置。本实施例中的存储路径,包括转码前和转码后的存储路径,
其可以是以URL的形式,存在于多媒体内容的发布策略之中,即根据该发布策略,除了可以确定是否需要对该多媒体内容进行转码,还可以确定多媒体内容转码前后存储的位置。需要注意的是,内容接口机21在确定需要对多媒体内容进行转码之后,需要发送转码请求消息给编码器40;而转码请求消息中,可以包括来源标识、目标标识、存储路径等信息,换言之,转码请求消息也可以是多媒体内容的发布策略,转码请求消息和发布策略的内容可以一致,其差别可能在于由于内容接口机21和编码器40之间的差异而导致的格式不同。当然,编码器40除了通过这种方式确定多媒体内容的来源码率信息、目标码率信息以及转码前的存储地址、转码后的存储地址外,还可以自发的去获取所需的内容,这在本实施例中并不对其进行限制。When multimedia content is uploaded, the multimedia content is naturally stored. The location of the storage is not certain, but the location where each multimedia content is stored is certainly indexable, and the location corresponding to each multimedia content storage has a storage path. After the content interface machine 21 determines that the multimedia content needs to be transcoded, the storage path of the multimedia content needs to be sent to the encoder 40, and the encoder 40 obtains the uploaded multimedia content from the storage path, and performs the transfer on the multimedia content. Code operation. In addition, after the transcoding, the multimedia content can also be stored, and the storage path is not necessarily consistent with the uploading time. Therefore, the encoder 40 can be provided with the storage path after the transcoding of the multimedia content, thereby determining the transcoding. After the storage location. The storage path in this embodiment includes a storage path before and after transcoding.
It may be in the form of a URL, which exists in the publishing policy of the multimedia content, that is, according to the publishing policy, in addition to determining whether the multimedia content needs to be transcoded, the location stored before and after the transcoding of the multimedia content may also be determined. It should be noted that the content interface device 21 needs to send a transcoding request message to the encoder 40 after determining that the multimedia content needs to be transcoded, and the transcoding request message may include information such as a source identifier, a target identifier, a storage path, and the like. In other words, the transcoding request message may also be a publishing policy of the multimedia content, and the content of the transcoding request message and the publishing policy may be consistent, the difference may be that the format is different due to the difference between the content interface machine 21 and the encoder 40. . Of course, in addition to determining the source code rate information, the target bit rate information, the pre-transcoded storage address, and the transcoded storage address of the multimedia content, the encoder 40 can also spontaneously acquire the required content. This is not limited in this embodiment.
由于编码器40执行对多媒体内容的转码过程并不是立即完成的,因此,往往需要监控多媒体内容的转码完成度,即监控该多媒体内容何时完成,以便能够及时将该多媒体内容进行发布。内容接口机21还用于监控多媒体内容转码的完成度。可选的,内容接口机21按照固定的时间间隔向编码器40发送监控消息,而编码器40则接收该监控消息。编码器40接收该监控消息,并在多媒体内容转码完成后,根据监控消息反馈转码完成消息,即根据监控消息的来源将转码完成消息反馈给内容接口机21。在这一过程中,内容接口机21按照固定的时间间隔向编码器40发送监控消息,在转码未完成时,编码器40无需对该消息做出回应;在转码完成后,编码器40再将转码完成消息反馈给内容接口机21。监控的目的是及时得知多媒体内容转码的完成,以便进行后续的发布等操作,提高工作效率。Since the encoder 40 performs the transcoding process on the multimedia content is not completed immediately, it is often necessary to monitor the transcoding completion degree of the multimedia content, that is, to monitor when the multimedia content is completed, so that the multimedia content can be released in time. The content interface machine 21 is also used to monitor the completion of transcoding of multimedia content. Optionally, the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval, and the encoder 40 receives the monitoring message. The encoder 40 receives the monitoring message, and after the multimedia content transcoding is completed, feeds back the transcoding completion message according to the monitoring message, that is, the transcoding completion message is fed back to the content interface device 21 according to the source of the monitoring message. In this process, the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval. When the transcoding is not completed, the encoder 40 does not need to respond to the message; after the transcoding is completed, the encoder 40 The transcoding completion message is fed back to the content interface unit 21. The purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
在内容接口机21接收到编码器40反馈的转码完成消息后,内容接口机21则向系统管理22发送内容发布请求;系统管理22则根据该内容发布请求通知媒体发布服务器23对该多媒体内容进行发布。在CDN系统中,往往会有多个媒体发布服务器23,而一个多媒体内容的发布仅仅需要一个媒体发布服务器23对其发布就够了,因此,在本实施例中,还包括业务负载均衡服务器24,用于根据负载平衡原则选择媒体发布服务器23,由该媒体发布服务器23对转码后的多媒体内容进行发布。根据负载平衡原则选择媒体发布服务器23是指尽可能的使各个媒体发布服务器23的负载相等,而通常而言,往往是选择负载小的媒体发布服务器23对转码后的多媒体内容进行发布。After the content interface machine 21 receives the transcoding completion message fed back by the encoder 40, the content interface machine 21 sends a content distribution request to the system management 22; the system management 22 notifies the media distribution server 23 of the multimedia content according to the content distribution request. Publish. In the CDN system, there are often a plurality of media distribution servers 23, and the distribution of a multimedia content only needs to be published by one media distribution server 23, and therefore, in this embodiment, the service load balancing server 24 is further included. And for selecting the media publishing server 23 according to the load balancing principle, the media publishing server 23 issues the transcoded multimedia content. Selecting the media distribution server 23 according to the load balancing principle means that the load of each media distribution server 23 is equal as much as possible. Generally, the media distribution server 23 that selects a small load often issues the transcoded multimedia content.
当然,若一开始,转码控制信息中确定不需要对该多媒体内容执行转码,那么就直接对该多媒体内容进行发布。发布的执行体仍然是媒体发布服务器23。Of course, if it is determined at the outset that the transcoding control information does not need to perform transcoding on the multimedia content, then the multimedia content is directly published. The published executable is still the media publishing server 23.
在发布完成后,可以将发布完成的消息进行反馈,反馈的过程可以是从媒体发布服务器23到业务均衡服务器,再到系统管理22,再到内容接口机21,在到上传该多媒体内容的设备,即CMS,从而完成整个发布流程。After the release is completed, the message of the completion of the release may be fed back. The feedback process may be from the media distribution server 23 to the service equalization server, to the system management 22, and then to the content interface machine 21, to the device that uploads the multimedia content. , that is, CMS, to complete the entire release process.
采用本实施例中的装置对多媒体内容进行发布,可以加快转码的效率,在保证了用户体验的前提下,可以更快的执行多媒体内容的发布。By using the device in this embodiment to publish multimedia content, the efficiency of transcoding can be speeded up, and the multimedia content can be released faster under the premise of ensuring the user experience.
本实施例提供了一种内容发布系统,请参考图4,包括内容管理系统30、编码器40
以及上述的内容分布式网络系统20,而内容分布式网络系统20与以上的实施例一致,这里不再赘述。This embodiment provides a content distribution system. Referring to FIG. 4, the content management system 30 and the encoder 40 are included.
And the above-mentioned content distributed network system 20, and the content distributed network system 20 is consistent with the above embodiments, and details are not described herein again.
内容管理系统30,用于标记生成的多媒体内容的发布策略,发布策略至少包括是否对多媒体内容执行转码的转码控制信息;a content management system 30, configured to mark a publishing policy of the generated multimedia content, where the publishing policy at least includes transcoding control information for performing transcoding on the multimedia content;
编码器40用于接收内容接口机21发送的转码请求消息,并根据转码请求消息对多媒体内容进行转码。The encoder 40 is configured to receive the transcoding request message sent by the content interface device 21, and transcode the multimedia content according to the transcoding request message.
内容管理系统30除了用于标记多媒体内容的发布策略之外,事实上,其还用于对生成的该多媒体内容进行上传的操作,即上传到预设的服务器地址上。上传的时候,会对该多媒体内容进行审核,以及打包等逻辑处理;审核的目的通常是看多媒体内容是否符合发布条件,发布条件则是根据应用场景的不同而有所差别,比如不得违反国家的法律法规等等;打包则是进行压缩等操作,使多媒体内容的大小比较合理。本实施例中的多媒体内容,可以包括视频内容,音频内容,图像内容等,而转码操作,可以包括视频的码率的转换,音频的格式的转换,或者图像格式、像素等转换均作为本实施例中的多媒体内容的转码操作。视频内容中,可以包括TS(准枪版)内容、MP4(Moving Picture Experts Group 4,动态图像专家组)内容、FLV(Flash Video,流媒体格式)内容等等均可。In addition to the publishing policy for marking multimedia content, the content management system 30 is actually used to upload the generated multimedia content, that is, upload to a preset server address. When uploading, the multimedia content will be reviewed, and logical processing such as packaging; the purpose of the review is usually to see whether the multimedia content meets the publishing conditions, and the publishing conditions are different according to the application scenario, such as not violating the state. Laws and regulations, etc.; packaging is to perform operations such as compression, so that the size of multimedia content is more reasonable. The multimedia content in this embodiment may include video content, audio content, image content, etc., and the transcoding operation may include conversion of a video rate, conversion of an audio format, or conversion of an image format, a pixel, and the like. The transcoding operation of the multimedia content in the embodiment. The video content may include TS (Jun Gun Edition) content, MP4 (Moving Picture Experts Group 4) content, FLV (Flash Video, streaming media format) content, and the like.
编码器40,用于对多媒体内容进行转码。内容接口机21确定该多媒体内容需要进行转码后,就发送转码请求消息给编码器40,由编码器40根据转码请求消息对该多媒体内容进行转码。转码请求消息至少包括对该多媒体内容进行转码的指令,还可以包括发布策略中的其他信息,比如;来源标识、目标标识、存储路径等信息,换音质,转码请求消息可以是多媒体内容的发布策略,转码请求消息和发布策略的内容可以一致,其差别可能在于由于内容借口机和编码器40之间的差异而导致的格式不同。当然,编码器40除了通过这种方式确定多媒体内容的来源码率信息、目标码率信息以及转码前的存储地址、转码后的存储地址外,还可以自发的去获取所需的内容,这在本实施例中并不对其进行限制。The encoder 40 is configured to transcode the multimedia content. After the content interface device 21 determines that the multimedia content needs to be transcoded, it sends a transcoding request message to the encoder 40, and the encoder 40 transcodes the multimedia content according to the transcoding request message. The transcoding request message includes at least an instruction to transcode the multimedia content, and may further include other information in the publishing policy, such as information such as source identifier, target identifier, storage path, etc., and the transcoding request message may be multimedia content. The publishing policy, the content of the transcoding request message and the publishing policy may be identical, and the difference may be that the format is different due to the difference between the content broker and the encoder 40. Of course, in addition to determining the source code rate information, the target bit rate information, the pre-transcoded storage address, and the transcoded storage address of the multimedia content, the encoder 40 can also spontaneously acquire the required content. This is not limited in this embodiment.
此外,在内容接口机21监控编码器40的转码完成度时,按照固定的时间间隔向编码器40发送监控消息,编码器40则按照同样的时间间隔接收该监控消息。在这一过程中,内容接口机21按照固定的时间间隔向编码器40发送监控消息,在转码未完成时,编码器40无需对该消息做出回应;在转码完成后,编码器40再将转码完成消息反馈给内容接口机21。监控的目的是及时得知多媒体内容转码的完成,以便进行后续的发布等操作,提高工作效率。Further, when the content interface machine 21 monitors the transcode completion degree of the encoder 40, the monitoring message is transmitted to the encoder 40 at a fixed time interval, and the encoder 40 receives the monitoring message at the same time interval. In this process, the content interface machine 21 sends a monitoring message to the encoder 40 at a fixed time interval. When the transcoding is not completed, the encoder 40 does not need to respond to the message; after the transcoding is completed, the encoder 40 The transcoding completion message is fed back to the content interface unit 21. The purpose of monitoring is to know the completion of transcoding of multimedia content in time, so as to carry out subsequent operations such as release, and improve work efficiency.
本实施例提供了一种多媒体内容发布方法,请参考图5和图6,包括:This embodiment provides a multimedia content publishing method. Referring to FIG. 5 and FIG. 6, the method includes:
S301、内容管理系统30向内容接口机21发起多媒体内容的发布策略,发布策略中包括转码控制信息Encode字段,目标标识Definition字段,来源标识Bitrate字段;S301, the content management system 30 initiates a publishing policy of the multimedia content to the content interface device 21, where the publishing policy includes a transcoding control information Encode field, a target identifier Definition field, and a source identifier Bitrate field.
((
<Property Name="Encode">1</Property><Property Name="Encode">1</Property>
<Property Name="Definition">4</Property>
<Property Name="Definition">4</Property>
<Property Name="Bitrate">2000</Property>)<Property Name="Bitrate">2000</Property>)
其中Encode为1表示需要转码,Definition为4表示需要转码为高清清晰度,Bitrate为2000表示片源为标清片源;Where Encode is 1 means that transcoding is required, Definition of 4 means transcoding to high definition, and Bitrate is 2000 means the source is standard definition source;
S302、内容接口机21收到内容管理系统30的发布策略,判断需要转码,然后根据Definition字段值和Bitrate字段值的组合,生成对应的presetid,向ENVIVO编码器40发送转码请求消息;S302, the content interface machine 21 receives the publishing policy of the content management system 30, determines that the transcoding needs to be performed, and then generates a corresponding presetid according to the combination of the Definition field value and the Bitrate field value, and sends a transcoding request message to the ENVIVO encoder 40;
((
<launchJob><launchJob>
<presetid>SD_2048</presetid><presetid>SD_2048</presetid>
<jobname>001VI13992588_4</jobname><jobname>001VI13992588_4</jobname>
<jobparams><jobparams>
<param name="inputfilename"value="ftp://cntv:Cntv!#24@61.160.184.67:21/media/ys0710ynzc32_dh.ts"/><param name="inputfilename"value="ftp://cntv:Cntv!#24@61.160.184.67:21/media/ys0710ynzc32_dh.ts"/>
<param name="outputfilename"value="ftp://180.100.1.247:21/out/1955FFDC82FD-13A5A50FA92A82B250A9/"/><param name="outputfilename"value="ftp://180.100.1.247:21/out/1955FFDC82FD-13A5A50FA92A82B250A9/"/>
</jobparams>),其中presetid为转换规则的对应id,jobname为转码任务名称,inputfilename为待转码的多媒体内容所在的路径,outputfilename为转码后的多媒体内容所存放的路径;</jobparams>), where presetid is the corresponding id of the conversion rule, jobname is the name of the transcoding task, inputfilename is the path of the multimedia content to be transcoded, and outputfilename is the path of the multimedia content after transcoding;
S303、ENVIVO编码器40开始执行转码,并返回对多媒体任务执行转码的任务的任务标识jobid,供后续内容接口机21查询该转码任务的转码结果;其中,对多媒体任务执行转码的任务的任务标识jobid为:(<jobid>aa1d3d12d45ec856e51565243f1a2716</jobid>);S303, the ENVIVO encoder 40 starts performing transcoding, and returns a task identifier jobid of the task for performing transcoding on the multimedia task, for the subsequent content interface machine 21 to query the transcoding result of the transcoding task; wherein, performing transcoding on the multimedia task The task identification jobid of the task is: (<jobid>aa1d3d12d45ec856e51565243f1a2716</jobid>);
S304:CIMP服务器定时5分钟向ENVIVO编码器40发送监控消息S304: The CIMP server sends a monitoring message to the ENVIVO encoder 40 at a timing of 5 minutes.
((
<getJobStatus><getJobStatus>
<jobid>aa1d3d12d45ec856e51565243f1a2716</jobid><jobid>aa1d3d12d45ec856e51565243f1a2716</jobid>
</getJobStatus>);</getJobStatus>);
查询是否转码完成;Query whether the transcoding is completed;
S305:在转码完成后,ENVIVO编码器40反馈转码完成消息;S305: After the transcoding is completed, the ENVIVO encoder 40 feeds back the transcoding completion message;
((
<ns1:getJobStatusResponse><ns1:getJobStatusResponse>
<state>success</state><state>success</state>
</ns1:getJobStatusResponse>);</ns1:getJobStatusResponse>);
S306:内容接口机21向系统管理22发送内容发布请求;S306: The content interface machine 21 sends a content distribution request to the system management 22;
S307:系统管理22向业务负载均衡服务器24转发内容发布请求;S307: The system management 22 forwards the content publishing request to the service load balancing server 24;
S308:业务负载均衡服务器24根据负载平衡原则,转发内容发布请求给负载最轻的
媒体发布服务器23;S308: The service load balancing server 24 forwards the content publishing request to the lightest load according to the load balancing principle.
Media publishing server 23;
S309:媒体发布服务器23根据内容发布请求中的发布URL去获取内容,进行发布;S309: The media publishing server 23 obtains the content according to the publishing URL in the content publishing request, and performs publishing;
S310:媒体发布服务器23向业务负载均衡服务器24返回内容发布结果;S310: The media publishing server 23 returns a content publishing result to the service load balancing server 24;
S311:SLB服务器向系统管理22返回内容发布结果;S311: The SLB server returns a content publishing result to the system management 22;
S312:系统管理22向内容接口机21返回内容发布结果;S312: The system management 22 returns a content publishing result to the content interface machine 21;
S313:内容接口机21向内容管理系统30返回内容发布结果。S313: The content interface machine 21 returns the content distribution result to the content management system 30.
本公开实施例还提供一种内容发布设备,包括:The embodiment of the present disclosure further provides a content distribution device, including:
处理器;processor;
存储器,用于存储所述处理器可执行的指令;a memory for storing instructions executable by the processor;
所述处理器用于根据所述存储器中存储的所述指令执行动作,所述动作包括:The processor is configured to perform an action according to the instruction stored in the memory, the action comprising:
在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对所述多媒体内容执行转码;And performing, in the publishing policy for identifying the multimedia content, performing transcoding on the multimedia content, when performing transcoding control information on the multimedia content;
转码完成后,将转码后的所述多媒体内容进行发布。After the transcoding is completed, the transcoded multimedia content is released.
在本公开实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中任一种内容发布方法的实现。In an embodiment of the present disclosure, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing an implementation of any one of the foregoing embodiments.
以上内容是结合具体的实施方式对本公开所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。The above content is a further detailed description of the present disclosure in conjunction with the specific embodiments, and the specific implementation of the present disclosure is not limited to the description. It is to be understood by those skilled in the art that the present invention may be construed as being limited to the scope of the present disclosure.
本公开实施例提供的内容发布方法,可应用于内容分布式网络系统中,通过在标记了生成的多媒体内容的发布策略后,自动的根据该发布策略中的转码控制信息确定是否要进行转码,省去了人工的环节,在保证了用户体验的同时提高了效率。
The content publishing method provided by the embodiment of the present disclosure can be applied to a content distributed network system, and after determining the publishing policy of the generated multimedia content, automatically determining whether to perform the forwarding according to the transcoding control information in the publishing policy. The code eliminates the manual link and improves the efficiency while ensuring the user experience.
Claims (13)
- 一种内容发布方法,包括:A content publishing method, including:在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对所述多媒体内容执行转码;And performing, in the publishing policy for identifying the multimedia content, performing transcoding on the multimedia content, when performing transcoding control information on the multimedia content;转码完成后,将转码后的所述多媒体内容进行发布。After the transcoding is completed, the transcoded multimedia content is released.
- 如权利要求1所述的内容发布方法,其中,所述发布策略还包括来源标识和目标标识;所述来源标识包括所述多媒体内容的来源码率信息,所述目标标识包括所述多媒体内容的目标码率信息;The content distribution method according to claim 1, wherein the publishing policy further comprises a source identifier and a target identifier; the source identifier includes source code rate information of the multimedia content, and the target identifier includes the multimedia content. Target rate information;所述对多媒体内容执行转码包括:根据所述来源标识和所述目标标识对所述多媒体信息执行转码。Performing transcoding on the multimedia content includes performing transcoding on the multimedia information according to the source identifier and the target identifier.
- 如权利要求1或2所述的内容发布方法,其中,在所述对多媒体内容执行转码时,还包括:监控所述多媒体内容转码的完成度。The content distribution method according to claim 1 or 2, wherein, when performing the transcoding on the multimedia content, the method further comprises: monitoring completion of the multimedia content transcoding.
- 如权利要求3所述的内容发布方法,其中,所述监控多媒体内容的完成度包括:按照固定的时间间隔接收监控消息;当所述多媒体内容的转码完成后,根据所述监控消息反馈转码完成消息。The content distribution method according to claim 3, wherein the monitoring the completion degree of the multimedia content comprises: receiving the monitoring message according to a fixed time interval; and after the transcoding of the multimedia content is completed, feeding back according to the monitoring message Code completion message.
- 如权利要求1或2所述的内容发布方法,其中,所述将转码后的多媒体内容进行发布包括:根据负载平衡原则选择媒体发布服务器,并由所述媒体发布服务器对所述转码后的多媒体内容进行发布。The content distribution method according to claim 1 or 2, wherein the publishing the transcoded multimedia content comprises: selecting a media publishing server according to a load balancing principle, and after the transcoding by the media publishing server The multimedia content is released.
- 一种内容发布装置,包括:A content distribution device comprising:转码模块,设置为在识别出多媒体内容的发布策略中,包括对所述多媒体内容执行转码的转码控制信息时,对所述多媒体内容执行转码;a transcoding module, configured to perform transcoding on the multimedia content when the transcoding control information for performing transcoding is performed on the multimedia content in a publishing policy that identifies the multimedia content;内容发布模块,设置为将转码后的多媒体内容进行发布。The content publishing module is configured to publish the transcoded multimedia content.
- 如权利要求6所述的内容发布装置,其中,还包括监控模块,设置为监控所述多媒体内容转码的完成度。The content distribution apparatus according to claim 6, further comprising a monitoring module configured to monitor completion of transcoding of the multimedia content.
- 如权利要求7所述的内容发布装置,其中,所述监控模块包括监控消息接收模块和监控消息反馈模块,所述监控消息接收模块设置为定时接收监控消息;所述监控消息反馈模块设置为当所述多媒体内容的转码完成后,根据所述监控消息反馈编码完成消息。The content distribution apparatus according to claim 7, wherein the monitoring module comprises a monitoring message receiving module and a monitoring message feedback module, the monitoring message receiving module is configured to receive the monitoring message periodically; the monitoring message feedback module is configured to be After the transcoding of the multimedia content is completed, the encoding completion message is fed back according to the monitoring message.
- 如权利要求6-8任一项所述的内容发布装置,其中,所述内容发布模块还包括平衡模块,设置为根据负载平衡原则选择媒体发布服务器,并对所述转码后的多媒体内容进行发布。The content distribution apparatus according to any one of claims 6 to 8, wherein the content distribution module further comprises a balancing module configured to select a media publishing server according to a load balancing principle, and perform the transcoded multimedia content. release.
- 一种内容分布式网络系统,包括内容接口机、系统管理以及至少一个媒体发布服务器;A content distributed network system, comprising a content interface machine, system management, and at least one media publishing server;所述内容接口机设置为获取多媒体内容的发布策略,并在识别出所述发布策略中,包括对所述多媒体执行转码的转码控制信息时,向编码器发送转码请求消息;The content interface device is configured to obtain a publishing policy of the multimedia content, and send a transcoding request message to the encoder when the transcoding control information is included in the publishing policy, including performing transcoding on the multimedia;所述系统管理设置为控制所述媒体发布服务器对转码后的所述多媒体内容进行发布; The system management is configured to control the media publishing server to publish the transcoded multimedia content;所述媒体发布服务器设置为对转码后的所述多媒体内容进行发布。The media publishing server is configured to publish the transcoded multimedia content.
- 如权利要求10所述的内容分布式网络系统,其中,所述内容接口机还设置为定时向所述编码器发送监控信息,并在所述多媒体内容的转码完成后,接收转码完成消息。The content distribution network system of claim 10, wherein the content interface machine is further configured to periodically send monitoring information to the encoder, and receive a transcoding completion message after the transcoding of the multimedia content is completed. .
- 如权利要求10或11所述的内容分布式网络系统,其中,还包括业务负载均衡服务器,设置为在所述媒体发布服务器对转码后的多媒体内容进行发布之前,根据负载平衡原则选择媒体发布服务器,以对转码后的所述多媒体内容进行发布。The content distribution network system according to claim 10 or 11, further comprising a service load balancing server, configured to select a media release according to a load balancing principle before the media publishing server issues the transcoded multimedia content. The server issues the multimedia content after transcoding.
- 一种内容发布系统,包括内容管理系统、编码器以及如权利要求10-12任一项所述的内容分布式网络系统,其中:A content distribution system comprising a content management system, an encoder, and a content distributed network system according to any one of claims 10-12, wherein:所述内容管理系统设置为标记生成的多媒体内容的发布策略,所述发布策略至少包括对所述多媒体内容执行转码的转码控制信息;The content management system is configured to mark a publishing policy of the generated multimedia content, where the publishing policy at least includes transcoding control information for performing transcoding on the multimedia content;所述编码器设置为接收转码请求消息,并根据所述转码请求消息对所述多媒体内容执行转码。 The encoder is configured to receive a transcoding request message and perform transcoding on the multimedia content according to the transcoding request message.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610304387.9A CN107360445A (en) | 2016-05-09 | 2016-05-09 | Content delivery method, device and system and content distributed network system |
CN201610304387.9 | 2016-05-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017193760A1 true WO2017193760A1 (en) | 2017-11-16 |
Family
ID=60266291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/080370 WO2017193760A1 (en) | 2016-05-09 | 2017-04-13 | Content publishing method, device and system, and content-distributed network system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107360445A (en) |
WO (1) | WO2017193760A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110929055A (en) * | 2019-11-15 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia quality detection method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459848A (en) * | 2008-12-26 | 2009-06-17 | 西安交通大学 | Distributed multi-format digital video transcoding construction design method |
US20100008421A1 (en) * | 2008-07-08 | 2010-01-14 | Imagine Communication Ltd. | Distributed transcoding |
CN101873482A (en) * | 2010-07-02 | 2010-10-27 | 上海交通大学 | Real-time streaming media cluster transcoding system |
CN101917606A (en) * | 2009-12-08 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Control method and device for transcoding system |
CN103458278A (en) * | 2013-09-17 | 2013-12-18 | 上海美琦浦悦通讯科技有限公司 | System and method for achieving copyright control on basis of audio and video file deep processing |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102637186A (en) * | 2011-12-09 | 2012-08-15 | 中兴通讯股份有限公司 | CMS (content management system) content order system and implementation method thereof |
CN103379155B (en) * | 2012-04-23 | 2017-02-08 | 中兴通讯股份有限公司 | Method and system for distributing contents and content management system |
CN104349178B (en) * | 2014-11-21 | 2018-02-09 | 赛特斯信息科技股份有限公司 | Realize real-time transcoding and the system and method for self-adaption code rate streaming media playing on demand |
-
2016
- 2016-05-09 CN CN201610304387.9A patent/CN107360445A/en active Pending
-
2017
- 2017-04-13 WO PCT/CN2017/080370 patent/WO2017193760A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100008421A1 (en) * | 2008-07-08 | 2010-01-14 | Imagine Communication Ltd. | Distributed transcoding |
CN101459848A (en) * | 2008-12-26 | 2009-06-17 | 西安交通大学 | Distributed multi-format digital video transcoding construction design method |
CN101917606A (en) * | 2009-12-08 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Control method and device for transcoding system |
CN101873482A (en) * | 2010-07-02 | 2010-10-27 | 上海交通大学 | Real-time streaming media cluster transcoding system |
CN103458278A (en) * | 2013-09-17 | 2013-12-18 | 上海美琦浦悦通讯科技有限公司 | System and method for achieving copyright control on basis of audio and video file deep processing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110929055A (en) * | 2019-11-15 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia quality detection method and device, electronic equipment and storage medium |
CN110929055B (en) * | 2019-11-15 | 2023-05-02 | 北京达佳互联信息技术有限公司 | Multimedia quality detection method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107360445A (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11979636B2 (en) | Systems and methods for transmission of data streams | |
US9351020B2 (en) | On the fly transcoding of video on demand content for adaptive streaming | |
CA2841377C (en) | Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding | |
US20100312828A1 (en) | Server-controlled download of streaming media files | |
WO2016049987A1 (en) | Data processing method and apparatus, and related servers | |
US20150256600A1 (en) | Systems and methods for media format substitution | |
WO2015165395A1 (en) | Video playback method and apparatus | |
WO2017000720A1 (en) | Multicast transmission method, apparatus, and system for ott media | |
WO2015120766A1 (en) | Video optimisation system and method | |
US20140189064A1 (en) | Method and system for adaptive video transmission | |
WO2016136489A1 (en) | Reception apparatus, reception method, transmission apparatus and transmission method | |
US20240187548A1 (en) | Dynamic resolution switching in live streams based on video quality assessment | |
US20170134773A1 (en) | Transmission apparatus, transmission method, reception apparatus, receiving method, and program | |
WO2017193760A1 (en) | Content publishing method, device and system, and content-distributed network system | |
CA3213773A1 (en) | Methods and systems for packaging and sending content | |
KR102373195B1 (en) | Receiving device, transmission device, data communication method, and data processing method | |
US9049350B2 (en) | Imaging apparatus that transmits media data to reception apparatus, method of processing information, and storage medium | |
KR101087599B1 (en) | Transmission control method for http streaming video service | |
KR101568317B1 (en) | System for supporting hls protocol in ip cameras and the method thereof | |
WO2017071524A1 (en) | Multimedia resource publishing method and apparatus | |
KR101336585B1 (en) | Systme and method for providing adaptive streaming service | |
EP3531648A1 (en) | Media stream transmitting and receiving method and device, system and video relay | |
CN117014608A (en) | Video stream code rate adjusting method, device, computer equipment and storage medium | |
KR20180041785A (en) | Method and apparatus for multimedia streaming based on cloud computing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17795378 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17795378 Country of ref document: EP Kind code of ref document: A1 |