Multimedia resource publishing method, device, electronic device and storage medium
By deploying a universal publishing process in the publishing server, the publishing process of multimedia resources is simplified, the problems of low efficiency and high cost in the existing technology are solved, efficient multimedia resource publishing is achieved, and the deployment efficiency and system performance of the business end are improved. .
Patent Information
- Application Number
- CN202210379272.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-04-12
AI Technical Summary
Existing enterprise content platforms have problems of low efficiency and high cost in the process of publishing multimedia resources. Especially under the technical requirements of rapid iteration and rapid trial and error, the traditional publishing process is complex and time-consuming.
By deploying a common publishing process in the publishing server, the client applies for an upload signature from the processing server. The processing server calls back the upload token when uploading multimedia resources, and calls back the processing completion information after the processing is completed. The publishing server responds to the publishing request and notifies the business. The server uploaded successfully and supports asynchronous processing to improve efficiency.
It simplifies the deployment of the release process on the business side, improves deployment efficiency, reduces labor and time costs, speeds up the release of multimedia resources, and ensures high availability and high performance of the system.
Smart Images

Figure CN114697126B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for publishing multimedia resources. Background Art
[0002] Currently, for many enterprise content platforms, the ability to publish multimedia resources is one of their functions. If there is a new business APP (Application) on the enterprise content platform that needs to implement the publishing function, it is necessary to implement a complete set of publishing processes from preliminary research to development and launch. Taking the multimedia resource video as an example, the current video publishing process is roughly as follows: the client calls the server interface to obtain the upload token; the client uploads the video file to the object storage service based on the upload token; the client calls the server's cover upload interface to upload the cover file to the server; the client calls the server publishing interface to publish the video; after the server completes the video publishing, it performs operations such as transcoding, risk control, and review on the video file.
[0003] However, with the current technical requirements of rapid business iteration and rapid trial and error, a more efficient method for publishing multimedia resources is urgently needed. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device, computer-readable storage medium, and computer program product for publishing multimedia resources, so as to provide a way for each service end to publish multimedia resources at low cost and more efficiently. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for publishing multimedia resources is provided, the method comprising:
[0006] In response to a client's request to upload multimedia resources, apply to a processing server for an upload signature request;
[0007] Receiving the upload signature returned by the processing server according to the upload signature request;
[0008] Sending the upload signature to the client, 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;
[0009] Responding to a publishing request sent by the client after receiving the upload token, publishing the multimedia resource;
[0010] In response to the processing completion information, the service server is notified that the multimedia resource has been uploaded successfully.
[0011] In one embodiment, the method further comprises:
[0012] In response to the upload request, determining a service configuration corresponding to the service identifier carried in the upload request from a mapping relationship between pre-configured service identifiers and service configurations, wherein the service configuration includes a resource processing configuration required for processing the multimedia resource;
[0013] The resource processing configuration is sent to the 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.
[0014] In one embodiment, the service configuration further includes information verification configuration; and before sending the resource processing configuration to the processing server, it further includes:
[0015] 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;
[0016] Receive a verification pass message sent by the verification server.
[0017] In one embodiment, the method further comprises:
[0018] In response to the publishing request, determining first media asset information of the multimedia resource before processing;
[0019] 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 in a database;
[0020] A virtual multimedia resource is created according to the temporary resource information, and the virtual multimedia resource is returned to the client, where the virtual multimedia resource is used to indicate to the client that the multimedia resource has been published.
[0021] In one embodiment, in response to the processing completion information, notifying the service server that the multimedia resource has been successfully uploaded includes:
[0022] In response to the processing completion information, acquiring the temporary resource information from the database, and determining the second media resource information of the processed multimedia resource;
[0023] Generate target resource information according to the temporary resource information and the second media resource information;
[0024] An upload success message is sent to the service server according to the target resource information, where the upload success message is used to indicate to the service server that the status of the multimedia resource is available.
[0025] In one embodiment, the method further comprises:
[0026] storing the associated information of the multimedia resources in an asynchronous manner, wherein the stored associated information is used for subsequent business data processing;
[0027] The temporary resource information in the database is deleted.
[0028] In one embodiment, the determining of the processed second media asset information of the multimedia resource includes:
[0029] The second media resource information is requested from the media resource processing server, where the second media resource information is obtained by the media resource processing server parsing the processed multimedia resource.
[0030] In one embodiment, the publishing request carries the upload token; and in response to the publishing request, determining the first media asset information of the multimedia resource before processing includes:
[0031] In response to the publishing request, the first media asset information is requested from the processing server according to the upload token.
[0032] In one of the embodiments, the publishing request also carries the upload signature;
[0033] Before requesting the processing server to obtain the first media asset information according to the upload token, the method further includes:
[0034] It is determined that the upload signature exists in the pre-cached verification parameters, and the upload signature in the pre-cached verification parameters is requested from the processing server and cached in response to the upload request.
[0035] In one of the embodiments, after requesting the processing server to obtain the first media asset information according to the upload token, the method further includes:
[0036] The upload signature is deleted from the pre-cached verification parameters.
[0037] According to a second aspect of an embodiment of the present disclosure, a device for publishing multimedia resources is provided, the device comprising:
[0038] A parameter request module, configured to execute a request for an upload signature from a processing server in response to a request from a client to upload a multimedia resource;
[0039] A first receiving module is configured to receive the upload signature returned by the processing server according to the upload signature request;
[0040] A first sending module is configured to execute sending the upload signature to the client, 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;
[0041] a resource publishing module configured to execute, in response to a publishing request sent by the client after receiving the upload token, publishing the multimedia resource;
[0042] The notification module is configured to respond to the processing completion information and notify the service server that the multimedia resource has been successfully uploaded.
[0043] In one embodiment, the device further comprises:
[0044] a configuration determination module configured to execute, in response to the upload request, determining, from a mapping relationship between a pre-configured service identifier and a service configuration, a service configuration corresponding to the service identifier carried in the upload request, wherein the service configuration includes a resource processing configuration required for processing the multimedia resource;
[0045] The second sending module is configured to send 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.
[0046] In one embodiment, the service configuration further includes information verification configuration; and the device further includes:
[0047] a third sending module, configured to execute sending 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;
[0048] The second receiving module is configured to receive a verification pass message sent by the verification server.
[0049] In one embodiment, the device further comprises:
[0050] A media asset determination module, configured to determine first media asset information of the multimedia resource before processing in response to the publishing request;
[0051] An information generation module, 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 in a database;
[0052] 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 to indicate to the client that the multimedia resource has been published.
[0053] In one embodiment, the notification module includes:
[0054] a media asset determination unit, configured to execute, in response to the processing completion information, obtaining the temporary asset information from the database, and determining second media asset information of the processed multimedia resource;
[0055] An information generating unit, configured to generate target resource information according to the temporary resource information and the second media resource information;
[0056] The sending unit is configured to send an upload success message to the business server according to the target resource information, wherein the upload success message is used to indicate to the business server that the state of the multimedia resource is available.
[0057] In one embodiment, the device further comprises:
[0058] A storage module, configured to store the association information of the multimedia resources in an asynchronous manner, wherein the stored association information is used for subsequent business data processing;
[0059] The first deleting module is configured to delete the temporary resource information in the database.
[0060] In one of the embodiments, the media asset determination unit is configured to execute a request to a media asset processing server for the second media asset information, where the second media asset information is obtained by the media asset processing server parsing the processed multimedia resource.
[0061] In one of the embodiments, the publishing request carries the upload token; the media asset determination module is configured to execute a request to obtain the first media asset information from the processing server according to the upload token in response to the publishing request.
[0062] In one embodiment, the publishing request also carries the upload signature; the apparatus further comprises:
[0063] The parameter verification module is configured to determine whether the upload signature exists in the pre-cached verification parameters, and the upload signature in the pre-cached verification parameters is requested from the processing server and cached in response to the upload request.
[0064] In one embodiment, the device further comprises:
[0065] The second deletion module is configured to delete the upload signature from the pre-cached verification parameters.
[0066] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0067] processor;
[0068] a memory for storing instructions executable by the processor;
[0069] The processor is configured to execute the instructions to implement the method for publishing multimedia resources as described in any one of the embodiments of the first aspect above.
[0070] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for publishing multimedia resources described in any one of the embodiments of the first aspect above.
[0071] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, wherein 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 multimedia resources described in any one of the embodiments of the first aspect above.
[0072] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0073] By deploying a set of general publishing processes in the publishing server, after receiving the upload request of the client for multimedia resources, the publishing server applies for an upload signature request to the processing server; receives the upload signature returned by the processing server according to the upload signature request; sends the upload signature to the client, instructing the client to upload the multimedia resources to the processing server. When the multimedia resources are uploaded, the processing server calls back the upload token to the client, processes the multimedia resources, and calls back the processing completion information to the publishing server after the processing is completed. The publishing server responds to the publishing request sent by the client after receiving the upload token and publishes the multimedia resources; responds to the processing completion information, notifying the business server that the multimedia resources have been successfully uploaded. With the support of the general publishing process, multiple business terminals can be supported to access at the same time, so that different business terminals can complete the deployment of the publishing process without understanding the specific processes of each link of the multimedia resource publishing, thereby greatly simplifying the way of deploying the publishing process of each business terminal, thereby improving the deployment efficiency and reducing the labor cost and 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 manner, which speeds up the publishing efficiency of the multimedia resources and ensures the high availability and high performance of the system.
[0074] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0076] Figure 1 The present invention is an application environment diagram of a method for publishing multimedia resources according to an exemplary embodiment.
[0077] Figure 2 The present invention is a flowchart of a method for publishing multimedia resources according to an exemplary embodiment.
[0078] Figure 3 The present invention is a flowchart of applying for uploading a signature according to an exemplary embodiment.
[0079] Figure 4 The present invention is a flowchart showing the steps of generating virtual multimedia resources according to an exemplary embodiment.
[0080] Figure 5 The present invention is a flowchart showing a method for a client to publish multimedia resources according to an exemplary embodiment.
[0081] Figure 6The present invention is a flowchart showing a method of notifying a service server of successful publishing of multimedia resources according to an exemplary embodiment.
[0082] Figure 7 The flowchart after a processing server completes processing of multimedia resources is shown according to an exemplary embodiment.
[0083] Figure 8 The diagram is a schematic diagram of a multimedia resource publishing system according to an exemplary embodiment.
[0084] Fig. 9 The present invention is a flowchart of a method for publishing multimedia resources according to an exemplary embodiment.
[0085] Fig.10 The present invention is a block diagram of a multimedia resource publishing device according to an exemplary embodiment.
[0086] Fig.11 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0087] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0088] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0089] 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 used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0090] The method for publishing multimedia resources provided in the present disclosure can be applied to Figure 1In the application environment shown. The application environment includes a terminal 110, a publishing system for multimedia resources and a business server 140. The publishing system may include, but is not limited to, a publishing server 120 and a processing server 130. The terminal 110 interacts with the publishing server 120 and the processing server 130 through a network; the business server 140 interacts with the publishing server 120 through a network; and the publishing server 120 interacts with the processing server 130 through a network. A client is installed in the terminal 110, and the terminal 110 can publish multimedia resources to the publishing server 120 through the client. Specifically, the publishing server 120 responds to the upload request of the terminal 110 for the multimedia resource, applies for an upload signature request to the processing server 130; receives the upload signature returned by the processing server 130 according to the upload signature request; sends the upload signature to the terminal 110, the upload signature is used to instruct the terminal 110 to upload the multimedia resource to the processing server 130, and the multimedia resource is used to instruct the processing server 130 to call back the upload token to the terminal 110 when the multimedia resource is uploaded, and processes the multimedia resource after the multimedia resource is uploaded, and calls back the processing completion information to the publishing server 120 after the processing is completed. The publishing server 120 responds to the publishing request sent by the terminal 110 after receiving the upload token, publishes the multimedia resource; responds to the processing completion information, notifies the business server 140 that the multimedia resource has been successfully uploaded.
[0091] The terminal 110 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The publishing server 120, the processing server 130, and the business server 140 may be implemented using independent servers or server clusters consisting of multiple servers.
[0092] Figure 2 is a flowchart of a method for publishing multimedia resources according to an exemplary embodiment. Figure 2 As shown, the multimedia resource publishing method is used in the publishing server 120, and the publishing server 120 is deployed with a multimedia resource publishing process, which can be obtained by abstracting the publishing processes of multiple business terminals, so as to support the publishing of multimedia resources of multiple business terminals. Figure 2 As shown, steps S210 to S250 are included.
[0093] In step S210, in response to the client's request to upload multimedia resources, an upload signature request is applied to the processing server.
[0094] In step S220, the upload signature returned by the processing server according to the upload signature request is received.
[0095] Among them, multimedia resources can be any resources that can be transmitted digitally, such as videos, music, games, articles, images, etc.
[0096] The uploaded signature can be obtained by encrypting the signature string. The encryption method can be but not limited to MD4 / 5 (message digest algorithm), SHA1 (cryptographic hash function family), HMAC (Hash-based Message Authentication Code, key-related hash operation message authentication code), etc.
[0097] Specifically, the client detects the publishing operation of the multimedia resource, calls the signature application interface of the publishing server to send an upload request, so that the publishing server responds to the upload request and sends an upload signature request to the processing server. The processing server responds to the upload signature request, generates an upload signature, and returns the upload signature to the publishing server. By applying for an upload signature from the processing server, before the client uploads the multimedia resource to the processing server, the processing server can verify whether the client's upload operation is authorized, thereby ensuring the security of the source of the multimedia resource.
[0098] In step S230, the upload signature is sent to the client. The upload signature is used to instruct the client to upload multimedia resources to the processing server. The multimedia resources are used to instruct the processing server to call back the upload token to the client when the multimedia resources are uploaded, process the multimedia resources, and call back the processing completion information after the processing is completed.
[0099] The processing server has the ability to process multimedia resources. For example, if the multimedia resource is a video, a video processing server can be used; if the multimedia resource is an image, an image processing server can be used. The processing server can be used to transcode multimedia resources to form a data stream, thereby saving network bandwidth without losing any multimedia resource quality; it can also be used to parse multimedia resources to obtain multimedia resource information, intelligently extract frames, extract the first frame, enhance video and audio, crop images, and preheat CDN (Content Delivery Network).
[0100] Specifically, after receiving the upload signature, the publishing server sends the upload signature to the client. The client calls the upload interface of the processing server, and after the processing server verifies the upload signature, it uploads the multimedia resource to the processing server. In the process of receiving the multimedia resources uploaded by the client, the processing server can send an upload token to the client through an asynchronous callback. Furthermore, after the multimedia resources are uploaded, the processing server asynchronously processes the multimedia resources, and after the processing is completed, sends the processing completion information to the publishing server through an asynchronous callback.
[0101] In one embodiment, the client may store the received upload token in a Cookie (data stored on the user's local terminal), a local database, etc.
[0102] In step S240, in response to a publishing request sent by the client after receiving the upload token, the multimedia resource is published.
[0103] Specifically, the client receives the upload token sent by the processing server, calls the upload interface of the publishing server to send a publishing request, so that the publishing server publishes the multimedia resource to indicate to the client that the multimedia resource has been published.
[0104] In step S250, in response to the processing completion information, the service server is notified that the multimedia resource has been uploaded successfully.
[0105] Specifically, the publishing server receives the processing completion information sent by the processing server, and in response to the processing completion information, can store the processed multimedia resources and establish a multimedia resource index. The publishing server returns a message to the business server that the multimedia resource has been successfully uploaded to indicate to the business server that the status of the multimedia resource is available, thereby completing the entire publishing process of the multimedia resource.
[0106] The above-mentioned method for publishing multimedia resources can support access from multiple business terminals at the same time by deploying a set of universal publishing processes in the publishing server, so that different business terminals can complete the deployment of the publishing process without having to understand the specific processes of each link of multimedia resource publishing, thereby greatly simplifying the way in which each business terminal deploys the publishing process, thereby improving deployment efficiency and reducing labor costs and time costs. 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 manner, which speeds up the publishing efficiency of the multimedia resources and can ensure high availability and high performance of the system.
[0107] In an exemplary embodiment, the method also includes: in response to an upload request, determining a business configuration corresponding to the business identifier carried in the upload request from a mapping relationship between pre-configured business identifiers and business configurations, the business configuration including a resource processing configuration required for processing multimedia resources; and sending the resource processing configuration to a processing server, the resource processing configuration being used to instruct the processing server to process the multimedia resources according to the resource processing configuration.
[0108] Among them, the business identifier is used to uniquely distinguish the business scenario to which the multimedia resource belongs, and has a one-to-one correspondence with the business configuration. The business configuration may include, but is not limited to, the resource processing configuration, information verification configuration, audit configuration, storage configuration, etc. required to process the multimedia resources. The resource processing configuration may include, but is not limited to, transcoding information (task flow information), frame extraction information, etc. When the business end needs to implement a new publishing process, or wants to update an existing publishing process, the business configuration representing the multimedia resource publishing requirements can be deployed in the configuration center through configuration management, and a mapping relationship between the business identifier and the business configuration can be established.
[0109] In this embodiment, the client detects a publishing operation on a multimedia resource, and calls the application signature interface of the publishing server to send an upload request, which carries a service identifier. The publishing server responds to the upload request, and reads the service configuration corresponding to the service identifier carried in the upload request from the mapping relationship between the service identifier and the service configuration of the configuration center. The service configuration includes the resource processing configuration required to process the multimedia resources. The publishing server sends an upload signature request to the processing server, and carries the resource processing configuration in the upload signature request, so that the processing server can asynchronously process the multimedia resources according to the resource processing configuration after the multimedia resources are uploaded.
[0110] In this embodiment, by deploying a set of universal configurable publishing processes in the publishing server, different business terminals can complete the deployment of multimedia resource publishing processes through configuration management, thereby greatly simplifying the way in which each business terminal deploys the publishing process, thereby improving deployment efficiency. The use of configuration management can meet the publishing needs of different business terminals and can quickly support business process changes without updating the publishing system.
[0111] In an exemplary embodiment, the business configuration may also include information verification configuration, which may include, but is not limited to, configurations such as whether multimedia resources require risk control, whether multimedia resources require review, whether user accounts require review, and parameter information required for review, such as the upload frequency limit of user accounts, review accounts, review methods, and sensitive information of multimedia resource content. In this embodiment, the multimedia resource publishing system may also include a verification server, which may provide, but is not limited to, risk control services, account review services, and multimedia resource review services. 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 the upload request, user account, and other information according to the information verification configuration. If the verification is passed, the resource processing configuration is sent to the processing server, and the upload signature is requested from the processing server.
[0112] In this embodiment, by deploying an audit function in the publishing server, the publishing server can perform risk control audits on upload requests, user accounts, etc., thereby making the multimedia resource publishing process more complete.
[0113] In an exemplary embodiment, a method for a client to apply for an upload signature is described. Figure 3 As shown, this can be achieved through steps S302 to S316.
[0114] In step S302, the client calls the application signature interface of the publishing server to send an upload request for multimedia resources, and the upload request carries a service identifier.
[0115] In step S304, the publishing server responds to the upload request and obtains the service configuration corresponding to the service identifier from the configuration center. The service configuration may include but is not limited to resource processing configuration and information verification configuration.
[0116] In step S306, the publishing server verifies the configuration according to the information and requests the risk control service in the verification server to perform risk control on the upload request.
[0117] In step S308, the publishing server requests the account service to review the login status, ban status, upload frequency, etc. of the user account.
[0118] In step S310, the publishing server obtains the historical usage record of the user account from the cache and checks the frequency of the user uploading multimedia resources in the historical usage record to determine whether the frequency of the user uploading multimedia resources meets the preset requirements, for example, the frequency of uploading multimedia resources within a specified period is lower than a threshold.
[0119] In step S312, the publishing server requests an ID (Identity Document) generator in the publishing system to generate a unique multimedia resource ID.
[0120] In step S314, the publishing server sends an upload signature request to the processing server. The upload signature request carries the resource processing configuration, so that the processing server responds to the upload signature request and returns the upload signature to the publishing server.
[0121] In step S316, the publishing server caches the multimedia resource ID and the upload signature to a distributed cache service, such as Redis (Remote Dictionary Server) or Memcached (a distributed high-speed cache system), for use in subsequent processes.
[0122] In an exemplary embodiment, if Figure 4 As shown, the method further includes steps S410 to S430.
[0123] In step S410, in response to the publishing request, first media asset information of the multimedia resource before processing is determined.
[0124] 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 a database.
[0125] 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.
[0126] The media resource information may include basic information of multimedia resources, source file information, etc., such as the bit rate, frame rate, format, etc. of multimedia resources. The multimedia resource associated information may include the name, geographic location, description information, status, user account, etc. of the multimedia resource.
[0127] Specifically, in the process of processing multimedia resources by the processing server, the publishing server can parse the multimedia resources to obtain the first media resource information of the multimedia resources. Temporary resource information is generated based on the first media resource information and the associated information of the multimedia resources sent by the client, and the temporary resource information is stored in the temporary resource table of the database. 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 multimedia resource processing process and will not be sent to the client for real information flow display. The publishing server sends the virtual multimedia resource to the client to prompt the client that the multimedia resource has been published, so that the client ends the multimedia resource publishing process.
[0128] In this embodiment, since it takes a certain amount of time for the processing server to process multimedia resources, it is easy for the client to have to wait for a long time before receiving the message that the multimedia resources have been successfully published. Therefore, by constructing a virtual multimedia resource during the process of processing the multimedia resources on the processing server, and using the virtual multimedia resource to indicate to the client that the multimedia resources have been successfully published, the client's waiting time can be reduced.
[0129] In an exemplary embodiment, the publishing request carries an upload token. Step S410, determining first media asset information of the multimedia resource before processing, includes: in response to the publishing request, requesting the first media asset information from a processing server according to the upload token.
[0130] Specifically, when the processing server receives the multimedia resources uploaded by the client, an upload token can be sent to the client through an asynchronous callback method. The client sends a publishing request carrying the upload token to the publishing server, so that the publishing server uses the upload token to request the first media information of the multimedia resource from the processing server. The processing server verifies the upload token, and after the verification is passed, returns the first media information to the publishing server. In this embodiment, by having the processing server parse the multimedia resources to obtain the first media information, the operating pressure of the publishing server can be reduced, so that the publishing server has more free resources to run the publishing process of the multimedia resources, thereby helping to speed up the publishing efficiency of the multimedia resources.
[0131] In an exemplary embodiment, the above-mentioned publishing request also carries an upload signature. The specific method for obtaining the upload signature can refer to the above-mentioned embodiment and will not be elaborated here. In this embodiment, before requesting the processing server to obtain the first media asset information according to the upload token, the publishing server can also determine whether there is an upload signature in the pre-cached verification parameters. If so, the first media asset information is requested from the processing server. Among them, the upload signature in the pre-cached verification parameters is requested and cached from the processing server in response to the upload request. The specific method can refer to the above-mentioned embodiment and will not be elaborated here.
[0132] In one embodiment, after requesting the processing server to obtain the first media resource information according to the upload token, the publishing server may also delete cache information such as the upload signature from the pre-cached verification parameters, thereby preventing the client from repeatedly and concurrently publishing multimedia resources.
[0133] In this embodiment, before requesting the first media asset information from the processing server, the upload signature of the client is first verified to verify the accuracy of the source of the publishing request, thereby ensuring the security of the data and preventing the data from being tampered with.
[0134] In an exemplary embodiment, a method for publishing multimedia resources after the client receives the upload signature is described, referring to Figure 5 , which can be achieved through steps S502 to S522.
[0135] In step S502, after uploading the multimedia resource to the processing server using the upload signature, the client receives the encrypted upload token returned by the processing server. The client uses the service identifier, upload token, upload signature, and associated information of the multimedia resource as request parameters, and calls the upload interface of the publishing server to send a publishing request.
[0136] In step S504, the publishing server responds to the publishing request and obtains the service configuration corresponding to the service identifier from the configuration center, where the service configuration includes the information verification configuration.
[0137] In step S506, the publishing server verifies the user account according to the information verification configuration request and verifies the account service in the server to ensure the validity of the publishing request.
[0138] In step S508, the publishing server obtains the historical usage record of the user account from the cache, and checks the frequency of the user uploading multimedia resources in the historical usage record to determine whether the frequency of the user uploading multimedia resources meets the preset requirement.
[0139] In step S510, the publishing server determines whether the upload token and the upload signature exist in the pre-cached verification parameters. If so, step S510 is executed.
[0140] In step S512, the publishing server calls the verification interface of the processing server to verify the upload token, and after the verification passes, obtains the first media resource information obtained by the processing server through parsing the multimedia resource before processing.
[0141] In step S516, the publishing server may delete relevant cache information such as the upload token and the upload signature in the cache to prevent the client from repeatedly and concurrently publishing multimedia resources.
[0142] In step S518, the publishing server generates temporary resource information according to the associated information of the multimedia resource provided by the client and the first media resource information.
[0143] In step S520, the publishing server saves the temporary resource information into the temporary resource table of the database.
[0144] 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 to indicate to the client that the multimedia resource has been published.
[0145] In an exemplary embodiment, when generating a virtual multimedia resource, Figure 6 As shown, step S250, in response to the processing completion information, notifies the service server that the multimedia resource has been successfully uploaded, which can be achieved through steps S610 to S630.
[0146] In step S610, in response to the processing completion information, temporary resource information is obtained from the database, and second media resource information of the processed multimedia resource is determined.
[0147] Specifically, after the processing server completes processing the multimedia resource, it can send processing completion information to the publishing server through an asynchronous callback method, 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 parse the processed multimedia resource to obtain the second media resource information of the processed multimedia resource.
[0148] In step S620, target resource information is generated according to the temporary resource information and the second media resource information.
[0149] In step S630, an upload success message is sent to the service server according to the target resource information.
[0150] The upload success message is used to indicate that the multimedia resource of the service server is in an available state, and the multimedia resource can be sent to the client for real information flow display.
[0151] Specifically, the publishing server obtains complete target resource information based on the temporary resource information and the second media resource information, stores the target resource information in the multimedia resource table, and sends a successful upload message of the multimedia resource to the business server corresponding to the client based on the target resource information, so that the business server sends the multimedia resource to the client for display, completing the complete publishing process of the multimedia resource.
[0152] In one embodiment, the business configuration may also include a review configuration for multimedia resources, which may include, but is not limited to, a review account, a review method, etc. After generating the target resource information, the multimedia resource publishing system may submit the processed multimedia resources for review according to the review configuration, and after the review is passed, send an upload success message to the business server.
[0153] In one embodiment, the business server may be connected to the publishing server via SDK (Software Development Kit).
[0154] In this embodiment, since it takes a certain amount of time for the processing server to process the multimedia resources, it is easy to cause the client to wait for a long time before receiving the message that the multimedia resources have been successfully released. Therefore, by constructing a virtual multimedia resource during the processing of the multimedia resources by the processing server, and using the virtual multimedia resource to indicate to the client that the multimedia resources have been successfully released, the waiting time of the client can be reduced. After the processing server completes the processing of the multimedia resources, it notifies the business server that the current multimedia resources are available based on the processed multimedia resources, which can ensure that the multimedia resources can be displayed normally.
[0155] In an exemplary embodiment, while the publishing server sends a successful upload message to the business server, it can also store the associated information of the multimedia resources in an asynchronous manner for subsequent business data processing. Storing the associated information of the multimedia resources in an asynchronous manner can reduce the impact on the publishing process and improve the performance of the publishing system.
[0156] In an exemplary embodiment, the multimedia resource publishing system may further include a media resource processing server. The media resource processing server is connected to the processing server and the publishing server via a network, and may be a bottom layer server of the processing server. After the processing server completes processing the multimedia resource, the processed multimedia resource may be parsed by the media resource processing server to obtain the second media resource information of the processed multimedia resource. In this embodiment, when the publishing server receives the processing completion information sent by the processing server, it may request the media resource processing server to obtain the second media resource information.
[0157] In this embodiment, by deploying a media resource processing server, the media resource processing server is used to parse the processed multimedia resources to obtain the second media resource information, and the multimedia resource processing and media resource processing are deployed separately, making the multimedia resource publishing process clearer and easier to maintain later.
[0158] In an exemplary embodiment, a specific implementation method of a publishing server publishing multimedia resources after the multimedia resources are processed is described. Figure 7 As shown, it can be implemented through steps S702 to S720.
[0159] In step S702, after receiving the multimedia resources uploaded by the client, the processing server asynchronously processes the multimedia resources according to the resource processing configuration (such as 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.
[0160] In step S704, in response to the processing completion information, the publishing server reads the service configuration corresponding to the service identifier from the configuration center.
[0161] In step S706, the publishing server obtains temporary resource information of the multimedia resource from the database.
[0162] In step S708, the publishing server requests the second media asset information of the multimedia resource from the media asset processing server.
[0163] In step S710, the publishing server generates target resource information according to the temporary resource information and the second media resource information.
[0164] In step S712, the publishing server saves the target resource information into the multimedia resource table.
[0165] In step S714, the publishing server submits the multimedia resource to the review service for review according to the review configuration in the business configuration.
[0166] In step S716, after receiving the audit pass message returned by the audit service, an upload success message is sent to the business server, and the upload success message is used to indicate to the business server that the multimedia resource is available at this time.
[0167] In step S718, the publishing server asynchronously stores the multimedia resource association information for subsequent business data processing.
[0168] In step S720, the publishing server deletes the temporary resource information in the database.
[0169] Figure 8 is a schematic diagram of a multimedia resource publishing system according to an exemplary embodiment. Figure 8 As shown, the publishing system includes a publishing server, a processing server (including Figure 8 The video processing server, image processing server), media resource processing server, and verification server. Figure 8 :
[0170] The client accesses the upload API (HTTP interface) of the publishing server to upload multimedia resources such as videos and images. The upload API includes interfaces such as application signature, pipeline upload, general file upload, publishing multimedia resources, and querying publishing status.
[0171] The publishing server encapsulates multimedia resource uploading, multimedia resource storage, multimedia resource indexing, multimedia resource preheating, and other multimedia resource-related functions.
[0172] It can meet the needs of most businesses and greatly reduce business development costs. The publishing server can also receive the processing completion message of the processing server callback and perform subsequent multimedia resource review, multimedia resource publishing and other operations based on the message.
[0173] The processing server is used to process the upload signature request of the publishing server and perform corresponding processing on the multimedia resources uploaded by the client.
[0174] The media resource processing server is used to parse the multimedia resources processed by the processing server to obtain the media resource information of the processed multimedia resources.
[0175] The verification server can conduct risk control audits on the attributes of user accounts, the frequency of uploading multimedia resources, etc., to ensure the security of multimedia resource publishing. The verification server can also audit the processed multimedia resources.
[0176] The business server receives callback messages from the publishing server by accessing the SDK (Software Development Kit) of the publishing server.
[0177] exist Figure 8 Based on the publishing system, Fig. 9 The exemplary embodiment shows a flow chart of a method for publishing multimedia resources, such as Fig. 9 As shown, taking the multimedia resource as a video as an example, it can be implemented through steps S902 to S914.
[0178] In step S902, the client calls the signature application interface of the publishing server to apply for an upload signature from the publishing server.
[0179] In step S904, the publishing server calls the upload signature application interface of the video processing server to apply for an upload signature for the video file, and returns the upload signature to the client.
[0180] In step S906, the client uses the upload signature to call the upload interface of the video processing server to upload the video file.
[0181] In step S908, during the uploading process of the video file, the video processing server returns the upload token to the client in an asynchronous callback manner. At the same time, the video processing server starts to perform asynchronous transcoding on the video file.
[0182] 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 based on the video association information uploaded by the client and the first media asset information of the video file, and return the mock video to the client to indicate that the client publishing process is finished.
[0183] In step S912, after the video processing server completes transcoding of the video, it returns processing completion information to the publishing server in an asynchronous callback manner.
[0184] In step S914, after the publishing server completes the processing, it notifies the service server of the success of the video upload in an asynchronous callback manner.
[0185] In the above-mentioned method for publishing multimedia resources, the publishing process of multimedia resources is completely decoupled from the business logic, so that the publishing system only handles the publishing of multimedia resources and does not handle business logic. By deploying a set of universal configurable publishing processes in the publishing server, it is possible to support multiple business terminals to access at the same time, so that different business terminals do not need to understand the specific processes of each link of the publishing process, and the deployment of the publishing process can be completed through configurable management, thereby greatly simplifying the way in which each business terminal deploys the publishing process, thereby improving deployment efficiency and reducing labor costs and time costs. While the processing server is processing the multimedia resources, the publishing server publishes the multimedia resources. The publishing server and the processing server work simultaneously in an asynchronous manner, which speeds up the efficiency of multimedia resource publishing and can ensure high availability and high performance of the system.
[0186] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowchart may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0187] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0188] Fig.10 FIG. 1 is a block diagram of a multimedia resource publishing device X00 according to an exemplary embodiment. Fig.10 The device includes a configuration parameter request module X02, a first receiving module X04, a first sending module X06, a resource publishing module X08 and a notification module X10.
[0189] The parameter request module X02 is configured to execute a response to the client's upload request for multimedia resources and apply for an upload signature request to the processing server; the first receiving module X04 is configured to execute the reception of the upload signature returned by the processing server according to the upload signature request; the first sending module X06 is configured to execute the sending of the upload signature to the client, the upload signature is used to instruct the client to upload multimedia resources to the processing server, and the multimedia resources are used to instruct the processing server to call back the upload token to the client when the multimedia resource upload is completed, process the multimedia resources, and call back the processing completion information after the processing is completed; the resource publishing module X08 is configured to execute the publishing request sent by the client after receiving the upload token and publish the multimedia resources; the notification module X10 is configured to execute the response to the processing completion information and notify the business server that the multimedia resources have been successfully uploaded.
[0190] In an exemplary embodiment, the device X00 also includes: a configuration determination module, configured to execute in response to the upload request, determine the business configuration corresponding to the business identifier carried in the upload request from the mapping relationship between the pre-configured business identifier and the business configuration, the business configuration includes the resource processing configuration required for processing the multimedia resources; a second sending module, configured to execute sending the resource processing configuration to the processing server, the resource processing configuration is used to instruct the processing server to process the multimedia resources according to the resource processing configuration.
[0191] In an exemplary embodiment, the business configuration also includes an information verification configuration; the device X00 also includes: a third sending module, configured to execute sending 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; a second receiving module, configured to execute receiving the verification pass message sent by the verification server.
[0192] In an exemplary embodiment, the device X00 also includes: a media resource determination module, configured to execute in response to a publishing request, to determine the first media resource information of the multimedia resource before processing; an information generation module, configured to execute generation of temporary resource information based on the first media resource information and associated information of the multimedia resource sent by the client, and store the temporary resource information in a database; a fourth sending module, configured to execute creation of a virtual multimedia resource based on the temporary resource information, and return the virtual multimedia resource to the client, where the virtual multimedia resource is used to indicate to the client that the multimedia resource has been published.
[0193] In an exemplary embodiment, the notification module X10 includes: a media resource determination unit, configured to execute in response to processing completion information, obtain temporary resource information from a database, and determine the second media resource information of the processed multimedia resource; an information generation unit, configured to execute generation of target resource information based on the temporary resource information and the second media resource information; a sending unit, configured to execute sending an upload success message to the business server based on the target resource information, and the upload success message is used to indicate that the status of the multimedia resource of the business server is available.
[0194] In an exemplary embodiment, the device X00 also includes: a storage module, configured to execute storage of associated information of multimedia resources in an asynchronous manner, and the stored associated information is used for subsequent business data processing; a first deletion module, configured to execute deletion of temporary resource information in the database.
[0195] In an exemplary embodiment, the media asset determination unit is configured to execute a request to the media asset processing server for second media asset information, where the second media asset information is obtained by the media asset processing server parsing the processed multimedia resources.
[0196] In an exemplary embodiment, the publishing request carries an upload token; the media asset determination module is configured to execute a request to obtain the first media asset information from the processing server according to the upload token in response to the publishing request.
[0197] In an exemplary embodiment, the publishing request also carries an upload signature; the device X00 further includes:
[0198] The parameter verification module is configured to determine whether there is an upload signature in the pre-cached verification parameters, and the upload signature in the pre-cached verification parameters is requested from the processing server and cached in response to the upload request.
[0199] In an exemplary embodiment, the device X00 further includes: a second deletion module configured to delete the upload signature from the pre-cached verification parameters.
[0200] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0201] Fig.11 is a block diagram of an electronic device S00 for publishing multimedia resources according to an exemplary embodiment. For example, the electronic device S00 may be a server. Fig.11The electronic device S00 includes a processing component S20, which further includes one or more processors, and a memory resource represented by a memory S22 for storing instructions executable by the processing component S20, such as an application. The application stored in the memory S22 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component S20 is configured to execute the instructions to perform the above method.
[0202] The electronic device S00 may further include: a power supply component S24 configured to perform power management of the electronic device S00, a wired or wireless network interface S26 configured to connect the electronic device S00 to a network, and an 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.
[0203] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory S22 including instructions, and the above instructions can be executed by a processor of the electronic device S00 to complete the above method. The storage medium can be a computer-readable storage medium, for example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0204] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by a processor of the electronic device S00 to complete the above method.
[0205] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.
[0206] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0207] It should be understood that the present disclosure is not limited to the exact structures that have been 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
1. A method for publishing multimedia resources, characterized in that: The method comprises: In response to a client's request to upload multimedia resources, apply to a processing server for an upload signature request; Receiving the upload signature returned by the processing server according to the upload signature request; Sending the upload signature to the client, 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; Responding to a publishing request sent by the client after receiving the upload token, publishing the multimedia resource; In response to the processing completion information, the service server is notified that the multimedia resource has been uploaded successfully.
2. The method for publishing multimedia resources according to claim 1, characterized in that: The method further comprises: In response to the upload request, determining a service configuration corresponding to the service identifier carried in the upload request from a mapping relationship between pre-configured service identifiers and service configurations, wherein the service configuration includes a resource processing configuration required for processing the multimedia resource; The resource processing configuration is sent to the 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.
3. The method for publishing multimedia resources according to claim 2, characterized in that: The business configuration also includes information verification configuration; Before sending the resource processing configuration to the processing server, the method further includes: 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; Receive a verification pass message sent by the verification server.
4. The method for publishing multimedia resources according to claim 1, characterized in that: The method further comprises: In response to the publishing request, 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 in a database; wherein the associated information is sent by the client through the publishing request; A virtual multimedia resource is created according to the temporary resource information, and the virtual multimedia resource is returned to the client, where the virtual multimedia resource is used to indicate to the client that the multimedia resource has been published.
5. The method for publishing multimedia resources according to claim 4, characterized in that: The step of notifying the service server that the multimedia resource has been successfully uploaded in response to the processing completion information includes: In response to the processing completion information, acquiring the temporary resource information from the database, and determining the second media resource information of the processed multimedia resource; Generate target resource information according to the temporary resource information and the second media resource information; An upload success message is sent to the service server according to the target resource information, where the upload success message is used to indicate to the service server that the status of the multimedia resource is available.
6. The method for publishing multimedia resources according to claim 5, characterized in that: The method further comprises: storing the associated information of the multimedia resources in an asynchronous manner, wherein the stored associated information is used for subsequent business data processing; The temporary resource information in the database is deleted.
7. The method for publishing multimedia resources according to claim 5, characterized in that: The determined processed second media asset information of the multimedia resource includes: The second media resource information is requested from the media resource processing server, where the second media resource information is obtained by the media resource processing server parsing the processed multimedia resource.
8. The method for publishing multimedia resources according to claim 4, characterized in that: The publishing request carries the upload token; The step of determining the first media asset information of the multimedia resource before processing in response to the publishing request includes: In response to the publishing request, the first media asset information is requested from the processing server according to the upload token.
9. The method for publishing multimedia resources according to claim 8, characterized in that: The publishing request also carries the upload signature; Before requesting the processing server to obtain the first media asset information according to the upload token, the method further includes: It is determined that the upload signature exists in the pre-cached verification parameters, and the upload signature in the pre-cached verification parameters is requested from the processing server and cached in response to the upload request.
10. The method for publishing multimedia resources according to claim 9, characterized in that: After requesting the processing server to obtain the first media asset information according to the upload token, the method further includes: The upload signature is deleted from the pre-cached verification parameters.
11. A multimedia resource publishing device, characterized in that: The device comprises: A parameter request module, configured to execute a request for an upload signature from a processing server in response to a request from a client to upload a multimedia resource; A first receiving module is configured to receive the upload signature returned by the processing server according to the upload signature request; A first sending module is configured to execute sending the upload signature to the client, 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; a resource publishing module configured to execute, in response to a publishing request sent by the client after receiving the upload token, publishing the multimedia resource; The notification module is configured to respond to the processing completion information and notify the service server that the multimedia resource has been successfully uploaded.
12. The multimedia resource publishing device according to claim 11, characterized in that: The device also includes: a configuration determination module configured to execute, in response to the upload request, determining, from a mapping relationship between a pre-configured service identifier and a service configuration, a service configuration corresponding to the service identifier carried in the upload request, wherein the service configuration includes a resource processing configuration required for processing the multimedia resource; The second sending module is configured to send 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.
13. The multimedia resource publishing device according to claim 12, characterized in that: The service configuration also includes information verification configuration; the device also includes: a third sending module, configured to execute sending 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; The second receiving module is configured to receive a verification pass message sent by the verification server.
14. The multimedia resource publishing device according to claim 11, characterized in that: The device also includes: A media asset determination module, configured to determine first media asset information of the multimedia resource before processing in response to the publishing request; An 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 in a database; wherein the associated information is sent by the client through the publishing request; 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 to indicate to the client that the multimedia resource has been published.
15. The multimedia resource publishing device according to claim 14, characterized in that: The notification module comprises: a media asset determination unit, configured to execute, in response to the processing completion information, obtaining the temporary asset information from the database, and determining second media asset information of the processed multimedia resource; An information generating unit, configured to generate target resource information according to the temporary resource information and the second media resource information; The sending unit is configured to send an upload success message to the business server according to the target resource information, wherein the upload success message is used to indicate to the business server that the state of the multimedia resource is available.
16. The multimedia resource publishing device according to claim 15, characterized in that: The device also includes: A storage module, configured to store the association information of the multimedia resources in an asynchronous manner, wherein the stored association information is used for subsequent business data processing; The first deleting module is configured to delete the temporary resource information in the database.
17. The multimedia resource publishing device according to claim 15, characterized in that: The media asset determination unit is configured to execute a request to a media asset processing server for the second media asset information, where the second media asset information is obtained by the media asset processing server parsing the processed multimedia resource.
18. The multimedia resource publishing device according to claim 14, characterized in that: The publishing request carries the upload token; The media asset determination module is configured to execute, in response to the publishing request, a request to obtain the first media asset information from the processing server according to the upload token.
19. The multimedia resource publishing device according to claim 18, characterized in that: The publishing request also carries the upload signature; the device also includes: The parameter verification module is configured to determine whether the upload signature exists in the pre-cached verification parameters, and the upload signature in the pre-cached verification parameters is requested from the processing server and cached in response to the upload request.
20. The multimedia resource publishing device according to claim 19, characterized in that: The device also includes: The second deletion module is configured to delete the upload signature from the pre-cached verification parameters.
21. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for publishing multimedia resources as described in any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for publishing multimedia resources as described in any one of claims 1 to 10.
23. A computer program product, comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the method for publishing multimedia resources as described in any one of claims 1 to 10.
