Incremental synchronization method and system for short video

Through the incremental synchronization method and system, the video time stamp is used to obtain storage space and merge video numbers for deduplication and synchronization, which solves the problem of network lag in short video playback and improves user experience and synchronization efficiency.

CN119110113APending Publication Date: 2024-12-10JIAKEYUN TECH (HEBEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411366014.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

During short video playback, poor network quality leads to stuttering of video and sound, affecting the user experience, and the existing technology is difficult to effectively solve this problem.

Method used

The incremental synchronization method is adopted to obtain the storage space of the video to be synchronized and the storage space of the incremental video to be focused on by marking the video timestamp. When the video is stuck, use the merged video number to deduplicate and synchronize the data to ensure the effective transmission of data.

Benefits of technology

Effectively detect and reduce the risk of video lag, improve the effectiveness of incremental synchronization, reduce the probability and range of synchronization problems, and improve development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110113A_ABST
    Figure CN119110113A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of big data, in particular to an incremental synchronization method and system for a short video, and the method comprises the steps: obtaining a first storage space of a to-be-synchronized incremental video and a second storage space of a concerned incremental video according to an obtained short video synchronization instruction through a first video timestamp marked at a first stock video cut-off point, acquiring a combined video number associated with the to-be-synchronized incremental video through a second video timestamp marked at a second stock video cut-off point in a scene that the short video sharing platform is subjected to video lagging; obtaining a combined video increment video associated with the to-be-synchronized increment video from a preset combined video table; and according to the association relationship between the to-be-synchronized incremental video and the attention incremental video, synchronizing the deduplication storage space of the combined video incremental video into a second storage space, and deduplicating the attention incremental video. According to the method, the jamming repetition risk of the video can be effectively detected while the increment of the short video is updated, and the effectiveness of increment synchronization is ensured to the greatest extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to an incremental synchronization method and system for short videos. Background Art

[0002] With the development of electronic devices and the increase in user needs, more and more short videos are installed and played in electronic devices. During the playback process, many short videos need to communicate with the corresponding server through the network to realize the various functions provided by the short video. When users use short videos, if the quality of the network used when the short video communicates with the corresponding server is poor, a freeze phenomenon will occur, affecting the user experience.

[0003] The traditional short video collection and transmission method is to sort the short videos at the sending end, then use random storage space to transmit the sorted data, and separate the sorted data for playback at the receiving end. When the network at the sending end is stuck, the video and sound played at the receiving end will also be stuck. Summary of the invention

[0004] To achieve the above objectives, this application provides the following technical solutions:

[0005] According to a first aspect of the present invention, the present invention claims a method for incremental synchronization of short videos played on a short video sharing platform, the method comprising:

[0006] According to the acquired short video synchronization instruction, by marking the first video timestamp at the cutoff point of the first stock video, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained, wherein the incremental video of interest is used to locate the incremental video to be synchronized;

[0007] In a scenario where video freeze occurs on the short video sharing platform, a merged video number associated with the incremental video to be synchronized is obtained by marking a second video timestamp at a cutoff point of the second stock video;

[0008] According to the merged video number, a merged video incremental video associated with the incremental video to be synchronized is obtained from a preset merged video table, wherein the merged video incremental video implements deduplication of the incremental video to be synchronized based on the first storage space;

[0009] According to the association relationship between the incremental video to be synchronized and the incremental video of interest, the deduplication storage space of the merged video incremental video is synchronized to the second storage space, so as to deduplicate the incremental video of interest based on the second storage space.

[0010] Further, according to the acquired short video synchronization instruction, by marking the first video timestamp at the cutoff point of the first stock video, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained, wherein the incremental video of interest is used to locate the incremental video to be synchronized, including:

[0011] According to the acquired short video synchronization instruction, identifying the load environment of the incremental video library where the incremental video is present;

[0012] In the scenario where the incremental video library of interest is overloaded, obtaining the first video timestamp based on the above-mentioned marking at the cutoff point of the first stock video, and obtaining a merged video of the incremental video of interest, wherein the merged video contains a deduplication storage space associated with the incremental video of interest;

[0013] According to the target retrieval incremental video, the incremental video ID to be synchronized is retrieved in the incremental synchronization cache, and the retrieval record is output;

[0014] Obtaining a first storage space for the incremental video to be synchronized according to the retrieval record;

[0015] Based on the merged video, a second storage space for the focused incremental video is obtained.

[0016] Further, the obtaining of the merged video of the incremental video of interest based on the first video timestamp marked at the cutoff point of the first stock video includes:

[0017] Based on the first video timestamp marked at the cutoff point of the first stock video, multiple merged videos of all incremental videos in the incremental video library of interest are obtained;

[0018] A merged video of the focus incremental video is obtained from the multiple merged videos.

[0019] Furthermore, before obtaining the first storage space for the incremental video to be synchronized and the second storage space for the incremental video of interest by marking the first video timestamp at the cutoff point of the first stock video according to the acquired short video synchronization instruction, the method further includes:

[0020] According to the acquired short video synchronization instruction, the incremental video ID to be synchronized carried in the short video synchronization instruction is written into the incremental synchronization cache by the viewing terminal;

[0021] According to the ID of the incremental video to be synchronized, obtaining ID information of the incremental video of interest for locating the incremental video to be synchronized;

[0022] According to the ID information of the incremental video, the incremental video library containing the incremental video is loaded into the short video sharing platform.

[0023] Furthermore, the method further comprises:

[0024] The first storage space of the incremental video to be synchronized and the second storage space of the incremental video of interest are stored in the incremental synchronization cache.

[0025] Further, according to the association relationship between the incremental video to be synchronized and the incremental video of interest, synchronizing the deduplication storage space of the merged video incremental video to the second storage space, so as to deduplicate the incremental video of interest based on the second storage space, comprises:

[0026] According to the association relationship between the incremental video to be synchronized and the incremental video of interest, searching for the incremental video of interest ID in the incremental synchronization cache by retrieving the incremental video, and outputting the retrieval record;

[0027] According to the retrieval record, the incremental video ID of interest is found, and according to the second storage space stored in the incremental synchronization cache, the deduplication storage space of the merged video incremental video is synchronized to the second storage space to deduplicate the incremental video of interest based on the above second storage space.

[0028] Furthermore, the method further comprises:

[0029] Writing the group ID of the sharing personnel of the video to be shared into the incremental synchronization cache through the viewing terminal, wherein the video to be shared represents the program of the incremental video to be synchronized;

[0030] According to the shared person group ID, identifying whether the viewing person group ID of the video being played is the same as the shared person group ID, and outputting a first identification record;

[0031] According to the first identification record indicating that it is the same as the shared personnel group ID, in the scenario of video uploading, based on the above-mentioned first video timestamp, the video content table of the video to be shared is stored in the incremental synchronization cache, wherein the video content table contains the video content type associated with the incremental video to be synchronized.

[0032] Furthermore, in the scenario where video freeze occurs on the short video sharing platform, obtaining a merged video number associated with the incremental video to be synchronized by marking a second video timestamp at a second stock video cutoff point includes:

[0033] In a scenario where video freeze occurs on the short video sharing platform, based on the second video timestamp marked at the cutoff point of the second stock video, identifying whether the video content type of the video freeze exists in the video content table, and outputting a second identification record;

[0034] According to the second identification record, it is indicated that the video content type exists in the video content table, and according to the video content type, a merged video number associated with the incremental video to be synchronized is obtained.

[0035] Furthermore, the first stock video cutoff point includes a system incremental video upload channel, and the second stock video cutoff point includes a system incremental video de-emphasis.

[0036] According to a second aspect of the present invention, the present invention claims protection for an incremental synchronization system for short videos, played on a short video sharing platform, the system comprising:

[0037] A storage space acquisition unit is used to obtain a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest according to the acquired short video synchronization instruction by marking the first video timestamp at the cutoff point of the first stock video, wherein the incremental video of interest is used to locate the incremental video to be synchronized;

[0038] A merged video number acquisition unit, configured to acquire a merged video number associated with the incremental video to be synchronized by marking a second video timestamp at a cutoff point of the second stock video in a scenario where video freeze occurs on the short video sharing platform;

[0039] A merged video incremental video acquisition unit, configured to obtain, according to the merged video number, a merged video incremental video associated with the incremental video to be synchronized from a preset merged video table, wherein the merged video incremental video implements deduplication of the incremental video to be synchronized based on the first storage space;

[0040] A synchronization unit, configured to synchronize the deduplication storage space of the merged video incremental video to the second storage space according to the association relationship between the incremental video to be synchronized and the incremental video of interest, so as to deduplicate the incremental video of interest based on the second storage space;

[0041] The incremental synchronization system for short videos is used to execute the incremental synchronization method for short videos.

[0042] The present application relates to the field of big data technology, and in particular to an incremental synchronization method and system for short videos. According to the acquired short video synchronization instruction, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained by marking the first video timestamp at the cutoff point of the first stock video. In the scenario where video freezes on the short video sharing platform, a merged video number associated with the incremental video to be synchronized is obtained by marking the second video timestamp at the cutoff point of the second stock video; a merged video incremental video associated with the incremental video to be synchronized is obtained from a preset merged video table; according to the association relationship between the incremental video to be synchronized and the incremental video of interest, the deduplication storage space of the merged video incremental video is synchronized to the second storage space and the deduplication of the incremental video of interest is deduplicated. The present invention can effectively detect the risk of video freezes and repeats while incrementally updating the short video, and ensure the effectiveness of incremental synchronization to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A workflow diagram of an incremental synchronization method for short videos as claimed in an embodiment of the present application;

[0044] Figure 2 A second working flow diagram of an incremental synchronization method for short videos claimed in an embodiment of the present application;

[0045] Figure 3 A third workflow diagram of an incremental synchronization method for short videos claimed in an embodiment of the present application;

[0046] Figure 4 A structural module diagram of an incremental synchronization system for short videos as claimed in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field without creative work based on the embodiments in the present application are within the scope of protection of this application.

[0048] The terms "first", "second" and "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of the present application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, motion scene, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive existence. For example, a process, method, system, product or device with a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0049] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be present in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0050] Figure 1 The flowchart of the incremental synchronization method for short videos according to an embodiment of the present invention is schematically shown.

[0051] like Figure 1 As shown, the incremental synchronization method for short videos of this embodiment can be played on a short video sharing platform, including steps S210 to S240.

[0052] In step S210, according to the acquired short video synchronization instruction, by marking the first video timestamp at the end point of the first stock video, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained, wherein the incremental video of interest is used to locate the incremental video to be synchronized.

[0053] According to an embodiment of the present invention, if a short video synchronization instruction is obtained and in a scenario where the short video sharing platform focuses on the incremental video library load, the first storage space for the incremental video to be synchronized and the second storage space for the incremental video of concern can be stored and recorded by marking the first video timestamp at the cutoff point of the first existing video.

[0054] According to an embodiment of the present invention, the short video sharing platform may be any system to which the incremental synchronization method for short videos can be applied.

[0055] According to an embodiment of the present invention, information of the incremental video to be synchronized, such as ID information, etc., can be obtained based on the short video synchronization instruction. Then, the second storage space for the incremental video of interest is obtained through the information of the incremental video to be synchronized and the first video timestamp marked at the end point of the first existing video. Thus, the process of obtaining the storage space for the incremental video of interest is realized. Through this storage space, the incremental video of interest can be found, providing a scenario for the subsequent synchronization of the incremental video to be synchronized.

[0056] In step S220, in a scenario where video freeze occurs on the short video sharing platform, a merged video number associated with the incremental video to be synchronized is obtained by marking a second video timestamp at the end point of the second stock video.

[0057] According to an embodiment of the present invention, in a scenario where video freeze occurs on a short video sharing platform, the video content can be intercepted based on the second video timestamp marked at the end point of the second existing video, and the video content type can be obtained. If the video content type is associated with the incremental video to be synchronized, the merged video number associated with the incremental video to be synchronized is parsed.

[0058] According to an embodiment of the present invention, the video freeze that occurs on the short video sharing platform may be kernel video freeze, wherein the specific type of kernel video freeze is not limited and can be obtained according to actual scenarios.

[0059] According to an embodiment of the present invention, it is obtained whether the video freeze occurring on the short video sharing platform is the video freeze associated with the incremental video to be synchronized. When it is obtained that the video freeze is indeed associated with the incremental video to be synchronized, the merged video number associated with the incremental video to be synchronized is obtained by parsing the second video timestamp according to the video content, thereby directly obtaining the merged video number associated with the incremental video to be synchronized, reducing the processing scope and accelerating the synchronization efficiency.

[0060] In step S230, a merged video incremental video associated with the incremental video to be synchronized is obtained from a preset merged video table according to the merged video number, wherein the merged video incremental video deduplicates the incremental video to be synchronized through the first storage space.

[0061] According to an embodiment of the present invention, a preset merged video table can be obtained from a short video sharing platform, wherein the preset merged video table may contain a relationship between the merged video number and the merged video incremental video, as well as a deduplicated storage space for the merged video incremental video and the incremental video to be synchronized.

[0062] According to an embodiment of the present invention, the merged video incremental video associated with the incremental video to be synchronized is obtained, that is, the deduplication process of the incremental video to be synchronized can be obtained during normal deduplication, laying a foundation for the subsequent synchronization replacement process of the incremental video to be synchronized.

[0063] In step S240, based on the association between the incremental video to be synchronized and the incremental video of interest, the deduplication storage space of the merged video incremental video is synchronized to the second storage space, so as to deduplicate the incremental video of interest through the second storage space.

[0064] According to an embodiment of the present invention, based on the association relationship between the incremental video to be synchronized and the incremental video of interest, the information of the incremental video of interest can be obtained through the information of the incremental video to be synchronized, such as ID information, and based on the information of the incremental video of interest, a deduplication storage space for the incremental video of interest, i.e., a second storage space, can be output, and the incremental video of interest can be deduplicated through the second storage space by merging the video incremental videos, thereby completing the synchronous replacement process of the incremental video to be synchronized.

[0065] According to the incremental synchronization method for short videos provided by the present invention, by marking the first video timestamp at the cutoff point of the first stock video, the storage space of the incremental video to be synchronized and the incremental video of interest is obtained, and then when the short video sharing platform has a video freeze, the merged video number associated with the incremental video to be synchronized is parsed by marking the second video timestamp at the cutoff point of the second stock video, the merged video incremental video of the incremental video to be synchronized is obtained, and the deduplication storage space of the merged video incremental video is synchronized, so that the incremental video of interest is directly deduplicated according to the second storage space through the merged video incremental video, thereby completing the synchronization of the incremental video to be synchronized. Since the second storage space of the incremental video of interest is obtained through the first video timestamp, the incremental video of interest is directly deduplicated according to the second storage space through the merged video incremental video through the second video timestamp, thereby completing the synchronization of the incremental video to be synchronized. Therefore, at least partially solves the problem of easy introduction of other problems and increased development difficulty in the incremental synchronization method for short videos in the related art, and realizes the technical effect that the short video synchronization can be directly performed on the specified incremental video, the probability and scope of the problem are reduced, and the efficiency of debugging and development of the program is improved.

[0066] Figure 2 The flowchart of obtaining storage space according to an embodiment of the present invention is schematically shown.

[0067] like Figure 2 The step of obtaining the storage space may include steps S211 to S215.

[0068] In step S211, based on the acquired short video synchronization instruction, a load environment of a focused incremental video library containing focused incremental videos is identified.

[0069] In step S212, in the scenario where the incremental video library is overloaded, a merged video of the incremental video of interest is obtained by obtaining a first video timestamp marked at a cutoff point of the first stock video, wherein the merged video contains deduplicated storage space associated with the incremental video of interest.

[0070] In step S213, the incremental video ID to be synchronized is retrieved in the incremental synchronization cache according to the target retrieval incremental video, and the retrieval record is output.

[0071] In step S214, a first storage space for the incremental video to be synchronized is obtained according to the search record.

[0072] In step S215, a second storage space for the incremental video of interest is obtained based on the merged video.

[0073] According to an embodiment of the present invention, when a short video synchronization instruction is obtained, the load environment of the incremental video library can be identified, wherein the load environment of the incremental video library can refer to the process of loading the incremental video library into the step system kernel.

[0074] According to an embodiment of the present invention, if the load environment of the incremental video library is an overload scenario, a merged video of the incremental video of interest can be recorded by marking the first video timestamp at the cutoff point of the first stock video, and the incremental video to be synchronized can be retrieved by retrieving the incremental video, and finally the first storage space and the second storage space are obtained based on the merged video and the retrieval record.

[0075] According to an embodiment of the present invention, the information of the incremental video to be synchronized can be found by retrieving the incremental video according to the incremental video ID to be synchronized carried by the short video synchronization instruction, and the first storage space where the incremental video to be synchronized is located is obtained based on the found information of the incremental video to be synchronized, wherein the address of the incremental video to be synchronized is the storage space output where the incremental video library to be synchronized is loaded into the kernel of the short video sharing platform during the program playback process, wherein the incremental video library to be synchronized can be an incremental video library where the incremental video to be synchronized exists.

[0076] According to an embodiment of the present invention, when an incremental video library load event occurs, the first video timestamp is deduplicated, and the incremental video merged video of interest is acquired and recorded through the first video timestamp, and the incremental video to be synchronized is retrieved, thereby outputting the first storage space and the second storage space, thereby achieving the acquisition of the storage space where the incremental video is located, laying the foundation for the subsequent synchronization process, accelerating the synchronization rate and obtaining a smaller synchronization range.

[0077] According to an embodiment of the present invention, the storage location of the first storage space and the second storage space is not limited, and the storage location may be a storage location that can provide a viewing personnel status program and a video timestamp interaction.

[0078] According to an embodiment of the present invention, obtaining a merged video of a focused incremental video by marking a first video timestamp at a cutoff point of a first stock video may include the following steps.

[0079] By marking the first video timestamp at the cutoff point of the first stock video, multiple merged videos of all incremental videos in the incremental video library of interest are obtained; and a merged video of the incremental video of interest is obtained from the multiple merged videos.

[0080] According to an embodiment of the present invention, by recording the merged video of all incremental videos included in the incremental video library of interest, and then obtaining the ID of the incremental video of interest based on the ID of the incremental video to be synchronized, the merged video of the incremental video of interest is obtained from multiple merged videos, thereby narrowing the processing scope and accelerating the processing rate.

[0081] According to an embodiment of the present invention, based on the acquired short video synchronization instruction, by marking the first video timestamp at the end point of the first stock video, obtaining the first storage space for the incremental video to be synchronized and the second storage space for the incremental video of interest, the following steps are also included.

[0082] Based on the acquired short video synchronization instruction, the ID of the incremental video to be synchronized carried in the short video synchronization instruction is written into the incremental synchronization cache through the viewing terminal; based on the ID of the incremental video to be synchronized, the ID information of the incremental video to be synchronized is obtained for locating the incremental video to be synchronized; based on the ID information of the incremental video to be synchronized, the incremental video library containing the incremental video to be synchronized is loaded into the short video sharing platform.

[0083] According to an embodiment of the present invention, the incremental video library may be loaded into the kernel of the short video sharing platform.

[0084] According to an embodiment of the present invention, by loading the incremental video library into the kernel of the short video sharing platform, storage space for incremental videos can be obtained.

[0085] According to an example of the present invention, the incremental synchronization method for short videos may also include the following steps.

[0086] The shared personnel group ID of the video to be shared is written into the incremental synchronization cache through the viewing terminal, wherein the video to be shared indicates the program where the incremental video to be synchronized exists; based on the shared personnel group ID, it is identified whether the viewing personnel group ID of the video being played is the same as the shared personnel group ID, and a first identification record is output; based on the first identification record indicating that it is the same as the shared personnel group ID, in the scenario of video uploading, the video content table of the video to be shared is stored in the incremental synchronization cache through the first video timestamp, wherein the video content type associated with the incremental video to be synchronized exists in the video content table.

[0087] According to an embodiment of the present invention, in the initialization stage, the viewing staff state program writes the shared staff group ID of the video to be shared into the incremental synchronization cache, that is, the viewing staff group to be parsed is written into the incremental synchronization cache. If the viewing staff group ID of the playback program is identified as the shared staff group ID, subsequent processing steps are performed, thereby defining the identification scope and avoiding the problem of resource waste caused by performing processing steps on each program.

[0088] According to an embodiment of the present invention, when it is identified that the viewing group ID of the program being played is the same as the sharing group ID, it can be determined whether the program is a video to be shared. If it is a video to be shared, in the scenario of video uploading, the video content table associated with the video to be shared is stored in the incremental synchronization cache through the first video timestamp.

[0089] According to an embodiment of the present invention, in a scenario where video freeze occurs on a short video sharing platform, obtaining a merged video number associated with the incremental video to be synchronized by marking a second video timestamp at the end point of the second stock video may include the following steps.

[0090] In the scenario where video freeze occurs on the short video sharing platform, by marking the second video timestamp at the end point of the second existing video, it is identified whether the video content type of the video freeze exists in the video content table, and a second identification record is output; according to the second identification record, it is indicated that the video content type exists in the video content table, and the merged video number associated with the incremental video to be synchronized is obtained according to the video content type.

[0091] According to an embodiment of the present invention, the short video sharing platform can identify the video content type. If the video content type is identified as the video content type associated with the incremental video to be processed in the video content table, the merged video number associated with the video content type can be obtained, that is, the merged video number associated with the incremental video to be synchronized. Subsequent processing is performed based on the merged video number, thereby achieving processing of only the specified incremental video, and then achieving synchronization of short videos within the incremental video range, overcoming the scenario in which new problems may be introduced due to synchronization of short videos within the library range in the prior art.

[0092] Figure 3 A flowchart for synchronizing incremental videos to be synchronized according to an embodiment of the present invention is schematically shown.

[0093] like Figure 3 As shown, synchronizing the incremental video to be synchronized may include steps S241 to S242.

[0094] In step S241, according to the association relationship between the incremental video to be synchronized and the incremental video of interest, the incremental video of interest is searched in the incremental synchronization cache by retrieving the incremental video, and the retrieval record is output.

[0095] In step S242, the incremental video ID of interest is found according to the retrieval record, and according to the second storage space stored in the incremental synchronization cache, the deduplication storage space of the merged video incremental video is synchronized to the second storage space to deduplicate the incremental video of interest through the second storage space.

[0096] According to an embodiment of the present invention, according to the retrieval record, it is shown that the incremental video ID of concern is found in the incremental synchronization cache, which can indicate that the incremental video to be synchronized associated with the incremental video of concern needs to be synchronized, and then the deduplication storage space of the merged video incremental video associated with the incremental video to be synchronized can be synchronized to the second storage space, so that the incremental video of concern can be deduplicated based on the second storage space, thereby completing the synchronization process of the incremental video to be synchronized.

[0097] According to an embodiment of the present invention, by synchronizing the deduplication storage space of the merged video incremental video to the second storage space, the incremental video can be deduplicated through the second storage space to achieve synchronization within the incremental video range during program playback, reducing the synchronization range, achieving non-full short video synchronization, and reducing the probability of problems in short video synchronization, and the synchronization method is more convenient, optimizing the synchronization debugging steps. In addition, there is no need to add short video synchronization code to the application, which greatly improves the debugging and development efficiency of the application.

[0098] According to an embodiment of the present invention, the first stock video cutoff point includes a system incremental video upload channel, and the second stock video cutoff point includes a system incremental video de-emphasis.

[0099] According to the embodiment of the present invention, the specific positions of the first stock video cut-off point and the second stock video cut-off point are not limited, and different stock video cut-off points can be selected according to actual needs.

[0100] According to the embodiment of the present invention, the number of video timestamps marked at the end point of the stock video is not limited. Multiple video timestamps can be marked according to the functions to be implemented. Similarly, the same video timestamp can be used to implement multiple functions.

[0101] According to an embodiment of the present invention, in the scenario where different events occur in the step system kernel, the events occurring at the stock video cutoff point and the output records can be monitored or processed according to the byte program. For example, when the first stock video cutoff point includes the system incremental video upload channel, in the scenario where the step system performs video uploading, the video content associated with the video to be shared is recorded in the incremental synchronization cache.

[0102] Figure 4 The structural block diagram of the incremental synchronization system for short videos according to an embodiment of the present invention is schematically shown.

[0103] like Figure 4 As shown, this embodiment is an incremental synchronization system for short videos, which are played on a short video sharing platform, and includes a storage space acquisition unit 610, a merged video number acquisition unit 620, a merged video incremental video acquisition unit 630 and a synchronization unit 640.

[0104] The storage space acquisition unit 610 is used to obtain the first storage space for the incremental video to be synchronized and the second storage space for the incremental video of interest based on the acquired short video synchronization instruction by marking the first video timestamp at the end point of the first stock video, wherein the incremental video of interest is used to locate the incremental video to be synchronized.

[0105] The merged video number acquisition unit 620 is used to obtain the merged video number associated with the incremental video to be synchronized by marking the second video timestamp at the end point of the second stock video in the scenario where video freeze occurs on the short video sharing platform.

[0106] The merged video incremental video acquisition unit 630 is used to obtain the merged video incremental video associated with the incremental video to be synchronized from the preset merged video table according to the merged video number, wherein the merged video incremental video deduplicates the incremental video to be synchronized through the first storage space.

[0107] The synchronization unit 640 is used to synchronize the deduplication storage space of the merged video incremental video to the second storage space according to the association relationship between the incremental video to be synchronized and the incremental video of interest, so as to deduplicate the incremental video of interest through the second storage space.

[0108] According to an embodiment of the present invention, the storage space acquisition unit 610 may include: a load environment acquisition subunit, a merged video acquisition subunit, a search record acquisition subunit, a first storage space acquisition subunit, and a second storage space acquisition subunit.

[0109] The load environment acquisition subunit is used to identify the load environment of the incremental video library where the incremental video exists based on the acquired short video synchronization instruction.

[0110] The merged video acquisition subunit is used to obtain a merged video of the incremental video of interest by marking the first video timestamp at the cutoff point of the first stock video in a scenario where the incremental video library of interest is overloaded, wherein the merged video contains deduplicated storage space associated with the incremental video of interest.

[0111] The retrieval record obtaining subunit is used to retrieve the ID of the incremental video to be synchronized in the incremental synchronization cache according to the target retrieval incremental video, and output the retrieval record.

[0112] The first storage space obtaining subunit is used to obtain the first storage space of the incremental video to be synchronized according to the retrieval record.

[0113] The second storage space obtaining subunit is used to obtain the second storage space of the focus incremental video based on the merged video.

[0114] According to an embodiment of the present invention, the merged video obtaining subunit includes: a plurality of merged video acquisition units and a target incremental video merged video acquisition unit.

[0115] Multiple merged video acquisition units are used to obtain multiple merged videos of all incremental videos existing in the incremental video library of interest by marking the first video timestamp at the cutoff point of the first stock video.

[0116] The target incremental video merging video acquisition unit is used to obtain a merged video of the focus incremental video from multiple merged videos.

[0117] According to an embodiment of the present invention, the incremental synchronization system 600 for short videos may further include: an incremental synchronization cache writing unit, an incremental video ID information collection unit, and an incremental video library load unit.

[0118] The incremental synchronization cache writing unit is used to obtain the incremental video ID to be synchronized carried in the short video synchronization instruction and write it into the incremental synchronization cache through the viewing terminal according to the acquired short video synchronization instruction.

[0119] The focus incremental video ID information acquisition unit is used to obtain the ID information of the focus incremental video for locating the incremental video to be synchronized according to the ID of the incremental video to be synchronized.

[0120] The attention incremental video library loading unit is used to load the attention incremental video library containing the attention incremental videos into the short video sharing platform according to the ID information of the attention incremental videos.

[0121] According to an embodiment of the present invention, the merged video number acquisition unit 620 may include a second identification record acquisition unit and a merged video number acquisition unit.

[0122] The second identification record collection unit is used to identify whether the video content type of the video freeze exists in the video content table by marking the second video timestamp at the end point of the second stock video in the scenario where the video freezes on the short video sharing platform, and output a second identification record.

[0123] The merged video number acquisition unit is used to obtain the merged video number associated with the incremental video to be synchronized according to the video content type, based on the second identification record indicating that the video content type exists in the video content table.

[0124] According to an embodiment of the present invention, the incremental synchronization system 600 for short videos may further include: a storage space storage unit.

[0125] The storage space storage unit is used to store the first storage space of the incremental video to be synchronized and the second storage space of the incremental video of interest in the incremental synchronization cache.

[0126] According to an embodiment of the present invention, the incremental synchronization system 600 for short videos may further include: a viewing person group ID writing unit, a first identification record acquisition unit, and a video content table storage unit.

[0127] The viewing personnel group ID writing unit is used to write the sharing personnel group ID of the video to be shared into the incremental synchronization cache through the viewing terminal, wherein the video to be shared represents the program with the incremental video to be synchronized.

[0128] The first identification record collection unit is used to identify whether the viewing group ID of the video being played is the same as the shared group ID based on the shared group ID, and output a first identification record.

[0129] The video content table storage unit is used to obtain the video content table of the video to be shared in the incremental synchronization cache through the first video timestamp in the scenario of video uploading based on the first identification record indicating that it is the same as the shared personnel group ID, wherein the video content table contains the video content type associated with the incremental video to be synchronized.

[0130] According to an embodiment of the present invention, the synchronization unit 640 may include: a retrieval record obtaining subunit and a to-be-synchronized incremental video synchronization subunit.

[0131] The retrieval record obtaining subunit is used to search for the incremental video ID of the incremental video of interest in the incremental synchronization cache by retrieving the incremental video according to the association relationship between the incremental video to be synchronized and the incremental video of interest, and output the retrieval record.

[0132] The incremental video synchronization subunit to be synchronized is used to find the incremental video ID of interest according to the retrieval record, and synchronize the deduplicated storage space of the merged video incremental video to the second storage space according to the second storage space stored in the incremental synchronization cache, so as to deduplicate the incremental video of interest through the second storage space.

[0133] In the several embodiments provided in the present application, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0134] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. All equivalent structures or equivalent process transformations made through the description and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

[0135] The specific implementation methods of the invention are described in detail above, but they are only examples, and the present application is not limited to the specific implementation methods described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application, and therefore, the equalization, modification, and improvement made without departing from the spirit and principle of the present application should be included in the scope of the present application.

Claims

1. An incremental synchronization method for short videos, played on a short video sharing platform, characterized in that: The method comprises: According to the acquired short video synchronization instruction, by marking the first video timestamp at the cutoff point of the first stock video, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained, wherein the incremental video of interest is used to locate the incremental video to be synchronized; In a scenario where video freeze occurs on the short video sharing platform, a merged video number associated with the incremental video to be synchronized is obtained by marking a second video timestamp at a cutoff point of the second stock video; According to the merged video number, a merged video incremental video associated with the incremental video to be synchronized is obtained from a preset merged video table, wherein the merged video incremental video implements deduplication of the incremental video to be synchronized based on the first storage space; According to the association relationship between the incremental video to be synchronized and the incremental video of interest, the deduplication storage space of the merged video incremental video is synchronized to the second storage space, so as to deduplicate the incremental video of interest based on the second storage space.

2. The incremental synchronization method for short videos according to claim 1, characterized in that: According to the acquired short video synchronization instruction, by marking the first video timestamp at the cutoff point of the first stock video, a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest are obtained, wherein the incremental video of interest is used to locate the incremental video to be synchronized, including: According to the acquired short video synchronization instruction, identifying the load environment of the incremental video library where the incremental video is present; In the scenario where the incremental video library of interest is overloaded, obtaining the first video timestamp based on the above-mentioned marking at the cutoff point of the first stock video, and obtaining a merged video of the incremental video of interest, wherein the merged video contains a deduplication storage space associated with the incremental video of interest; According to the target retrieval incremental video, the incremental video ID to be synchronized is retrieved in the incremental synchronization cache, and the retrieval record is output; Obtaining a first storage space for the incremental video to be synchronized according to the retrieval record; Based on the merged video, a second storage space for the focused incremental video is obtained.

3. The incremental synchronization method for short videos as claimed in claim 2, characterized in that: The step of obtaining the merged video of the incremental video of interest based on the first video timestamp marked at the cutoff point of the first stock video comprises: Based on the first video timestamp marked at the cutoff point of the first stock video, multiple merged videos of all incremental videos in the incremental video library of interest are obtained; A merged video of the focus incremental video is obtained from the multiple merged videos.

4. The incremental synchronization method for short videos according to claim 1, characterized in that: According to the acquired short video synchronization instruction, before obtaining the first storage space of the incremental video to be synchronized and the second storage space of the incremental video of interest by marking the first video timestamp at the cutoff point of the first stock video, the method further includes: According to the acquired short video synchronization instruction, the incremental video ID to be synchronized carried in the short video synchronization instruction is written into the incremental synchronization cache by the viewing terminal; According to the ID of the incremental video to be synchronized, obtaining ID information of the incremental video of interest for locating the incremental video to be synchronized; According to the ID information of the incremental video, the incremental video library containing the incremental video is loaded into the short video sharing platform.

5. The incremental synchronization method for short videos according to claim 1, characterized in that: Also includes: The first storage space of the incremental video to be synchronized and the second storage space of the incremental video of interest are stored in the incremental synchronization cache.

6. The incremental synchronization method for short videos as claimed in claim 5, characterized in that: The step of synchronizing the deduplication storage space of the merged video incremental video to the second storage space based on the association relationship between the incremental video to be synchronized and the incremental video of interest, so as to deduplicate the incremental video of interest based on the second storage space, includes: According to the association relationship between the incremental video to be synchronized and the incremental video of interest, searching for the incremental video of interest ID in the incremental synchronization cache by retrieving the incremental video, and outputting the retrieval record; According to the retrieval record, the incremental video ID of interest is found, and according to the second storage space stored in the incremental synchronization cache, the deduplication storage space of the merged video incremental video is synchronized to the second storage space to deduplicate the incremental video of interest based on the above second storage space.

7. The incremental synchronization method for short videos according to claim 1, characterized in that: Also includes: Writing the group ID of the sharing personnel of the video to be shared into the incremental synchronization cache through the viewing terminal, wherein the video to be shared represents the program of the incremental video to be synchronized; According to the shared person group ID, identifying whether the viewing person group ID of the video being played is the same as the shared person group ID, and outputting a first identification record; According to the first identification record indicating that it is the same as the shared personnel group ID, in the scenario of video uploading, based on the above-mentioned first video timestamp, the video content table of the video to be shared is stored in the incremental synchronization cache, wherein the video content table contains the video content type associated with the incremental video to be synchronized.

8. The incremental synchronization method for short videos as claimed in claim 7, characterized in that: In the scenario where video freeze occurs on the short video sharing platform, obtaining a merged video number associated with the incremental video to be synchronized by marking a second video timestamp at a second stock video cutoff point includes: In a scenario where video freeze occurs on the short video sharing platform, based on the second video timestamp marked at the cutoff point of the second stock video, identifying whether the video content type of the video freeze exists in the video content table, and outputting a second identification record; According to the second identification record, it is indicated that the video content type exists in the video content table, and according to the video content type, a merged video number associated with the incremental video to be synchronized is obtained.

9. The incremental synchronization method for short videos according to claim 1, characterized in that: The first stock video cutoff point includes a system incremental video upload channel, and the second stock video cutoff point includes a system incremental video de-emphasis.

10. An incremental synchronization system for short videos, played on a short video sharing platform, characterized in that: The system comprises: A storage space acquisition unit is used to obtain a first storage space for the incremental video to be synchronized and a second storage space for the incremental video of interest according to the acquired short video synchronization instruction by marking the first video timestamp at the cutoff point of the first stock video, wherein the incremental video of interest is used to locate the incremental video to be synchronized; A merged video number acquisition unit, configured to acquire a merged video number associated with the incremental video to be synchronized by marking a second video timestamp at a cutoff point of the second stock video in a scenario where video freeze occurs on the short video sharing platform; A merged video incremental video acquisition unit, configured to obtain, according to the merged video number, a merged video incremental video associated with the incremental video to be synchronized from a preset merged video table, wherein the merged video incremental video implements deduplication of the incremental video to be synchronized based on the first storage space; A synchronization unit, configured to synchronize the deduplication storage space of the merged video incremental video to the second storage space according to the association relationship between the incremental video to be synchronized and the incremental video of interest, so as to deduplicate the incremental video of interest based on the second storage space; The incremental synchronization system for short videos is used to execute the incremental synchronization method for short videos as described in any one of claims 1-9.