System and method for unified management and injection of media assets
Through a two-level architecture system based on message queue, the problems of repeated operations, high coupling and manual intervention in the media fund issuance system are solved, and unified management and automatic fault processing of media fund are realized, and management efficiency is improved. System stability and support partial classification distribution.
Patent Information
- Application Number
- CN202011023330.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2040-09-25
AI Technical Summary
The existing media distribution system has problems such as repeated operations, high coupling, manual intervention in troubleshooting, and excessive coupling with third-party systems in terms of management and injection, resulting in low management efficiency and instability in system.
Adopt a two-level architecture system based on message queues, and through intensive message queue communication between the upstream media visual management platform and the downstream media visual management platform, unified media resource management, support partial classification and issuance, and in the event of failure. Automatically process retransmission.
It realizes unified management and automatic fault handling of media funds, reduces repeated operations and manual intervention, improves dispatch efficiency and system stability, and decouples the interface between media funds dispatch system and third-party systems, supporting some classifications. hair.
Smart Images

Figure CN113709505B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of media services, and in particular to a two-level architecture system and method thereof, which is provided to operators and implements unified management and injection of media resources based on a message queue. Background Art
[0002] With the development of video technology, interactive network television based on the Internet has become very popular. IPTV uses broadband cable TV networks and integrates multiple technologies such as the Internet, multimedia, and communications to provide home users with a variety of interactive services including digital audio-visual content. In IPTV services, it is often necessary to inject (also called send) audio-visual content to the downstream platform through the media asset (hereinafter referred to as media asset) injection interface, so as to achieve the final end set-top box playback.
[0003] The existing media asset distribution system has weak centralized management capabilities, and it is difficult to unify the various downstream visualization management platforms. It is necessary to log in to each downstream visualization management platform one by one to distribute the media assets one by one. If the same media asset needs to be distributed to many downstream platforms, the distribution behavior will be repeated many times, which is very labor-intensive. If you need to view the media asset distribution status of a certain downstream platform, you also need to log in to the visualization management platform corresponding to the downstream platform to view it. Therefore, an centralized system and method are urgently needed to achieve unified distribution of media assets and unified management of the media asset distribution status of each downstream platform, reducing frequent logins and repeated operations.
[0004] The existing media asset distribution system requires multiple modules to cooperate with each other. All the internal modules of the system call each other through interfaces, which is too highly coupled. If a core module fails, the entire system will often be unavailable for a period of time. In addition, the existing system does not have an automatic retransmission mechanism after the failure is recovered, and human intervention is required to start the re-injection, which affects the distribution efficiency. Therefore, there is an urgent need for a system and method with automatic fault handling function to achieve automatic fault handling without human intervention.
[0005] The existing media resource distribution system often needs to connect to a third-party system through an interface. The coupling between the two systems is too high. When one interface fails, the calls between the interfaces will fail, which will affect online business and data. Therefore, there is an urgent need for a way to decouple from the third-party system to improve the convenience, reliability, and stability of external access.
[0006] The existing media resource distribution system often needs to forward the media resources to the third-party platform. Due to the huge amount of media resource information, the third-party platform often only needs to receive a part of the media resource instead of all the media resource information. However, it is currently impossible to classify and distribute the media resource information partially, resulting in unnecessary waste of system resources. Therefore, there is an urgent need for a system and method that supports the classification and distribution of the media resource information according to the actual needs of the third-party platform. Summary of the invention
[0007] This Summary is provided to introduce some concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter; nor is it intended to be used to determine or limit the scope of the claimed subject matter.
[0008] In order to unify the downstream platform to avoid repeated injection of media resources, support partial classification of media resources and separate distribution, solve the problems of failures requiring manual intervention and third-party system docking, the present invention provides a two-level architecture system based on message queues to achieve unified management and injection of media resources.
[0009] The media asset distribution system of the present invention comprises an intensive upstream media asset visualization management platform, a message queue system, and one or more downstream media asset visualization management platforms, wherein the intensive upstream media asset visualization management platform and the downstream media asset visualization management platform communicate through the message queue system.
[0010] The centralized upstream media asset visualization management platform is internally integrated with an upstream message queue processing module, which is configured to construct a media asset issuance work order and send it to the message queue system.
[0011] The downstream media asset visualization management platform includes a downstream message queue processing module, a media asset visualization management platform, a personalized media asset injection interface, and a downstream capability platform. The downstream message queue processing module is configured to subscribe to the message queue from the message queue system in real time, receive and process media asset issuance orders, and after processing, call the personalized media asset injection interface to inject media assets into the downstream capability platform. The downstream capability platform is configured to asynchronously notify the personalized media asset injection interface of the processing results of the injection. The downstream message queue processing module is further configured to, after receiving the processing results of the downstream capability platform, return them to the centralized upstream media asset visualization management platform via the message queue system.
[0012] The third-party system communicates with the message queue system and subscribes to the message queue to consume messages. The centralized upstream media asset visualization management platform selects some media assets and writes them into the message queue system, and the message queue system injects the media assets into the third-party system.
[0013] According to the media resource distribution method of the present invention, the upstream platform edits the media resources and injects the media resources into the selected downstream platform, and the method includes: the upstream platform constructs a media resource work order and sends it to the message queue system through the upstream message queue processing module included; the downstream platform monitors the message queue system in real time through the downstream message queue processing module included, subscribes / receives information of the media work order, and parses and processes the work order in the order of delivery when there is new information; the downstream message queue processing module sends an injection instruction to call the personalized media resource injection interface included in the downstream platform to inject media resources into the downstream capability platform included in the downstream platform; the personalized media resource injection interface notifies the downstream message queue processing module of the processing result; the downstream message queue processing module constructs the processing result work order and sends it to the message queue system; and the upstream message queue processing module monitors the message queue system in real time, subscribes / receives the processing result work order, parses and records it, and publishes the work order processing completion information to the message queue system.
[0014] The injection of media resources into the downstream capability platform specifically includes: the downstream message queue processing module issues an injection work order; and the receipt work order is sent back to the personalized media resource injection interface.
[0015] The method of the present invention further includes accessing a third-party system, the third-party system monitoring a message queue system, subscribing to / receiving work order processing completion information, and subscribing to / receiving media asset work orders and performing analysis.
[0016] The present invention strengthens the capability of the centralized upstream platform, so that the centralized upstream platform can manage all media asset information and the media asset distribution status of all downstream platforms, and the centralized upstream platform can select multiple downstream platforms for distribution at the same time to avoid repeated operations.
[0017] The present invention achieves decoupling between the intensive upstream platform and the downstream platform by introducing a message queue, that is, the intensive upstream platform encapsulates the media resource issuance work order as a message and delivers it to the message queue, and the downstream platform subscribes to the message queue for consumption and processing. In addition, the message queue supports arranging and persistently storing messages in the order of delivery. When a downstream platform fails, the media resource work orders that have been issued to the message queue by the intensive upstream platform will not be affected. This feature can be used to implement the automatic resending function of the work order. In addition, the message queue itself supports cluster deployment and multi-machine automatic backup, and both capacity expansion and reliability are met and guaranteed.
[0018] When a third-party system needs to connect to this system, such as receiving information such as media asset injection results, the third-party system can directly subscribe to the message queue for message consumption without having to connect to the downstream platform interface specifications and debug one by one; in addition, even if the third-party system is temporarily unavailable, it can continue to consume from the message queue after recovery without having to worry about data loss and other issues.
[0019] When forwarding media assets to a third-party platform, it supports partial classification of media asset information and separate distribution. When a third-party platform needs some media assets, the central management platform of this system can filter out some media assets according to the needs and distribute them to the message queue. The third-party platform can subscribe to the message queue to consume and obtain the required part of the media assets. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The present invention will be described in more detail below with reference to specific embodiments shown in the accompanying drawings.
[0021] Figure 1 is a block diagram of a media asset distribution system for realizing unified management and injection of media assets according to an embodiment of the present invention;
[0022] Figure 2 is a timing diagram of a method for implementing unified management and injection of media assets according to an embodiment of the present invention.
[0023] The flowcharts and block diagrams in the accompanying drawings show the architecture, functions and operations that may be implemented by the system and method according to the embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and the module, program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. DETAILED DESCRIPTION
[0024] The present invention will be described in more detail below by referring to the specific embodiments shown in the accompanying drawings. By reading the detailed description of the specific embodiments below, the various advantages and benefits of the present invention will become clear to those of ordinary skill in the art. However, it should be understood that the present invention can be implemented in various forms and should not be limited by the various embodiments set forth herein. The following embodiments are provided in order to enable a more thorough understanding of the present invention. Unless otherwise stated, the technical terms or scientific terms used in the present invention should be the common meanings understood by those skilled in the art to which the present invention belongs.
[0025] In order to solve the problem of high duplication in media asset injection due to the large number of platforms and the difficulty in unification and the weak intensive management capability of the existing system, the system for realizing unified management and injection of media assets (referred to as the media asset distribution system) of the present invention has built two upstream and downstream platforms, namely, an intensive upstream media asset visualization management platform (referred to as the upstream platform) and a downstream media asset visualization management platform (referred to as the downstream platform).
[0026] Reference Figure 1The media resource distribution system of the present invention mainly includes an upstream platform, a message queue system, and one or more downstream platforms. The figure shows two downstream platforms as examples. Those skilled in the art can understand that a larger number of downstream platforms can also be included in the system of the present invention.
[0027] The upstream platform 110 is an intensive upstream media asset visualization management platform, which integrates an upstream message queue processing module 111; the downstream platforms 120 and 130 are downstream media asset visualization management platforms, including downstream message queue processing modules 121 and 131, media asset visualization management platforms 124 and 134, personalized media asset injection interfaces 122 and 132, and downstream capability platforms 123 and 133.
[0028] The upstream media asset visualization management platform and the downstream media asset visualization management platform communicate with each other through a message queue system.
[0029] The media asset distribution system described in the present invention can edit relevant media assets on the upstream platform and select one or more downstream platforms for distribution. This distribution action includes the upstream message queue processing module 111 of the upstream platform 110 automatically constructing a media asset distribution work order and sending it to the message queue system 180. The corresponding downstream message queue processing modules 121 and 131 subscribe to the message queue from the message queue system 180 in real time, automatically receive and process the relevant media asset distribution work order, and call the existing downstream platform personalized media asset injection interface 122 and 132 to inject media assets into the capability platform after the processing is completed. After the injection processing is completed, the downstream capability platform will asynchronously notify the personalized media asset injection interface of the processing result. After receiving the result, the personalized media asset injection interface will call back to notify the message queue processing module to process 121 and 131. After receiving the media asset injection result, the message queue processing module 121 and 131 will return it to the upstream platform 110 through the message queue system.
[0030] In this way, the upstream platform 110 and the downstream platforms 120 and 130 form a complete closed-loop process of work order transmission, thereby achieving the purpose of unified management and distribution of media resources of each downstream platform 120 and 130 only on the upstream platform 110. When the media resource work order needs to be reissued, both the upstream platform and the downstream platform can reissue it, without repeatedly logging into the downstream platform to distribute the media resources, which improves the distribution and management efficiency to a certain extent.
[0031] By introducing the message queue system, the problem of high coupling of internal modules and low efficiency of distribution caused by manual participation in the re-injection process when a system failure occurs is also solved. The upstream platform and the downstream platform communicate through the message queue system to achieve decoupling between the two. In addition, the media asset distribution work order is numbered and persistently stored in the message queue according to the message delivery sequence. Since the message queue itself supports cluster deployment and multi-machine automatic backup and has high reliability, the work order can be stored reliably and persistently. When the downstream platform is temporarily unavailable due to a system failure, the media assets that have been distributed to the message queue by the upstream platform will not be affected. The work order can be continuously persisted in the message queue and can be automatically consumed when the downstream platform capacity is restored. When a batch of media asset work orders need to be reissued, the historical work orders can be automatically consumed again by adjusting the number of the consumption work order on the downstream platform, thereby realizing automatic batch reissue after system failure recovery, without excessive manual participation, and improving content distribution efficiency.
[0032] By introducing the message queue system, the problem of interface connection with the third-party system 190 is also solved. For example, the third-party system often needs to know the injection status of each downstream platform of the media asset. In this case, the third-party system only needs to subscribe to the message queue to consume the message. On the one hand, the decoupling of the media asset distribution system and the third-party system is achieved, and the problem of unreliable interface calling method is solved; on the other hand, the convenience of connection is improved and the diversity of requirements of different third-party systems is adapted. When the third-party system needs to know other types of messages, it only needs to subscribe to this type of message in the same way for processing, without the need to connect to a new interface; conversely, the third-party system can also use the message queue to produce messages to notify the media asset distribution system.
[0033] With the help of the upstream platform and the message queue system, it is also possible to support partial classification of media asset information and send it to the third-party platform separately. The upstream platform manages all media asset information, and can query the media asset required by the third-party platform based on a combination of multiple screening conditions, and write the screened media asset information into the corresponding category of the message queue. The third-party platform only needs to subscribe to the message queue correctly to receive the required partial media asset information.
[0034] The technical solution of the present invention is a two-level architecture system that introduces a message queue. The system has a high degree of integration. The integrated upstream platform establishes a connection with the downstream platform through the message queue, which can not only manage all media assets, but also manage the injection status of all media assets in each downstream platform. There is no need to manually log in to the downstream platform repeatedly to inject and view media assets, which improves the injection and management efficiency to a certain extent.
[0035] The upstream platform and the downstream platform exchange work orders through the message queue system, realizing the decoupling between the two-level architecture within the system. In addition, the media asset injection work orders are numbered and persistently stored in the message queue system according to the order of message delivery. When batch media asset work orders need to be resent, the historical work orders can be automatically re-consumed by adjusting the number of the consumption work order on the downstream media asset visualization management platform, thus realizing automatic batch resending after system failure recovery, without excessive manual participation, and improving content injection efficiency.
[0036] When connecting to a third-party system, by introducing a message queue, on the one hand, the media asset distribution system is decoupled from the external system, solving the problem of unreliable interface calling methods; on the other hand, the convenience of connection is improved and the diversity of requirements of different third-party systems is adapted. When forwarding media assets to a third-party platform, some media assets are filtered out with the help of the upstream platform and written into the message queue, thereby achieving the purpose of partial classification and separate injection of media assets.
[0037] Next, combine Figure 2 , discussing the process of implementing a method for unified management and ingestion of media assets.
[0038] The upstream platform edits the media assets and selects a downstream platform for injection.
[0039] In step 201, the upstream platform constructs a media resource work order and sends it to the message queue system;
[0040] In step 202, the message queue processing module of the downstream platform monitors the message queue system in real time, subscribes to / receives work order information, and if there is new information, immediately parses and processes the work order in the delivery order in step 203;
[0041] After the downstream message queue processing module successfully parses the work order, in step 204, an injection instruction is sent to call the personalized media asset injection interface of the downstream platform to perform media asset injection of the downstream capability platform, including issuing the injection work order in step 205, and sending back (asynchronous response) a receipt work order to the personalized media asset injection interface in step 206;
[0042] After receiving the injection processing result, the personalized media asset injection interface of the downstream platform is called multiple times in step 207 to continuously notify the work order issuance status and notify the message queue processing module of the downstream platform of the processing result;
[0043] After receiving the personalized media asset injection interface result, the downstream message queue processing module constructs a result work order and sends it to the message queue system in step 208;
[0044] The message queue processing module embedded in the upstream platform monitors the message queue system in real time in step 209 to subscribe / receive the processing result work order and parse it, records the processing result in step 210, and publishes the work order processing completion information to the message queue system in step 211.
[0045] When a third-party system is connected, the third-party system monitors the message queue, including subscribing to / receiving work order processing completion information in step 212 , subscribing to / receiving part of the media asset work order in step 213 , and parsing the business operation in step 214 .
[0046] Compared with the prior art, the media resource distribution system and method of the present invention has the following advantages:
[0047] The degree of concentration is high, and there is no need to repeatedly log in to the downstream platform to distribute and view media resources, which improves the efficiency of media resource distribution and management to a certain extent.
[0048] By introducing the message queue, the decoupling of the system's internal modules is achieved. When the centralized upstream platform fails, the downstream platforms will not be affected, and vice versa. The reliability and persistence of the message queue are utilized to achieve automatic batch retransmission after system failure recovery, without the need for excessive manual intervention, thus improving the efficiency of media asset distribution.
[0049] By introducing the message queue, on the one hand, the decoupling of the media resource distribution system and the third-party system is achieved, solving the problem of unreliable interface calling methods; on the other hand, the convenience of docking is improved and the diversity of requirements of different third-party systems is adapted.
[0050] By introducing the message queue, when the media resources are forwarded to the third-party platform, the centralized upstream management platform can filter out the media resources that need to be distributed according to different conditions and distribute them to the message queue. The third-party platform can directly subscribe to the message queue for consumption, thereby achieving the purpose of partial classification and separate distribution of media resources.
Claims
1. A media resource distribution system, comprising: An intensive upstream media asset visualization management platform, wherein the intensive upstream media asset visualization management platform is internally integrated with an upstream message queue processing module; Message queue system; as well as One or more downstream media asset visualization management platforms, wherein the downstream media asset visualization management platform includes a downstream message queue processing module, a media asset visualization management platform, a personalized media asset injection interface, and a downstream capability platform, The intensive upstream media asset visualization management platform and the downstream media asset visualization management platform are decoupled, and media asset issuance work orders are transmitted to each other through the message queue system. The message queue system communicates with the upstream message queue processing module, the downstream capability platform, and the third-party system respectively. The media asset issuance work orders are persistently stored in the message queue system according to the message delivery sequence number. The third-party system subscribes to the message queue to consume messages. The intensive upstream media asset visualization management platform selects some media assets and writes them into the message queue system. The message queue system injects the media asset classification into the third-party system.
2. The system according to claim 1, characterized in that The upstream message queue processing module is configured to construct the media asset distribution work order and send it to the message queue system.
3. The system according to claim 1, characterized in that The downstream message queue processing module is configured to: Subscribe to the message queue from the message queue system in real time, Receive the media asset work order and process it, and After the processing is completed, the personalized media asset injection interface is called to inject media assets into the downstream capability platform.
4. The system according to claim 3, characterized in that The downstream capability platform is configured to asynchronously notify the personalized media asset injection interface of the processing result of the injection.
5. The system according to claim 4, characterized in that The downstream message queue processing module is further configured to transmit the processing result of the downstream capability platform back to the centralized upstream media asset visualization management platform via the message queue system after receiving the processing result of the downstream capability platform.
6. A method for distributing media assets, wherein the upstream platform edits the media assets and injects the media assets into the selected downstream platform in a state where the upstream platform and the downstream platform are decoupled, the method comprising: The upstream platform constructs a media resource issuance work order and sends it to the message queue system through the upstream message queue processing module included therein. The media resource issuance work order is persistently stored in the message queue system according to the message delivery sequence number; The downstream platform monitors the message queue system in real time through the included downstream message queue processing module, subscribes to / receives the information of the media asset work order, and parses and processes the media asset work order according to the delivery order when there is new information; The downstream message queue processing module sends an injection instruction to call the personalized media asset injection interface included in the downstream platform to inject media assets into the downstream capability platform included in the downstream platform; The personalized media asset injection interface notifies the downstream message queue processing module of the processing result; The downstream message queue processing module constructs a processing result work order and sends it to the message queue system; The upstream message queue processing module monitors the message queue system in real time, subscribes to / receives the processing result work order, parses and records it, and publishes work order processing completion information to the message queue system; as well as The message queue system is connected to a third-party system, and the third-party system monitors the message queue system, subscribes to / receives the work order processing completion information, and subscribes to / receives the media asset issuance work order, and performs analysis. The upstream platform selects part of the media resources and writes them into the message queue system, and the message queue system classifies the media resources and injects them into the third-party system.
7. The method according to claim 6, characterized in that Injecting media resources into the downstream capability platform includes: The downstream message queue processing module publishes the media asset distribution work order; and Send a receipt work order to the personalized media asset injection interface.
