Video data calculation method, device, equipment and storage medium

By obtaining and updating video link information, the problem of the inability to trace the relationship between the original video and the derivative video during the video editing process is solved, and the accurate ownership and good tracking effect of video data is achieved.

CN115706830BActive Publication Date: 2025-02-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110888001.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-03
Publication Date
2025-02-07
Estimated Expiration
2041-08-03

AI Technical Summary

Technical Problem

During the video editing process, the relationship between the original video and the derivative video cannot be traced, resulting in the inability to accurately belong to the derivative video video data to the original video video production platform and editing tools.

Method used

By obtaining video link information from the video file of the first derived video and updating it to the video trace information of the original video, the video data of the first derived video is attributed to the video production platform of the original video and the video editing tool of the experience .

Benefits of technology

It realizes accurate traceability of the relationship between the original video and the first derivative video, supports downloading and editing scenes, avoids breaking of video trace information, and achieves a good video tracking effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115706830B_ABST
    Figure CN115706830B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for calculating video data, and belongs to the field of multimedia data processing. The method includes: obtaining video link information from a video file of a first derivative video; obtaining video tracing information of an original video; updating the video link information of the first derivative video to the video tracing information based on a previous video identifier; attributing the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video based on the updated video tracing information. The present application can support downloading and re-editing scenarios, and even if the original video has been separated from the advertising delivery platform for a period of time and has undergone some re-editing operations, it will not cause a break in the video tracking information when it flows back to the advertising delivery platform, thereby achieving a good video tracking effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of multimedia data processing, and in particular to a method, device, equipment and storage medium for calculating video data. Background Art

[0002] With the rapid development of Internet technology, more and more people choose to place advertising videos on advertising delivery platforms. After the original video is placed on the advertising delivery platform, it is usually necessary to edit the original video inside the advertising delivery platform to obtain a derivative video, and finally place the derivative video as an advertising video.

[0003] In order to timely understand the advertising effect of advertising videos, it is necessary to track the advertising effect data generated by advertising videos. In related technologies, it can be tracked by a video tracking method based on Message-Digest Algorithm 5 (MD5), which uses the hash value calculated for each video (original video or advertising video) as the unique video identifier, which can well identify duplicate videos.

[0004] However, in the process of processing the original video into a derivative video, the video editor may download the original video from the advertising platform, edit it, and then upload the processed derivative video to the advertising platform again. In this download-and-upload scenario, since the MD5 values ​​of the derivative video and the original video are not related, the relationship between the derivative video and the original video cannot be traced. Summary of the invention

[0005] The present application provides a method, device, equipment and storage medium for calculating video data, which can accurately trace the relationship between the original video and the first derivative video, and then attribute the video data of the first derivative video to the video production platform of the original video and the video editing tool of the historical experience. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for calculating video data is provided, the method comprising:

[0007] Acquire video link information from a video file of a first derivative video, wherein the video link information includes a previous video and a video editing tool used when processing from the previous video to the first derivative video;

[0008] Acquire video tracing information of the original video, the video tracing information including derivative links formed by derivative videos derived from the original video and video editing tools used by each derivative video, the video tracing information including the previous video;

[0009] Updating the video link information of the first derivative video into the video tracing information;

[0010] Based on the updated video tracing information, the video data of the first derivative video is attributed to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video.

[0011] According to another aspect of the present application, a video data computing device is provided, the device comprising:

[0012] A first acquisition module is used to acquire video link information from a video file of a first derivative video, where the video link information includes a previous video and a video editing tool used when processing from the previous video to the first derivative video;

[0013] A second acquisition module is used to acquire video tracing information of the original video, the video tracing information includes a derivative link formed by each derivative video derived from the original video and a video editing tool used by each derivative video, and the video tracing information includes a previous video;

[0014] An updating module, used for updating the video link information of the first derivative video into the video tracing information;

[0015] A tracking module is used to attribute the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video based on the updated video tracing information.

[0016] According to another aspect of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the method for calculating video data as described above.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the method for calculating video data as described above.

[0018] The beneficial effects of the technical solution provided by this application include at least:

[0019] By obtaining the video link information from the video file of the first derivative video, the video link information of the first derivative video is updated to the video tracing information of the original video, so that the video data of the first derivative video can be attributed to the video production platform of the original video and various video editing tools with historical experience. It can naturally support the download and re-editing scenario. Even if the original video or the previous video has been away from the advertising delivery platform for a period of time and has undergone some re-editing operations, it will not cause a break in the video tracing information when it flows back to the advertising delivery platform, thereby achieving a good video tracking effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a schematic diagram of a method for calculating video data provided by an exemplary embodiment of the present application;

[0022] Figure 2 is a schematic diagram of a video data computing system provided by an exemplary embodiment of the present application;

[0023] Figure 3 is a structural block diagram of a method for calculating video data provided by an exemplary embodiment of the present application;

[0024] Figure 4 is a flow chart of a method for calculating video data provided by an exemplary embodiment of the present application;

[0025] Figure 5 is a schematic diagram of a video tracing tree provided by an exemplary embodiment of the present application;

[0026] Figure 6 is a flow chart of a method for calculating video data provided by an exemplary embodiment of the present application;

[0027] Figure 7 It is a storage principle diagram of a video tracing table and a video tracing settlement table provided by an exemplary embodiment of the present application;

[0028] Figure 8 is a flow chart of a method for calculating video data provided by an exemplary embodiment of the present application;

[0029] Fig. 9 is a flow chart of a method for recording video tracing information provided by an exemplary embodiment of the present application;

[0030] Fig.10 is a flow chart of a method for settling video effect data provided by an exemplary embodiment of the present application;

[0031] Fig.11 is a structural block diagram of a video data computing device provided by an exemplary embodiment of the present application;

[0032] Fig.12 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0035] First, several nouns involved in this application are introduced:

[0036] MD5: A widely used cryptographic hash function that generates a 128-bit (16-byte) hash value to ensure that information transmission is complete and consistent.

[0037] Metadata: also known as intermediate data or relay data, is data about data, mainly information describing data properties. Video metadata refers to the description information embedded in a special location in a video file. The special location can be the video header of the video file.

[0038] Video tracing tree: A tree structure is used to represent the derivative links formed by the derivative videos derived from the original video and the video editing tools that each derivative video has gone through. The root node on the video tracing tree is used to represent the original video, the child nodes on the video tracing tree are used to represent the derivative videos generated based on the original video, and the edges on the video tracing tree are used to represent the derivative links from the upper node to the lower node. Each node on the video tracing tree is also associated with the video editing tools that it has experienced.

[0039] The present application embodiment provides a technical solution for a method for calculating video data. Figure 1As shown, the video metadata of each video file carries its own video link information. The server obtains the video link information from the video metadata of each derivative video, and adds the video link information of the derivative video to the video traceability tree of the original video, thereby updating the video traceability information of the original video, and tracking the video data of each derivative video based on the video traceability information of the original video. Taking the example of video data being advertising effect data, if there is advertising effect data in the derivative video, the server quickly attributes the advertising effect data of the derivative video to the settlement data of the relevant video production platform and video editing tool based on the records in the video traceability tree.

[0040] For example, the video link information of video a includes a1.TCC.****, which indicates that the MD5 of the original video of the current video is a1 (that is, itself), which was first generated by the TCC platform, and **** is the encrypted signature of the video link information; the video link information of video b includes a1.TCC.ZNBJ-YJTZ-a1.****, which indicates that the MD5 of the original video of the current video is a1, which is generated by the TCC platform, and the current video has been processed by the smart editing tool (ZNBJ) and the one-key adjustment tool (YJTZ), and the MD5 of the previous video is a1, and **** is the encrypted signature of the video link information; the video link information of video c is a1.TCC.ZNBJ-YJMH-a1****, which is The video link information is expressed as follows: the MD5 of the original video of the current video is a1, the original video is generated by the TCC platform, the current video has been processed by the intelligent editing tool (ZNBJ) and the one-key beautification tool (YJMH), the MD5 of the previous video is a1, and **** is the encrypted signature of the video link information; the video link information of video d is a1.TCC.ZNBJ-YJMH-YJTZ-c3.****, and the video link information is expressed as follows: the MD5 of the original video of the current video is a1, the original video is generated by the TCC platform, the original video has been processed by the intelligent editing tool (ZNBJ), the one-key beautification tool (YJMH) and the one-key adjustment tool (YJTZ), the MD5 of the previous video is c3, and **** is the encrypted signature of the video link information.

[0041] The server obtains the video link information from the video metadata of each video file, and updates the video traceability tree of the original video based on the video link information. In the video traceability tree, a represents video a, b represents video b, c represents video c, and d represents video d. The edge between a->b represents the derived link from video a to video b, the edge between a->c represents the derived link from video a to video c, and the edge between c->d represents the derived link from video c to video d.

[0042] The root node of the video tracing tree stores the identifier of the video production platform of the original video of video a. Since video b and video c are obtained by processing video a with the intelligent editing tool (ZNBJ) and the one-key adjustment tool (YJTZ), respectively, the subnodes corresponding to video b and video c store the video tool identifiers ZNBJ and YJTZ. Since video b and video c are derived from video a, video b and video c inherit the production platform identifier of video a. At the same time, video d is obtained by processing video c with the one-key beautification tool (YJMH), so the subnode of video d stores the identifier of the video editing tool (YJMH). Since video d is derived from video c, video d inherits the identifier of the video production platform and the identifier of the video editing tool of video c. Thus, the entire video tracing information of the original video is obtained.

[0043] When video data exists in the derivative video, the server quickly attributes the video data of the derivative video to the settlement data of each video editing tool based on the identifier of each video editing tool stored on the child node corresponding to the derivative video in the video tracing tree, and obtains the settlement data of the intelligent editing tool, the settlement data of the one-key adjustment tool and the settlement data of the one-key beautification tool, thereby calculating the settlement data under the dimension of each video editing tool.

[0044] Similarly, based on the identifier of the video production platform stored on the child node corresponding to the derivative video in the video tracing tree, the server quickly attributes the video data of the derivative video to the settlement data of the video production platform, thereby obtaining the settlement data of the video production platform.

[0045] This application can achieve full-link and full-process video tracking and tracing. In business scenarios such as video re-editing, video duplication, and downloading and uploading, it can provide better tracing effects, and can trace the advertising effect data generated by video re-editing, video duplication, and downloading and uploading to the original video. At the same time, the solution also has the characteristics of high matching accuracy, no need for external storage, and strong scalability.

[0046] Figure 2 The schematic diagram of a video data tracking system provided by an embodiment of the present application is shown. The video data computing system may include: a video production platform 110 , a video processing platform 120 , an intermediate service platform 130 and a video playback platform 140 .

[0047] The video production platform 110 is used to generate the original video. The video production platform 110 can be a computer device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, but is not limited to this. The video production platform 110 can be one or more computer devices, which is not limited to this in the embodiment of the present application. In the case where the above-mentioned system is an advertising video delivery system, the video production platform 110 may include a computer device used by the producer or delivery party of the advertising video. The video production platform 110 and the video processing platform 120 can be directly or indirectly connected via wired or wireless communication, and the video production platform 110 and the intermediate service platform 130 can be directly or indirectly connected via wired or wireless communication, which is not limited to this in the embodiment of the present application.

[0048] The video processing platform 120 is used to edit the original video to obtain a derivative video. The same original video can be subjected to different times, sequences, and quantities of video editing operations to obtain multiple different derivative videos. The video processing platform 120 is also called a video editing platform. In the case where the above-mentioned system is an advertising video delivery system, the video processing platform 120 is usually provided by a video advertising delivery platform. The video processing platform 120 provides a variety of video editing tools, such as a one-key beautification tool, a picture enhancement tool, a subtitle adding tool, a filter tool, a video transition tool, a video overlay tool, a soundtrack tool, etc., but is not limited thereto. The video editing tool can be a fully automatic editing tool or a user-manually operated editing tool. The video processing platform 120 and the intermediate service platform 130 can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application. The video processing platform 120 can be one or more, which is not limited in the embodiment of the present application.

[0049] The intermediate service platform 130 is used to record the video tracing information of each video. When the video production platform 110 or the video processing platform 120 generates a new video, the video tracing information of the video will be recorded in the intermediate service platform 130. The video tracing information is used to indicate the derivative records from the original video to the derivative video, as well as the video processing tools used in each derivative process. In one example, the video tracing information is represented by a tree data structure. The intermediate service platform 130 and the video playback platform 140 can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0050] The video playback platform 140 is used to play the advertising video, which may be an original video or a derivative video. The video playback platform 140 may be at least one of a smart phone, a tablet computer, a notebook computer, an MP4 player, a laptop computer, and a desktop computer, but is not limited thereto. When the video is played on the video playback platform 140, video data is generated, and the video data may be at least one of a like, a follow, a forward, and a coin, but is not limited thereto.

[0051] Those skilled in the art will appreciate that the number of the video playback platforms 140 may be more or less. For example, there may be only one video playback platform 140, or there may be dozens or hundreds of video playback platforms 140, or a greater number. The embodiment of the present application does not limit the number and device type of the video playback platforms 140.

[0052] In an illustrative example, Figure 3 As shown, the video production platform 110 generates one or more original videos, such as video A and video A'. Since video A and video A' are duplicate videos, the MD5 of video A and video A' are both MD5-1. If necessary, the video processing platform 120 edits the original video to generate a derivative video, such as video A is edited to be derived into video B, and the MD5 of video B is MD5-2. Video B is downloaded and edited and then uploaded to video E, and the MD5 of video E is MD5-5; video A is edited to be derived into video C, and the MD5 of video C is MD5-3. Video C is edited to be derived into video F, and the MD5 of video F is MD5-6. Video A' is edited to be derived into video D, and the MD5 of video D is MD5-4.

[0053] The video link information of each video carries the MD5 of the previous video. When the intermediate service platform 130 obtains the video link information of video A and video A', it initializes the root node A in the video tracing tree. When the video link information of video B is obtained, the subnode corresponding to video B is mounted under the root node A according to the MD5-1 of the previous video; when the video link information of video E is obtained, the subnode corresponding to video E is mounted under the subnode B according to the MD5-2 of the previous video; when the video link information of video C is obtained, the subnode corresponding to video C is mounted under the root node A according to the MD5-1 of the previous video; when the video link information of video F is obtained, the subnode corresponding to video F is mounted under the subnode C according to the MD5-3 of the previous video; when the video link information of video D is obtained, the subnode corresponding to video D is mounted under the root node A according to the MD5-1 of the previous video.

[0054] The above video tracing tree can be divided into three derivative links: the first derivative link corresponding to video E is: MD5-1->MD5-2->MD5-5; the second derivative link corresponding to video B is: MD5-1->MD5-2, the third derivative link corresponding to video F is: MD5-1->MD5-3->MD5-6, and the derivative link corresponding to video D is: MD5-1->MD5-4. Each derivative video is associated with: the identifiers of the video editing tools corresponding to all the video editing tools that the derivative video has experienced on the derivative link. For example, if two video editing tools have been experienced on the first derivative link, the identifiers of two video editing tools are associated with the child node of video E.

[0055] Schematically, the original video or the derivative video will be delivered as an advertising video. The derivative video forms video data when it is played on the video playback platform 140. The video data is used to indicate the playback record, conversion record, like record, recall record and other data of the advertising video during the delivery process. When it is necessary to calculate the advertising effect data, based on the video tracing information generated by the intermediate service platform 130, along the derivative link to which the derivative video belongs, the effect data of the derivative video is attributed to the relevant original video and various video editing tools that have been experienced in the past, so as to realize the full-link tracing of the video data.

[0056] Figure 4 A flowchart of a method for calculating video data provided by an exemplary embodiment of the present application is shown. The method can be applied to the above-mentioned intermediate service platform 130 or video playback platform 140. In the embodiment of the present application, the intermediate service platform 130 is used as the execution subject to introduce the method for calculating the video data. The embodiment can specifically include the following steps.

[0057] Step 302: Acquire video link information from the video file of the first derivative video, where the video link information includes a previous video and video editing tools used when processing from the previous video to the first derivative video;

[0058] The first derivative video is a video obtained after the video processing platform 120 processes the previous video at least once. In this embodiment, the first derivative video is a derivative video being processed by the intermediate service platform 130. The first derivative video can be any one of multiple derivative videos.

[0059] The video link information describes the whole or part of the editing process from the original video to the derived video. Alternatively, the video link information describes the whole or part of the re-editing process of the derived video on the video processing platform. Alternatively, the video link information is used to at least indicate the previous video and the video editing tools used from the previous video to the first derived video. Schematically, the video link information includes at least one of the following information.

[0060] (1) Identification of the original video;

[0061] The identifier of the original video is a unique identifier of the original video. Exemplarily, the identifier of the original video is the MD5 of the original video.

[0062] (2) The identity of the video production platform;

[0063] The identifier of the video production platform is a unique identifier of the video production platform 110 used to indicate the original video.

[0064] (3) The logo of the video editing tool;

[0065] The identification of the video editing tool is a unique identification used to indicate the video editing tool. The identification of the video editing tool can be a built-in identification or a custom identification of the video editing tool, and the custom identification is generated by the intermediate service platform. The embodiment of the present application is illustrated by the acronym of the video editing tool. For example, smart editing tool (ZNBJ), one-key adjustment tool (YJTZ).

[0066] Illustratively, the identifier of the first video editing tool is used to indicate the video editing tool used from the previous video processing to the first derivative video. The identifier of the second video editing tool is used to indicate the video editing tool used from the original video processing to the previous video.

[0067] (4) Video ID of the previous video.

[0068] The previous video is also called the parent video of the derived video. The previous video may be the original video or an intermediate derived video, which is not limited in this embodiment. Optionally, the previous video is the video before the last (or round) video processing of the derived video.

[0069] The intermediate derivative video is a derivative video located between the original video and the first derivative video in the derivative link. For example, the first derivative video is video E, and the derivative link of video E is: video A → video B → video E, then video B is the intermediate derivative video and the previous video of the first derivative video.

[0070] In some embodiments, the video identifier in the video link information includes: the identifiers of the original video and all intermediate derivative videos; in other embodiments, the video identifier in the video link information includes the identifier of the original video and the identifier of the previous video; in other embodiments, the video identifier in the video link information only includes the identifier of the previous video.

[0071] The video link information is carried in the video file of the derived video. Schematically, the video link information is carried in the video metadata of the derived video, or the video link information is carried in the image frame of the derived video, or the video link information is carried in other data structures of the derived video. Optionally, the video link information is carried in a data structure in the derived video that will not be affected by modification by video editing tools.

[0072] In this embodiment, the video link information is read from the video metadata of the derived video as an example. The video link information can be carried in the "comment" field in the video metadata. Schematically, the "comment" field is a readable, overwriteable (non-tamperable), and deletable encrypted string. Schematically, the structure of the video link information is as follows:

[0073] [Original video logo]-[Production platform logo]-[Logo of the first video editing tool]-[Logo of the second video editing tool]…-[Logo of the previous (derivative) video of the first derivative video before the last modification].

[0074] For example, aaa123.TCC-ZNBJ-YJTZ-bbb456.xxxxxxxxx;

[0075] In the above example, the original video identifier of the derived video is aaa123, which was first generated by the video production platform TCC, and was processed by the intelligent editing tool (ZNBJ) and the one-key adjustment tool (YJTZ). The MD5 of the previous (derivative) video before the last processing by the one-key adjustment tool YJTZ was bbb456.

[0076] Step 304: Obtain video tracing information of the original video;

[0077] The intermediate service platform queries the video tracing information of the original video in the cache data based on the identifier of the previous video (or the identifier of the original video) in the video link information.

[0078] Original video refers to the video generated by the video production platform and not processed by the video processing platform.

[0079] When the video production platform uploads the original video for the first time, the intermediate service platform initializes the video tracing information of the original video. Schematically, the video tracing information is represented by a video tracing tree, or a linked list, or a data table. In this embodiment, the video tracing information is represented by a video tracing tree as an example.

[0080] The intermediate service platform caches the video tracing information of the original video, which is generated and maintained in the historical process.

[0081] The video tracing information includes the derivative links from the original video to each derivative video, and the identifiers of the video editing tools that each derivative video itself has gone through on the derivative link. The identifiers of the video editing tools correspond one-to-one to the video editing tools.

[0082] Exemplarily, the video tracing information is represented by a tree data structure, such as a video tracing tree. The video tracing tree includes a root node, child nodes, and edges for connecting upper and lower nodes. The root node is used to represent the original video, the child node is used to represent the derivative video based on the original video, and the edge is used to represent the derivative relationship from the upper node to the lower node. Each child node is also associated with: the identifier of the video editing tool and the identifier of the video production platform of the original video. Among them, the identifier of each video editing tool or the identifier of the video production platform can be used as a settlement dimension when tracking video data.

[0083] Optionally, the video tracing information of the original video includes a previous video, which is the original video or a derivative video generated based on the original video.

[0084] Figure 5 An exemplary video tracing tree is shown. The video tracing tree includes a video tracing tree of original video 1, a video tracing tree of original video 5, and a video tracing tree of original video 7. In the video tracing tree of original video 1, original video 1 is generated by the video production platform TCC. Derivative video 2 is generated after the original video 1 is processed by the one-key adjustment tool and the intelligent editing tool. Derivative video 3 is generated after the original video 1 is processed by the intelligent editing tool. Derivative video 4 is generated after the derivative video 2 is processed by the one-key adjustment tool.

[0085] Different original videos correspond to different numbers of derivative videos. Original video 5 may correspond to only one derivative video 6, and original video 7 may not have any derivative video for the time being.

[0086] Step 306: Based on the identifier of the previous video, the video link information of the first derivative video is updated into the video tracing information;

[0087] The video tracing information of the original video includes the previous video. Taking the video tracing information as a video tracing tree as an example, the previous video is a node in the video tracing tree.

[0088] Based on the previous video, the server updates the video link information of the first derivative video to the video tracing information. This step includes but is not limited to at least one of the following steps.

[0089] 1. Hang the target subnode corresponding to the first derivative video under the node corresponding to the previous video;

[0090] 2. Store the identifier of the first video editing tool from the previous video to the first derivative video in association with the target child node;

[0091] Among them, the first video editing tool is one or more video editing tools.

[0092] 3. Store the identifier of the second video editing tool from the original video to the previous video in association with the target subnode;

[0093] The second video editing tool is one or more video editing tools.

[0094] 4. The identifier of the video production platform of the original video is associated with the target subnode and stored.

[0095] Step 308: Based on the updated video tracing information, attribute the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video.

[0096] Since the target subnode corresponding to the first derivative video stores the identifier of the video editing tool that the first derivative video has experienced on the corresponding video link and the identifier of the video production platform of the original video, the calculation of the video data includes: calculating the video data of the video editing tool dimension and calculating the video data of the video production platform dimension.

[0097] When calculating the video data of the video editing tool dimension, the derivative video X processed by the video editing tool A and the video data of other derivative videos derived from the derivative video X will be attributed to the video data corresponding to the derivative video X under the video editing tool A.

[0098] When calculating the video data of the video production platform dimension, the original video processed by the video production platform and the video data of all derivative videos derived from the original video will be attributed to the video data corresponding to the original video under the video production platform dimension.

[0099] In some embodiments, the playback data of the first derivative video may include the number of times the first derivative video is played within a time period, the video viewing object, and user interaction data for the first derivative video. The user interaction data may include the number of likes, forwardings, and recommendations for the first derivative video. In the advertising delivery scenario, the first derivative video may be an advertising video. By triggering (for example, clicking) the first derivative video, an advertising landing page may be opened. After watching the advertising video, the user may generate an advertising conversion behavior, such as purchasing a product recommended by the advertisement. In this case, the user interaction data may also include the number of clicks and / or conversions for the first derivative video.

[0100] For example, in an advertising delivery scenario, the original video or the derivative video is delivered as an advertising video, and video data is generated when it is played on a video playback platform. The video data is used to indicate the playback record, conversion record, like record, recall record, and other data of the broadcast video during the delivery process. Based on the video tracing information, the video data of the video editing tool dimension and / or the video data of the video production platform dimension can be calculated.

[0101] To sum up, the method provided in this embodiment obtains video link information from the video file of the first derivative video to generate video tracing information of the original video, thereby tracing and settling the video data of the first derivative video to the video production platform of the original video or at least one of the video editing tools experienced by the first derivative video. It can naturally support download and re-editing scenarios. Even if the original video has been away from the advertising delivery platform for a period of time and has undergone some re-editing operations, it will not cause the loss of video tracing information when it flows back to the advertising delivery platform, thereby achieving a good video tracking effect.

[0102] Figure 6 1 is a flowchart of a method for calculating video data provided by another embodiment of the present application. The method can be applied to the above-mentioned intermediate service platform 130 or video playback platform 140, and the method may include the following steps.

[0103] Step 401: when the video link information of the original video is obtained, the video tracing tree of the original video is initialized;

[0104] Original video refers to the video generated by the video production platform and not processed by the video processing platform.

[0105] After generating the original video, the video production platform uploads the original video or the video tracing information of the original video to the intermediate service platform. The intermediate service platform initializes the video tracing tree of the original video, that is, generates the root node corresponding to the original video. At least one of the following information is stored in the root node:

[0106] Original video ID;

[0107] The identity of the video production platform of the original video;

[0108] Identification of the video editing tool the original video went through (optional).

[0109] In one design, the video tracing information of the original video is empty, and the intermediate service platform determines the original video identifier and the production platform identifier. In another design, the video tracing information of the original video is not empty, and the identifier of the original video and the identifier of the previous video in the video tracing information are both identifiers generated by the video production platform. The MD5 algorithm of the video production platform is the same as the MD5 algorithm of the intermediate service platform.

[0110] Then, the intermediate service platform caches the video tracing tree of the original video.

[0111] Step 402: Obtain video link information from the video file of the first derivative video, where the video link information includes an identifier of the original video (optional), an identifier of the previous video, and an identifier of the first video editing tool;

[0112] The identifier of the previous video is used to indicate the previous video, and the identifier of the first video editing tool is used to indicate the video editing tool used when processing from the previous video to the first derivative video;

[0113] The user uses the video editing platform to edit the previous video (ie, the original video or an intermediate derivative video) to obtain a first derivative video. The video editing platform adds the video link information of the first derivative video to the video file, such as adding it to the video metadata of the first derivative video.

[0114] The video editing platform uploads the first derivative video to the intermediate service platform, and the intermediate service platform obtains the video link information from the video file of the first derivative video.

[0115] In this embodiment, the video link information is read from the video metadata of the first derivative video as an example. The video link information can be carried in the "comment" field in the video metadata. Schematically, the "comment" field is a readable, overwriteable (non-tamperable), and deletable encrypted string. Schematically, the structure of the video link information is as follows:

[0116] [Identifier of the original video] - [Identifier of the video production platform] - [Identifier of the first video editing tool] - [Identifier of the second video editing tool]... - [Identifier of the previous video before the last modification (or round) of the first derivative video].

[0117] For example, comment = aaa123.TCC-ZNBJ-YJTZ-bbb456.xxxxxxxxx;

[0118] The above comment shows that the MD5 of the original video of the first derivative video is aaa123, which was first generated by the TCC platform and was processed by the intelligent editing tool (ZNBJ) and the one-key adjustment tool (YJTZ). The MD5 of the previous video is bbb456.

[0119] Step 403: Obtaining the identifier of the original video (optional), the identifier of the previous video, and the identifier of the first video editing tool from the video link information;

[0120] The previous video is used to indicate the previous video of the first derivative video before the video processing, and the previous video may be the original video or an intermediate derivative video based on the original video. Exemplarily, the identifier of the previous video is based on the MD5 identifier of the previous video.

[0121] The identifier of the first video editing tool is used to indicate the video editing tool used when processing from the previous video to the first derivative video. The video editing tool may include one or more, such as a one-key beautification tool, a picture enhancement tool, a subtitle adding tool, a filter tool, a video transition tool, a video overlay tool, a music soundtrack tool, etc., but is not limited thereto. The video editing tool may be a fully automatic editing tool or a user-manually operated editing tool, which is not limited in the embodiments of the present application.

[0122] Step 404: based on the identifier of the original video or the previous video, obtain the video tracing information of the cached original video;

[0123] The video tracing information of the cached original video is obtained in the middle. The video tracing information of the original video stores: the identifier of the original video and the identifier of the previous video. In the case where the previous video is the original video, the identifier of the original video and the identifier of the previous video are the same identifier; in the case where the previous video is an intermediate derivative video, the identifier of the original video and the identifier of the previous video are different identifiers.

[0124] In some embodiments, when the video link information includes an identifier of the original video, the identifier of the original video is obtained from the video link information of the first derivative video, and the identifier of the original video is used to indicate the original video; and a video tracing tree of the original video is obtained in the cached data based on the identifier of the original video.

[0125] In some embodiments, an identifier of a previous video is obtained from the video link information of the first derivative video; and a video tracing tree of the original video is obtained in the cached data based on the identifier of the previous video.

[0126] Step 405: Based on the identifier of the previous video, determine the node corresponding to the previous video in the video tracing tree of the original video;

[0127] The intermediate service platform searches for a node corresponding to the identifier of the previous video in the video tracing tree of the original video.

[0128] In the case where the previous video is the original video, in the video tracing tree of the original video, the root node is determined to be the node corresponding to the previous video.

[0129] In the case where the previous video is an intermediate derivative video, in the video tracing tree of the original video, the child node corresponding to the intermediate derivative video is determined as the child node corresponding to the previous video.

[0130] Step 406: Mounting the target subnode corresponding to the first derivative video on the node corresponding to the previous video, and associating and storing the identifier of the first video editing tool to the target subnode;

[0131] Schematically, the target subnode corresponding to the first derivative video is mounted on the node corresponding to the previous video, and the edge between the target subnode and the upper node is used to indicate the derivative link between the previous video and the derivative video.

[0132] At the same time, the intermediate service platform also associates and stores the identifier of the first video editing tool in the video link information to the target child node. The identifier of the first video editing tool is used to indicate the video editing tool used when processing from the previous video to the first derivative video.

[0133] Step 407: When the previous video is an original video, the identifier of the video production platform of the original video stored in the root node corresponding to the previous video is associated and stored in the target child node;

[0134] Since the first derivative video is a derivative video based on the original video, the video production platform traced back by the first derivative video is the video production platform of the original video. Therefore, the intermediate service platform associates and stores the identifier of the video production platform of the original video stored in the root node corresponding to the identifier of the previous video to the target child node.

[0135] Step 408: When the previous video is an intermediate derivative video, the identifier of the second video editing tool and the identifier of the video production platform of the original video stored in the subnode corresponding to the previous video are associated and stored in the target subnode;

[0136] Since the first derivative video is a derivative video derived from the previous video, the video editing tool that the previous video has experienced on the derivative link to which it belongs is also the video editing tool that the first derivative video has experienced. Therefore, the identifier of the second video editing tool stored in the child node corresponding to the previous video and the identifier of the video production platform of the original video are associated and stored in the target child node. That is, there is a parent-child inheritance relationship between the upper node 1 and the lower node 2 connected to the same side. The identifier of the video production platform of the original video corresponding to the upper node 1 will be inherited to the lower node 2, and the identifier of the second video editing tool of the video editing tool experienced by the upper node 1 in the historical processing process will also be inherited to the lower node 2.

[0137] Combined with reference Figure 7 The video tracing tree includes: node 1 corresponding to original video 1, node 2 corresponding to derived video 2, node 3 corresponding to derived video 3, and node 4 corresponding to derived video 4.

[0138] The original video 1 is generated by the video production platform TCC. The node 1 is associated with and stores the production platform identifier "TCC".

[0139] Derivative video 2 is generated by video editing tool OTT. Node 2 stores the production platform identifier "TCC" and the video editing tool identifier "OTT" in association. The production platform identifier "TCC" is inherited from node 1.

[0140] Derivative video 3 is generated by video editing tool IET. Node 3 stores the production platform identifier "TCC" and the video editing tool identifier "IET" in association. The production platform identifier "TCC" is inherited from node 1.

[0141] Derivative video 4 is generated by the video editing tool IET. Node 4 stores the production platform identifier "TCC" and the video editing tool identifier "OTT+IET" in association. The production platform identifier "TCC" and the video editing tool identifier "OTT" are inherited from node 2.

[0142] In an exemplary example, the video tracing tree of the original video is stored in the form of a data table as a video tracing table, wherein the video tracing table stores five columns of data: the MD5 of the original video, the MD5 before modification, the MD5 after modification, the information source, the production platform identifier or the identifier of the video editing tool.

[0143] Each node in the video tracing tree occupies a row of data in the video tracing table. For example, the first row of data in the video tracing table corresponds to node 1, the second row of data corresponds to node 2 and edge 12, the third row of data corresponds to node 3 and edge 13, and the fourth row of data corresponds to node 4 and edge 24.

[0144] At the same time, according to the identifier of the video production platform and the identifier of the video editing tool stored in association on each node, the intermediate service platform can split the information stored in association on each node and store it as a video settlement traceability table. The video settlement traceability table stores three columns of data: video MD5, settlement dimension, and traceable video MD5. Video MD5 is the current video identifier, settlement dimension is the identifier of the video production platform or the identifier of the video editing tool, and traceable video MD5 is the original video in the derivative link, or the video obtained after being processed by the video editing tool.

[0145] For example, Figure 7 In the above table, the video data of original video 1 will be attributed to original video 1 in the settlement dimension "TCC"; the video data of derivative video 2 will be attributed to original video 1 in the settlement dimension "TCC"; the video data of derivative video 2 will be attributed to derivative video 2 in the settlement dimension "OTT"; the video data of derivative video 3 will be attributed to original video 1 in the settlement dimension "TCC"; the video data of derivative video 3 will be attributed to derivative video 3 in the settlement dimension "IET"; the video data of derivative video 4 will be attributed to original video 1 in the settlement dimension "TCC"; the video data of derivative video 4 will be attributed to derivative video 2 in the settlement dimension "OTT"; the video data of derivative video 4 will be attributed to derivative video 4 in the settlement dimension "IET".

[0146] Step 409: acquiring, in the updated video tracing information, an identifier of a video editing tool stored in association with the first derivative video;

[0147] Combination Figure 7 As shown, it is assumed that there is video data for derivative video 4, and the video data includes the number of times the derivative video 4 is played. In the video settlement tracing table, the identifiers "OTT" and "IET" of the video editing tools corresponding to the derivative video 4 are queried. The number of times the derivative video 4 is played is counted in the first settlement data of the video editing tool "OTT" and the first settlement data of the video editing tool "IET".

[0148] Step 410: counting the video data of the first derivative video in the first settlement data with the identifier of the video editing tool as the settlement dimension;

[0149] Illustratively, the intermediate service platform (or video playback platform) also determines the tracing video in the updated video tracing information; the tracing video is the video obtained after being processed by the video editing tool on the derivative link between the original video and the first derivative video; in the first settlement data with the identifier of the video editing tool as the settlement dimension, the video data of the tracing video is queried; and the video data of the first derivative video is attributed to the video data of the tracing video.

[0150] Taking the settlement in the dimension of video editing tool "OTT" as an example, in the derived link "Video 1→Video 2→Video 4", the video directly processed by the video editing tool "OTT" is Video 2, so the number of views of Video 4 is attributed to the number of views of Video 2. In other words, the video list generated by the video editing tool "OTT" itself contains Video 2 but not Video 4. Since Video 4 is derived from Video 2, the view data of Video 4 is attributed to Video 2.

[0151] Taking the settlement in the dimension of video editing tool "IET" as an example, on the derivative link "Video 1→Video 2→Video 4", the video directly processed by the video editing tool "IET" is Video 4, so the number of views of Video 4 is attributed to the number of views of Video 4. That is, the video editing tool "IET" contains Video 4 in the video list generated by its own processing, so the play data of Video 4 is attributed to Video 4.

[0152] It should be noted that for each video processed by the video editing tool "IET": Video 3 and Video 4, after the video data of Video 3 and Video 4 are settled, the total number of playbacks, average number of playbacks, total number of playbacks per day, average number of playbacks per day and other data of each video processed by the video editing tool "IET" can be calculated.

[0153] After obtaining video data such as the total number of views and average number of views for each video editing tool, we can make a horizontal comparison to identify high-quality video editing tools or inefficient video editing tools.

[0154] Step 411: Obtaining the identifier of the video production platform of the original video in the updated video tracing information;

[0155] Combination Figure 7 As shown, it is assumed that there is video data for derivative video 4, and the video data includes the number of times the derivative video 4 is played. In the video settlement tracing table, the identifier "TCC" of the video production platform corresponding to the derivative video 4 is queried. The number of times the derivative video 4 is played is counted in the second settlement data of the video production platform "TCC".

[0156] Step 412: The video data of the first derivative video is counted in the second settlement data with the identifier of the video production platform as the settlement dimension.

[0157] Illustratively, in the second settlement data using the identifier of the video production platform as the settlement dimension, the video data of the original video is searched; and the video data of the first derivative video is attributed to the video data of the original video.

[0158] Taking the settlement in the dimension of video production platform "TCC" as an example, in the derivative link "Video 1→Video 2→Video 4", Video 1 is the original video generated by the video production platform "TCC", so the number of views of Video 4 is attributed to the number of views of Video 1. In other words, the video production platform "TCC" contains Video 1 but not Video 4 in the video list generated by itself. Since Video 4 is derived from Video 1, the playback data of Video 4 is attributed to Video 1.

[0159] To sum up, the method provided in this embodiment obtains video link information from the video file of the first derivative video to generate video tracing information of the original video, thereby tracing and settling the video data of the first derivative video to the video production platform of the original video or at least one of the video editing tools experienced by the first derivative video. It can naturally support download and re-editing scenarios. Even if the original video has been away from the advertising delivery platform for a period of time and has undergone some re-editing operations, it will not cause the loss of video tracing information when it flows back to the advertising delivery platform, thereby achieving a good video tracking effect.

[0160] The method provided in this embodiment can inherit the identifier of the video production platform on the derivative link to which the first derivative video belongs and the identifier of the second video editing tool through the parent-child inheritance relationship, and can summarize all video link information on the entire video link into complete video tracing information, thereby realizing full-link video data tracing capabilities.

[0161] It should be noted that the above step 402 is described by taking the acquisition of video link information from the video file of the first derivative video as an example. The present application also provides two other methods for acquiring video link information:

[0162] Optional method 1: Obtain the video link information of the first derivative video from the parameters passed in by the video processing platform when uploading the first derivative video.

[0163] When uploading the first derivative video to the intermediate service platform 130, the video processing platform 120 sends a video upload request to the intermediate service platform 130. Table 1 schematically shows various parameters carried in the video upload request.

[0164] Table 1

[0165] MD5 yes The logo of the first derivative video prev_md5_list no Previous video ID Resource_created_from yes Video processing platform logo Settlement_module_list yes Logo of the first video editing tool

[0166] Assume that the request parameters uploaded by the video processing platform are {prev_MD5_list:[1],MD5:2,resource_created_from:platform 2,settlement_moudle_list:[IET]}, where MD5 is the MD5 of the derived video 2, prev_MD5_list:[1] is the MD5 of the original video 1, resource_created_from:IET indicates that the video processing platform that generated the derived video 2 is platform 2, and settlement_moudle_list:[YJTZ][ZNBJ] indicates that the derived video 2 uses the video editing processing of the video editing tool IET, so the video data generated by the derived video 2 needs to be attributed to the video editing tool "IET".

[0167] Option 2: Obtain the video link information of the first derivative video from the manually recorded data.

[0168] That is, the video link information of the first derivative video is manually entered by the staff.

[0169] For the first derivative video, when there are video link information from multiple sources at the same time, such as in the grayscale stage when the algorithm is first launched, the above three methods can be combined and used according to a certain algorithm. For example, the priority of using multiple information sources is: video processing platform input > video metadata analysis > manual supplementary recording.

[0170] In some embodiments, the video link information of the first derivative video is encrypted and signed in the video file, so corresponding decryption and verification are also required. Figure 8 FIG. 4 is a flowchart of a method for calculating video data provided by another embodiment of the present application. The above step 403 can be implemented as the following sub-steps.

[0171] Step 403a: decrypt the video link information to obtain the decrypted video link information;

[0172] Exemplarily, in order to prevent tampering, the video link information is encrypted information. After the video link information is acquired, the video link information needs to be decrypted to obtain the decrypted video link information.

[0173] Schematically, the structure of the decrypted video link information is as follows:

[0174] [Identifier of the original video] - [Identifier of the video production platform] - [Identifier of the first video editing tool] - [Identifier of the second video editing tool]... - [Identifier of the previous video before the last modification (or round) of the first derivative video] - [Signature information].

[0175] For example, comment = aaa123.TCC-ZNBJ-YJTZ-bbb456.xxxxxxxxx;

[0176] The above comment shows that the MD5 of the original video of the first derivative video is aaa123, which was first generated by the TCC platform and was processed by the intelligent editing tool (ZNBJ) and the one-key adjustment tool (YJTZ). The MD5 of the previous video is bbb456, and xxxxxxxxx is the signature information.

[0177] Step 403b: Obtain signature information of the decrypted video link information;

[0178] The last field in the decrypted video link information is determined as the signature information of the video link. Indicatively, the signature information is the first n bits of the first MD5 value of other fields in the video link information before encryption.

[0179] Step 403c: determining whether the decrypted video link information has been tampered with based on the signature information;

[0180] After the signature information of the decrypted video link information is obtained, the signature information of the decrypted video link information is verified to determine whether the video link information has been tampered with.

[0181] In an illustrative manner, the second MD5 value of other fields in the decrypted video link information is calculated, and the first n bits of the second MD5 value are compared with the signature information. If the two are the same, it is considered to have been tampered with, and step 403d is executed; if the two are different, it is considered to have not been tampered with, and step 404 is executed.

[0182] Step 403d: discard the video link information without processing;

[0183] When the signature information of the video link information is tampered with, the video link information is discarded and no processing is performed on the video link information.

[0184] In summary, the method provided in this embodiment decrypts the video link information to obtain the decrypted video link information; obtains the signature information of the video link information from the decrypted video link information, and verifies the signature information of the decrypted video link information. This can ensure the correctness of the video link information, prevent malicious users from tampering with the video link information, eliminate the behavior of forging false video data, and ensure the accuracy of video data settlement.

[0185] Fig. 9 This is a flowchart of a method for recording video tracing information provided by an embodiment of the present application. This method can be applied to Figure 1 In the computer system shown, the method may include the following steps.

[0186] Step 501: Start;

[0187] Step 502: the video processing platform edits the previous video to obtain a first derivative video;

[0188] The video processing platform 120 edits the original video or the intermediate derivative video to obtain a first derivative video, and adds video link information to the video metadata of the first derivative video.

[0189] The video processing platform 120 uploads the first derivative video to the intermediate service platform 130 .

[0190] Step 503: The intermediate service platform parses the video metadata of the first derivative video;

[0191] The intermediate service platform 130 parses the video metadata of the first derivative video.

[0192] Step 504: whether there is video metadata of the first derivative video;

[0193] The intermediate service platform 130 determines whether there is video metadata in the video file of the first derivative video. If yes, step 05 is executed; if no, step 07 is executed.

[0194] Step 505: performing confidence determination on the video metadata of the first derivative video;

[0195] In a case where the video metadata exists in the video file of the first derivative video, it is determined whether the video metadata of the first derivative video has been tampered with according to the signature information in the video metadata.

[0196] Step 506: whether the confidence level is passed;

[0197] When the video metadata of the first derivative video has not been tampered with, the confidence determination is passed, and step 07 is executed; when the video metadata of the first derivative video has been tampered with, the confidence determination is not passed, and step 08 is executed.

[0198] Step 507: Generate video metadata according to the parameters input by the video processing platform;

[0199] The intermediate service platform 130 generates video metadata of the first derivative video according to the parameters passed by the video processing platform 120 when uploading the first derivative video.

[0200] Step 508: Ignore the video metadata of the first derivative video;

[0201] Step 509: adding video metadata to the video file of the first derivative video;

[0202] Step 510: The video tracing information is stored in a database;

[0203] The intermediate service platform 130 updates the video tracing information of the original video according to the video metadata of the first derivative video, and stores the updated video tracing information of the original video into a database.

[0204] Step 511: End.

[0205] The following is an example of calculating the video effect data of an advertising video. The video effect data of an advertising video can be calculated using four data tables: a video list in the settlement dimension, a video tracing table, a video settlement tracing table, and a video effect data table.

[0206] Combination Figure 7 As shown, it is assumed that the above 4 tables are as follows.

[0207] Table 2: Video list of settlement dimension

[0208] TCC Video List Video 1 OTT Video List Video 2 IET Video List Video 3, Video 4

[0209] That is, video 1 is the original video generated by the video production platform TCC, video 2 is the derivative video processed by the video editing tool OTT, and video 3 and video 4 are the derivative videos processed by the video editing tool IET.

[0210] Table 3: Video traceability table

[0211]

[0212] Table 4: Video Settlement Tracing Table

[0213]

[0214]

[0215] Table 5: Video effect data table

[0216] Video MD5 Exposure (number of plays) Clicks Video 1 Exposure 1 Click 1 Video 2 Exposure 2 Click 2 Video 3 Exposure 3 Click 3 Video 4 Exposure 4 Clicks 4 Video 8 Exposure 5 Clicks 5

[0217] Schematically, the consumption data of a video includes: exposure and clicks.

[0218] Fig.10 It is a flow chart of a method for settling video effect data provided by an embodiment of the present application. In this embodiment, taking the video production platform TCC as an example of the settlement dimension (the same applies to OTT and IET), the method may include the following steps.

[0219] Step 601: Start;

[0220] Step 602: Check whether the video MD5 in the "video effect data table" exists in the "TCC video list";

[0221] Determine whether each video MD5 in the "video effect data table" exists in the "TCC video list". If so, execute step 606; if not, execute step 603 for further determination.

[0222] For example, if the MD5 of video 1 exists in the TCC video list, execute step 606; if the MD5 of videos 2-4 and the MD5 of video 8 do not exist in the TCC video list, execute step 603.

[0223] Step 603: Check whether there is a corresponding record in the "video tracing table"; "video MD5" = MD5;

[0224] If the current video MD5 is recorded in the “video tracing table”, execute step 604 for further judgment; if not, execute step 609.

[0225] For example, if the MD5 of video 2-4 exists in the “video tracing table”, execute step 604 ; if the MD5 of video 8 does not exist in the “video tracing table”, execute step 609 .

[0226] Step 604: Check whether there is a corresponding record in the "Video Settlement Tracing Table"; "Video MD5" = MD5 and "Settlement Dimension" = TCC;

[0227] If the current video MD5 exists in the "Video Settlement Tracing Table" and the "Settlement Dimension" is TCC, execute step 607; if not, execute step 605 for further judgment.

[0228] According to the records in the 3rd, 5th and 7th columns in Table 4 above, the MD5s of videos 2-4 all exist in the "Video Settlement Tracing Table" and the settlement dimension includes TCC, so step 607 is executed for videos 2-4.

[0229] Step 605: Check whether the original video MD5 exists in the TCC video list;

[0230] For the current video MD5, determine whether the original video MD5 of the video MD5 exists in the TCC video list. If so, execute step 608; if not, execute step 609.

[0231] Step 606: The video data is assigned to the TCC video list corresponding to the video MD5;

[0232] Step 607: The video data is attributed to the TCC settlement data corresponding to the "derivative video MD5";

[0233] Schematically, the original exposure of video 1 is exposure 1, and the original clicks are clicks 1. The derived exposure of video 1 is: exposure 2 + exposure 3 + exposure 4; the derived clicks of video 1 are: clicks 2 + clicks 3 + clicks 4.

[0234] The total exposure of Video 1 is: Exposure 1 + Exposure 2 + Exposure 3 + Exposure 4; the total clicks of Video 1 is: Click 1 + Click 2 + Click 3 + Click 4.

[0235] Step 608: The video data is attributed to the TCC settlement data corresponding to the "original video MD5";

[0236] Step 609: The video data consumption is not included in the TCC settlement data;

[0237] Step 610: End.

[0238] Fig.11 The structural block diagram of a video data computing device provided by an exemplary embodiment of the present application is shown. The device includes the following modules.

[0239] A first acquisition module 1120 is used to acquire video link information from the video file of the first derivative video, where the video link information includes an identifier of a previous video and an identifier of a first video editing tool used when processing from the previous video to the first derivative video;

[0240] The second acquisition module 1140 is used to acquire video tracing information of the original video, where the video tracing information includes a derivative link formed by each derivative video derived from the original video, and a video editing tool used by each derivative video;

[0241] An updating module 1160, configured to update the video link information of the first derivative video into the video tracing information based on the previous video identifier;

[0242] The tracking module 1180 is used to attribute the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video based on the updated video tracing information.

[0243] In an exemplary example of the present embodiment, the update module 1160 is used to obtain the previous video identifier and the first video tool identifier from the video link information; based on the identifier of the previous video, determine the node corresponding to the previous video in the video tracing tree of the original video; mount the target child node corresponding to the first derivative video on the node corresponding to the previous video, and associate the identifier of the first video editing tool with the target child node.

[0244] In an exemplary example of this embodiment, the update module 1160 is used to obtain the original video identifier from the video link information when the video link information also includes the original video identifier; obtain the video tracing tree of the original video based on the original video identifier in the cached data; or, obtain the previous video identifier from the video link information; obtain the video tracing tree of the original video based on the previous video identifier in the cached data.

[0245] In an exemplary example of this embodiment, the updating module 1160 is further configured to initialize the video tracing tree of the original video when the video link information of the original video is acquired.

[0246] In an exemplary example of the present embodiment, the update module 1160 is also used to, when the previous video is the original video, associate and store the production platform identifier of the original video stored in the root node corresponding to the previous video identifier to the target child node; when the previous video is an intermediate derivative video, associate and store the second video tool identifier and the production platform identifier of the original video stored in the child node corresponding to the previous video identifier to the target child node.

[0247] In an exemplary example of this embodiment, the updating module 1160 is further configured to decrypt the video link information to obtain the decrypted video link information; and obtain the identifier of the previous video and the identifier of the first video editing tool from the decrypted video link information.

[0248] In an exemplary example of this embodiment, the update module 1160 is also used to obtain signature information of the video link information; when the decrypted video link information is verified to be tampered with through the signature information, the previous video identifier and the first video tool identifier are obtained from the decrypted video link information.

[0249] In an exemplary example of this embodiment, the tracking module 1180 is used to obtain the video tool identifier stored in association with the first derivative video in the updated video tracing information; query the video data of the tracing video in the first settlement data with the identifier of the video editing tool as the settlement dimension; and attribute the video data of the first derivative video to the video data of the tracing video.

[0250] In an exemplary example of this embodiment, the tracking module 1180 is also used to obtain the identifier of the video production platform of the original video in the updated video tracing information; query the video data of the original video in the second settlement data with the identifier of the video production platform as the settlement dimension; and attribute the video data of the first derivative video to the video data of the original video.

[0251] It should be noted that the video data calculation device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the video data calculation device provided in the above embodiment and the method embodiment of the video data calculation method belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0252] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the video data calculation method provided by the above-mentioned method embodiments.

[0253] Optionally, the computer device is a server. Fig.12 It is a structural block diagram of a server provided by an exemplary embodiment of the present application.

[0254] Typically, the server 1200 includes: a processor 1201 and a memory 1202 .

[0255] The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0256] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction, which is used to be executed by the processor 1201 to implement the method for calculating video data provided in the method embodiment of the present application.

[0257] In some embodiments, the server 1200 may also optionally include: an input interface 1203 and an output interface 1204. The processor 1201, the memory 1202, and the input interface 1203 and the output interface 1204 may be connected via a bus or a signal line. Each peripheral device may be connected to the input interface 1203 and the output interface 1204 via a bus, a signal line or a circuit board. The input interface 1203 and the output interface 1204 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, the input interface 1203, and the output interface 1204 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202, the input interface 1203, and the output interface 1204 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.

[0258] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the server 1200, and the server 1200 may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0259] The device of the method for calculating video data disclosed in the present application, wherein multiple servers can be composed into a blockchain, and the server is a node on the blockchain. Blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, which is a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer and the application service layer.

[0260] The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operation monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining public and private key generation (account management), key management, and the maintenance of the correspondence between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records valid requests to storage after consensus is reached. For a new business request, the basic service first adapts the interface for parsing and authentication (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). The smart contract module is responsible for the registration and issuance of contracts, as well as contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other events are called to trigger the execution and complete the contract logic. It also provides the function of contract upgrade and cancellation. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and real-time status visualization output of the product during the product release process, such as alarm, network monitoring, node equipment health monitoring, etc.

[0261] The platform product service layer provides the basic capabilities and implementation framework of typical applications. Developers can build on these basic capabilities and superimpose business characteristics to complete the blockchain implementation of business logic. The application service layer provides application services based on blockchain solutions for business participants to use, thereby realizing the calculation method of video data provided by the above-mentioned method embodiments.

[0262] A computer-readable storage medium is also provided in an embodiment of the present application. At least one program code is stored in the computer-readable storage medium. When the program code is loaded and executed by a processor of a computer device, the video data calculation method provided by the above-mentioned method embodiments is implemented.

[0263] The present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the video data calculation method provided by each of the above method embodiments.

[0264] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0265] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent switching, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for calculating video data, characterized in that: The method comprises: Acquire video link information from a video file of the first derivative video, the video link information including an identifier of a previous video and an identifier of a first video editing tool used when processing from the previous video to the first derivative video; Obtaining video tracing information of the original video, the video tracing information including derivative links formed by derivative videos derived from the original video and identifiers of video editing tools passed by each derivative video, the video tracing information being represented by a video tracing tree; Acquire the identifier of the previous video and the identifier of the first video editing tool from the video link information; Based on the identifier of the previous video, a node corresponding to the previous video is determined in the video tracing tree of the original video; the root node on the video tracing tree is used to represent the original video, the child nodes on the video tracing tree are used to represent the derived videos generated based on the original video, and the edges on the video tracing tree are used to represent the derived links from the upper layer nodes to the lower layer nodes; Mounting a target subnode corresponding to the first derivative video on the node corresponding to the previous video, and associating and storing the identifier of the first video editing tool to the target subnode; Based on the updated video tracing information, the video data of the first derivative video is attributed to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video.

2. The method according to claim 1, characterized in that The obtaining of video tracing information of the original video includes: In the case where the video link information also includes the identifier of the original video, obtaining the identifier of the original video from the video link information; obtaining the video tracing tree of the original video based on the identifier of the original video in the cache data; or, The identifier of the previous video is obtained from the video link information; and the video tracing tree of the original video is obtained in the cache data based on the identifier of the previous video.

3. The method according to claim 1, characterized in that The method further comprises: When the video link information of the original video is obtained, the video tracing tree of the original video is initialized.

4. The method according to claim 1, characterized in that The method further comprises: In the case where the previous video is the original video, an identifier of a video production platform of the original video stored in a root node corresponding to the previous video is associated and stored in the target subnode; In the case where the previous video is an intermediate derivative video, the identifier of the second video editing tool and the identifier of the video production platform of the original video stored in the subnode corresponding to the previous video are associated and stored in the target subnode; The second video editing tool is a video editing tool used when processing from the original video to the previous video.

5. The method according to claim 1, characterized in that The video link information is encrypted information; the obtaining of the previous video identifier and the video tool identifier from the video link information includes: Decrypting the video link information to obtain decrypted video link information; The identifier of the previous video and the identifier of the first video editing tool are obtained from the decrypted video link information.

6. The method according to claim 5, characterized in that The acquiring the identifier of the previous video and the identifier of the first video editing tool from the decrypted video link information includes: Obtaining signature information of the video link information; When the decrypted video link information is verified to be not tampered with through the signature information, the identifier of the previous video and the identifier of the first video editing tool are obtained from the decrypted video link information.

7. The method according to any one of claims 1 to 6, characterized in that: The acquiring the video link information from the video file of the first derivative video includes: The video link information is read from the video metadata of the first derivative video.

8. The method according to claim 2, characterized in that: The identifier of the original video is the information digest algorithm MD5 identifier of the original video; The identifier of the previous video is based on the MD5 identifier of the previous video.

9. The method according to any one of claims 1 to 5, characterized in that: The attributing the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video based on the updated video tracing information includes: In the updated video tracing information, obtaining an identifier of a video editing tool stored in association with the first derivative video; The video data of the first derivative video is counted in the first settlement data with the identifier of the video editing tool as the settlement dimension.

10. The method according to claim 9, characterized in that The step of counting the video data of the first derivative video in first settlement data using the identifier of the video editing tool as a settlement dimension includes: In the updated video tracing information, a tracing video is determined; the tracing video is a video obtained after being processed by the video editing tool on the derivative link between the original video and the first derivative video; In the first settlement data with the identifier of the video editing tool as the settlement dimension, query the video data of the traceability video; The video data of the first derivative video is attributed to the video data of the traceable video.

11. The method according to any one of claims 1 to 5, characterized in that: The attributing the video data of the first derivative video to the video editing tool experienced by the first derivative video based on the updated video tracing information includes: In the updated video tracing information, obtaining an identifier of the video production platform of the original video; The video data of the first derivative video is counted in the second settlement data with the identifier of the video production platform as the settlement dimension.

12. The method according to claim 11, characterized in that The step of counting the video data of the first derivative video in the second settlement data with the identifier of the video production platform as the settlement dimension includes: In the second settlement data with the identifier of the video production platform as the settlement dimension, query the video data of the original video; The video data of the first derivative video is attributed to the video data of the original video.

13. A video data computing device, characterized in that: The device comprises: A first acquisition module, configured to acquire video link information from a video file of a first derivative video, wherein the video link information includes an identifier of a previous video and an identifier of a first video editing tool used when processing from the previous video to the first derivative video; A second acquisition module is used to acquire video tracing information of the original video, wherein the video tracing information includes a derivative link formed by each derivative video derived from the original video and an identifier of a video editing tool passed by each derivative video, and the video tracing information is represented by a video tracing tree; An updating module is used to obtain the identifier of the previous video and the identifier of the first video editing tool from the video link information; based on the identifier of the previous video, determine the node corresponding to the previous video in the video tracing tree of the original video; the root node on the video tracing tree is used to represent the original video, the child nodes on the video tracing tree are used to represent the derivative video generated based on the original video, and the edges on the video tracing tree are used to represent the derivative links from the upper node to the lower node; the target child node corresponding to the first derivative video is mounted on the node corresponding to the previous video, and the identifier of the first video editing tool is associated and stored in the target child node; A tracking module is used to attribute the video data of the first derivative video to at least one of the video production platform of the original video and the video editing tool experienced by the first derivative video based on the updated video tracing information.

14. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the video data calculation method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Data processing method and data processing device

    CN104977917A

  • Video editing method and device, computer equipment and readable storage medium

    CN109474855A