Video draft access method and device

Through the preset draft protocol and cross-platform development framework, the video draft data packets are stored and synchronized during video editing, and data loss problems caused by data interoperability between different platforms and device replacement are solved, achieving seamless access to video drafts and Sharing reduces maintenance costs.

CN119233030APending Publication Date: 2024-12-31SHANGHAI HODE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411342044.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

During video editing, applications on different platforms need to customize the local draft storage method, resulting in high maintenance costs and the video draft may be lost and unavailable after the user replaces the device.

Method used

The preset draft protocol is used to store and upload video draft data packets to the cloud, and the cross-platform development framework is used to parse and synchronize data packets between different platforms to achieve seamless access and sharing of video drafts.

Benefits of technology

Reduces the maintenance cost of video drafts, ensures seamless synchronization and sharing of video drafts between different platforms and devices, and avoids data loss problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233030A_ABST
    Figure CN119233030A_ABST
Patent Text Reader

Abstract

The invention discloses a video draft access method and device, and the method comprises the steps: a first platform edits a video draft, stores the video draft according to a preset draft protocol, and obtains a corresponding data package; uploading the data packet to a cloud for storage; and the second platform obtains the data packet stored in the cloud, and analyzes the data packet based on the cross-platform development framework according to a preset draft protocol to obtain a video draft suitable for the second platform, so that the video draft is restored and displayed on the second platform. The video draft is stored according to the preset draft protocol, and the cross-platform development framework can analyze the data packet stored in the video draft into the video draft suitable for different platforms, so that seamless synchronization and sharing of draft data among different platforms are realized, the maintenance cost of the video draft is reduced, and a user can conveniently process the video draft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video processing technology, and in particular to a method and device for accessing a video draft. Background Art

[0002] The draft of video editing is an important part of the video production process, providing a basic framework for formal editing. Through foresight and planning, the video can be created from scratch and from chaos to order. The video editing process includes collecting materials, determining the theme, formulating timelines, sound effects, animations, etc., and the video draft is generated during the editing process.

[0003] Video editing users can use different editing platforms, such as Android, iOS, Hongmeng, and Web platforms, and use applications (editing engines) on various platforms to edit. However, when using applications on different platforms, it is necessary to customize the local draft storage method for each different platform, and the platforms cannot communicate with each other, which makes the maintenance cost high. When users change different operating devices, video drafts may also be lost and unavailable, causing losses to users. Summary of the invention

[0004] In view of the above problems, embodiments of the present application are proposed to provide a video draft access method and device that overcomes the above problems or at least partially solves the above problems.

[0005] According to a first aspect of an embodiment of the present application, a video draft access method is provided, which includes:

[0006] The first platform edits the video draft, stores the video draft according to a preset draft protocol, and obtains a corresponding data packet;

[0007] Upload the data package to cloud storage;

[0008] The second platform obtains a data packet stored in the cloud, and parses the data packet according to a preset draft protocol based on a cross-platform development framework to obtain a video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

[0009] Optionally, the preset draft protocol includes an engine layer protocol, a business layer protocol, and a platform layer protocol;

[0010] The engine layer protocol predefines the video data structure, which includes: timeline, video track, audio track, subtitle track, sticker track, filter track, transition and / or picture-in-picture;

[0011] The business layer protocol predefines the business processing data structure, which includes: business source and / or business processing type; business processing types include video filming, AI-generated story, shooting and / or publishing;

[0012] The platform layer protocol predefines a data structure including a platform type, an engine type, an engine version, and / or a draft version.

[0013] Optionally, the second platform obtains a data packet stored in the cloud, and parses the data packet according to a preset draft protocol based on a cross-platform development framework to obtain a video draft suitable for the second platform, so as to restore and display the video draft on the second platform, further comprising:

[0014] The second platform obtains the data packet stored in the cloud;

[0015] Based on the KMP cross-platform development framework, data type conversion processing and / or data alignment processing are performed on the data packet according to the preset draft protocol, so that the processed data packet is suitable for the second platform;

[0016] Restore and display the video draft on the second platform.

[0017] Optionally, the second platform and the first platform have different platform types; or, the second platform and the first platform have the same platform type but different engines; or, the second platform and the first platform have the same platform type but different engine versions.

[0018] Optionally, the second platform obtaining the data packet stored in the cloud further includes:

[0019] The second platform obtains the data packets stored in the cloud based on incremental synchronization and / or full synchronization.

[0020] Optionally, uploading the data packet to cloud storage further includes:

[0021] Saving the data packet to local storage so that the first platform can read the data packet;

[0022] Upload the data packet to the cloud server for storage.

[0023] Optionally, uploading the data packet to cloud storage further includes:

[0024] When the same video draft is edited on multiple devices, multiple data packets are obtained;

[0025] Conflict detection is performed on multiple data packets, and the target conflicting data packets are determined and uploaded to the cloud for storage.

[0026] According to a second aspect of an embodiment of the present application, a video draft access device is provided, comprising:

[0027] The data packet module is suitable for editing the video draft on the first platform, storing the video draft according to a preset draft protocol, and obtaining a corresponding data packet;

[0028] A storage module, suitable for uploading data packets to cloud storage;

[0029] The parsing and restoration module is suitable for the second platform to obtain the data packet stored in the cloud, parse the data packet according to the preset draft protocol based on the cross-platform development framework, and obtain the video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

[0030] According to a third aspect of an embodiment of the present application, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0031] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned video draft access method.

[0032] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned video draft access method.

[0033] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the above-mentioned video draft access method.

[0034] According to the video draft storage and access method and device provided in the present application, the video draft is stored according to a preset draft protocol, and the cross-platform development framework can parse the data packets storing the video draft into video drafts suitable for different platforms, thereby achieving seamless synchronization and sharing of draft data between different platforms, reducing the maintenance cost of the video draft, and facilitating users to easily process video drafts.

[0035] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0037] Figure 1 A flowchart of a video draft access method according to an embodiment of the present application is shown;

[0038] Figure 2A schematic diagram of a preset draft protocol is shown;

[0039] Figure 3 A flowchart of a video draft access method according to another embodiment of the present application is shown;

[0040] Figure 4 A schematic diagram of the structure of a video draft access device according to an embodiment of the present application is shown;

[0041] Figure 5 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0042] The 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 accompanying 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 in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0043] First, the terms involved in one or more embodiments of the present application are explained.

[0044] KMP (Kotlin Multiplatform): A cross-platform development framework based on the Kotlin language, which allows you to run on Android, iOS, Web, and Harmony by developing the same set of code.

[0045] BSDifff: A binary difference tool that can perform incremental updates of files by comparing new and old files.

[0046] Figure 1 A flowchart of a video draft access method according to an embodiment of the present application is shown. Figure 1 As shown, the method comprises the following steps:

[0047] Step S101, the first platform edits the video draft, stores the video draft according to a preset draft protocol, and obtains a corresponding data packet.

[0048] The first platform may be an Android platform, an IOS platform, a Hongmeng platform, a web platform, or other platforms, and a video draft is obtained by editing the video using an editing engine on the first platform. The editing engine may be any video editing APP, which is not limited here.

[0049] Based on the editing engine of the first platform, users can edit videos, such as material selection, position setting, playback speed setting, adding special effects, adding subtitles, adding filters, adding stickers, adding background music, setting transitions, setting picture-in-picture, etc. During the editing process, for the storage of video drafts, in order to facilitate seamless synchronization of video drafts on different platforms and platforms of different devices, this embodiment stores video drafts based on a preset draft protocol, ensuring that different platforms or platforms of different devices can store data packets suitable for each platform based on the same preset draft protocol.

[0050] The preset draft protocol can include multiple protocols, such as engine layer protocol, business layer protocol and platform layer protocol. The engine layer protocol predefines the video data structure, which includes the core data of the video draft. The video data structure includes various data such as the engine's timeline, video track, audio track, subtitle track, sticker track, filter track, transition, picture-in-picture, etc., and records various video-related information in the video draft.

[0051] The business layer protocol predefines the business processing data structure, which is set according to specific business needs. For example, the business processing data structure includes business sources, business processing types, etc. Business processing types include video production, AI-generated stories, shooting, and publishing. Video production can convert videos into films through templates, and the corresponding parameter information of the template needs to be recorded; AI-generated stories can generate video stories based on AI and other technologies, and record the corresponding timeline information; shooting, publishing, etc. determine the corresponding information to be recorded according to business needs. The above is an example, which is set according to the implementation situation. The business layer protocol can set the data structure required for different business processing according to business needs, which is not limited here.

[0052] The platform layer protocol predefines data structures including platform type, engine type, engine version, draft version, etc., which are used for video draft restoration. Data alignment, data type conversion and other processing are performed for different platform types, engine types, engine versions, draft versions, etc. to ensure accurate restoration of the video draft.

[0053] When the first platform edits the video draft, for example, taking the first platform as an Android platform, the video draft is edited based on the editing engine of the Android platform, and when the video draft is stored, it is stored according to the preset draft protocol to obtain a corresponding data packet. Among them, each data in the video data structure included in the data packet is stored in the data type of the video draft of the Android platform, the business processing data structure is stored based on business needs, the platform type is the Android platform, the engine type is the type of video editing engine used by the Android platform, the engine version is the version of the video editing engine used by the Android platform, and the draft version is the version information of the stored video draft.

[0054] The default draft protocol is as follows Figure 2 As shown, the preset draft protocol includes the engine layer protocol TimeLineInfo, the business layer protocol BizInfo and the platform layer protocol PlatFormInfo. The engine layer protocol includes caption type CaptionTrackInfo, audio type AudioTrackInfo, sticker type StickerTrackInfo, video type VideoTrackInfo, etc., corresponding to the relevant information of the video; the business layer protocol includes bizFrom type int, capture type CaptureBizInfo, aistory type AiStoryBizInfo, etc., corresponding to the business source and business processing type, etc.; the platform layer protocol includes platform type int, enginetype type String, engineVer type String, draftVer type String, etc. The above is an example, and each type is set according to the implementation situation, which is not limited here. Taking the engine layer protocol of the video draft as V1, the business layer protocol as B1, and the platform layer protocol as P1 as an example, the final data packet is {V1, B1, P1}, including the above data. In the above example, only a few protocols are listed, but in actual application, more protocols can be set for selection according to the implementation situation. In addition, the specific content of each protocol also needs to be set according to the implementation situation.

[0055] Step S102, uploading the data packet to cloud storage.

[0056] The first platform uploads the data table stored according to the preset draft protocol to the cloud storage, so that the data packet can be directly obtained from the cloud without being restricted by the device or platform and continue to be edited and processed, etc., to facilitate data synchronization.

[0057] Further cloud storage can also avoid problems such as local storage loss and ensure the security of data packets.

[0058] Step S103, the second platform obtains the data packet stored in the cloud, parses the data packet according to a preset draft protocol based on the cross-platform development framework, and obtains a video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

[0059] The second platform can directly obtain the stored data packets from the cloud to achieve seamless synchronization and sharing of data packets. The second platform can restore the video draft based on the obtained data packets, and continue to perform editing and other operations based on the restored video draft, making it convenient to edit the video draft without being restricted by the platform, equipment, etc.

[0060] The second platform can be a platform of a different platform type from the first platform, such as the first platform is an Android platform, and the second platform can be an IOS platform, etc. For the second platform of a different platform type from the first platform, when it obtains a data packet, considering the differences in data types between different platforms, a cross-platform development framework, such as KMP, can be used to realize the cross-platform universality of the data packet based on the kotlin language. Specifically, KMP converts the data type applicable to the first platform for editing the video draft into a data type applicable to the second platform. For example, after the Android platform edits the video draft, the data type stored in the data packet is the data type of the Android platform. When the IOS platform restores the video draft, KMP performs data type conversion on the data in the data packet, and converts the data in the data packet into a data type applicable to the IOS platform, so that the editing engine of the IOS platform can directly read the data packet and restore and display the video draft. When KMP converts the data type of the data in the data packet, the mapping relationship of the data type can be pre-set. According to the mapping relationship, KMP automatically converts the data in the data packet for type conversion, so that the IOS platform can seamlessly and synchronously obtain the data packet of the video draft of the Android platform, and restore and display the video draft. When converting data types, KMP determines each data in the data packet according to the preset draft protocol, and can also determine the platform type of the first platform storing the data packet through the platform layer protocol, and determine that the platform types of the two platforms are different according to the platform type of the second platform that obtains the data packet, and convert the data type of the data in the data packet according to the data type mapping relationship. Further, the preset draft protocol is built based on cross-platform, and the data packet contains the data required by each platform. The data required by different platforms may be different. For example, when the first platform stores the video draft, it involves field 1 and field 3, and the values ​​of field 1 and field 3 are stored in the data packet, but field 2 is not involved, so the value of field 2 is set to null. When the second platform restores the video draft, field 2 is involved, and field 1 and field 3 are not involved. It may also be necessary to align field 2 according to field 1 and field 3. The mapping relationship between fields can be pre-set, and KMP automatically aligns the value of field 2 in the data packet according to the mapping relationship, so that the obtained data packet is a data packet suitable for the second platform. The second platform can parse and restore the data packet to obtain the video draft for display, and continue to perform editing and other processing. The above is an example, which is specifically set according to the implementation situation and is not limited here.

[0061] According to the video draft storage and access method provided by this application, the video draft is stored according to a preset draft protocol. The cross-platform development framework can parse the data packets storing the video draft into video drafts suitable for different platforms, thereby achieving seamless synchronization and sharing of draft data between different platforms, reducing the maintenance cost of video drafts, and facilitating users to easily process video drafts.

[0062] Figure 3A flowchart of a video draft access method according to an embodiment of the present application is shown. Figure 3 As shown, the method comprises the following steps:

[0063] Step S301, the first platform edits the video draft, stores the video draft according to a preset draft protocol, and obtains a corresponding data packet.

[0064] The preset draft protocol sets up storage for video drafts based on a cross-platform basis, so that different platforms can store data packets with the same data structure based on the preset draft protocol, so that data packets can be seamlessly synchronized and shared between different platforms. Users can edit video drafts without being restricted by devices, platforms, etc., making it more convenient and quicker.

[0065] Specifically, the first platform can edit the video draft by selecting video material to enter the editing engine of the first platform, or enter the editing engine of the first platform in an intelligent filming mode to edit the video draft, etc. In the editing engine of the first platform, users can perform various editing processes such as timeline adjustment, subtitle addition, BGM addition, special effects addition, picture-in-picture addition, and transition setting on the video draft, and the video draft will present the corresponding display effect. When storing the video draft, various video-related data of the video draft need to be stored accordingly to obtain a data packet. The data packet includes a video data structure predefined according to the engine layer protocol of the preset draft protocol. The video data structure includes various video-related data, such as timeline, video track, audio track, subtitle track, sticker track, filter track, transition, picture-in-picture, etc. According to the video-related data recorded in the video data structure, the video elements contained in the video draft can be accurately determined. This embodiment obtains the corresponding data in the video draft according to the engine layer protocol in the preset draft protocol, and stores each data according to the video data structure corresponding to the engine layer protocol.

[0066] Furthermore, different business requirements require different processing of video drafts. Therefore, the data packet also includes the business processing data structure predefined by the business layer protocol. The business processing data structure includes the business source, business processing type, etc., which facilitates users to continue editing and processing the video draft based on the business-related data contained in the business processing data structure. According to the business layer protocol, according to the business processing method of the video draft, the corresponding data such as the business source and business processing type are stored.

[0067] Further, in addition to the data structures predefined by the above engine layer protocol and business layer protocol, in order to facilitate cross-platform editing and processing of video drafts, this embodiment also includes a platform layer protocol in the preset draft protocol. Based on the platform layer protocol, when parsing the data packet, the first platform used to store the data packet can be determined based on the platform type of the platform layer protocol, and then the data in the data packet is processed by cross-platform data type conversion, data alignment, etc. to obtain a data packet suitable for the second platform. In addition to the platform type, the platform layer protocol also includes data such as engine type, engine version, and draft version. When different platforms use different engine types or different engine versions, corresponding data conversion, alignment, etc. are also required according to the specific engine type and engine version. The draft version records the version when the video draft is stored. Different draft versions will also affect the different data stored in the data packet. When the second platform reads data packets of different draft versions, there may be a situation where the draft versions are different and cannot be restored normally. It is necessary to re-select the data packet of the applicable draft version, or, because the data affects the parsing, it is necessary to perform different data alignments according to the different draft versions to ensure normal video restoration. The platform type is determined according to the first platform, the engine type and engine version are determined according to the editing engine used by the first platform, the draft version is determined according to the engine type and engine version, etc., or it can also be determined according to the preset draft protocol version, etc. The preset draft protocol can be updated according to business needs to obtain different versions of preset draft protocols. The cross-platform development framework can set mapping relationships and data alignment processing for data packets of different versions of preset draft protocols to ensure the correct parsing of data packets. The above is an example, which is set according to the implementation situation and is not limited here.

[0068] Step S302, saving the data packet to local storage for the first platform to read the data packet.

[0069] After the first platform edits the video draft, it obtains a data packet according to the preset draft protocol. After obtaining the data packet, it can first save the data packet to local storage, so that the editing engine of the first platform can read the data packet and continue to edit the video draft.

[0070] Step S303: upload the data packet to the cloud server for storage.

[0071] To facilitate cross-platform synchronization and sharing of data packets, data packets can be uploaded to the cloud server for storage. Cloud server storage of data packets can ensure the security of data packets and avoid problems such as local data packets being lost and unable to be retrieved. Cloud servers store data packets, which facilitates data packet sharing. The second platform can directly obtain data packets from the cloud server to achieve data packet synchronization and sharing.

[0072] Furthermore, when the same video draft is edited using multiple different devices, multiple devices edit the video draft, and multiple different data packets will be obtained when storing, which is prone to data conflict problems in the data packets. For example, if device 1 edits the video draft and adds filter 1, and device 2 edits the video draft and adds filter 2, etc., if multiple different data packets are directly uploaded to the cloud server, data conflicts in the data packets will occur. Considering the above problems, before uploading the data packets to the cloud server, conflict detection is performed on multiple data packets to determine the part of the data with data conflicts. According to the data conflicts, the required target conflict data packets can be determined by screening, and finally the target conflict data packets are uploaded to the cloud storage. Alternatively, before uploading the data packets, conflict detection is performed on the data packets to be uploaded and the data packets stored in the cloud server. For example, the data packets stored in the cloud server use audio 1, and the data packets to be uploaded use audio 2. Through conflict detection, it can be determined that there are some data with data conflicts, such as audio conflicts. If the data conflict here is an erroneous modification, the editing error problem can be detected through the data conflict and the correct data packet can be determined.

[0073] When filtering target conflicting data packets, it can be determined by preset filtering rules, or a selection interface can be provided to facilitate users to specify target conflicting data packets, which is not limited here.

[0074] Furthermore, during uploading, a conflict detection method can be used to detect the different data parts between the data packet and the cloud server. The target conflicting data packet can only be the different data parts, thereby reducing the bandwidth occupied by uploading.

[0075] Step S304: The second platform obtains the data packet stored in the cloud based on incremental synchronization and / or full synchronization.

[0076] When the second platform obtains data packets from the cloud, it can provide the second platform with incremental synchronization or full synchronization and other acquisition methods, taking into account the traffic conditions and costs of network transmission. In the case of full synchronization, all data packets stored in the cloud are provided to the second platform, and the second platform obtains the entire data packet stored in the cloud. In the case of incremental synchronization, only the difference between the data packets stored in the second platform and the existing data packets can be synchronized. For example, the bytecode difference between the data packets stored in the cloud server and the data packets already in the second platform can be compared. The cloud server can generate a difference data packet containing only the difference. The second platform obtains the difference data packet and combines the existing data packet with the difference data packet to obtain the data packet stored in the cloud. Compared with directly obtaining the data packet, the transmission time required for acquisition, the traffic consumed, etc. are reduced, thereby improving the acquisition efficiency. The above incremental synchronization method can adopt an incremental update method such as BSDifff, which is not limited here.

[0077] Step S305, based on the KMP cross-platform development framework, perform data type conversion and / or data alignment processing on the data packet according to the preset draft protocol, so that the processed data packet is suitable for the second platform, and the video draft is restored and displayed on the second platform.

[0078] After the second platform obtains the data packet, it can parse the data table through the KMP cross-platform development framework according to the platform layer protocol of the preset draft protocol based on the platform type, engine type, engine version, draft version, etc. of the second platform and the first platform to obtain a data packet suitable for the second platform, so as to facilitate the second platform to seamlessly synchronize the data packet and restore the video draft for display, editing and other processing.

[0079] When the platform types of the second platform are different from those of the first platform, when the second platform obtains a data packet, the KMP cross-platform development framework can perform data type conversion and data alignment processing on the data of the data packet according to the platform type of the second platform and the platform type of the first platform in the data packet. The conversion and data alignment processing can be processed according to a preset mapping relationship and automatically completed by the KMP cross-platform development framework to perform data type conversion or data alignment according to the data in the data packet. Refer to the description of step S103, which is not elaborated here.

[0080] Alternatively, the second platform has the same platform type as the first platform, but uses different engines, that is, the second platform and the first platform use different editing engines to edit video drafts. The KMP cross-platform development framework can perform data type conversion and data alignment on the data packet according to the engine type of the second platform and the engine type of the first platform in the data packet to obtain a data packet suitable for the second platform.

[0081] Alternatively, the second platform and the first platform have the same platform type but different engine versions, that is, the second platform and the first platform use different versions of the same editing engine to edit the video draft. The KMP cross-platform development framework can perform data type conversion and data alignment on the data packet according to the engine version of the second platform and the engine version of the first platform in the data packet to obtain a data packet suitable for the second platform.

[0082] Alternatively, the second platform and the first platform have the same platform type, engine type, and engine version, but the second platform is the second platform of device 2, and the first platform is the first platform of device 1, that is, the user uses different devices to edit the video draft. At this time, after obtaining the data packet, the second platform can determine according to the platform layer protocol that the platform type, engine type, and engine version of the second platform and the first platform are the same, and then it can directly parse the data packet and restore the video draft.

[0083] Furthermore, for the draft version in the platform layer protocol, when the draft version in the data packet is not compatible with the engine of the second platform, that is, the data obtained by parsing the data packet cannot be directly read by the editing engine of the second platform to restore the video draft, the KMP cross-platform development framework performs data type conversion and data alignment processing on the data packet according to the engine type and engine version of the editing engine of the second platform to obtain a data packet suitable for the editing engine of the second platform.

[0084] The above is an example for explanation. The specific settings will be based on the implementation situation and are not limited here.

[0085] According to the video draft storage and access method provided by the present application, based on the preset draft protocol, the data stored in the data packet is unified, so that different platforms can store the video draft data according to the preset draft protocol. When reading, the cross-platform development framework can parse the data packet stored in the video draft according to the platform layer protocol, according to the difference between the first platform and the second platform, into the video draft data suitable for the second platform, so as to realize data packet sharing. By using the cloud to store data packets, the limitations of devices, platforms, etc. on data packet storage are reduced, and it is convenient for different platforms to directly synchronize data packets. Furthermore, when uploading data packets, conflict detection is performed to avoid data packet data conflicts when multiple devices are editing the same video draft at the same time. When obtaining data packets from the cloud, an incremental synchronization method can be used to reduce network transmission and storage overhead, etc.

[0086] Figure 4 FIG. 2 shows a schematic diagram of the structure of a video draft storage and access device provided by an embodiment of the present application. Figure 4 As shown, the device comprises:

[0087] The data packet module 410 is adapted to edit the video draft on the first platform, store the video draft according to a preset draft protocol, and obtain a corresponding data packet;

[0088] Storage module 420, adapted to upload data packets to cloud storage;

[0089] The parsing and restoring module 430 is suitable for the second platform to obtain the data packet stored in the cloud, parse the data packet according to the preset draft protocol based on the cross-platform development framework, and obtain the video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

[0090] Optionally, the preset draft protocol includes an engine layer protocol, a business layer protocol, and a platform layer protocol;

[0091] The engine layer protocol predefines the video data structure, which includes: timeline, video track, audio track, subtitle track, sticker track, filter track, transition and / or picture-in-picture;

[0092] The business layer protocol predefines the business processing data structure, which includes: business source and / or business processing type; business processing types include video filming, AI-generated story, shooting and / or publishing;

[0093] The platform layer protocol predefines a data structure including a platform type, an engine type, an engine version, and / or a draft version.

[0094] Optionally, the parsing and restoring module 430 is further adapted to:

[0095] The second platform obtains the data packet stored in the cloud;

[0096] Based on the KMP cross-platform development framework, data type conversion processing and / or data alignment processing are performed on the data packet according to the preset draft protocol, so that the processed data packet is suitable for the second platform;

[0097] Restore and display the video draft on the second platform.

[0098] Optionally, the second platform and the first platform have different platform types; or, the second platform and the first platform have the same platform type but different engines; or, the second platform and the first platform have the same platform type but different engine versions.

[0099] Optionally, the parsing and restoring module 430 is further adapted to:

[0100] The second platform obtains the data packets stored in the cloud based on incremental synchronization and / or full synchronization.

[0101] Optionally, the storage module 420 is further adapted to:

[0102] Saving the data packet to local storage so that the first platform can read the data packet;

[0103] Upload the data packet to the cloud server for storage.

[0104] Optionally, the storage module 420 is further adapted to:

[0105] When the same video draft is edited on multiple devices, multiple data packets are obtained;

[0106] Conflict detection is performed on multiple data packets, and the target data packet is determined and uploaded to the cloud for storage.

[0107] The description of each module above refers to the corresponding description in the method embodiment and will not be repeated here.

[0108] According to the video draft storage and access device provided by the present application, the video draft is stored according to a preset draft protocol. The cross-platform development framework can parse the data packets storing the video draft into video drafts suitable for different platforms, thereby achieving seamless synchronization and sharing of draft data between different platforms, reducing the maintenance cost of the video draft and facilitating users to easily process the video draft.

[0109] The present application also provides a non-volatile computer storage medium, which stores at least one executable instruction, and the executable instruction can execute the operation corresponding to the video draft access method in any of the above method embodiments.

[0110] The present application also provides a computer program product, which includes at least one executable instruction or computer program, and the executable instruction or computer program can enable a processor to execute operations corresponding to the video draft access method in any of the above method embodiments.

[0111] Figure 5 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.

[0112] like Figure 5 As shown, the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

[0113] in:

[0114] The processor 502 , the communication interface 504 , and the memory 506 communicate with each other via a communication bus 508 .

[0115] The communication interface 504 is used to communicate with other devices such as clients or other servers.

[0116] The processor 502 is used to execute the program 510, and specifically can execute the relevant steps in the above-mentioned video draft access method embodiment.

[0117] Specifically, the program 510 may include program codes, which include computer operation instructions.

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

[0119] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0120] The program 510 can be specifically used to enable the processor 502 to execute the video draft access method in any of the above-mentioned method embodiments. The specific implementation of each step in the program 510 can refer to the corresponding descriptions in the corresponding steps and units in the above-mentioned video draft access embodiments, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiments, which will not be repeated here.

[0121] The algorithm or display provided here is not inherently related to any specific computer, virtual system or other device. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the application described here, and the above description of specific languages ​​is to disclose the preferred embodiment of the application.

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

[0123] Similarly, it should be understood that in order to streamline the present application and help understand 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 present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0124] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0125] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

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

[0127] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A video draft access method, comprising: The first platform edits the video draft, stores the video draft according to a preset draft protocol, and obtains a corresponding data packet; Uploading the data packet to cloud storage; The second platform obtains the data packet stored in the cloud, parses the data packet according to a preset draft protocol based on a cross-platform development framework, and obtains a video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

2. The method according to claim 1, wherein: The preset draft protocol includes an engine layer protocol, a business layer protocol and a platform layer protocol; The engine layer protocol predefines a video data structure, and the video data structure includes: a timeline, a video track, an audio track, a subtitle track, a sticker track, a filter track, a transition and / or a picture-in-picture; The service layer protocol predefines a service processing data structure, and the service processing data structure includes: service source and / or service processing type; the service processing type includes video filming, AI generated story, shooting and / or publishing; The platform layer protocol predefines a data structure including a platform type, an engine type, an engine version and / or a draft version.

3. The method according to claim 1 or 2, wherein: The second platform obtains the data packet stored in the cloud, and parses the data packet according to a preset draft protocol based on a cross-platform development framework to obtain a video draft suitable for the second platform, so as to restore and display the video draft on the second platform, further comprising: The second platform obtains the data packet stored in the cloud; Based on the KMP cross-platform development framework, performing data type conversion processing and / or data alignment processing on the data packet according to a preset draft protocol, so that the processed data packet is suitable for the second platform; The video draft is restored and displayed on the second platform.

4. The method according to claim 1, wherein: The second platform is of a different platform type from the first platform; or, the second platform is of the same platform type as the first platform but has a different engine; or, the second platform is of the same platform type as the first platform but has a different engine version.

5. The method according to any one of claims 1 to 4, wherein: The second platform obtaining the data packet stored in the cloud further includes: The second platform obtains the data packet stored in the cloud based on incremental synchronization and / or full synchronization.

6. The method according to any one of claims 1 to 5, wherein: The uploading of the data packet to cloud storage further comprises: Saving the data packet to local storage so that the first platform can read the data packet; The data packet is uploaded to a cloud server for storage.

7. The method according to any one of claims 1 to 6, wherein: The uploading of the data packet to cloud storage further comprises: When the same video draft is edited on multiple devices, multiple data packets are obtained; Conflict detection is performed on the multiple data packets, and target conflicting data packets are determined and uploaded to the cloud for storage.

8. A video draft storage and access device, comprising: The data packet module is adapted to edit the video draft on the first platform, store the video draft according to a preset draft protocol, and obtain a corresponding data packet; A storage module, adapted to upload the data packet to cloud storage; The parsing and restoring module is suitable for the second platform to obtain the data packet stored in the cloud, parse the data packet according to a preset draft protocol based on a cross-platform development framework, and obtain a video draft suitable for the second platform, so as to restore and display the video draft on the second platform.

9. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the video draft access method according to any one of claims 1-7.

10. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute an operation corresponding to the video draft access method according to any one of claims 1-7.

11. A computer program product, comprising at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the video draft access method according to any one of claims 1 to 7.