CN114697126A - Method and device for releasing multimedia resources, electronic equipment and storage medium - Google Patents

Method and device for releasing multimedia resources, electronic equipment and storage medium Download PDF

Info

Publication number
CN114697126A
CN114697126A CN202210379272.1A CN202210379272A CN114697126A CN 114697126 A CN114697126 A CN 114697126A CN 202210379272 A CN202210379272 A CN 202210379272A CN 114697126 A CN114697126 A CN 114697126A
Authority
CN
China
Prior art keywords
resource
processing
server
multimedia
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210379272.1A
Other languages
Chinese (zh)
Inventor
刘华鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210379272.1A priority Critical patent/CN114697126A/en
Publication of CN114697126A publication Critical patent/CN114697126A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The disclosure relates to a method, a device, an electronic device and a storage medium for publishing multimedia resources, wherein the method comprises the following steps: responding to the uploading request, and applying for an uploading signature request to a processing server; receiving an upload signature returned by the processing server; sending the upload signature to the client, instructing the client to upload the multimedia resource to the processing server, enabling the processing server to call back an upload token to the client, processing the multimedia resource, and calling back processing completion information after the processing is completed; issuing the multimedia resource in response to an issuing request sent by the client after receiving the uploading token; and responding to the processing completion information to inform the service server that the multimedia resources are uploaded successfully. According to the technical scheme disclosed by the invention, a set of universal release flow is deployed at the release server, so that different business ends can complete the deployment of the release flow without understanding the release flow of the multimedia resource, the mode of deploying the release flow at the business ends is greatly simplified, and the deployment efficiency is further improved.

Description

Method and device for releasing multimedia resources, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for publishing multimedia resources, an electronic device, a computer-readable storage medium, and a computer program product.
Background
Currently, for many enterprise content platforms, the publishing capability of multimedia resources is one of its functions. If a new service APP (Application) exists in an enterprise content platform and a publishing function needs to be realized, a whole set of complete publishing process needs to be realized from early investigation to development online. Taking multimedia resources as video as an example, the current video publishing process is roughly as follows: a client calls a server interface to acquire an uploading token; the client uploads the video file to the object storage service based on the upload token; the client calls an interface for uploading cover by the server to upload the cover file to the server; the client calls a server release interface to release the video; and after the server releases the video, the video file is subjected to transcoding, wind control, auditing and other operations.
However, with the technical requirements of fast iteration and fast trial and error of the current service, a more efficient method for releasing multimedia resources is urgently needed.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for issuing multimedia resources, so as to provide a way for each service end to implement issuing multimedia resources more efficiently at a low cost. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for publishing a multimedia resource, the method including:
responding to an uploading request of a client to the multimedia resource, and applying for an uploading signature request to a processing server;
receiving an upload signature returned by the processing server according to the upload signature request;
sending the upload signature to the client, wherein the upload signature is used for indicating the client to upload the multimedia resource to the processing server, the multimedia resource is used for indicating the processing server to call back an upload token to the client when the multimedia resource is uploaded, process the multimedia resource, and call back processing completion information after the processing is completed;
responding to a publishing request sent by the client after receiving the uploading token, and publishing the multimedia resource;
and responding to the processing completion information, and informing the service server that the multimedia resources are successfully uploaded.
In one embodiment, the method further comprises:
responding to the uploading request, and determining service configuration corresponding to the service identifier carried in the uploading request from a mapping relation between a pre-configured service identifier and the service configuration, wherein the service configuration comprises resource processing configuration required for processing the multimedia resource;
and sending the resource processing configuration to the processing server, wherein the resource processing configuration is used for indicating the processing server to process the multimedia resource according to the resource processing configuration.
In one embodiment, the service configuration further includes an information checking configuration; before the sending the resource processing configuration to a processing server, further comprising:
sending the information verification configuration to a verification server to instruct the verification server to verify the client information of the client according to the information verification configuration;
and receiving a verification passing message sent by the verification server.
In one embodiment, the method further comprises:
responding to the release request, and determining first media asset information of the multimedia resource before processing;
generating temporary resource information according to the first media resource information and the associated information of the multimedia resource sent by the client, and storing the temporary resource information to a database;
and creating a virtual multimedia resource according to the temporary resource information, and returning the virtual multimedia resource to the client, wherein the virtual multimedia resource is used for indicating the client that the multimedia resource is released and completed.
In one embodiment, the notifying the service server that the multimedia resource has been successfully uploaded in response to the processing completion message includes:
responding to the processing completion information, acquiring the temporary resource information from the database, and determining second media asset information of the processed multimedia resources;
generating target resource information according to the temporary resource information and the second media resource information;
and sending an uploading success message to the service server according to the target resource information, wherein the uploading success message is used for indicating that the multimedia resource state of the service server is an available state.
In one embodiment, the method further comprises:
storing the associated information of the multimedia resources in an asynchronous mode, wherein the stored associated information is used for subsequent service data processing;
and deleting the temporary resource information in the database.
In one embodiment, the determining the processed second asset information of the multimedia asset includes:
and requesting the second media resource information to a media resource processing server, wherein the second media resource information is obtained by analyzing the processed multimedia resource by the media resource processing server.
In one embodiment, the upload token is carried in the issue request; the determining first media asset information of the multimedia resource before processing in response to the release request comprises:
and responding to the release request, and requesting the processing server to obtain the first media asset information according to the uploading token.
In one embodiment, the publication request further carries the upload signature;
before the requesting the processing server for obtaining the first media information according to the upload token, the method further includes:
and determining that the uploading signature exists in the pre-cached verification parameters, wherein the uploading signature in the pre-cached verification parameters is obtained and cached by responding to the uploading request from the processing server.
In one embodiment, after the requesting the processing server for obtaining the first media information according to the upload token, the method further includes:
deleting the uploading signature from the pre-cached verification parameters.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for publishing a multimedia resource, the apparatus including:
the parameter request module is configured to execute an uploading request of a client to the multimedia resource and apply for an uploading signature request to the processing server;
a first receiving module configured to execute receiving of an upload signature returned by the processing server according to the upload signature request;
a first sending module, configured to execute sending the upload signature to the client, where the upload signature is used to instruct the client to upload the multimedia resource to the processing server, and the multimedia resource is used to instruct the processing server to call back an upload token to the client when the multimedia resource is uploaded, process the multimedia resource, and call back processing completion information after the processing is completed;
a resource issuing module configured to execute issuing the multimedia resource in response to an issuing request sent by the client after receiving the upload token;
and the notification module is configured to execute responding to the processing completion information and notify the service server that the multimedia resource is successfully uploaded.
In one embodiment, the apparatus further comprises:
the configuration determining module is configured to execute, in response to the uploading request, determining service configuration corresponding to the service identifier carried in the uploading request from a mapping relation between a service identifier and the service configuration, where the service configuration includes resource processing configuration required for processing the multimedia resource;
a second sending module configured to execute sending the resource processing configuration to a processing server, where the resource processing configuration is used to instruct the processing server to process the multimedia resource according to the resource processing configuration.
In one embodiment, the service configuration further includes an information checking configuration; the device further comprises:
a third sending module, configured to send the information verification configuration to a verification server, so as to instruct the verification server to verify the client information of the client according to the information verification configuration;
a second receiving module configured to perform receiving the verification pass message sent by the verification server.
In one embodiment, the apparatus further comprises:
a media asset determination module configured to perform determining first media asset information of the multimedia resource before processing in response to the publication request;
the information generation module is configured to generate temporary resource information according to the first media resource information and the associated information of the multimedia resource sent by the client, and store the temporary resource information to a database;
and the fourth sending module is configured to create a virtual multimedia resource according to the temporary resource information, and return the virtual multimedia resource to the client, wherein the virtual multimedia resource is used for indicating the client that the multimedia resource is released and completed.
In one embodiment, the notification module includes:
a media resource determining unit configured to execute, in response to the processing completion information, acquiring the temporary resource information from the database, and determining second media resource information of the processed multimedia resource;
an information generating unit configured to perform generation of target resource information from the temporary resource information and the second media resource information;
and the sending unit is configured to execute sending an upload success message to the service server according to the target resource information, wherein the upload success message is used for indicating that the multimedia resource state of the service server is an available state.
In one embodiment, the apparatus further comprises:
the storage module is configured to execute the storage of the associated information of the multimedia resource in an asynchronous mode, and the stored associated information is used for subsequent service data processing;
a first deletion module configured to perform deleting the temporary resource information in the database.
In one embodiment, the media asset determining unit is configured to perform a request for the second media asset information from a media asset processing server, where the second media asset information is obtained by parsing the processed multimedia resource by the media asset processing server.
In one embodiment, the upload token is carried in the issue request; the media asset determination module is configured to respond to the release request, and request the processing server for obtaining the first media asset information according to the upload token.
In one embodiment, the publication request further carries the upload signature; the device further comprises:
a parameter verification module configured to perform determining that the upload signature exists in pre-cached verification parameters, where the upload signature in the pre-cached verification parameters is requested to the processing server and cached in response to the upload request.
In one embodiment, the apparatus further comprises:
a second deletion module configured to perform deletion of the upload signature from the pre-cached verification parameters.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for issuing a multimedia resource according to any embodiment of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, where instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method for publishing a multimedia resource described in any one of the embodiments of the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, where the computer program product includes instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is enabled to execute the method for publishing a multimedia resource according to any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps that a set of universal publishing flow is deployed in a publishing server, so that the publishing server applies for an uploading signature request to a processing server after receiving an uploading request of a client to a multimedia resource; receiving an upload signature returned by the processing server according to the upload signature request; and sending the uploading signature to the client, and indicating the client to upload the multimedia resources to the processing server. And the processing server calls back an upload token to the client when the multimedia resource is uploaded, processes the multimedia resource and calls back processing completion information to the issuing server after the processing is completed. The issuing server responds to an issuing request sent by the client after receiving the uploading token, and issues the multimedia resource; and responding to the processing completion information, and informing the service server that the multimedia resources are uploaded successfully. Under the support of a general release process, the access of a plurality of service ends can be simultaneously supported, so that different service ends can complete the deployment of the release process without understanding the specific process of each link of the multimedia resource release, thereby greatly simplifying the mode of deploying the release process by each service end, further improving the deployment efficiency and reducing the labor cost and the time cost. In addition, when the processing server processes the multimedia resources, the publishing server publishes the multimedia resources, and the publishing server and the processing server work simultaneously in an asynchronous mode, so that the publishing efficiency of the multimedia resources is accelerated, and the high availability and high performance of the system can be ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating an application environment of a method for publishing a multimedia asset according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for publication of a multimedia asset according to an exemplary embodiment.
Fig. 3 is a flow diagram illustrating a method for applying for upload signatures in accordance with an illustrative embodiment.
Fig. 4 is a flowchart illustrating a step of generating a virtual multimedia resource according to an exemplary embodiment.
Fig. 5 is a flow diagram illustrating a client publishing a multimedia asset in accordance with an exemplary embodiment.
Fig. 6 is a flow diagram illustrating a notification to a service server of a successful publication of a multimedia resource, according to an example embodiment.
Fig. 7 is a flow diagram illustrating a processing server after processing of a multimedia asset is complete, according to an example embodiment.
Fig. 8 is a schematic diagram illustrating a publication system for multimedia assets, according to an example embodiment.
Fig. 9 is a flow chart illustrating a method for publication of a multimedia asset according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating an apparatus for publishing multimedia assets in accordance with an exemplary embodiment.
FIG. 11 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
The method for publishing the multimedia resource provided by the present disclosure can be applied to the application environment shown in fig. 1. The application environment includes a terminal 110, a distribution system of multimedia resources, and a service server 140. The publishing system may include, but is not limited to, a publishing server 120 and a processing server 130. Wherein, the terminal 110 interacts with the publishing server 120 and the processing server 130 through the network; the service server 140 interacts with the publishing server 120 via a network; the publication server 120 interacts with the processing server 130 over a network. The terminal 110 has a client installed therein, and the terminal 110 can publish the multimedia asset to the publication server 120 through the client. Specifically, the publishing server 120 applies for an upload signature request to the processing server 130 in response to an upload request of the multimedia resource by the terminal 110; receiving an upload signature returned by the processing server 130 according to the upload signature request; and sending the upload signature to the terminal 110, wherein the upload signature is used for indicating the terminal 110 to upload the multimedia resource to the processing server 130, the multimedia resource is used for indicating the processing server 130 to call back an upload token to the terminal 110 when the multimedia resource is uploaded, processing the multimedia resource after the multimedia resource is uploaded, and calling back processing completion information to the publishing server 120 after the processing is completed. The publishing server 120 publishes the multimedia resource in response to a publishing request sent by the terminal 110 after receiving the upload token; in response to the processing completion information, the service server 140 is notified that the multimedia resource has been successfully uploaded.
The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The publishing server 120, the processing server 130, and the service server 140 may be implemented by separate servers or a server cluster composed of a plurality of servers.
Fig. 2 is a flowchart of a method for publishing multimedia resources according to an exemplary embodiment, and as shown in fig. 2, the method for publishing multimedia resources is used in a publishing server 120, and a publishing process of multimedia resources is deployed in the publishing server 120, where the publishing process may be obtained by abstracting a publishing process of multiple service terminals, so as to support publishing multimedia resources of multiple service terminals. As shown in fig. 2, steps S210 to S250 are included.
In step S210, in response to the client' S request for uploading the multimedia resource, the processing server is applied for the signature request.
In step S220, the upload signature returned by the processing server according to the upload signature request is received.
The multimedia asset may be any digitally transmittable asset, such as video, music, games, articles, images, etc.
The upload signature may be encrypted from a signature string. The encryption method may be, but is not limited to, MD4/5 (Message digest algorithm), SHA1 (cryptographic Hash function family), HMAC (Hash-based Message Authentication Code, key-dependent Hash Authentication Code), and the like.
Specifically, the client detects the publishing operation of the multimedia resource, and calls a signature application interface of the publishing server to send an upload request, so that the publishing server responds to the upload request and sends the upload signature request to the processing server. The processing server responds to the uploading signature request, generates an uploading signature and returns the uploading signature to the publishing server. By applying for the uploading signature to the processing server, the processing server can verify whether the uploading operation of the client is authorized or not before the client uploads the multimedia resource to the processing server, so that the security of the multimedia resource source can be ensured.
In step S230, the upload signature is sent to the client, where the upload signature is used to instruct the client to upload the multimedia resource to the processing server, and the multimedia resource is used to instruct the processing server to call back the upload token to the client when the multimedia resource is uploaded, process the multimedia resource, and call back the processing completion information after the processing is completed.
The processing server has the capability of processing the multimedia resource, for example, if the multimedia resource is a video, the video processing server can be adopted; the multimedia resource is an image, and an image processing server may be used. The processing server can be used for transcoding the multimedia resources to form a data stream, so that the network bandwidth can be saved on the premise of not losing any multimedia resource quality; the method can also be used for analyzing the multimedia resources to obtain the media resource information of the multimedia resources, and carrying out operations such as intelligent frame extraction, video and audio enhancement, image cutting, CDN (content Delivery network) preheating and the like on the multimedia resources.
Specifically, after receiving the upload signature, the publishing server sends the upload signature to the client. And the client calls an uploading interface of the processing server, and uploads the multimedia resources to the processing server after the processing server passes the verification of the uploaded signature. The processing server can send an upload token (token) to the client in an asynchronous callback mode in the process of receiving the multimedia resources uploaded by the client. Further, after the multimedia resources are uploaded, the processing server asynchronously processes the multimedia resources, and after the processing is completed, the processing server sends processing completion information to the publishing server in an asynchronous callback mode.
In one embodiment, the client can store the received upload token in a Cookie (data stored on the user's local terminal), local database, or the like.
In step S240, the multimedia resource is published in response to a publication request sent by the client after receiving the upload token.
Specifically, the client receives the upload token sent by the processing server, and invokes an upload interface of the publishing server to send a publishing request, so that the publishing server publishes the multimedia resource to indicate that the multimedia resource of the client is published completely.
In step S250, in response to the processing completion information, the service server is notified that the multimedia resource has been successfully uploaded.
Specifically, the publishing server receives the processing completion information sent by the processing server, and in response to the processing completion information, may store the processed multimedia resource and establish a multimedia resource index. The publishing server returns a message that the multimedia resource is successfully uploaded to the service server to indicate that the state of the multimedia resource of the service server is an available state, so that the whole set of publishing process of the multimedia resource is completed.
According to the method for releasing the multimedia resources, a set of universal releasing process is deployed in the releasing server, so that a plurality of service ends can be simultaneously accessed, different service ends can complete the deployment of the releasing process without understanding the specific process of each link of the releasing of the multimedia resources, the mode of deploying the releasing process by each service end is greatly simplified, the deploying efficiency is improved, and the labor cost and the time cost are reduced. In addition, when the processing server processes the multimedia resources, the publishing server publishes the multimedia resources, and the publishing server and the processing server work simultaneously in an asynchronous mode, so that the publishing efficiency of the multimedia resources is accelerated, and the high availability and high performance of the system can be ensured.
In an exemplary embodiment, the method further comprises: responding to the uploading request, and determining service configuration corresponding to the service identifier carried in the uploading request from a mapping relation between the service identifier and the service configuration which are configured in advance, wherein the service configuration comprises resource processing configuration required for processing the multimedia resource; and sending the resource processing configuration to a processing server, wherein the resource processing configuration is used for indicating the processing server to process the multimedia resource according to the resource processing configuration.
The service identifier is used for uniquely distinguishing the service scene to which the multimedia resource belongs, and has a one-to-one correspondence relationship with service configuration. The service configuration may include, but is not limited to, a resource processing configuration, an information checking configuration, an auditing configuration, a storage configuration, etc. required for processing the multimedia resource. The resource handling configuration may include, but is not limited to, transcoding information (task stream information), framing information, and the like. When a service end needs to implement a set of new release process, or wants to update an existing release process, a service configuration representing the release requirement of multimedia resources can be deployed in a configuration center in a configuration management mode, and a mapping relation between a service identifier and the service configuration is established.
In this embodiment, the client detects a publishing operation on a multimedia resource, and invokes a signature application interface of a publishing server to send an upload request, where the upload request carries a service identifier. And the issuing server responds to the uploading request, and reads the service configuration corresponding to the service identifier carried in the uploading request from the mapping relation between the service identifier of the configuration center and the service configuration. The service configuration comprises resource processing configuration required for processing the multimedia resources. The publishing server sends the signature uploading request to the processing server, and carries the resource processing configuration in the signature uploading request, so that the processing server performs asynchronous processing on the multimedia resource according to the resource processing configuration after the multimedia resource is uploaded.
In the embodiment, a set of general configurable publishing flows is deployed in the publishing server, so that different business ends can complete the deployment of the multimedia resource publishing flows in a configuration management mode, thereby greatly simplifying the mode of deploying the publishing flows by each business end and further improving the deployment efficiency. By adopting a configuration management mode, the method can meet the release requirements of different service terminals and can realize the rapid support of the service flow change on the premise of not updating the release system.
In an exemplary embodiment, the service configuration may further include an information verification configuration, where the information verification configuration may include, but is not limited to, configurations such as whether the multimedia resource needs to be controlled by wind, whether the multimedia resource needs to be audited, whether the user account needs to be audited, and parameter information required for auditing, for example, an uploading frequency limit of the user account, an audit mode, sensitive information of the content of the multimedia resource, and the like. In this embodiment, the multimedia resource publishing system may further include a verification server, and the verification server may provide, but is not limited to, a wind control service, an account auditing service, a multimedia resource auditing service, and the like. Before the publishing server sends the resource processing configuration to the processing server, the information verification configuration may be sent to the verification server to request the verification server to verify information such as the upload request and the user account according to the information verification configuration. And if the message returned by the verification server and passing the verification is received, sending the resource processing configuration to the processing server, and requesting the processing server to upload the signature.
In the embodiment, the release server can perform wind-controlled auditing on the uploading request, the user account and the like by deploying the auditing function in the release server, so that the multimedia resource release process is more complete.
In an exemplary embodiment, one manner in which a client applies for an upload signature is described. As shown in fig. 3, this can be achieved by steps S302 to S316.
In step S302, the client calls the signature application interface of the publishing server to send an upload request of the multimedia resource, where the upload request carries a service identifier.
In step S304, in response to the upload request, the publishing server reads a service configuration corresponding to the service identifier from the configuration center, where the service configuration may include, but is not limited to, a resource processing configuration and an information checking configuration.
In step S306, the publishing server requests the wind control service in the verification server to wind control the upload request according to the information verification configuration.
In step S308, the publishing server requests the account service to check the login status, the block status, the uploading frequency of the user account, and the like of the user account.
In step S310, the publishing server obtains the historical usage record of the user account from the cache. And checking the frequency of uploading the multimedia resources by the user in the historical use record, and determining that the frequency of uploading the multimedia resources by the user meets the preset requirement, for example, the frequency of uploading the multimedia resources within a specified period is lower than a threshold value.
In step S312, the publishing server requests an ID (Identity Document) generator in the publishing system to generate a unique multimedia asset ID.
In step S314, the publishing server sends an upload signature request to the processing server, where the upload signature request carries the resource processing configuration, so that the processing server responds to the upload signature request and returns an upload signature to the publishing server.
In step S316, the publishing Server caches the multimedia asset ID and the upload signature to a distributed caching service, such as a Remote Dictionary Server (Redis Server) or a distributed caching system (Memcached system), so as to facilitate subsequent processes.
In an exemplary embodiment, as shown in fig. 4, the method further includes steps S410 to S430.
In step S410, in response to the publishing request, determining first media asset information of the pre-processed multimedia asset.
In step S420, temporary resource information is generated according to the first media resource information and the associated information of the multimedia resource sent by the client, and the temporary resource information is stored in the database.
In step S430, a virtual multimedia resource is created according to the temporary resource information, and the virtual multimedia resource is returned to the client.
The media information may include basic information of the multimedia resource, source file information, and the like, for example, a bit rate, a frame rate, a format, and the like of the multimedia resource. The multimedia resource associated information may include information such as the name, geographical location, description information, status, user account number, etc. of the multimedia resource.
Specifically, in the process of processing the multimedia resource by the processing server, the publishing server may perform parsing on the multimedia resource to obtain the first media asset information of the multimedia resource. And generating temporary resource information according to the first media resource information and the associated information of the multimedia resource sent by the client, and storing the temporary resource information into a temporary resource table of the database. And the publishing server constructs a virtual multimedia resource (mock multimedia resource) based on the temporary resource information. The virtual multimedia resource can be a substitute in the processing process of the multimedia resource and is not sent to the client side to carry out real information flow display. And the issuing server sends the virtual multimedia resource to the client to prompt the client that the multimedia resource is issued, so that the client ends the multimedia resource issuing process.
In this embodiment, because the processing server needs to consume a certain amount of time for processing the multimedia resource, and the client is likely to wait for a long time to receive the message that the multimedia resource is successfully published, the virtual multimedia resource is constructed in the process of processing the multimedia resource by the processing server, and the virtual multimedia resource is used to indicate that the multimedia resource is successfully published by the client, so that the waiting time of the client can be reduced.
In an exemplary embodiment, the upload token is carried in the request for issuance. Step S410, determining first media asset information of the multimedia resource before processing, including: and responding to the issuing request, and requesting the processing server to obtain the first media asset information according to the uploading token.
Specifically, when the processing server receives the multimedia resource uploaded by the client, the processing server may send an upload token (token) to the client in an asynchronous callback manner. And the client sends a publishing request carrying the uploading token to the publishing server so that the publishing server adopts the uploading token to request the first media asset information of the multimedia resource from the processing server. And the processing server verifies the uploading token and returns the first media information to the issuing server after the verification is passed. In this embodiment, the processing server analyzes the multimedia resource to obtain the first media information, so that the operating pressure of the publishing server can be reduced, and the publishing server has more idle resources to run the publishing process of the multimedia resource, thereby facilitating the acceleration of the publishing efficiency of the multimedia resource.
In an exemplary embodiment, the publication request further carries an upload signature, and a specific obtaining manner of the upload signature may refer to the above embodiment and is not described herein. In this embodiment, before requesting the processing server to obtain the first media information according to the upload token, the publishing server may further determine whether the pre-cached verification parameter has an upload signature. And if so, requesting the first media asset information from the processing server. The upload signature in the pre-cached verification parameter is requested to be obtained and cached from the processing server in response to the upload request, which may specifically refer to the foregoing embodiments and is not specifically described herein.
In one embodiment, after requesting the processing server for obtaining the first media information according to the upload token, the publishing server may further delete the cache information such as the upload signature from the pre-cached verification parameter, thereby preventing the client from publishing the multimedia resource repeatedly and concurrently.
In this embodiment, before requesting the first media information from the processing server, the upload signature of the client is verified, so that the source of the release request can be verified to be accurate, the security of the data can be ensured, and the data can be prevented from being tampered.
In an exemplary embodiment, a manner of publishing the multimedia resource after the client receives the upload signature is described, and with reference to fig. 5, the method can be implemented by steps S502 to S522.
In step S502, after uploading the multimedia resource to the processing server using the upload token, the client receives the encrypted upload token returned by the processing server. The client takes the information such as the service identifier, the uploading token, the uploading signature, the associated information of the multimedia resource and the like as request parameters, and calls an uploading interface of the publishing server to send the publishing request.
In step S504, the publishing server responds to the publishing request, and reads a service configuration corresponding to the service identifier from the configuration center, where the service configuration includes an information verification configuration.
In step S506, the issuing server checks the user account according to the account service in the information check configuration request check server, so as to ensure validity of the issuing request.
In step S508, the publishing server obtains the historical usage record of the user account from the cache. And checking the frequency of uploading the multimedia resources by the user in the historical use record, and determining that the frequency of uploading the multimedia resources by the user meets the preset requirement.
In step S510, the publishing server determines whether the pre-cached verification parameters include an upload token and an upload signature. If yes, go to step S510.
In step S512, the publishing server calls a check interface of the processing server to check the upload token, and after the check is passed, obtains the first media asset information obtained by analyzing the multimedia resource before processing by the processing server.
In step S516, the publishing server may delete the upload token, upload signature, and other related cache information in the cache, so as to prevent the client from publishing the multimedia resource repeatedly and concurrently.
In step S518, the publishing server generates temporary resource information according to the association information of the multimedia resource provided by the client and the first media information.
In step S520, the publishing server saves the temporary resource information in a temporary resource table of the database.
In step S522, the publishing server generates a virtual multimedia resource according to the temporary resource information, and returns the virtual multimedia resource to the client, so as to indicate that the publishing of the multimedia resource by the client is completed.
In an exemplary embodiment, in the case of generating a virtual multimedia resource, as shown in fig. 6, step S250, in response to the processing completion information, notifies the service server that the multimedia resource has been successfully uploaded, may be implemented through steps S610 to S630.
In step S610, in response to the processing completion information, temporary resource information is acquired from the database, and second media asset information of the processed multimedia resource is determined.
Specifically, after the processing server finishes processing the multimedia resource, the processing completion information may be sent to the publishing server in an asynchronous callback manner, so that the publishing server responds to the processing completion information and obtains the pre-stored temporary resource information from the database. In addition, the publishing server can analyze the processed multimedia resource to obtain second media asset information of the processed multimedia resource.
In step S620, target resource information is generated according to the temporary resource information and the second media resource information.
In step S630, an upload success message is sent to the service server according to the target resource information.
The uploading success message is used for indicating that the state of the multimedia resource of the service server is an available state, and the multimedia resource can be issued to the client to perform real information flow display.
Specifically, the publishing server obtains complete target resource information based on the temporary resource information and the second media asset information. The target resource information is stored in a multimedia resource table. And sending an uploading success message of the multimedia resource to a service server corresponding to the client based on the target resource information, so that the service server sends the multimedia resource to the client for displaying, and the complete release process of the multimedia resource is completed.
In one embodiment, the service configuration may further include an audit configuration of the multimedia resource, where the audit configuration may include, but is not limited to, an audit account, an audit mode, and the like. After the target resource information is generated, the issuing system of the multimedia resource can submit the audit of the processed multimedia resource according to the audit configuration, and after the audit is passed, an upload success message is sent to the service server.
In one embodiment, the service server may access the publishing server by way of an SDK (Software Development Kit).
In this embodiment, because the processing server needs to consume a certain amount of time for processing the multimedia resource, and the client is likely to wait for a long time to receive the message that the multimedia resource is successfully published, the virtual multimedia resource is constructed in the process of processing the multimedia resource by the processing server, and the virtual multimedia resource is used to indicate that the multimedia resource is successfully published by the client, so that the waiting time of the client can be reduced. After the processing server finishes processing the multimedia resources, the service server is informed that the current multimedia resources are in an available state based on the processed multimedia resources, so that the multimedia resources can be ensured to be normally displayed.
In an exemplary embodiment, while the publishing server sends the upload success message to the service server, the association information of the multimedia resource may also be stored in an asynchronous manner for subsequent service data processing. The associated information of the multimedia resources is stored in an asynchronous mode, so that the influence on the publishing process can be reduced, and the performance of the publishing system is improved.
In an exemplary embodiment, the distribution system of the multimedia resource may further include a media asset processing server. The media asset processing server is connected with the processing server and the publishing server through a network and can be a bottom layer server of the processing server. After the processing server finishes processing the multimedia resources, the processed multimedia resources can be analyzed through the media resource processing server to obtain second media resource information of the processed multimedia resources. In this embodiment, after receiving the processing completion information sent by the processing server, the publishing server may request the media asset processing server to obtain the second media asset information.
In the embodiment, the media asset processing server is deployed, the media asset processing server is adopted to analyze the processed multimedia resources to obtain the second media asset information, and the multimedia resource processing and the media asset processing are separately deployed, so that the multimedia resource publishing process is clearer, and the later maintenance is easy.
In an exemplary embodiment, a specific implementation of the publishing server publishing the multimedia asset after the multimedia asset is processed is described. As shown in fig. 7, this can be achieved by steps S702 to S720.
In step S702, after receiving the multimedia resource uploaded by the client, the processing server performs asynchronous processing on the multimedia resource according to the resource processing configuration (e.g., transcoding information) sent by the publishing server, and sends processing completion information to the publishing server in an asynchronous callback manner after the processing is completed.
In step S704, the distribution server reads the service configuration corresponding to the service identifier from the configuration center in response to the processing completion information.
In step S706, the publishing server obtains temporary resource information of the multimedia resource from the database.
In step S708, the publishing server requests the second asset information of the multimedia asset from the asset processing server.
In step S710, the publishing server generates target resource information according to the temporary resource information and the second media resource information.
In step S712, the publishing server saves the target resource information in the multimedia resource table.
In step S714, the publishing server submits the multimedia resource to the auditing service for auditing according to the auditing configuration in the service configuration.
In step S716, after receiving the message that the audit returned by the audit service is passed, an upload success message is sent to the service server, where the upload success message is used to indicate that the multimedia resource is available at this time by the service server.
In step S718, the publishing server asynchronously stores the multimedia resource association information for subsequent service data processing.
In step S720, the publishing server deletes the temporary resource information in the database.
Fig. 8 is a schematic diagram illustrating a distribution system of multimedia assets according to an exemplary embodiment, and as shown in fig. 8, the distribution system includes a distribution server, a processing server (including the video processing server and the image processing server in fig. 8), a media asset processing server, and a verification server. Among them, referring to fig. 8:
the client accesses an uploading api (http interface) of the publishing server to upload multimedia resources such as videos and images. Uploading api comprises applying for signature, pipeline uploading, general file uploading, issuing multimedia resource, inquiring issuing state and other interfaces.
A publishing server encapsulating multimedia resource uploading, multimedia resource storage, multimedia resource indexing, multimedia resource preheating, and other multimedia resource related functions,
the method can meet the requirements of most services and greatly reduce the service development cost. The issuing server can also receive a processing completion message called back by the processing server, and performs subsequent operations such as multimedia resource auditing and multimedia resource issuing according to the message.
And the processing server is used for processing the signature uploading request of the publishing server and correspondingly processing the multimedia resources uploaded by the client.
And the media resource processing server is used for analyzing the multimedia resources processed by the processing server to obtain the media resource information of the processed multimedia resources.
The verification server can perform wind control verification on the attributes of the user account, the frequency of uploading the multimedia resources and the like so as to ensure the safety of issuing the multimedia resources. The verification server can also audit the processed multimedia resources.
The service server receives the message called back by the publishing server through the SDK (software development kit) accessed to the publishing server.
On the basis of the distribution system in fig. 8, fig. 9 illustrates a flowchart of a distribution method of a multimedia resource in the exemplary embodiment, and as shown in fig. 9, taking a multimedia resource as a video, the distribution method can be implemented through steps S902 to S914.
In step S902, the client calls the signature application interface of the publishing server to apply for uploading a signature to the publishing server.
In step S904, the publishing server calls the signature uploading application interface of the video processing server to apply for the signature uploading of the video file, and returns the signature uploading to the client.
In step S906, the client calls an upload interface of the video processing server to upload the video file using the upload signature.
In step S908, during the uploading of the video file, the video processing server returns an upload token to the client in an asynchronous callback manner. At the same time, the video processing server begins to asynchronously transcode the video file.
In step S910, the client calls the publishing interface of the publishing server to publish the video. The publishing server can generate a mock video according to the video associated information uploaded by the client and the first media information of the video file, and return the mock video to the client to indicate the end of the publishing process of the client.
In step S912, after the video processing server completes transcoding the video, processing completion information is returned to the publishing server in an asynchronous callback manner.
In step S914, the publishing server notifies the service server of successful video upload in an asynchronous callback manner after completing the processing.
In the method for releasing the multimedia resources, the releasing process of the multimedia resources is completely decoupled from the service logic, so that the releasing system only processes the releasing of the multimedia resources and does not process the service logic. The method has the advantages that a set of universal configurable issuing process is deployed in the issuing server, so that the access of a plurality of service ends can be simultaneously supported, different service ends do not need to understand the specific process of each issuing link, and the deployment of the issuing process can be completed in a configuration management mode, so that the mode of deploying the issuing process by each service end is greatly simplified, the deployment efficiency is improved, and the labor cost and the time cost are reduced. The processing server processes the multimedia resources, the publishing server publishes the multimedia resources, and the publishing server and the processing server work simultaneously in an asynchronous mode, so that the publishing efficiency of the multimedia resources is accelerated, and the high availability and high performance of the system can be ensured.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
Fig. 10 is a block diagram illustrating a multimedia asset publishing device X00, according to an example embodiment. Referring to fig. 10, the apparatus includes a configuration parameter request module X02, a first receiving module X04, a first transmitting module X06, a resource publishing module X08, and a notification module X10.
A parameter request module X02, configured to execute an upload signature request applied to the processing server in response to an upload request of the client to the multimedia resource; a first receiving module X04 configured to execute receiving the upload signature returned by the processing server according to the upload signature request; the first sending module X06 is configured to execute sending of an upload signature to the client, wherein the upload signature is used for instructing the client to upload the multimedia resource to the processing server, the multimedia resource is used for instructing the processing server to call back an upload token to the client when the uploading of the multimedia resource is completed, the multimedia resource is processed, and processing completion information is called back after the processing is completed; a resource publishing module X08 configured to perform publishing of the multimedia resource in response to a publication request sent by the client after receiving the upload token; and a notification module X10 configured to execute notifying the service server that the multimedia resource has been successfully uploaded in response to the processing completion information.
In an exemplary embodiment, the apparatus X00 further includes: the configuration determining module is configured to execute a mapping relation between a service identifier and a service configuration, wherein the mapping relation is configured in advance, the service identifier corresponds to the service configuration carried in the uploading request, and the service configuration comprises a resource processing configuration required for processing the multimedia resource; and the second sending module is configured to execute sending of the resource processing configuration to the processing server, wherein the resource processing configuration is used for instructing the processing server to process the multimedia resource according to the resource processing configuration.
In an exemplary embodiment, the service configuration further includes an information checking configuration; the apparatus X00 further includes: the third sending module is configured to send the information verification configuration to the verification server so as to instruct the verification server to verify the client information of the client according to the information verification configuration; and the second receiving module is configured to execute receiving the verification passing message sent by the verification server.
In an exemplary embodiment, the apparatus X00 further includes: the media resource determining module is configured to execute the first media resource information of the multimedia resource before processing determined in response to the issuing request; the information generation module is configured to generate temporary resource information according to the first media information and the associated information of the multimedia resource sent by the client, and store the temporary resource information to a database; and the fourth sending module is configured to create a virtual multimedia resource according to the temporary resource information and return the virtual multimedia resource to the client, wherein the virtual multimedia resource is used for indicating that the multimedia resource of the client is released completely.
In an exemplary embodiment, the notification module X10 includes: the media resource determining unit is configured to execute responding to the processing completion information, acquire temporary resource information from the database and determine second media resource information of the processed multimedia resources; an information generating unit configured to perform generation of target resource information from the temporary resource information and the second media resource information; and the sending unit is configured to execute sending of an upload success message to the service server according to the target resource information, wherein the upload success message is used for indicating that the state of the multimedia resource of the service server is an available state.
In an exemplary embodiment, the apparatus X00 further includes: the storage module is configured to execute the storage of the associated information of the multimedia resource in an asynchronous mode, and the stored associated information is used for subsequent service data processing; a first deletion module configured to perform deleting the temporary resource information in the database.
In an exemplary embodiment, the asset determination unit is configured to perform a request for second asset information from the asset processing server, where the second asset information is obtained by parsing the processed multimedia resource by the asset processing server.
In an exemplary embodiment, the upload token is carried in the issue request; and the media asset determining module is configured to respond to the issuing request and request the processing server for obtaining the first media asset information according to the uploading token.
In an exemplary embodiment, the publication request also carries an upload signature; the apparatus X00 further includes:
and the parameter checking module is configured to execute the step of determining that the uploading signature exists in the pre-cached verification parameters, wherein the uploading signature in the pre-cached verification parameters is obtained and cached by responding to the uploading request from the processing server.
In an exemplary embodiment, the apparatus X00 further includes: a second deletion module configured to perform deletion of the upload signature from the pre-cached verification parameters.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 11 is a block diagram illustrating an electronic device S00 for publishing multimedia assets in accordance with an exemplary embodiment. For example, the electronic device S00 may be a server. Referring to FIG. 11, electronic device S00 includes a processing component S20 that further includes one or more processors and memory resources, represented by memory S22, for storing instructions, such as application programs, that are executable by processing component S20. The application program stored in the memory S22 may include one or more modules each corresponding to a set of instructions. Further, the processing component S20 is configured to execute instructions to perform the above-described method.
The electronic device S00 may further include: the power component S24 is configured to perform power management of the electronic device S00, the wired or wireless network interface S26 is configured to connect the electronic device S00 to a network, and the input-output (I/O) interface S28. The electronic device S00 may operate based on an operating system stored in the memory S22, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.
In an exemplary embodiment, there is also provided a computer readable storage medium, such as the memory S22, including instructions executable by the processor of the electronic device S00 to perform the above method. The storage medium may be a computer-readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising instructions executable by a processor of the electronic device S00 to perform the above method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for publishing multimedia resources, the method comprising:
responding to an uploading request of a client to the multimedia resource, and applying for an uploading signature request to a processing server;
receiving an upload signature returned by the processing server according to the upload signature request;
sending the upload signature to the client, wherein the upload signature is used for indicating the client to upload the multimedia resource to the processing server, the multimedia resource is used for indicating the processing server to call back an upload token to the client when the multimedia resource is uploaded, process the multimedia resource, and call back processing completion information after the processing is completed;
responding to a publishing request sent by the client after receiving the uploading token, and publishing the multimedia resource;
and responding to the processing completion information, and informing the service server that the multimedia resources are successfully uploaded.
2. The method of claim 1, further comprising:
responding to the uploading request, and determining service configuration corresponding to the service identifier carried in the uploading request from a mapping relation between a pre-configured service identifier and the service configuration, wherein the service configuration comprises resource processing configuration required for processing the multimedia resource;
and sending the resource processing configuration to the processing server, wherein the resource processing configuration is used for indicating the processing server to process the multimedia resource according to the resource processing configuration.
3. The method of claim 2, wherein the service configuration further comprises an information check configuration; before the sending the resource processing configuration to a processing server, further comprising:
sending the information verification configuration to a verification server to instruct the verification server to verify the client information of the client according to the information verification configuration;
and receiving a verification passing message sent by the verification server.
4. The method of claim 1, further comprising:
responding to the release request, and determining first media asset information of the multimedia resource before processing;
generating temporary resource information according to the first media resource information and the associated information of the multimedia resource sent by the client, and storing the temporary resource information to a database;
and creating a virtual multimedia resource according to the temporary resource information, and returning the virtual multimedia resource to the client, wherein the virtual multimedia resource is used for indicating the client that the multimedia resource is released and completed.
5. The method according to claim 4, wherein the notifying the service server that the multimedia resource has been successfully uploaded in response to the processing completion message comprises:
responding to the processing completion information, acquiring the temporary resource information from the database, and determining second media asset information of the processed multimedia resources;
generating target resource information according to the temporary resource information and the second media resource information;
and sending an uploading success message to the service server according to the target resource information, wherein the uploading success message is used for indicating that the multimedia resource state of the service server is an available state.
6. The method of claim 5, further comprising:
storing the associated information of the multimedia resources in an asynchronous mode, wherein the stored associated information is used for subsequent service data processing;
and deleting the temporary resource information in the database.
7. An apparatus for publishing multimedia assets, the apparatus comprising:
the parameter request module is configured to execute an uploading signature request to the processing server in response to an uploading request of the client to the multimedia resource;
a first receiving module configured to execute receiving of an upload signature returned by the processing server according to the upload signature request;
a first sending module, configured to execute sending the upload signature to the client, where the upload signature is used to instruct the client to upload the multimedia resource to the processing server, and the multimedia resource is used to instruct the processing server to call back an upload token to the client when the multimedia resource is uploaded, process the multimedia resource, and call back processing completion information after the processing is completed;
a resource issuing module configured to execute issuing the multimedia resource in response to an issuing request sent by the client after receiving the upload token;
and the notification module is configured to execute responding to the processing completion information and notify the service server that the multimedia resource is successfully uploaded.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of publishing a multimedia asset as claimed in any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of publishing a multimedia asset as claimed in any of claims 1 to 6.
10. A computer program product comprising instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of publishing a multimedia asset as claimed in any of claims 1 to 6.
CN202210379272.1A 2022-04-12 2022-04-12 Method and device for releasing multimedia resources, electronic equipment and storage medium Pending CN114697126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210379272.1A CN114697126A (en) 2022-04-12 2022-04-12 Method and device for releasing multimedia resources, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210379272.1A CN114697126A (en) 2022-04-12 2022-04-12 Method and device for releasing multimedia resources, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114697126A true CN114697126A (en) 2022-07-01

Family

ID=82143099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210379272.1A Pending CN114697126A (en) 2022-04-12 2022-04-12 Method and device for releasing multimedia resources, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114697126A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291412A (en) * 2011-08-29 2011-12-21 中兴通讯股份有限公司 Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol)
WO2015042349A1 (en) * 2013-09-20 2015-03-26 Oracle International Corporation Multiple resource servers with single, flexible, pluggable oauth server and oauth-protected restful oauth consent management service, and mobile application single sign on oauth service
CN105830047A (en) * 2013-12-04 2016-08-03 脸谱公司 Uploading and transcoding media files
CN114244844A (en) * 2021-11-23 2022-03-25 深圳市优必选科技股份有限公司 Multimedia data transmission method, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291412A (en) * 2011-08-29 2011-12-21 中兴通讯股份有限公司 Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol)
WO2015042349A1 (en) * 2013-09-20 2015-03-26 Oracle International Corporation Multiple resource servers with single, flexible, pluggable oauth server and oauth-protected restful oauth consent management service, and mobile application single sign on oauth service
CN105830047A (en) * 2013-12-04 2016-08-03 脸谱公司 Uploading and transcoding media files
CN114244844A (en) * 2021-11-23 2022-03-25 深圳市优必选科技股份有限公司 Multimedia data transmission method, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN105915953B (en) Method, device, system, server and storage medium for live video identification
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
JP5429912B2 (en) Authentication system, authentication server, service providing server, authentication method, and program
CN112055024A (en) Authority verification method and device, storage medium and electronic equipment
CN112312187B (en) Method, device and equipment for screen projection playing of video and storage medium
CN111991813B (en) Method and device for logging in game, electronic equipment and storage medium
US9251317B2 (en) Network video messaging
WO2020253401A1 (en) File management method, apparatus, system and device, and computer-readable storage medium
CN113411642A (en) Screen projection method and device, electronic equipment and storage medium
CN114172662A (en) Block chain external data acquisition method and device
CN112153582B (en) Verification code short message display method and device
US20240061565A1 (en) Method and apparatus for generating image processing interface, device, and storage medium
CN113806815B (en) File signing method and system
CN114697126A (en) Method and device for releasing multimedia resources, electronic equipment and storage medium
US11741266B2 (en) Cryptographically secure dynamic third party resources
CN112579694A (en) Digital resource processing method, device, storage medium and equipment
CN110635993B (en) Method and apparatus for synthesizing multimedia information
CN111698196A (en) Authentication method and micro-service system
CN113420133B (en) Session processing method, device, equipment and storage medium
CN115396178A (en) User distributed authentication method, device, electronic equipment and storage medium
CN113332710A (en) Game account login method and device, electronic equipment and storage medium
CN111897620A (en) Interaction method and device and electronic equipment
CN110781523B (en) Method and apparatus for processing information
CN116760791B (en) Image transmission method, device, equipment and storage medium
CN116320616A (en) Multimedia file processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination