Editing draft processing method and device and computing equipment

By splitting the editing drafts into editing operation data and media resources, and generating cloud storage data based on the storage characteristics of the original resources, the problem of cloud storage pressure is solved, and the conservation and accuracy of cloud storage resources are achieved.

CN120335722APending Publication Date: 2025-07-18SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510444824.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the direct storage of editing drafts to the cloud leads to excessive pressure on cloud storage and serious waste of resources.

Method used

The client splits the editing draft into editing operation data and media resources, and converts the media resources into original resources and resource processing links. The server generates cloud storage data based on the storage characteristics of the original resources, only storing the storage identity and processing links, and generates cloud drafts.

Benefits of technology

Significantly reduce the demand for cloud storage resources, ensure that the amount of cloud draft data is reduced, and the target editing draft can be accurately restored, ensuring storage accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335722A_ABST
    Figure CN120335722A_ABST
Patent Text Reader

Abstract

The invention discloses an edited draft processing method and device and computing equipment. In the application, the client splits the target edited draft to be cloud-stored into the edited operation data and the media resource, and converts the media resource into the combination of the original resource and the resource processing link, so that the cloud draft is simplified, and the cloud storage resource is saved; when the server side determines that the original resource is stored in the cloud storage side according to the resource characteristics of the original resource, the cloud storage data of the media resource is generated only according to the storage identifier of the original resource of the media resource and the resource processing link; and obtaining a cloud draft of the target edited draft according to the cloud storage data of each media resource in combination with the edited operation data, and storing the cloud draft in a cloud storage end. Compared with the target edited draft, the data volume of the cloud draft generated by the scheme is greatly reduced, so that cloud storage resources are saved; and the target edited draft can be accurately restored according to the cloud draft, so that the storage accuracy of the edited draft is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technologies, and in particular, to a method, apparatus, computing device, computer storage medium, and computer program product for processing clip drafts. Background Art

[0002] A clip draft is clip data in the initial production or modification and improvement stage during the clipping of media resources such as audio, video, and pictures. Currently, in order to improve the flexibility of user operations, some platforms provide users with a cloud storage function, and users can upload clip drafts to the cloud for storage.

[0003] However, the inventors found in the implementation process that there are the following defects in the prior art: The prior art stores the entire clip draft of the user in the cloud, thus greatly increasing the cloud storage pressure. Summary of the Invention

[0004] In view of the above problems, this application is proposed to provide a method, apparatus, computing device, computer storage medium, and computer program product for processing clip drafts that can overcome the above problems or at least partially solve the above problems.

[0005] According to a first aspect of the present application, there is provided a method for processing clip drafts, including:

[0006] Upon detecting a cloud storage operation for a target clip draft, extracting clip operation data and at least one media resource from the target clip draft;

[0007] For any media resource, determining the original resource and the resource processing link of the media resource according to the clip operation data;

[0008] Providing the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server, so that for any media resource, when the server determines that the original resource of the media resource is stored in the cloud storage according to the resource characteristics of the original resource of the media resource, generating cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource; and generating a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and storing the cloud draft in the cloud storage.

[0009] In an alternative embodiment, the providing the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server includes:

[0010] For any media resource, determining whether the original resource of the media resource is a material in a preset material library;

[0011] If so, generate cloud storage data for the media resource based on the material identifier of the original resource and the resource processing link of the media resource, and provide the cloud storage data of the media resource to the server;

[0012] If not, provide the resource processing link of the media resource and the resource characteristics of the original resource to the server.

[0013] In an alternative embodiment, the method further includes:

[0014] Receive the feedback information sent by the server that the original resource is not stored in the cloud storage end, and provide the original resource to the server for the server to generate cloud storage data for the media resource according to the original resource and the resource processing link of the media resource.

[0015] In an alternative embodiment, the method further includes:

[0016] Send a download request for the target cloud draft to the server and obtain the target cloud draft;

[0017] Restore the corresponding editing draft according to the target cloud draft.

[0018] According to the second aspect of the present application, a method for processing an editing draft is provided, including:

[0019] Receive a cloud storage request for a target editing draft sent by a client, and extract the resource processing link and resource characteristics of the media resource of the target editing draft, as well as the editing operation data of the target editing draft from the cloud storage request;

[0020] For any media resource, if it is determined according to the resource characteristics of the original resource of the media resource that the original resource is stored in the cloud storage end, generate cloud storage data for the media resource based on the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource;

[0021] Generate a cloud draft of the target editing draft according to the editing operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage end.

[0022] In an alternative embodiment, the method further includes: for any media resource, if it is determined according to the resource characteristics of the original resource of the media resource that the original resource is not stored in the cloud storage end, send feedback information to the client that the original resource is not stored in the cloud storage end; receive the original resource sent by the client, and generate cloud storage data for the media resource according to the original resource and the resource processing link of the media resource;

[0023] And / or, receiving the cloud storage data of the media resource whose original resource sent by the client is the material in the preset material library.

[0024] In an alternative embodiment, the cloud storage request for the target clip draft sent by the receiving client includes: determining whether the cloud storage request carries a client cloud draft version number; if so, obtaining the server cloud draft version number corresponding to the target clip draft;

[0025] If the server cloud draft version number is greater than the client cloud draft version number, generating a new cloud draft of the target clip draft, determining the first modification track of the new cloud draft compared to the cloud draft corresponding to the client cloud draft version number, and determining the second modification track of the cloud draft corresponding to the server cloud draft version number compared to the cloud draft corresponding to the client cloud draft version number; if there is an intersection between the first modification track and the second modification track, storing the new cloud draft in the cloud storage end and deleting the cloud draft corresponding to the server cloud draft version number in the cloud storage end; if there is no intersection between the first modification track and the second modification track, storing the new cloud draft and the cloud draft corresponding to the server cloud draft version number in the cloud storage end in a combined manner;

[0026] If the server cloud draft version number is equal to the client cloud draft version number, generating a cloud draft of the target clip draft and storing the cloud draft in the cloud storage end;

[0027] If the server cloud draft version number is less than the client cloud draft version number, generating an exception prompt message.

[0028] According to the third aspect of the present application, there is provided a clip draft processing device, including:

[0029] A first splitting module, configured to detect a cloud storage operation for a target clip draft, and extract clip operation data and at least one media resource from the target clip draft;

[0030] A second splitting module, configured to, for any media resource, determine the original resource and the resource processing link of the media resource according to the clip operation data;

[0031] A sending module, configured to provide the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server, so that for any media resource, when the server determines that the original resource is stored in the cloud storage based on the resource characteristics of the original resource of the media resource, the server generates cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource; and generates a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and stores the cloud draft in the cloud storage.

[0032] In an optional implementation manner, the device further includes: a generating module, configured to, if the original resource of the media resource is a material in a preset material library, generate cloud storage data of the media resource according to the material identifier of the original resource and the resource processing link of the media resource;

[0033] The sending module is configured to provide the cloud storage data of the media resource to the server; or, if the original resource of the media resource is not a material in the preset material library, provide the resource processing link of the media resource and the resource characteristics of the original resource to the server.

[0034] In an optional implementation manner, the sending module is configured to: upon receiving feedback information sent by the server that the original resource is not stored in the cloud storage, provide the original resource to the server, so that the server generates cloud storage data of the media resource according to the original resource and the resource processing link of the media resource.

[0035] In an optional implementation manner, the device further includes: a downloading module, configured to send a download request for a target cloud draft to the server, and obtain the target cloud draft; and restore the corresponding clip draft according to the target cloud draft.

[0036] According to a fourth aspect of the present application, there is provided a clip draft processing device, including:

[0037] A receiving module, configured to receive a cloud storage request for a target clip draft sent by a client, and extract the resource processing link of the media resource of the target clip draft, the resource characteristics of the original resource, and the clip operation data of the target clip draft from the cloud storage request;

[0038] A first generating module, configured to, for any media resource, if it is determined that the original resource of the media resource is stored in the cloud storage according to the resource characteristics of the original resource of the media resource, generate cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource;

[0039] A second generation module generates a cloud draft of a target clip draft according to the clip operation data and the cloud storage data of each media resource.

[0040] A storage module is used to store the cloud draft to the cloud storage end.

[0041] In an alternative embodiment, a first generation module is configured to, for any media resource, if it is determined according to the resource characteristics of the original resource of the media resource that the original resource is not stored in the cloud storage end, send feedback information that the original resource is not stored in the cloud storage end to the client; receive the original resource sent by the client, and generate cloud storage data of the media resource according to the original resource of the media resource and the resource processing link.

[0042] And / or, the receiving module is configured to: receive the cloud storage data of a media resource whose original resource sent by the client is a material in a preset material library.

[0043] In an alternative embodiment, the apparatus further includes: a version control module, configured to determine whether the cloud storage request carries a client cloud draft version number; if so, obtain the server cloud draft version number corresponding to the target clip draft.

[0044] If the server cloud draft version number is greater than the client cloud draft version number, generate a new cloud draft of the target clip draft, determine a first modification track of the new cloud draft compared to the cloud draft corresponding to the client cloud draft version number, and determine a second modification track of the cloud draft corresponding to the server cloud draft version number compared to the cloud draft corresponding to the client cloud draft version number; if there is an intersection between the first modification track and the second modification track, store the new cloud draft to the cloud storage end, and delete the cloud draft corresponding to the server cloud draft version number in the cloud storage end; if there is no intersection between the first modification track and the second modification track, store the new cloud draft and the cloud draft corresponding to the server cloud draft version number in the cloud storage end in a merged manner.

[0045] If the server cloud draft version number is equal to the client cloud draft version number, generate a cloud draft of the target clip draft, and store the cloud draft to the cloud storage end.

[0046] If the server cloud draft version number is less than the client cloud draft version number, generate an exception prompt message.

[0047] According to the fifth aspect of the present application, a computing device is provided, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete communication with each other through the communication bus.

[0048] The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the above-mentioned clip draft processing method.

[0049] According to a sixth aspect of the present application, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the above-mentioned clip draft processing method.

[0050] According to a seventh aspect of the present application, there is provided a computer program product, characterized in that it includes at least one executable instruction, and the executable instruction causes a processor to perform operations corresponding to the above-mentioned clip draft processing method.

[0051] In an embodiment of the present application, the client splits the target clip draft to be cloud-stored into clip operation data and media resources, and converts the media resources into a combination of original resources and resource processing links, which is convenient for subsequent streamlining of cloud drafts and saves cloud storage resources; moreover, when the server determines that the original resources have been stored in the cloud storage end according to the resource characteristics of the original resources, it generates cloud storage data only based on the storage identifier of the original resources of the media resources and the resource processing link, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and stores the cloud draft in the cloud storage end. Thereby, the data volume of the cloud draft stored in the cloud storage end is greatly reduced compared with the target clip draft, saving cloud storage resources; and the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0052] In an embodiment of the present application, for the case where the original resource is a material in a preset material library, the client generates cloud storage data of the media resource according to the material identifier and the resource processing link, and then provides it to the server, thereby further streamlining the transmission volume from the client to the server, reducing the cloud storage pressure, and saving cloud storage resources.

[0053] In an embodiment of the present application, the client can download the cloud draft that has been cloud-stored to achieve multi-terminal collaboration of the same user or multi-user collaboration, meet the user's clip requirements, and improve the convenience of clip operations.

[0054] In an embodiment of the present application, the server performs version control after receiving a cloud storage request, and adopts a matching processing method according to the size relationship between the server cloud draft version number and the client cloud draft version number, thereby ensuring the storage accuracy of the cloud draft.

[0055] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the following specifically illustrates the specific embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. Also, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0057] Figure 1 A schematic diagram of an operating environment provided to implement at least one embodiment of the present application is shown;

[0058] Figure 2 A flowchart of a method for processing a clip draft provided in Embodiment 1 of the present application is shown;

[0059] Figure 3 A flowchart of a method for determining upload data of a media resource provided in Embodiment 1 of the present application is shown;

[0060] Figure 4 A schematic diagram of cloud draft management provided in Embodiment 1 of the present application is shown;

[0061] Figure 5 A flowchart of a method for processing a clip draft provided in Embodiment 2 of the present application is shown;

[0062] Figure 6 A flowchart of a method for generating cloud storage data provided in Embodiment 2 of the present application is shown;

[0063] Figure 7 A flowchart of a version control method provided in Embodiment 2 of the present application is shown;

[0064] Figure 8 A flowchart of a method for processing a clip draft provided in Embodiment 3 of the present application is shown;

[0065] Figure 9 A structural diagram of a clip draft processing device provided in Embodiment 4 of the present application is shown;

[0066] Figure 10 A structural diagram of a clip draft processing device provided in Embodiment 5 of the present application is shown;

[0067] Figure 11 A structural diagram of a clip draft processing system provided in Embodiment 6 of the present application is shown;

[0068] Figure 12 A structural diagram of a computing device provided in Embodiment 7 of the present application is shown. Detailed Embodiments

[0069] Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present application can be more thoroughly understood and the scope of the present application can be fully conveyed to those skilled in the art.

[0070] Figure 1 A schematic diagram of an operating environment provided to implement at least one embodiment of the present application is shown. The present application can be applied to an application environment including, but not limited to, a client 2, a server 4, and a cloud storage end 6. Among them:

[0071] The client 2 can be an electronic device running operating systems such as Windows, Android TM ) or IOS, such as a smart phone, a tablet device, a laptop computer, a virtual reality device, a gaming device, a set-top box, a vehicle-mounted terminal, a smart TV. Based on the above operating systems, various application programs can be run, such as a browser.

[0072] The server 4 can be composed of a single or multiple computing devices. The multiple computing devices can include virtualized computing instances. The virtualized computing instances can include virtual machines, such as emulations of computer systems, operating systems, servers, etc. The computing devices can load virtual machines based on virtual images and / or other data that define specific software (e.g., operating systems, dedicated application programs, servers) for emulation. As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more computing devices. A hypervisor can be implemented to manage the use of different virtual machines on the same computing device.

[0073] The server 4 can be configured to communicate with the client 2, etc. via a network. The network includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, etc., or wireless links, such as cellular links, satellite links, Wi-Fi links, etc. The server 4 can provide services such as storage, reading, downloading, writing, querying, deleting, etc.

[0074] The cloud storage end 6 can be composed of a single or multiple computing devices and / or storage devices, and the cloud storage end 6 can provide storage and other related services. The cloud storage end 6 can be configured to communicate and connect with the server 4 and / or the client 2.

[0075] In some cases, the server 4 and the cloud storage end 6 can be set independently, and in other cases, the server 4 and the cloud storage end 6 can be integrated into one body.

[0076] Embodiment 1

[0077] Figure 2 The flowchart of a method for processing a clip draft provided in Embodiment 1 of the present application is shown. Among them, the method for processing a clip draft provided in this embodiment can be executed on the client side.

[0078] Specifically, as Figure 2 shown, the method includes the following steps:

[0079] Step S201, detecting a cloud storage operation for a target clip draft, and extracting clip operation data and at least one media resource from the target clip draft.

[0080] The client provides the user with a cloud storage function for clip drafts. The user can initiate a cloud storage operation for one or more clip drafts through corresponding trigger operations (such as click operations, preset shortcut key operations, voice control operations, etc.). The clip draft targeted by this cloud storage operation is the target clip draft.

[0081] Different from the prior art, after detecting a cloud storage operation for a target clip draft, the embodiment of the present application does not directly transmit the entire target clip draft to the cloud storage end for storage, but splits the target clip draft to extract clip operation data and media resources from the target clip draft. Among them, the clip operation data is the detailed information of each clip operation executed by the user during the process of processing the target clip draft on the client, such as the operation information of the clip operation, the clip operation object, the clip operation time, the resource identifier after the clip operation, etc. The media resources are pictures, audio, video, text, etc. in the target clip draft. The extracted media resources can be one or more.

[0082] Step S202, for any media resource, determining the original resource and the resource processing link of the media resource according to the clip operation data.

[0083] For each extracted media resource, determine the original resource on which the media resource depends according to the clip operation data. The original resource is the source resource of the media resource. The user can perform a series of clip operations on the original resource or obtain the media resource without performing clip operations. Among them, the clip operations include: adding filters, adding transitions, adding special effects, etc.

[0084] And, extract each clip operation from the original resource of the media resource to the generation of the media resource from the clip operation data, so as to obtain the resource processing link of the media resource. The resource processing link contains the sequence of clip operations experienced from the original resource to the media resource.

[0085] Among them, if the clip operation data does not contain the clip operation of the media resource, the original resource of the media resource is itself, and the resource processing link of the media resource is empty.

[0086] In an alternative embodiment, since the clip operation data contains the object information of each clip operation, the object information after clipping, and the operation information of the clip operation, the resource processing link of the media resource can be deduced backward from the clip operation data to obtain the resource processing link of the media resource. The starting node of the resource processing link can be used as that of the media resource.

[0087] Further optionally, a clip operation directed graph can be generated according to the clip operation data. Each node in the directed graph represents a resource (which can be represented by a resource identifier), and the directed edge between nodes represents the corresponding clip operation. Thus, the resource processing link of the media resource is extracted from the directed graph according to the resource identifier of the media resource, improving the processing accuracy of the resource processing link.

[0088] Further optionally, after determining the resource processing link of the media resource according to the clip operation data, if the resource processing link does not contain a splitting operation (such as a segmentation operation, a cropping operation, etc.), the resource corresponding to the starting node of the resource processing link is used as the original resource; if the resource processing link contains a splitting operation, the splitting operation is removed from the resource processing link, and the splitting operation is performed on the starting resource corresponding to the resource processing link, and the resource after the starting resource performs the splitting operation is used as the original resource of the media resource, thereby reducing the resource data volume of the original resource and saving transmission and storage resources on the premise of ensuring the accuracy of the processing result. For example, if the original resource processing link is "resource S1 → add filter A → add special effect B → media resource S2", and this resource processing link does not contain a splitting operation, the starting resource S1 is used as the original resource of the media resource S2; if the original resource processing link is "resource S1 → add filter A → add special effect B → crop → media resource S2", and this resource processing link contains the splitting operation of cropping, the cropping operation is removed from the resource processing link, and the cropping operation is performed on the starting resource "resource S1" corresponding to the resource processing link to obtain "resource S1_1 after performing the cropping operation", and the "resource S1_1 after performing the cropping operation" is used as the original resource of the media resource S2, so that the corrected resource processing link is "resource S1_1 after performing the cropping operation → add filter A → add special effect B → media resource S2".

[0089] Step S203: Provide the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server. For any media resource, when the server determines that the original resource corresponding to the media resource is stored in the cloud storage based on the resource characteristics of the original resource of the media resource, generate the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource; and generate the cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage.

[0090] For a media resource, extract the resource characteristics of the original resource of the media resource. The resource characteristics are identification information that can uniquely identify the media resource, such as hash value, digital fingerprint, etc. Provide the resource characteristics of the original resource of the media resource and the resource processing link of the media resource to the server. Also provide the clip operation data of the extracted target clip draft to the server.

[0091] The server receives the data provided by the client. For any media resource provided with resource characteristics, search in the cloud storage based on the resource characteristics of the original resource of the media resource to check if there is a resource that matches the resource characteristics. If it exists, it is determined that the original resource of the media resource is already stored in the cloud storage, and then obtain the storage identifier (such as resource identifier, storage path, etc.) of the original resource in the cloud storage, and generate storage data according to the storage identifier of the original resource of the media resource and the resource processing link. This storage data is called cloud storage data.

[0092] The server generates the cloud draft corresponding to the target clip draft according to the cloud storage data and clip operation data of all media resources of the target clip draft, and then stores the cloud draft in the cloud storage to achieve the cloud storage of the target clip draft.

[0093] It can be seen from this that in the case where the original resource is already stored in the cloud storage in this application, only the storage identifier and resource processing link of the original resource of the media resource are stored, so that the original resource itself will not be stored repeatedly, greatly saving cloud storage resources.

[0094] In an optional implementation manner, the client will open a corresponding material library for the user, and the user can select materials from the material library to participate in the clip process. Thus, in this implementation manner, according to the different resource types of the original resources, a matching method is used to extract the data that needs to be uploaded to the server. For any media resource, the data that the media resource needs to upload to the server can be determined by the Figure 3 steps shown:

[0095] S2031, Determine whether the original resource of the media resource is a material in the preset material library; if so, execute step S2032; if not, execute step S2033.

[0096] According to the resource attributes of the original resource, it can be determined whether the original resource is a material in the preset material library, and corresponding processing steps are executed according to different judgment results.

[0097] S2032, Generate cloud storage data for the media resource according to the material identifier of the original resource and the resource processing link of the media resource, and provide the cloud storage data of the media resource to the server.

[0098] If the original resource of the media resource is a material in the preset material library, and the materials in the preset material library can be directly obtained from the preset material library, so in this embodiment, only the material identifier of the original resource is obtained, and through this material identifier, it can be determined which material in which material library the original resource corresponds to.

[0099] Furthermore, after combining the material identifier and the resource processing link, the cloud storage data of the media resource is obtained. Thus, the cloud storage data of this type of media resource is generated in the client and the generated cloud storage data is provided to the server.

[0100] S2033, Provide the resource processing link of the media resource and the resource characteristics of the original resource to the server.

[0101] If the original resource of the media resource is not a material in the preset material library, then provide the resource characteristics of the original resource and the resource processing link to the server.

[0102] Adopt Figure 3 The steps shown can further streamline the transmission volume from the client to the server, reduce the cloud storage pressure, and save cloud storage resources.

[0103] In an alternative embodiment, when the server determines that the original resource of a certain media resource is not stored in the cloud storage end according to the resource characteristics, it will send corresponding feedback information to the client. After the client receives the feedback information that the original resource of a certain media resource is not stored in the cloud storage end sent by the server, it provides the original resource to the server, and the server generates the cloud storage data of the media resource according to the original resource of the media resource and the resource processing link.

[0104] In an alternative implementation, after the cloud storage of the target clip draft is completed, the user can initiate a cloud download operation for the target clip draft. When the client detects the cloud download operation for the target clip draft, it sends a download request for the cloud draft of the target clip draft to the server. The server can authenticate the client's permissions. If the permission authentication is passed, the server enables the client to establish a communication connection with the cloud storage end, so as to download the target clip draft; alternatively, the server can provide the cloud draft to the client.

[0105] Further, the client obtains the cloud draft of the target clip draft and restores the target clip draft according to the cloud draft. Specifically, each cloud storage data in the cloud draft is extracted. For any cloud storage data, if the cloud storage data contains the original resource and the resource processing link, the original resource is executed according to the resource processing link to restore the corresponding media resource; if the cloud storage data contains the storage identifier of the original resource and the resource processing link, the corresponding original resource is downloaded from the cloud storage end according to the storage identifier, and the original resource is executed according to the resource processing link to restore the corresponding media resource; if the cloud storage data contains the material identifier and the resource processing link, the corresponding original resource is obtained from the preset material library according to the material identifier, and the original resource is executed according to the resource processing link to restore the corresponding media resource. Further, according to the editing operation data (including the combination method of each media resource, etc.) in the cloud draft, each media resource is merged to restore the target clip draft.

[0106] In an alternative implementation, to facilitate the management of the cloud draft (the cloud draft of the clip draft at the cloud storage end), this implementation provides a management entry for the cloud draft for the user in the client, and the specific management process can refer to Figure 4 .

[0107] As Figure 4 shown, the user enters the cloud space. When logged in currently, the cloud space list is displayed, and the cloud space list contains the detailed information of each cloud draft, such as the cloud draft upload time, editing time, creator, etc.

[0108] If the cloud space list is empty, the upload process can be entered: display the local draft list on the client side, and each clip draft stored locally is displayed in this local draft list. The user can select one or more local drafts through corresponding selection operations and click upload. When the server determines that a backup of this version already exists in the cloud, it prompts to overwrite or create a new draft; if there is no backup in the cloud, it performs a preset network connection check such as WiFi. If there is a preset network connection currently, it calls the plugin to upload. If there is no preset network connection currently, it prompts whether to continue uploading. After calling the plugin to upload, the local draft list can be synchronously closed for splitting processing. Perform file occupancy analysis. If it is determined that the current cloud space has exceeded the preset limit, indicating that the cloud space is full, it prompts that the task fails. If the cloud space is not full, it executes the upload step and displays a prompt message indicating successful upload after the upload.

[0109] If the cloud space list is not empty, the user can edit the existing cloud drafts, such as performing operations like renaming, deleting, downloading, etc. When downloading a cloud draft, after performing a network connection check, it is downloaded. And based on the data after downloading, the clip draft is restored and inserted into the local draft.

[0110] It can be seen that in the clip draft processing method provided by the embodiment of the present application, the client splits the target clip draft to be cloud - stored into clip operation data and media resources, and converts the media resources into the combination of the original resources and the resource processing link, which is convenient for subsequent streamlining of cloud drafts and saving cloud storage resources; moreover, when the server determines that the original resources have been stored in the cloud storage end according to the resource characteristics of the original resources, it only generates cloud storage data based on the storage identifier of the original resources of the media resources and the resource processing link, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and then stores this cloud draft in the cloud storage end. The cloud draft has a significantly reduced data volume compared to the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0111] Embodiment Two

[0112] Figure 5 The flowchart of a clip draft processing method provided by Embodiment Two of the present application is shown. Among them, the clip draft processing method provided in this embodiment can be executed on the server side.

[0113] Specifically, as Figure 5 shown, the method includes the following steps:

[0114] Step S501, receive the cloud storage request for the target clip draft sent by the client, extract the resource processing link of the media resources of the target clip draft, the resource characteristics of the original resources, and the clip operation data of the target clip draft from the cloud storage request.

[0115] The client detects a cloud storage operation by the user on the target clip draft, extracts clip operation data and at least one media resource from the target clip draft; and for any media resource, determines the original resource and the resource processing link of the media resource according to the clip operation data, and then provides the resource characteristics of the original resource of the media resource, the resource processing link, and the clip operation data to the server, and the server receives the data transmitted by the client.

[0116] Step S502, for any media resource, if it is determined according to the resource characteristics of the original resource of the media resource that the original resource is stored in the cloud storage end, then generate the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource.

[0117] The server searches for a resource that matches the resource characteristics of the original resource from the stored data in the cloud storage end according to the received resource characteristics of the original resource. If a resource that matches the resource characteristics can be found in the cloud storage end, it indicates that the original resource has been stored in the cloud storage end, and then extracts the storage identifier of the original resource in the cloud storage end. This storage identifier is an identifier that can uniquely determine the resource in the cloud storage end, such as the unique ID assigned to the resource in the cloud storage end, or the storage path, etc. Then, for this media resource, generate the cloud storage data of the media resource according to the storage identifier of its original resource in the cloud storage end and the resource processing link of the media resource. Thus, the cloud storage data of this type of media resource neither contains the media resource itself nor the original resource itself, but only contains the storage identifier of the original resource and the resource processing link, thereby greatly reducing the storage overhead.

[0118] In an alternative embodiment, the server generates corresponding cloud storage data in a matching manner according to the different media resources. For any media resource, the process of generating its cloud storage data can refer to Figure 6 the steps shown below:

[0119] S5021, determine whether the client provides the cloud storage data of this media resource; if so, execute step S5022; if not, execute step S5023.

[0120] For a media resource whose original resource is a material in the preset material library, the client will generate the cloud storage data of the media resource according to the material identifier of the original resource and the resource processing link of the media resource, and provide the cloud storage data of the media resource to the server.

[0121] The server receives the cloud storage data of the media resource whose original resource is a material in the preset material library sent by the client. When determining the generation method of the cloud storage data of the current media resource, it is judged whether the cloud storage data of this media resource provided by the client has been received.

[0122] S5022, cache the cloud storage data of the media resource.

[0123] If the server has received the cloud storage data of the media resource provided by the client, the server caches the cloud storage data of the media resource and waits for the generation of the subsequent total cloud storage data.

[0124] S5023, determine whether the original resource of the media resource is stored in the cloud storage; if so, execute step S5024; if not, execute step S5025.

[0125] If the server has not received the cloud storage data of the media resource provided by the client currently, and what the server receives is the resource feature of the original resource of the media resource, then check whether there is a resource matching the resource feature in the cloud storage; if there is, it is determined that the original resource of the media resource is stored in the cloud storage; if not, it is determined that the original resource of the media resource is not stored in the cloud storage.

[0126] Among them, the resource feature includes a hash value and / or a digital fingerprint. In the specific implementation process, the hash value of the original resource can be used to determine whether the original resource of the media resource is stored in the cloud storage first. If there is, execute step S5024; if not, then obtain the digital fingerprint of the original resource to determine whether the original resource of the media resource is stored in the cloud storage. If there is, execute step S5024; if not, execute step S5035. Among them, the digital fingerprint can be provided by the client, or the client provides the original resource to the server, and the server extracts its digital fingerprint. By using the dual judgment method of hash value and digital fingerprint, the occurrence of misjudgment can be reduced and the draft storage accuracy can be improved.

[0127] S5024, generate the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource.

[0128] If the original resource of the media resource is stored in the cloud storage, obtain the storage identifier of the original resource in the cloud storage, and merge the storage identifier with the resource processing link of the media resource to obtain the cloud storage data of the media resource.

[0129] S5025, send feedback information to the client that the original resource is not stored in the cloud storage, receive the original resource sent by the client, and generate the cloud storage data of the media resource according to the original resource of the media resource and the resource processing link.

[0130] If the original resource of the media resource is not stored in the cloud storage end, feedback information indicating that the original resource is not stored in the cloud storage end is sent to the client, and the client provides the original resource to the server based on this feedback information. The server combines the original resource of the media resource and the resource processing link to obtain the cloud storage data of the media resource.

[0131] Step S503: Generate a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage end.

[0132] By implementing steps S501 and S502, the cloud storage data of each media resource of the target clip draft can be obtained. Then, the clip operation data of the target clip draft and the cloud storage data of each media resource are combined to generate a cloud draft of the target clip draft, and the cloud draft is stored in the cloud storage end.

[0133] In an optional implementation manner, when the cloud storage end stores the cloud draft of the target clip draft, specifically, the draft identifier of the target clip draft is associated and stored with the cloud draft. And for the original resource in the cloud draft, after storing the original resource, a corresponding storage identifier is assigned to it.

[0134] Moreover, the cloud storage end also generates and maintains a reference table of the storage identifier of the original resource and the clip draft identifier. The reference table records the resource reference information of each stored original resource, and the resource reference information is specifically the cloud draft identifier that references the original resource. For example, if a certain media resource in cloud draft S2 and cloud draft S3 both depends on the original resource Y, the cloud storage end stores the original resource Y and records in the reference table that the cloud drafts that reference the original resource Y are cloud draft S2 and cloud draft S3. Thus, for the original resource in the cloud draft, in addition to storing the original resource and assigning a storage identifier to it, the reference table is also updated to record the association relationship between the storage identifier of the newly stored original resource and the cloud draft identifier; for the storage identifier of the original resource included in the cloud draft, the reference table is updated to add the association relationship between the storage identifier of the original resource and the cloud draft identifier. Thus, through this reference table, it can be quickly and accurately determined which cloud drafts currently reference which original resources, facilitating the management of stored data. For example, when receiving a deletion operation of a certain cloud draft from the client, the storage identifiers of the original resources referenced by the cloud draft are determined through the reference table. If the storage identifier of the associated original resource is not associated with other cloud draft identifiers, the original resource is deleted; if the storage identifier of the associated original resource is associated with other cloud draft identifiers, the original resource is not deleted. In addition, other data in the cloud draft except for the original resource in the cloud draft is also deleted, and the reference table is updated to reflect the reference relationship between the cloud draft and the original resource.

[0135] In addition, the cloud storage side can deduplicate or merge the stored original resources based on the resource characteristics of the storage resources, thereby further saving storage space. After deduplication or merging, the reference table is updated synchronously.

[0136] In an alternative embodiment, since the cloud draft is stored in the cloud in the embodiments of the present application, multiple users with the operation permission for the same cloud draft, or different clients of the same user, can collaborate to process the cloud draft. In this case, in order to ensure the data accuracy of the cloud draft, the version number of the cloud draft is updated each time the cloud draft of the same clip draft is generated in this embodiment, and when the client downloads the target cloud draft, the latest target cloud draft on the server side and the cloud draft version number of the target cloud draft are provided to the client. When the client initiates a cloud storage request for the target clip draft, the version control can be specifically performed through Figure 7 the following steps:

[0137] S701, Receive a cloud storage request for the target clip draft sent by the client.

[0138] S702, Determine whether the cloud storage request carries a client cloud draft version number; if so, execute step S703; if not, execute step S709.

[0139] If the current target clip draft to be cloud-stored is modified based on an existing cloud draft, the cloud storage request will carry the version number of the cloud draft, and this version number is called the client cloud draft version number, then execute step S703 for version verification.

[0140] If the current target clip draft to be cloud-stored is not generated depending on a certain cloud draft, the client-initiated cloud storage request will not carry the client cloud draft version number, then execute step S709 to generate and store the corresponding cloud draft.

[0141] S703, Obtain the server-side cloud draft version number corresponding to the target clip draft.

[0142] If the cloud storage request carries a client cloud draft version number, determine the cloud draft of the target clip draft stored on the cloud storage side, and obtain the latest version number of the cloud draft on the cloud, and this version number is called the server-side cloud draft version number corresponding to the target clip draft.

[0143] S704, Compare the server-side cloud draft version number with the client cloud draft version number; if the server-side cloud draft version number is greater than the client cloud draft version number, execute S705; if the server-side cloud draft version number is equal to the client cloud draft version number, execute S709; if the server-side cloud draft version number is less than the client cloud draft version number, execute S710.

[0144] S705. Generate a new cloud draft of the target clip draft, determine the first modified track of the new cloud draft compared to the cloud draft corresponding to the client cloud draft version number, and determine the second modified track of the cloud draft corresponding to the server cloud draft version number compared to the cloud draft corresponding to the client cloud draft version number.

[0145] If the server cloud draft version number is greater than the client cloud draft version number, it indicates that during the modification process of the current client on the original cloud draft, other clients have updated the original cloud draft. In this case, generate the cloud draft of the current target clip draft. The newly generated cloud draft is called the new cloud draft. The generation process of this new cloud draft can refer to the implementation process of other steps, which will not be elaborated here.

[0146] Moreover, different clip tracks are divided according to different resource types, such as audio tracks, video tracks, subtitle tracks, etc. Further determine the first modified track of the new cloud draft compared to the cloud draft corresponding to the client cloud draft version number (referred to as the original cloud draft), that is, the modified track of the new cloud draft compared to the original cloud draft is called the first modified track. Specifically, by comparing the clip operation data in the new cloud draft and the clip operation data in the original cloud draft, it is possible to accurately determine what modifications the current client has made to the original cloud draft, and then determine the clip tracks corresponding to these modifications, and use the clip tracks corresponding to the modifications as the first modified track.

[0147] And determine the modified track of the cloud draft corresponding to the server cloud draft version number compared to the cloud draft corresponding to the client cloud draft version number. This modified track is called the second modified track. Specifically, by comparing the clip operation data in the cloud draft corresponding to the server cloud draft version number (referred to as the server cloud draft) and the clip operation data in the cloud draft corresponding to the client cloud draft version number (referred to as the original cloud draft), it is possible to accurately determine what modifications the server cloud draft has made on the basis of the original cloud draft, and then determine the clip tracks corresponding to these modifications, and use the clip tracks corresponding to the modifications as the second modified track.

[0148] S706. Determine whether there is an intersection between the first modified track and the second modified track; if so, execute S707; if not, execute S708.

[0149] If there is a same part between the first modified track and the second modified track, it is determined that there is an intersection; if there is no same part between the first modified track and the second modified track, it is determined that there is no intersection.

[0150] S707. Store the new cloud draft in the cloud storage and delete the cloud draft corresponding to the server cloud draft version number in the cloud storage.

[0151] If there is an intersection between the first modified track and the second modified track, for example, both the first modified track and the second modified track contain a video track. Then, overwrite and store the new cloud draft on the server cloud draft, that is, store the new cloud draft in the cloud storage, and delete the cloud draft corresponding to the server cloud draft version number in the cloud storage. When deleting, if the original resources in the server cloud draft are not referenced by the new cloud draft or other cloud drafts, delete the entire server cloud draft; if the original resources in the server cloud draft are referenced by the new cloud draft or other cloud drafts, retain the stored original resources, delete other data in the server cloud draft except the retained original resources, and update the reference table.

[0152] In the specific implementation process, if there is an intersection between the first modified track and the second modified track, it is also possible to feedback a prompt message for overwrite storage to the client. Under the condition that the client executes the confirmation operation for overwrite storage, then overwrite and store the new cloud draft on the server cloud draft.

[0153] Or, if there is an intersection between the first modified track and the second modified track, feedback a prompt message for re - creation to the client. Under the condition that the client executes the confirmation operation for re - creation, create a new cloud draft identifier for the new cloud draft and store it, while the original server cloud draft is retained. In this way, both the new cloud draft and the server cloud draft are retained, but they correspond to different cloud draft identifiers.

[0154] S708, merge and store the new cloud draft with the cloud draft corresponding to the server cloud draft version number in the cloud storage.

[0155] If there is no intersection between the first modified track and the second modified track, for example, the first modified track is an audio track and the second modified track is a video track. Then, merge the new cloud draft with the server cloud draft and then store it in the cloud storage. In this case, the new cloud draft and the server cloud draft are merged into one cloud draft for storage.

[0156] S709, generate a cloud draft of the target clip draft and store the cloud draft in the cloud storage.

[0157] If the server cloud draft version number is equal to the client cloud draft version number, or if the cloud storage request does not carry the client cloud draft version number, generate a cloud draft of the target clip draft and store the cloud draft in the cloud storage.

[0158] S710, generate an exception prompt message.

[0159] If the server cloud draft version number is less than the client cloud draft version number, it indicates that there is an exception currently, and thus generate a corresponding exception prompt message for the exception handling end to perform exception handling.

[0160] It can be seen that in the clip draft processing method provided by the embodiments of the present application, the client splits the target clip draft to be cloud-stored into clip operation data and media resources, and converts the media resources into a combination of original resources and resource processing links, which facilitates subsequent streamlining of cloud drafts and saves cloud storage resources. Moreover, when the server determines that the original resources are already stored in the cloud storage end according to the resource characteristics of the original resources, it generates cloud storage data only based on the storage identifiers of the original resources of the media resources and the resource processing links, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and then stores the cloud draft in the cloud storage end. The cloud draft has a significantly reduced data volume compared to the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0161] Embodiment III

[0162] Figure 8 The flowchart of a clip draft processing method provided by Embodiment III of the present application is shown. As Figure 8 shown, the method specifically includes the following steps:

[0163] Step S801, the client detects a cloud storage operation for the target clip draft, extracts clip operation data and at least one media resource from the target clip draft; for the media resource, determines the original resource and the resource processing link of the media resource according to the clip operation data.

[0164] After detecting a cloud storage operation for the target clip draft, the client splits the target clip draft into clip operation data and media resources. And converts the media resources into their dependent original resources and corresponding resource processing links.

[0165] Step S802, the client determines whether the original resource is a material; if so, executes step S803; if not, executes step S804.

[0166] Step S803, the client generates cloud storage data for the media resource according to the material identifier of the original resource and the resource processing link of the media resource, and provides the cloud storage data of the media resource to the server.

[0167] For the case where the original resource is a material in the preset material library, the client generates cloud storage data for the media resource according to the material identifier of the original resource in the preset material library and the resource processing link of the media resource, and synchronizes the cloud storage data to the server.

[0168] Step S804, the client provides the resource processing link of the media resource and the resource characteristics of the original resource to the server.

[0169] In the case where the original resource of the client is not the material in the preset material library, the resource processing link of the media resource and the resource characteristics of the original resource are provided to the server.

[0170] Step S805: The server determines whether the original resource is stored in the cloud storage according to the resource characteristics; if so, step S806 is executed; if not, step S807 is executed.

[0171] Step S806: The server generates the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource.

[0172] If the server determines that the original resource is stored in the cloud storage, it generates the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage and the resource processing link of the media resource.

[0173] Step S807: The server obtains the original resource and generates the cloud storage data of the media resource according to the original resource and the resource processing link of the media resource.

[0174] If the server determines that the original resource is not stored in the cloud storage, it obtains the original resource from the client and generates the cloud storage data of the media resource according to the original resource and the resource processing link of the media resource.

[0175] Step S808: The server generates the cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource.

[0176] Step S809: The server stores the cloud draft in the cloud storage.

[0177] It can be seen that in the clip draft processing method provided by the embodiment of the present application, the client splits the target clip draft to be cloud-stored into clip operation data and media resources, and converts the media resources into the combination of the original resources and the resource processing link, which is convenient for subsequent cloud draft simplification and saves cloud storage resources; moreover, in the case where the original resource is the material in the preset material library, the client generates the cloud storage data of the media resource according to the material identifier and the resource processing link; in the case where the original resource is not the material but has been stored in the cloud storage, the server generates the cloud storage data of the media resource according to the storage identifier of the original resource and the resource processing link; in the case where the original resource is not the material and has not been stored in the cloud storage, the server generates the cloud storage data of the media resource according to the original resource and the resource processing link; and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and then stores the cloud draft in the cloud storage. The cloud draft has a significantly reduced data volume compared with the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0178] Embodiment 4

[0179] Figure 9 shows a structural diagram of a clip draft processing device provided in Embodiment 4 of the present application. This device is specifically located in the client. As Figure 9 shown, the device 900 includes: a first splitting module 910, a second splitting module 920, and a sending module 930.

[0180] The first splitting module 910 is configured to detect a cloud storage operation for a target clip draft, and extract clip operation data and at least one media resource from the target clip draft;

[0181] The second splitting module 920 is configured to, for any media resource, determine the original resource and the resource processing link of the media resource according to the clip operation data;

[0182] The sending module 930 is configured to provide the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server, so that when the server determines that the cloud storage end stores the original resource according to the resource characteristics of the original resource of any media resource, generate cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource; and generate a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage end.

[0183] In an optional implementation manner, the device further includes: a generating module (not shown in the figure), configured to, if the original resource of the media resource is a material in a preset material library, generate cloud storage data of the media resource according to the material identifier of the original resource and the resource processing link of the media resource;

[0184] then the sending module 930 is configured to provide the cloud storage data of the media resource to the server; or, if the original resource of the media resource is not a material in the preset material library, provide the resource processing link and the resource characteristics of the original resource to the server.

[0185] In an optional implementation manner, the sending module 930 is configured to: upon receiving feedback information sent by the server that the cloud storage end does not store the original resource, provide the original resource to the server for the server to generate cloud storage data of the media resource according to the original resource and the resource processing link of the media resource.

[0186] In an alternative embodiment, the device further includes: a download module (not shown in the figure), configured to send a download request for a target cloud draft to a server, and obtain the target cloud draft; and restore a corresponding clip draft according to the target cloud draft.

[0187] It can be seen that for the clip draft processing device provided in the embodiments of the present application, the client splits the target clip draft to be cloud stored into clip operation data and media resources, and converts the media resources into a combination of original resources and a resource processing link, which facilitates subsequent streamlining of the cloud draft and saves cloud storage resources; moreover, when the server determines that the original resources are already stored in the cloud storage end according to the resource characteristics of the original resources, it generates cloud storage data only based on the storage identifier of the original resources of the media resources and the resource processing link, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource in combination with the clip operation data, and then stores the cloud draft in the cloud storage end. The cloud draft has a significantly reduced data volume compared to the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0188] Embodiment Five

[0189] Figure 10 The structure diagram of a clip draft processing device provided in Embodiment Five of the present application is shown. This device is located in the server. As Figure 10 shown, the device 1000 includes: a receiving module 1010, a first generating module 1020, a second generating module 1030, and a storage module 1040.

[0190] The receiving module 1010 is configured to receive a cloud storage request for a target clip draft sent by a client, and extract the resource processing link of the media resources of the target clip draft, the resource characteristics of the original resources, and the clip operation data of the target clip draft from the cloud storage request;

[0191] The first generating module 1020 is configured to, for any media resource, if it is determined according to the resource characteristics of the original resources of the media resource that the original resource is stored in the cloud storage end, generate cloud storage data for the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource;

[0192] The second generating module 1030 generates a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource;

[0193] The storage module 1040 is configured to store the cloud draft in the cloud storage end.

[0194] In an alternative embodiment, the first generation module 1020 is configured to, for any media resource, if it is determined according to the resource characteristics of the original resource of the media resource that the original resource is not stored in the cloud storage end, send feedback information to the client that the original resource is not stored in the cloud storage end; receive the original resource sent by the client, and generate cloud storage data of the media resource according to the original resource of the media resource and the resource processing link.

[0195] And / or, the receiving module 1010 is configured to: receive the cloud storage data of the media resource whose original resource sent by the client is the material in the preset material library.

[0196] In an alternative embodiment, the apparatus further includes: a version control module (not shown in the figure), configured to determine whether the cloud storage request carries a client cloud draft version number; if so, obtain the server cloud draft version number corresponding to the target clip draft.

[0197] If the server cloud draft version number is greater than the client cloud draft version number, generate a new cloud draft of the target clip draft, determine the first modification track of the new cloud draft compared to the cloud draft corresponding to the client cloud draft version number, and determine the second modification track of the cloud draft corresponding to the server cloud draft version number compared to the cloud draft corresponding to the client cloud draft version number; if there is an intersection between the first modification track and the second modification track, store the new cloud draft in the cloud storage end, and delete the cloud draft corresponding to the server cloud draft version number in the cloud storage end; if there is no intersection between the first modification track and the second modification track, store the new cloud draft and the cloud draft corresponding to the server cloud draft version number in the cloud storage end in a merged manner;

[0198] If the server cloud draft version number is equal to the client cloud draft version number, generate a cloud draft of the target clip draft, and store the cloud draft in the cloud storage end;

[0199] If the server cloud draft version number is less than the client cloud draft version number, generate an exception prompt message.

[0200] It can be seen that in the clip draft processing device provided by the embodiments of the present application, the client splits the target clip draft to be cloud stored into clip operation data and media resources, and converts the media resources into a combination of original resources and resource processing links, which facilitates subsequent streamlining of cloud drafts and saves cloud storage resources; moreover, when the server determines that the original resources are already stored in the cloud storage end according to the resource characteristics of the original resources, it generates cloud storage data only based on the storage identifier of the original resources of the media resources and the resource processing links, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and then stores the cloud draft in the cloud storage end. The cloud draft has a significantly reduced data volume compared to the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0201] Embodiment Six

[0202] Figure 11 FIG. shows the structural diagram of a clip draft processing system provided by Embodiment Six of the present application. As Figure 11 shown, the system 1100 includes: a client including a clip draft processing device 900, a server including a clip processing device 1000, and a cloud storage end.

[0203] Embodiment Seven

[0204] Figure 12 FIG. shows the structural diagram of a computing device provided by Embodiment Seven of the present application. The specific implementation of the computing device is not limited in the specific embodiments of the present application.

[0205] As Figure 12 shown, the computing device may include: a processor 1202, a communications interface 1204, a memory 1206, and a communication bus 1208.

[0206] Wherein: the processor 1202, the communications interface 1204, and the memory 1206 communicate with each other through the communication bus 1208. The communications interface 1204 is used to communicate with network elements of other devices such as clients or other servers. The processor 1202 is used to execute the program 1210, and specifically can execute the relevant steps in the above-mentioned method embodiments for clip draft processing of the computing device.

[0207] Specifically, the program 1210 may include program code, and the program code includes computer operation instructions.

[0208] The processor 1202 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. One or more processors included in the computing device may be of the same type of processor, such as one or more CPUs; or may be of different types of processors, such as one or more CPUs and one or more ASICs.

[0209] A memory 1206 for storing a program 1210. The memory 1206 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory. The program 1210 may specifically be used to cause the processor 1202 to perform the operations in the above method embodiments.

[0210] Embodiment 8

[0211] Embodiment 8 of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction or computer program, and the executable instruction or computer program can cause a processor to perform the operations corresponding to the clip draft processing method in any of the above method embodiments.

[0212] Embodiment 9

[0213] Embodiment 9 of the present application provides a computer program product, which includes at least one executable instruction or computer program, and the executable instruction or computer program can cause a processor to perform the operations corresponding to the clip draft processing method in any of the above method embodiments.

[0214] In summary, according to the system, computing device, computer storage medium, and computer program product provided in this embodiment, it can be seen that for the clip draft processing method provided in the embodiments of the present application, the client splits the target clip draft to be cloud-stored into clip operation data and media resources, and converts the media resources into a combination of original resources and resource processing links, which facilitates subsequent streamlining of cloud drafts and saves cloud storage resources; moreover, when the server determines that the original resources have been stored in the cloud storage end according to the resource characteristics of the original resources, it generates cloud storage data only based on the storage identifier of the original resources of the media resources and the resource processing links, and then obtains the cloud draft of the target clip draft according to the cloud storage data of each media resource combined with the clip operation data, and then stores the cloud draft in the cloud storage end. The cloud draft has a significantly reduced data volume compared to the target clip draft, thus saving cloud storage resources. And, the target clip draft can be accurately restored according to the cloud draft, ensuring the storage accuracy of the clip draft.

[0215] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings provided herein. The structure required to construct such systems will be apparent from the above description. Additionally, the embodiments of the present application are not directed to any particular programming language. It should be understood that the content of the present application described herein can be implemented using various programming languages, and the description of a particular language above is for the purpose of disclosing the best mode of the present application.

[0216] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0217] Similarly, it should be understood that, in order to streamline the present application and assist in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be construed as reflecting an intention that the claimed present application requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, the inventive aspects lie in less than all of the features of the single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate embodiment of the present application.

[0218] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and disposed in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all the features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) can be replaced by an alternative feature providing the same, equivalent, or similar purpose.

[0219] In addition, those skilled in the art can understand that although some embodiments herein include certain features included in other embodiments rather than other features, the combination of features of different embodiments means that it is within the scope of the present application and forms different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.

[0220] Each component embodiment of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present application. The present application can also be implemented as a device or apparatus program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0221] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim listing several devices, several of these devices can be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A method for processing a clip draft, characterized in that Including: Detect a cloud storage operation for a target clip draft, and extract clip operation data and at least one media resource from the target clip draft; For any media resource, determine the original resource and the resource processing link of the media resource according to the clip operation data; Provide the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server, so that for any media resource, when the server determines that the cloud storage end stores the original resource according to the resource characteristics of the original resource of the media resource, generate cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource; and generate a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage end.

2. The method according to claim 1, wherein The step of providing the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server includes: For any media resource, determine whether the original resource of the media resource is a material in a preset material library; If so, generate cloud storage data of the media resource according to the material identifier of the original resource and the resource processing link of the media resource, and provide the cloud storage data of the media resource to the server; If not, provide the resource processing link of the media resource and the resource characteristics of the original resource to the server.

3. The method according to claim 1 or 2, characterized in that The method further includes: Receive feedback information sent by the server that the cloud storage end does not store the original resource, and provide the original resource to the server for the server to generate cloud storage data of the media resource according to the original resource of the media resource and the resource processing link.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Send a download request for the target cloud draft to the server and obtain the target cloud draft; Restore the corresponding clip draft according to the target cloud draft.

5. A method for processing a clip draft, characterized in that Including: Receive a cloud storage request for a target clip draft sent by the client, and extract the resource processing link of the media resource of the target clip draft, the resource characteristics of the original resource, and the clip operation data of the target clip draft from the cloud storage request; For any media resource, if it is determined that the cloud storage end stores the original resource according to the resource characteristics of the original resource of the media resource, generate cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource; Generate a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and store the cloud draft in the cloud storage end.

6. The method according to claim 5, wherein The method further includes: For any media resource, if it is determined that the cloud storage end does not store the original resource according to the resource characteristics of the original resource of the media resource, send feedback information to the client that the cloud storage end does not store the original resource; receive the original resource sent by the client, and generate cloud storage data of the media resource according to the original resource of the media resource and the resource processing link. And / or, receiving the cloud storage data of the media resource whose original resource sent by the client is the material in the preset material library.

7. The method according to claim 5 or 6, characterized in that, The method further includes: Judging whether the cloud storage request carries a client cloud draft version number; if so, obtaining the server cloud draft version number corresponding to the target clip draft; If the server cloud draft version number is greater than the client cloud draft version number, generating a new cloud draft of the target clip draft, determining the first modification track of the new cloud draft compared with the cloud draft corresponding to the client cloud draft version number, and determining the second modification track of the cloud draft corresponding to the server cloud draft version number compared with the cloud draft corresponding to the client cloud draft version number; if there is an intersection between the first modification track and the second modification track, storing the new cloud draft in the cloud storage end and deleting the cloud draft corresponding to the server cloud draft version number in the cloud storage end; if there is no intersection between the first modification track and the second modification track, storing the new cloud draft and the cloud draft corresponding to the server cloud draft version number in the cloud storage end in a combined manner; If the server cloud draft version number is equal to the client cloud draft version number, generating a cloud draft of the target clip draft and storing the cloud draft in the cloud storage end; If the server cloud draft version number is less than the client cloud draft version number, generating an exception prompt message.

8. A draft processing device for editing, characterized in that, Including: A first splitting module, configured to detect a cloud storage operation for a target clip draft, and extract clip operation data and at least one media resource from the target clip draft; A second splitting module, configured to, for any media resource, determine the original resource and the resource processing link of the media resource according to the clip operation data; A sending module, configured to provide the resource processing link of the media resource, the resource characteristics of the original resource, and the clip operation data to the server, so that for any media resource, when the server determines that the cloud storage end stores the original resource according to the resource characteristics of the original resource of the media resource, generating the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource; and generating a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource, and storing the cloud draft in the cloud storage end.

9. A draft processing device for editing, characterized in that Including: A receiving module, configured to receive a cloud storage request sent by the client for a target clip draft, and extract the resource processing link of the media resource of the target clip draft, the resource characteristics of the original resource, and the clip operation data of the target clip draft from the cloud storage request; A first generating module, configured to, for any media resource, if it is determined that the cloud storage end stores the original resource according to the resource characteristics of the original resource of the media resource, generate the cloud storage data of the media resource according to the storage identifier of the original resource in the cloud storage end and the resource processing link of the media resource; A second generating module, generating a cloud draft of the target clip draft according to the clip operation data and the cloud storage data of each media resource; A storage module for storing the cloud draft to the cloud storage end.

10. A computing device, characterized in that, Including: A processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete mutual communication through the communication bus; The memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute operations corresponding to the clip draft processing method according to any one of claims 1-7.

11. A computer storage medium, characterized in that, At least one executable instruction is stored in the storage medium, and the executable instruction causes the processor to execute operations corresponding to the clip draft processing method according to any one of claims 1-7.

12. A computer program product, characterized in that, Including at least one executable instruction, and the executable instruction causes the processor to execute operations corresponding to the clip draft processing method according to any one of claims 1-7.