A distribution method, system, device and storage medium
By working together with the distribution and management devices and utilizing identification information and interface specifications, the automation and security of content distribution in the Internet TV system have been achieved, solving the problem of low efficiency in existing technologies and improving the reliability and resource utilization of content distribution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
- Filing Date
- 2022-10-17
- Publication Date
- 2026-08-04
AI Technical Summary
The existing Internet TV system's content distribution system lacks automated business processes, resulting in low content distribution efficiency, inability to handle network anomalies in a timely manner, abnormal media upload and download, non-real-time synchronization of system status, and insufficient secure storage and distribution control.
The system employs a collaborative approach between a distribution device and a management device. By isolating the first and second storage devices, it uses identification information to identify directory files, ensuring security. Furthermore, it generates injection files through preset interface specifications, thereby achieving an automated content distribution process, including downloading, storage, injection, and state synchronization.
It has increased the automation of content distribution, reduced human intervention, ensured security and resource utilization, and improved the efficiency and reliability of content distribution.
Smart Images

Figure CN116962763B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet television and multimedia, and more particularly to a distribution method, system, device, and storage medium. Background Technology
[0002] In related technologies, content distribution systems based on the Command and Control (C2) Internet TV system content and business management interface specification all follow the injection process specified in the specification, lacking an automated business process. The large number of images and playback files to be transmitted between content providers and content license holders, the long processing time, and the involvement of different interface protocols including Hypertext Transfer Protocol (HTTP) and File Transfer Protocol (FTP) all contribute to injection anomalies caused by network instability and other factors. These anomalies include media upload / download errors, lack of acknowledgment files between systems, and injection timeouts due to anomalies. These issues remain poorly addressed. If content distribution fails, the entire process must be restarted, significantly impacting efficiency. Furthermore, the inconsistent processing speeds of media assets and files between content provider and content license holder systems prevent real-time synchronization of work order statuses, necessitating manual control of the distribution speed. Existing content distribution systems do not address the secure storage of distributed media assets and related files. There is a lack of effective control over how distributed content is stored and made available to different content license holders. Summary of the Invention
[0003] To address the existing problems, the main objective of this invention is to provide a distribution method, system, device, and storage medium.
[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0005] In a first aspect, the present invention provides a distribution method applied to a distribution device in a distribution system; the method includes:
[0006] Receive the first identification information of the recipient and the storage information of the content to be distributed from the management device in the distribution system;
[0007] The content to be distributed is downloaded from the first storage device of the distribution system according to the storage information, and the downloaded content to be distributed is stored in the directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information;
[0008] The first address information of the directory file is sent to the management device; the first address information is used by the management device to generate the injection file of the content to be distributed based on the first address information and preset interface specification information.
[0009] The system receives an injection request message for the content to be distributed sent by the management device, the injection request message carrying a second address information of the injected file; and controls the recipient to download the content to be distributed according to the second address information based on the injection request message.
[0010] In the above scheme, the method further includes:
[0011] A first instruction is sent to the recipient based on the injection request information; the first instruction is used by the recipient to download the content to be distributed from the directory file in the second storage device according to the second address information for injection.
[0012] In the above scheme, the method further includes:
[0013] Receive first information sent by the recipient; the first information represents the injection result of the recipient into the content to be distributed;
[0014] If the injection result indicates that the recipient has completed the injection of the content to be distributed, a second message is sent to the management device; the second message is used to notify the management device to change the status of the content to be distributed.
[0015] In the above scheme, the method further includes:
[0016] The download link information of the injection result is obtained from the recipient based on the first information sent by the recipient; and the injection result is obtained using the download link information.
[0017] In the above scheme, the method further includes:
[0018] Receive response information from the management device regarding changes to the status of the content to be distributed;
[0019] The content to be distributed in the directory file in the second storage device of the distribution system is deleted according to the response information.
[0020] In the above scheme, the method further includes:
[0021] Send a third message to the management device; the third message is used to characterize the status of downloading the content to be distributed from the first storage device of the distribution system.
[0022] Secondly, the present invention also provides a distribution method applied to a management device in a distribution system, the method comprising:
[0023] Determine the first identification information of the recipient and the second identification information of the content to be distributed;
[0024] The storage information of the content to be distributed is obtained from the first storage device of the distribution system according to the second identification information;
[0025] The first identification information and the storage information are sent to the distribution device in the distribution system; the storage information is used by the distribution device to download the content to be distributed from the first storage device and store it in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information.
[0026] Receive the first address information of the directory file sent by the distribution device; generate an injection file for the content to be distributed based on the first address information and preset interface specification information; and store the injection file in the directory file.
[0027] The injection request information of the content to be distributed is sent to the distribution device; the injection request information carries the second address information of the injection file; the injection request information is used to control the recipient to download the content to be distributed according to the second address information.
[0028] In the above scheme, the method further includes:
[0029] The system receives a second message sent by the distribution device; the second message is used to change the status of the content to be distributed.
[0030] In the above scheme, the method further includes:
[0031] The distribution device sends a response message to the distribution device to change the status of the content to be distributed; the response message is used by the distribution device to delete the content to be distributed from the directory file in the second storage device of the distribution system.
[0032] In the above scheme, the method further includes:
[0033] The system receives third information sent by the distribution device; the third information is used to characterize the status of the distribution device downloading the content to be distributed from the first storage device of the distribution system.
[0034] Thirdly, embodiments of the present invention provide a distribution device applied to a distribution system; the distribution device includes:
[0035] The first receiving unit is used to receive the first identification information of the recipient and the storage information of the content to be distributed sent by the management device in the distribution system.
[0036] The first download unit is configured to download the content to be distributed from the first storage device of the distribution system according to the storage information, and store the downloaded content to be distributed in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information.
[0037] The first sending unit is used to send the first address information of the directory file to the management device; the first address information is used by the management device to generate the injection file of the content to be distributed based on the first address information and preset interface specification information.
[0038] The first receiving unit is further configured to receive injection request information of the content to be distributed sent by the management device, wherein the injection request information carries second address information of the injected file; and control the recipient to download the content to be distributed according to the second address information based on the injection request information.
[0039] In the above scheme, the first sending unit is further configured to send a first instruction to the recipient according to the injection request information; the first instruction is used by the recipient to download the content to be distributed from the directory file in the second storage device according to the second address information for injection.
[0040] In the above scheme, the first receiving unit is further configured to receive first information sent by the recipient; the first information represents the injection result of the recipient into the content to be distributed.
[0041] In the above scheme, the first sending unit is further configured to send second information to the management device when the injection result indicates that the recipient has completed the injection of the content to be distributed; the second information is used to notify the management device to change the status of the content to be distributed.
[0042] In the above scheme, the system further includes a first acquisition unit, which is used to acquire the download link information of the injection result from the recipient based on the first information sent by the recipient; and to acquire the injection result using the download link information.
[0043] In the above scheme, the first receiving unit is also used to receive response information from the management device regarding changes in the status of the content to be distributed.
[0044] In the above scheme, the system further includes a first deletion unit, used to delete the content to be distributed from the directory file in the second storage device of the distribution system according to the response information.
[0045] In the above scheme, the first sending unit is further configured to send third information to the management device; the third information is used to characterize the status of downloading the content to be distributed from the first storage device of the distribution system.
[0046] Fourthly, embodiments of the present invention provide a management device applied to a distribution system; the management device includes:
[0047] The second determining unit is used to determine the first identification information of the recipient and the second identification information of the content to be distributed;
[0048] The second acquisition unit is used to acquire the storage information of the content to be distributed from the first storage device of the distribution system according to the second identification information;
[0049] The second sending unit is configured to send the first identification information and the storage information to the distribution device in the distribution system; the storage information is used by the distribution device to download the content to be distributed from the first storage device and store it in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information;
[0050] The second receiving unit is configured to receive the first address information of the directory file sent by the distribution device; generate an injection file of the content to be distributed based on the first address information and preset interface specification information; and store the injection file in the directory file.
[0051] The second sending unit is further configured to send injection request information of the content to be distributed to the distribution device; the injection request information carries second address information of the injection file; the injection request information is used to control the recipient to download the content to be distributed according to the second address information.
[0052] In the above scheme, the second receiving unit is further configured to receive second information sent by the distribution device; the second information is used to change the status of the content to be distributed.
[0053] In the above scheme, the second sending unit is further configured to send response information to the distribution device to change the status of the content to be distributed; the response information is used by the distribution device to delete the content to be distributed from the directory file in the second storage device of the distribution system.
[0054] In the above scheme, the second receiving unit is further configured to receive third information sent by the distribution device; the third information is used to characterize the status of the distribution device downloading the content to be distributed from the first storage device of the distribution system.
[0055] Fifthly, embodiments of the present invention provide a storage medium storing a computer program; when the computer program is executed by a processor, it implements the steps of a method for distribution by a distribution device in the distribution system, or the steps of a method for distribution by a management device in the distribution system.
[0056] In a sixth aspect, embodiments of the present invention provide a distribution device, the distribution device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein, when the processor is used to run the computer program, it executes the steps of a distribution method of a distribution device in the distribution system, or the steps of a distribution method of a management device in the distribution system.
[0057] This invention provides a distribution method, system, device, and storage medium. The method, applied to a distribution system, includes: receiving first identification information of a recipient and storage information of content to be distributed from a management device in the distribution system; downloading the content to be distributed from a first storage device of the distribution system according to the storage information, and storing the downloaded content to be distributed in a directory file in a second storage device of the distribution system; the directory file being determined based on the first identification information; sending first address information of the directory file to the management device; the first address information being used by the management device to generate an injection file for the content to be distributed based on the first address information and preset interface specification information; receiving an injection request information for the content to be distributed from the management device; the injection request information carrying second address information of the injection file; and controlling the recipient to download the content to be distributed according to the second address information based on the injection request information. By employing the technical solution of this invention, the isolation between the first and second storage devices ensures a certain level of security; the first identification information of the recipient and the determination of the directory file based on the first identification information provide a certain level of security and improve resource utilization. Attached Figure Description
[0058] Figure 1 This is a schematic diagram illustrating how a program information sender transmits multimedia media assets and media to a program information receiver, according to an embodiment of the present invention.
[0059] Figure 2 A flowchart illustrating a distribution method provided in an embodiment of the present invention;
[0060] Figure 3 A schematic diagram of the content distribution system architecture provided in this embodiment of the invention;
[0061] Figure 4 This is a schematic diagram of the file storage structure of the external storage module provided in an embodiment of the present invention;
[0062] Figure 5 This is a schematic diagram illustrating the timing of the content distribution process successfully completed according to an embodiment of the present invention;
[0063] Figure 6 This is a schematic diagram of the content distribution work order process according to an embodiment of the present invention;
[0064] Figure 7 A schematic diagram of a distribution device provided in an embodiment of the present invention;
[0065] Figure 8 A schematic diagram of the structure of a management device provided in an embodiment of the present invention;
[0066] Figure 9 This is a schematic diagram of the hardware structure of a distribution device according to an embodiment of the present invention. Detailed Implementation
[0067] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the specific technical solutions of the invention will be further described in detail below with reference to the accompanying drawings of the embodiments of the present invention. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0068] With the rapid development of network technology, various video services have been widely promoted, with video services applied to the digital television and internet sectors being the dominant direction. Currently, content providers distribute (inject) multimedia assets and media to content license holders primarily based on the C2 Internet TV system content and service management interface specification or its extended documentation. This specification involves the Content Send Point (CSP) sending multimedia assets (metadata) and media (media files) to the Local Service Point (LSP), such as... Figure 1 As shown, Figure 1 This is a schematic diagram illustrating how a program information sender transmits multimedia media assets and media to a program information receiver, as provided in an embodiment of the present invention.
[0069] The content distribution interface uses a Simple Object Access Protocol (SOAP) + Extensible Markup Language (XML) instruction document approach. SOAP messages are generic messages independent of specific instruction content, used only to express command requests. Specific commands and parameters are described using separate XML documents. Using generic SOAP messages independent of specific instructions facilitates instruction expansion and enables a general, reliable message delivery mechanism in asynchronous environments.
[0070] CSP proactively publishes content to LSP using SOAP protocol and XML instruction documents. LSP obtains the XML based on the file Uniform Resource Locator (URL) in the SOAP message and parses and executes it.
[0071] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0072] Figure 2 This is a flowchart illustrating a distribution method provided in an embodiment of the present invention. Figure 2 As shown, a distribution device is applied in a distribution system; the method includes:
[0073] S201: Receive the first identification information of the recipient and the storage information of the content to be distributed sent by the management device in the distribution system.
[0074] It should be noted that the distribution system can be a content distribution system, which includes a distribution device, a management device, a first storage device, and a second storage device. For example... Figure 3 As shown, Figure 3 This is a schematic diagram of a content distribution system architecture provided in an embodiment of the present invention. As an example, the distribution device can be a content distribution module; the management device can be a content management module; the first storage device can be an internal storage module; and the second storage device can be an external storage module.
[0075] System operators can select media assets and specify the content licensee to create a content distribution work order through the content management module. The content management module retrieves the media download link from the internal storage module based on the work order and sends it to the content distribution module. The content distribution module downloads the media file according to the download link, uploads it to the external storage module, and responds to the content management module with the download result. The content management module generates a C2 injection file based on the download result, uploads it to the external storage module, and sends an injection command to the content distribution module. Upon receiving the injection command, the content distribution module initiates a C2 injection request to the content licensee's system. After receiving the C2 injection request, the content licensee downloads the media asset from the external storage module according to the download address in the injection file and responds to the content distribution module with the C2 injection result. The content distribution module synchronizes the injection result to the content management module and deletes the corresponding injection file and media file stored in the external storage module.
[0076] In this embodiment, the recipient of the distributed content is the party receiving the content, which may be a content license holder. The first identification information is used to distinguish the recipient, and is not limited here. As an example, the first identification information may be a unique identifier for each content license holder, SP1. The content to be distributed may be media assets. The storage information may be a download link for the corresponding medium of the media assets.
[0077] S202: Download the content to be distributed from the first storage device of the distribution system according to the storage information, and store the downloaded content to be distributed in the directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information.
[0078] In this embodiment, the first storage device is a device for storing content to be distributed, and is not limited thereto. As an example, the first storage device can be an internal storage module, such as Object Storage Service (OSS), which can be used to store multimedia media, and a relational database management system (MySQL) can be used to store media assets. The second storage device can be an external storage module, FTP. The directory file is a distribution file directory created based on the unique identifier SP1 of each content licensee. For example, / SP1 / RES is used to store playback media files, and / SP1 / PIC is used to store media asset image files, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of the file storage structure of the external storage module provided in an embodiment of the present invention. According to the C2 interface specification, the external storage module mostly uses FTP storage. To achieve access control, the distribution system generates a unique identifier for each operator. The external storage module can create a corresponding directory for each operator based on the operator's unique identifier and provide read-only accounts. Under each content licensee's directory, a playback media directory, an image media directory, and a C2 media asset injection file directory are used to store playback media, image media, and C2 media asset injection files, respectively.
[0079] S203: Send the first address information of the directory file to the management device; the address information is used by the management device to generate the injection file of the content to be distributed based on the first address information and the preset interface specification information.
[0080] In this embodiment, the first address information is the address of a directory file. As an example, the first address information can be a corresponding FTP address. The preset interface specification information can be the C2 interface specification.
[0081] S204: Receive injection request information for the content to be distributed sent by the management device, wherein the injection request information carries the second address information of the injected file; and control the recipient to download the content to be distributed according to the second address information based on the injection request information.
[0082] In this embodiment, the injection request information may be an injection command issued by the content management module. The second address information may be the address of the media asset injection file.
[0083] The distribution method provided in this embodiment of the invention ensures a certain level of security by isolating the first storage device and the second storage device; the first identification information of the recipient and the directory file determined based on the first identification information also provide a certain level of security and improve resource utilization.
[0084] In an optional embodiment of the present invention, the method further includes: sending third information to the management device; the third information being used to characterize the status of downloading the content to be distributed from the first storage device of the distribution system.
[0085] In this embodiment, the third piece of information may be a notification indicating the completion of downloading the content to be distributed from the first storage device of the distribution system. For ease of understanding, an application scenario is illustrated here: After the content management module sends the media download link to the content distribution module, it enters the state of pushing resources to the content distribution provincial platform, waiting for the content distribution module to notify it of the download completion. If no download completion notification is received within a specified time (e.g., 30 minutes), a retry is performed. If the number of retries exceeds the specified maximum number of retries (e.g., 3 times), the system enters the manual handling node for download anomalies. Through manual handling, the distribution process can be rolled back to the process start state, and the media download link can be resent to the content distribution module or an abnormal completion work order can be issued.
[0086] By setting automatic retry times and setting timeout periods for waiting response nodes, as well as setting a maximum number of retries or automatically transferring to manual processing nodes if the maximum number of retries is exceeded, the processing progress can be monitored in real time, maximizing the automation of injection, reducing manual intervention, and improving efficiency.
[0087] In an optional embodiment of the present invention, the method further includes: sending a first instruction to the recipient according to the injection request information; the first instruction is used by the recipient to download the content to be distributed from a directory file in the second storage device according to the second address information for injection.
[0088] In this embodiment, the first instruction can be an injection instruction. For ease of understanding, an application scenario is illustrated here: after receiving an injection request, the content distribution module sends an injection instruction to the content licensee system through the C2 interface according to the C2 interface specification. The content licensee obtains the media asset injection address according to the injection instruction, downloads the media asset injection file from / SP1 / C2 of the external storage module FTP, and performs the injection.
[0089] Content licensees download content to be distributed from external storage modules. By isolating internal and external storage, a certain level of security can be ensured.
[0090] In an optional embodiment of the present invention, the method further includes: receiving first information sent by the recipient; the first information characterizing the injection result of the recipient on the content to be distributed; and, if the injection result characterizing the recipient's completion of the injection on the content to be distributed, sending second information to the management device; the second information being used to notify the management device to change the status of the content to be distributed.
[0091] In this embodiment, the first information can be an injection completion receipt. The second information can be the injection result; as an example, the second information can be "injection complete." For ease of understanding, an application scenario is illustrated here: the content licensee system injects a completion receipt into the content distribution module via the C2 interface according to the C2 interface specification. The content distribution module notifies the content management module that the injection is complete. The content management module can then change the work order status.
[0092] By receiving the injection completion receipt, the content management module can promptly change the work order status, thereby automating the content distribution process as much as possible and reducing manual intervention.
[0093] In an optional embodiment of the present invention, the method further includes: obtaining download link information of the injection result from the recipient based on first information sent by the recipient; and obtaining the injection result using the download link information.
[0094] In this embodiment, the download link information of the injection result is obtained from the recipient based on the first information sent by the recipient. The injection result is obtained using the download link information. This can be achieved by the content distribution module obtaining the download link of the injection result based on the injection result receipt from the content licensee's C2 interface. The content distribution module obtains the injection result file through the download link, parses the injection result, and synchronizes the injection result to the content management module. The content management module can then change the work order status.
[0095] In an optional embodiment of the present invention, the method further includes: receiving response information from the management device regarding a change in the status of the content to be distributed; and deleting the content to be distributed from a directory file in the second storage device of the distribution system based on the response information.
[0096] In this embodiment, the response information is the information regarding the change of work order status by the content management module. For ease of understanding, an application scenario is illustrated here: the content management module can change the work order status and respond to the content distribution module, which then deletes the media stored in the external storage module. Deleting the distributed content improves the utilization rate of storage space.
[0097] A distribution method of the present invention is applied to a management device in a distribution system, the method comprising:
[0098] Determine the first identifier of the recipient and the second identifier of the content to be distributed.
[0099] In this embodiment, the second identification information can be the number of the content to be distributed, which is not limited here. As an example, the second identification information can be the media asset number M1. For ease of understanding, an application scenario is illustrated here: the content management module selects a media asset (e.g., media asset number M1) and selects the target content licensee, and starts the content distribution process. The content management module can generate a unique identifier for each content licensee, such as SP1.
[0100] The storage information of the content to be distributed is obtained from the first storage device of the distribution system based on the second identification information.
[0101] In this embodiment, the first storage device can be an internal storage module. For ease of understanding, an application scenario is illustrated here: the content management module obtains the download link of the corresponding medium from an internal storage module such as OSS based on the media asset M1.
[0102] The first identification information and the storage information are sent to the distribution device in the distribution system; the storage information is used by the distribution device to download the content to be distributed from the first storage device and store it in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information.
[0103] In this embodiment, for ease of understanding, an application scenario is illustrated: the content management module pushes the media download link of media asset M1 to the content distribution module. Upon receiving the download link, the content distribution module downloads the media file from the internal storage module OSS. The content distribution unit then uploads the media file to the external storage module FTP. The FTP directory can be created based on the unique identifier SP1 of the content license holder. For example, / SP1 / RES / is used to store playback media files, and / SP1 / PIC / is used to store media asset image files.
[0104] The system receives the first address information of the directory file sent by the distribution device; generates an injection file for the content to be distributed based on the first address information and preset interface specification information; and stores the injection file in the directory file.
[0105] In this embodiment, for ease of understanding, an application scenario is illustrated here: the content distribution module notifies the content management module that the media contained in the work order has been downloaded and returns the corresponding FTP address. The content management module generates the corresponding media asset injection file according to the C2 interface specification. The media asset injection file contains the FTP address of the media. The content platform uploads the media asset injection file to the external storage module, and the / SP1 / C2 / directory is used to store the media asset injection file.
[0106] The injection request information of the content to be distributed is sent to the distribution device; the injection request information carries the second address information of the injection file; the injection request information is used to control the recipient to download the content to be distributed according to the second address information.
[0107] In this embodiment, for ease of understanding, an application scenario is illustrated: the content management module sends a content injection instruction to the content distribution module. After receiving the injection instruction, the content distribution module initiates an injection instruction to the content license holder system through the C2 interface according to the C2 interface specification. The content license holder system obtains the address of the media asset injection file through the instruction and downloads the media asset injection file from / SP1 / C2 on the external storage module FTP.
[0108] A certain level of security is ensured by isolating internal and external storage. Each content licensee is assigned a unique identifier, and a corresponding directory is created for them in the external storage module to store the content. Each content licensee only has read-only permissions for its corresponding directory, which provides a certain level of security.
[0109] In an optional embodiment of the present invention, the method further includes: receiving third information sent by the distribution device; the third information is used to characterize the status of the distribution device downloading the content to be distributed from the first storage device of the distribution system.
[0110] In this embodiment, the third information received from the distribution device can be a notification that the content distribution module has finished downloading.
[0111] In an optional embodiment of the present invention, the method further includes: receiving second information sent by the distribution device; the second information is used to change the state of the content to be distributed.
[0112] In this embodiment, the second information can be "injection complete." For ease of understanding, an application scenario is illustrated here: the content distribution module notifies the content management module that injection is complete. The content management module can then change the work order status.
[0113] In an optional embodiment of the present invention, the method further includes: sending response information to the distribution device to change the status of the content to be distributed; the response information is used by the distribution device to delete the content to be distributed from the directory file in the second storage device of the distribution system.
[0114] In this embodiment, for ease of understanding, an application scenario is illustrated here: the content management module can change the status of work orders and respond to the content distribution module, which then deletes the media stored in the external storage module, thereby improving the utilization rate of storage space.
[0115] In this embodiment of the invention, the content management module is responsible for managing the content distribution work order process and interacting with the content distribution module. This includes work order creation, obtaining media assets and download links for the media and providing them to the content distribution module, generating a C2 injection file for an external storage module, sending injection commands to the content distribution module, updating the distributed work orders, and providing manual handling for failed nodes during the work order distribution process.
[0116] The content distribution module is responsible for interacting with the content management module and the content license holder. This includes receiving instructions from the content management module, synchronizing work order status with the content management module, and interacting with the content license holder via the C2 interface. Instructions issued by the content management module include media download and C2 injection instructions. Upon receiving the media download link from the content management module, the module downloads the media from the internal storage module and uploads it to the external storage module, then synchronizes the download result with the content management module. Upon receiving the injection instruction from the content management module, the module initiates an injection request to the content license holder via the C2 interface. The C2 interface interaction with the content license holder, in addition to the injection request, also includes receiving and responding to the injection receipt from the content license holder's C2 interface. Upon receiving the injection receipt, the module synchronizes the injection result with the content management module and deletes the corresponding media and C2 injection file from the external storage module.
[0117] The internal storage module is responsible for storing all media and media assets of the content management system. It generates download links for the corresponding media assets for the content distribution module to download.
[0118] The external storage module is responsible for storing the injected files and media files for distribution, which can then be downloaded by content license holders. Simultaneously, it creates different directories using the operator's unique identifier to control access to the injected files and media files.
[0119] Figure 5 This is a schematic diagram illustrating the timing of the content distribution process successfully completed according to an embodiment of the present invention, as shown below. Figure 5 As shown, the workflow is automated after the work order is created, requiring no manual intervention. Specifically:
[0120] 1) Business personnel select a media asset (e.g., media asset number M1) in the content management module and choose the target content licensee to initiate the content distribution process. The content management module can generate a unique identifier for each content licensee, such as SP1.
[0121] 2) The content management module obtains the download link of the corresponding media from the internal storage module such as OSS based on the media asset M1.
[0122] 3) The content management module pushes the media download link of media asset M1 to the content distribution module.
[0123] 4) After receiving the download link, the content distribution module downloads the media file from the internal storage module OSS.
[0124] 5) The content distribution unit uploads the media files from step 4) to the external storage module FTP. The FTP directory can create distribution file directories based on the content licensee's unique identifier SP1. For example, / SP1 / RES / is used to store playback media files, and / SP1 / PIC / is used to store media asset image files.
[0125] 6) The content distribution module notifies the content management module that the media included in the work order has been downloaded and returns the corresponding FTP address.
[0126] 7) The content management module generates the corresponding media asset injection file according to the C2 interface specification. The media asset injection file contains the FTP address of the media.
[0127] 8) The content platform uploads the media asset injection files described in 7) to the external storage module. The / SP1 / C2 / directory is used to store the media asset injection files.
[0128] 9) The content management module enters a pause waiting state or proceeds to step 10 based on whether the number of failed or unprocessed work orders within a unit of time (e.g., 24 hours) exceeds the set threshold (e.g., 50 orders).
[0129] 10) The content management module sends a content injection instruction to the content distribution module.
[0130] 11) After receiving the injection instruction described in 10), the content distribution module sends the injection instruction to the content licensee system through the C2 interface according to the C2 interface specification.
[0131] 12) The content licensee system obtains the media asset injection file address described in 7) through the instructions described in 11), and downloads the media asset injection file from / SP1 / C2 of the external storage module FTP.
[0132] 13) The content license holder's system parses the injection file described in 12) and injects media assets. It also obtains the download address of the media file described in 5).
[0133] 14) The content licensee system downloads playback media from the / SP1 / RES / directory of the external storage module FTP, and downloads image media from / SP1 / PIC / .
[0134] 15) The content license holder system injects a completion receipt into the content distribution module through the C2 interface according to the C2 interface specification.
[0135] 16) The content distribution module notifies the content management module that the injection is complete. The content management module can then change the work order status.
[0136] 17) The content distribution module obtains the download link of the injection result based on the injection result receipt from the C2 interface of the content licensee.
[0137] 18) The content distribution module obtains the injection result file through the download link in 17) and parses the injection result.
[0138] 19) The content distribution module synchronizes the injection results from 18) to the content management module. The content management module can change the status of the work order and respond to the content distribution module.
[0139] 20) The content distribution module deletes the media stored in 14) in the external storage module.
[0140] 21) The content management module closes the work order and updates the work order status to distribution completed.
[0141] Figure 6 This is a schematic diagram of the content distribution work order process according to an embodiment of the present invention. Figure 6 As shown, if an error occurs during the distribution process, the work order can be processed manually.
[0142] After the content management module sends the media download link to the content distribution module, it enters the state of pushing resources to the provincial content distribution platform and waits for the content distribution module to notify it of the download completion. If no download completion notification is received within the specified time (e.g., 30 minutes), a retry will be performed. If the number of retries exceeds the maximum number of retries (e.g., 3 times), the download exception manual handling node will be entered. Through manual handling, the distribution process can be rolled back to the process start state, and the media download link can be resent to the content distribution module or an exception completion work order can be issued.
[0143] If an error occurs during the download of media and uploading to the external storage module, the content distribution module will enter the manual error handling node. After manually judging whether the download problem has been resolved, the distribution process can be rolled back to the process start state and the media download link can be resent to the content distribution module, or an error termination work order can be issued.
[0144] After the content distribution module successfully downloads the media and uploads it to the external storage module, the content management module generates the media asset injection files involved in the C2 interface and uploads them to the external storage module. The work order then enters the status of generating media asset information and pushing it to the external storage module.
[0145] The content management module determines whether the number of failed and incomplete work orders in the downstream system (i.e., the content licensee's system) exceeds a threshold within a unit of time. If the number is less than the threshold, it enters the injection instruction issuance stage; if it exceeds the threshold, it enters a pause and waiting state. The content management module periodically (e.g., every hour) performs the above judgment on the work order progress of the downstream system until the conditions for the injection instruction issuance stage are met.
[0146] The content management module sends an injection command to the content distribution module, which then initiates the injection command to the content licensee system via the C2 interface according to the C2 interface specification. The work order enters the "Push Injection Command to Content Distribution Module" status, awaiting a response from the content distribution module. If the content licensee system fails to send a C2 interface injection receipt within a timeout period, or if the content distribution module fails to respond with an injection completion status within a timeout period, the process enters a manual checkpoint to confirm injection completion. Manual judgment is made regarding whether the injection is complete. If the injection is complete, the next step is performed; if the injection is incomplete, it is determined whether the command needs to be resent. If a resentment is required, the work order status reverts to the "Push Injection Command to Content Distribution Module" status, and the injection command is resent to the content distribution module. If a resentment is not required, the work order is terminated abnormally.
[0147] After injection is complete, the work order enters the injection completion status and waits for the content distribution module to parse the injection result file in the C2 injection interface receipt from the content licensee. If no injection result notification is received from the content distribution module within the timeout period, the process proceeds to the manual confirmation of injection result node. After manual confirmation of the injection result (success or failure), the content management module records the injection result and notifies the content distribution module to delete the media downloaded by the external storage module.
[0148] In this embodiment of the invention, based on the process specified in the C2 Internet TV System Content and Service Management Interface Specification (hereinafter referred to as the C2 Protocol), a detailed workflow for content providers to distribute multimedia media assets and media to content license holders is designed. The workflow proposes a distribution process that automatically retryes after timeouts at relevant nodes, sets timeout periods for nodes waiting for response results, automatically transfers nodes to manual processing nodes when relevant nodes exceed the maximum number of retries or the maximum waiting time, and detects the progress of the content license holder's system work order processing during content distribution to enter a pause / wait state or continue distribution. This design maximizes the automation of injection, reduces manual intervention, and improves injection efficiency. The internal storage module stores all content from the content provider, while the content to be distributed is stored in an external storage module for the content license holder to access. After successful distribution, the corresponding content in the external storage module is deleted. This isolation between internal and external storage ensures a certain level of security, and the deletability of distributed content improves storage space utilization. Each content license holder is assigned a unique license holder identifier, and a corresponding operator directory is created for them in the external storage module to store C2 files and corresponding content resources. Each content license holder only has read-only permissions for its corresponding directory, ensuring a certain level of security.
[0149] Based on the same inventive concept as described above Figure 7 This is a schematic diagram of a distribution device provided in an embodiment of the present invention. The distribution device 700 is applied to a distribution system and includes:
[0150] The first receiving unit 701 is used to receive the first identification information of the recipient and the storage information of the content to be distributed sent by the management device in the distribution system.
[0151] The first download unit 702 is configured to download the content to be distributed from the first storage device of the distribution system according to the storage information, and store the downloaded content to be distributed in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information;
[0152] The first sending unit 703 is used to send the first address information of the directory file to the management device; the first address information is used by the management device to generate the injection file of the content to be distributed based on the first address information and preset interface specification information.
[0153] The first receiving unit 701 is further configured to receive injection request information of the content to be distributed sent by the management device, wherein the injection request information carries the second address information of the injected file; and control the recipient to download the content to be distributed according to the second address information based on the injection request information.
[0154] In some embodiments, the first sending unit 703 is further configured to send a first instruction to the recipient according to the injection request information; the first instruction is used by the recipient to download the content to be distributed from the directory file in the second storage device according to the second address information for injection.
[0155] In some embodiments, the first receiving unit 701 is further configured to receive first information sent by the recipient; the first information characterizes the injection result of the recipient of the content to be distributed.
[0156] In some embodiments, the first sending unit 703 is further configured to send second information to the management device when the injection result indicates that the recipient has completed the injection of the content to be distributed; the second information is used to notify the management device to change the status of the content to be distributed.
[0157] In some embodiments, the system further includes a first acquisition unit, configured to acquire download link information of the injection result from the recipient based on first information sent by the recipient; and to acquire the injection result using the download link information.
[0158] In some embodiments, the first receiving unit 701 is further configured to receive response information from the management device regarding a change in the status of the content to be distributed.
[0159] In some embodiments, the system further includes a first deletion unit for deleting the content to be distributed from a directory file in a second storage device of the distribution system based on the response information.
[0160] In some embodiments, the first sending unit 703 is further configured to send third information to the management device; the third information is used to characterize the status of downloading the content to be distributed from the first storage device of the distribution system.
[0161] Based on the same inventive concept as described above Figure 8This is a schematic diagram of a management device provided in an embodiment of the present invention. The management device 800 is applied to a distribution system and includes:
[0162] The second determining unit 801 is used to determine the first identification information of the recipient and the second identification information of the content to be distributed.
[0163] The second acquisition unit 802 is used to acquire the storage information of the content to be distributed from the first storage device of the distribution system according to the second identification information.
[0164] The second sending unit 803 is used to send the first identification information and the storage information to the distribution device in the distribution system; the storage information is used by the distribution device to download the content to be distributed from the first storage device and store it in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information.
[0165] The second receiving unit 804 is used to receive the first address information of the directory file sent by the distribution device; generate an injection file of the content to be distributed according to the first address information and preset interface specification information; and store the injection file in the directory file.
[0166] The second sending unit 803 is further configured to send injection request information of the content to be distributed to the distribution device; the injection request information carries second address information of the injection file; the injection request information is used to control the recipient to download the content to be distributed according to the second address information.
[0167] In some embodiments, the second receiving unit 804 is further configured to receive second information sent by the distribution device; the second information is used to change the state of the content to be distributed.
[0168] In some embodiments, the second sending unit 803 is further configured to send response information to the distribution device to change the status of the content to be distributed; the response information is used by the distribution device to delete the content to be distributed from the directory files in the second storage device of the distribution system.
[0169] In some embodiments, the second receiving unit 804 is further configured to receive third information sent by the distribution device; the third information is used to characterize the status of the distribution device downloading the content to be distributed from the first storage device of the distribution system.
[0170] It should be noted that the terms used here have already been described in detail above, and will not be repeated here.
[0171] This invention also provides a storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0172] This invention also provides a distribution device, which includes a processor and a memory for storing a computer program that can run on the processor, wherein when the processor runs the computer program, it executes the steps of the method embodiments described above stored in the memory.
[0173] Figure 9 This is a schematic diagram of a hardware structure of a distribution device according to an embodiment of the present invention. The distribution device 900 includes at least one processor 901 and a memory 902. Optionally, the distribution device 900 may further include at least one communication interface 903. The various components in the distribution device 900 are coupled together through a bus system 904. It is understood that the bus system 904 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 9 The general designated all buses as Bus System 904.
[0174] It is understood that memory 902 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Sync Link Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 902 described in this embodiment of the invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0175] The memory 902 in this embodiment of the invention is used to store various types of data to support the operation of the distribution device 900. Examples of such data include any computer program for operation on the distribution device 900, and programs implementing the methods of this embodiment of the invention may be included in the memory 902.
[0176] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 901. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software units in the decoding processor. The software units may be located in a storage medium, which is located in memory. The processor reads information from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method.
[0177] In an exemplary embodiment, the distribution device 900 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the methods described above.
[0178] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0179] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0180] Furthermore, in the various embodiments of the present invention, all functional units can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0181] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0182] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0183] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0184] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A distribution method, characterized in that, A distribution device applied in a distribution system; the method includes: Receive the first identification information of the recipient and the storage information of the content to be distributed from the management device in the distribution system; The content to be distributed is downloaded from the first storage device of the distribution system according to the storage information, and the downloaded content to be distributed is stored in the directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information; The first address information of the directory file is sent to the management device; the first address information is used by the management device to generate the injection file of the content to be distributed based on the first address information and preset interface specification information; the preset interface specification information is the C2 interface specification. The system receives an injection request message for the content to be distributed sent by the management device, the injection request message carrying a second address information of the injected file; and controls the recipient to download the content to be distributed according to the second address information based on the injection request message.
2. The method according to claim 1, characterized in that, The method further includes: A first instruction is sent to the recipient based on the injection request information; the first instruction is used by the recipient to download the content to be distributed from the directory file in the second storage device according to the second address information for injection.
3. The method according to claim 1, characterized in that, The method further includes: Receive first information sent by the recipient; the first information represents the injection result of the recipient into the content to be distributed; If the injection result indicates that the recipient has completed the injection of the content to be distributed, a second message is sent to the management device; the second message is used to notify the management device to change the status of the content to be distributed.
4. The method according to claim 3, characterized in that, The method further includes: The download link information of the injection result is obtained from the recipient based on the first information sent by the recipient; and the injection result is obtained using the download link information.
5. The method according to claim 3, characterized in that, The method further includes: Receive response information from the management device regarding changes to the status of the content to be distributed; The content to be distributed in the directory file in the second storage device of the distribution system is deleted according to the response information.
6. A distribution method, characterized in that, The method, applied to a management device in a distribution system, includes: Determine the first identification information of the recipient and the second identification information of the content to be distributed; The storage information of the content to be distributed is obtained from the first storage device of the distribution system according to the second identification information; The first identification information and the storage information are sent to the distribution device in the distribution system; the storage information is used by the distribution device to download the content to be distributed from the first storage device and store it in a directory file of the second storage device of the distribution system; the directory file is determined based on the first identification information. The system receives the first address information of the directory file sent by the distribution device; generates an injection file for the content to be distributed based on the first address information and preset interface specification information; and stores the injection file in the directory file; the preset interface specification information is the C2 interface specification. The injection request information of the content to be distributed is sent to the distribution device; the injection request information carries the second address information of the injection file; the injection request information is used to control the recipient to download the content to be distributed according to the second address information.
7. The method according to claim 6, characterized in that, The method further includes: The system receives a second message sent by the distribution device; the second message is used to change the status of the content to be distributed.
8. The method according to claim 7, characterized in that, The method further includes: The distribution device sends a response message to the distribution device to change the status of the content to be distributed; the response message is used by the distribution device to delete the content to be distributed from the directory file in the second storage device of the distribution system.
9. A storage medium, characterized in that, The storage medium stores a computer program; when the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5, or the steps of the method according to any one of claims 6 to 8.
10. A dispensing device, characterized in that, The distribution device includes: a processor and a memory for storing a computer program capable of running on the processor, wherein, when the processor runs the computer program, it performs the steps of the method according to any one of claims 1 to 5, or the steps of the method according to any one of claims 6 to 8.