Video delay method, system and device

By buffering and delay reading settings of the received video signals, the delay time of the video signal is dynamically adjusted, and the problem of incomplete synchronization of multiple video signals when displayed at the display terminal is solved, and the effect of full synchronization of video signals or time-based gradient synchronization is achieved.

CN120201140APending Publication Date: 2025-06-24XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311720203.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-14
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the existing video transmission scheme, multiple video signals have incomplete synchronization problems when displayed at the display terminal, and the synchronization effect cannot be adjusted dynamically according to needs, such as synchronization according to a certain time gradient.

Method used

By buffering the received video signal and setting the cached video signal delay reading setting, the delay reading time of the video signal is dynamically set according to the synchronization requirements to realize the synchronous or coherent requirements of the video signal at the display terminal.

Benefits of technology

The complete synchronization of multiple video signals at the display terminal or the gradient synchronization according to the preset time is realized, and the problem of incomplete synchronization of video signals in the prior art is solved, and the delay time is dynamically adjusted to achieve the optimal delay effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201140A_ABST
    Figure CN120201140A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of video transmission, and discloses a video delay method, system and device, and the method comprises the steps: caching a received video signal; carrying out delay reading setting on the cached video signal; the delay reading setting dynamically sets the delay reading time of the video signal according to the synchronization requirement; and after the time delay is finished, reading the video signal and sending the video signal to the display terminal so as to form a picture effect required by the synchronization requirement on the display terminal. According to the time delay method, the time delay effect can be controlled according to requirements, and the time delay time can be dynamically adjusted so that the time delay effect can be optimal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of video transmission, and in particular, to a video delay method, system and device. Background Art

[0002] In existing multi-channel video transmission solutions, usually multiple video signals are output from a signal source to different video processors or signal repeaters, and then reach a display terminal through different transmission links for display.

[0003] Due to hardware differences and errors in the external pixel clock frequency, it is difficult for the clock generated inside the signal source to maintain exactly the same frequency as the external pixel clock. The existing genlock (synchronous phase-locked) synchronization technology compares the internal and external clock frequencies and adjusts the internal clock frequency, which can solve the problem of signal source asynchronization and output pixel signals synchronized with the external pixel clock.

[0004] Although the genlock technology ensures strict synchronization between multiple videos when the signals are output, due to different delays when each video is connected to different devices at the backend or different lengths of the signal transmission links, there will still be differences in the arrival times of the signals, resulting in an incomplete synchronization problem when finally displayed on the display terminal. In scenarios where multiple videos need to be synchronously displayed, the incomplete synchronization will cause the finally displayed picture to be split. In addition, the existing video transmission solution cannot dynamically adjust the synchronization effect according to requirements. For example, if synchronization is required according to a certain time gradient, the existing solution cannot achieve this.

[0005] In view of this, how to overcome the defects of the existing technology and solve the problems of the existing technology is a difficult problem to be solved in this technical field. Summary of the Invention

[0006] Embodiments of the present application provide a video delay method, system and device, which can solve the problem of incomplete synchronization when video signals are displayed on a display terminal and the problem of inability to synchronize according to a certain time gradient.

[0007] The objectives of the embodiments of the present invention are achieved through the following technical solutions:

[0008] To solve the above technical problems, in a first aspect, an embodiment of the present invention provides a video delay method, including:

[0009] Caching the received video signals;

[0010] Performing a delay reading setting on the cached video signals; the delay reading setting dynamically sets the delay reading time of the video signals according to synchronization requirements;

[0011] After the delay is completed, the video signal is read and sent to the display terminal to form the picture effect required by the synchronization requirement on the display terminal.

[0012] In some embodiments, the delay reading setting for the cached video signal specifically includes:

[0013] When initially performing the delay reading setting, estimate the initial estimated arrival times of different video signals at the display terminal;

[0014] According to the initial estimated arrival times of different video signals at the display terminal, perform delay reading settings on different video signals to obtain the final estimated arrival times of different video signals at the display terminal after delay, and make the final estimated arrival times of all video signals at the display terminal after delay the same within the corresponding cycle.

[0015] In some embodiments, the performing delay reading settings on different video signals according to the initial estimated arrival times of different video signals at the display terminal specifically includes:

[0016] Obtain the initial estimated arrival times of different video signals at the display terminal;

[0017] Select the latest value of the initial estimated arrival time of the video signal at the display terminal as the standard value of the final estimated time;

[0018] Perform delay reading settings on each received video signal so that the final estimated arrival times of all video signals at the display terminal after delay within the corresponding cycle are the same as the standard value of the final estimated time.

[0019] In some embodiments, the performing delay reading settings on different video signals according to the initial estimated arrival times of different video signals at the display terminal specifically includes:

[0020] Obtain the initial estimated arrival times of different video signals at the display terminal;

[0021] Set the standard value of the final estimated time so that the standard value of the final estimated time is later than the initial estimated arrival times of all video signals at the display terminal within the corresponding cycle;

[0022] Perform delay reading settings on each video signal so that the final estimated arrival times of all video signals at the display terminal after delay within the corresponding cycle are the same as the set standard value of the final estimated time.

[0023] In some embodiments, the delay reading setting for the cached video signal specifically includes:

[0024] After different video signals arrive at the display terminal, if the pictures displayed by the different video signals on the display terminal are not synchronized, the subsequent buffered video signals are set for delayed reading according to the degree of picture asynchronization.

[0025] In some embodiments, the setting of delayed reading for the subsequent buffered video signals according to the degree of picture asynchronization specifically includes:

[0026] Obtain the actual arrival times of different video signals at the display terminal;

[0027] Select the latest value of the actual arrival time of the video signal at the display terminal as the standard value for delayed reading calculation;

[0028] Calculate the delayed reading time required for each video signal according to the standard value of delayed reading calculation, and set the corresponding delayed reading time for each video signal, so that the arrival times of all video signals at the display terminal after delay in the corresponding subsequent buffer cycles are the same.

[0029] In some embodiments, the setting of delayed reading for the subsequent buffered video signals according to the degree of picture asynchronization specifically includes:

[0030] Obtain the actual arrival times of different video signals at the display terminal;

[0031] Set the standard value for delayed reading calculation, so that the standard value for delayed reading calculation is later than the actual arrival times of all video signals at the display terminal in the corresponding cycle;

[0032] Calculate the delayed reading time required for each video signal according to the standard value of delayed reading calculation, and set the corresponding delayed reading time for each video signal, so that the arrival times of all video signals at the display terminal after delay in the corresponding subsequent buffer cycles are the same.

[0033] In some embodiments, the setting of delayed reading for the buffered video signals specifically includes:

[0034] When initially setting the delayed reading, estimate the initial expected arrival times of different video signals at the display terminal;

[0035] Perform delayed reading setting for different video signals according to the initial expected arrival times of different video signals at the display terminal, so as to obtain the final expected arrival times of different video signals at the display terminal after delay, and make the final expected arrival times of all video signals at the display terminal after delay in the corresponding cycle arranged in a preset time gradient; wherein, the preset time gradient is set according to the preset sequence and video length of different video signals.

[0036] In some embodiments, the step of performing delay reading settings on different video signals according to the initial estimated arrival times of the different video signals at the display terminal specifically includes:

[0037] Obtaining the initial estimated arrival times of the different video signals at the display terminal;

[0038] Obtaining the preset order of precedence and the preset time gradient of the different video signals;

[0039] Using the initial estimated arrival time of the first video signal in the preset order of precedence at the display terminal as the standard value of the final estimated time, and starting from the standard value of the final estimated time, calculating the final estimated arrival times of the subsequent respective video signals at the display terminal in the corresponding subsequent cycles according to the preset order of precedence and the preset time gradient;

[0040] Performing delay reading settings on the respective video signals according to the calculated final estimated times, so that all the video signals in the corresponding cycle reach the display terminal according to the preset order of precedence and the preset time gradient.

[0041] In some embodiments, the step of performing delay reading settings on different video signals according to the initial estimated arrival times of the different video signals at the display terminal specifically includes:

[0042] Obtaining the initial estimated arrival times of the different video signals at the display terminal;

[0043] Obtaining the preset order of precedence and the preset time gradient of the different video signals;

[0044] Setting the standard value of the final estimated time, such that the standard value of the final estimated time is later than the initial estimated arrival times of all the video signals in the corresponding cycle at the display terminal, and starting from the standard value of the final estimated time, calculating the final estimated arrival times of the respective video signals in the corresponding cycle at the display terminal according to the preset order of precedence and the preset time gradient;

[0045] Performing delay reading settings on the respective video signals according to the calculated final estimated times, so that all the video signals in the corresponding cycle reach the display terminal according to the preset order of precedence and the preset time gradient.

[0046] In some embodiments, the step of performing delay reading settings on the buffered video signals specifically includes:

[0047] After the different video signals reach the display terminal, if the pictures of the different video signals displayed on the display terminal are not coherent, then performing delay reading settings on the subsequent buffered video signals according to the degree of incoherence of the pictures.

[0048] In some embodiments, the step of performing delay reading settings on the subsequent buffered video signals according to the degree of incoherence of the pictures specifically includes:

[0049] Obtain the actual arrival times of different video signals at the display terminal;

[0050] Obtain the preset order and preset time gradient of different video signals;

[0051] Use the actual arrival time of the earliest video signal in the preset order at the display terminal as the standard value for delay reading calculation. Starting from the standard value for delay reading calculation, calculate the delay reading times that need to be set for each subsequent video signal in the corresponding cycle according to the preset order and preset time gradient;

[0052] Perform delay reading settings on each video signal according to the calculated delay reading times, so that all video signals in the subsequent corresponding cycle cached arrive at the display terminal according to the preset order and preset time gradient.

[0053] In some embodiments, the performing delay reading settings on the subsequently cached video signals according to the degree of picture incoherence specifically includes:

[0054] Obtain the actual arrival times of different video signals at the display terminal;

[0055] Obtain the preset order and preset time gradient of different video signals;

[0056] Set the standard value for delay reading calculation, making the standard value for delay reading calculation later than the actual arrival times of all video signals in the corresponding cycle at the display terminal. Starting from the standard value for delay reading calculation, calculate the delay reading times that need to be set for each video signal according to the preset order and preset time gradient;

[0057] Perform delay reading settings on each video signal according to the calculated delay reading times, so that all video signals in the subsequent corresponding cycle cached arrive at the display terminal according to the preset order and preset time gradient.

[0058] In some embodiments, the performing delay reading settings on the cached video signals specifically includes:

[0059] When initially performing delay reading settings, set a unified delay reading time for different video signals.

[0060] In a second aspect, an embodiment of the present invention provides a video delay method, including:

[0061] Collect various information required for delay settings, including one or more of the historical delay conditions of each transmission link, the times when each video signal is written into the storage space, the actual arrival times of each video signal at the display terminal, the preset order of each video signal, and the preset time gradient;

[0062] Calculate the delay time required for each video signal according to the collected information and corresponding requirements, and send it to the corresponding delay module for execution.

[0063] In a third aspect, an embodiment of the present invention provides a video delay system for implementing the video delay method as described in the first aspect, including a signal source, a delay device, a user interface, and a display terminal. The signal source includes multiple different video signals, and each video signal is sent to a corresponding delay device. The delay device performs a delay reading setting on the video signal through the user interface. The delay reading setting dynamically sets the delay reading time of the video signal according to the synchronization requirement. After the delay is completed, the delay device sends the corresponding video signal to the display terminal through a transmission link.

[0064] In some embodiments, the delay device includes a write control module, a storage space, a delay module, and a read control module. The delay module is connected to the user interface, where:

[0065] The write control module is used to receive the video signal and cache the video signal in the storage space;

[0066] The delay module is used to perform a delay reading setting on the cached video signal according to the requirements provided by the user interface, so that the video signal meets the synchronization or coherence requirements at the display terminal;

[0067] The read control module is used to read the video signal in the storage space and send it to the display terminal after the delay of the delay module is completed.

[0068] In some embodiments, the specific delay reading setting in the delay module includes:

[0069] When performing the delay reading setting for the first time, the delay modules of all delay devices set the same delay reading time, or the delay modules of all delay devices respectively set the delay reading time according to the initial estimated time when the video signal is expected to reach the display terminal, so that the video signal meets the synchronization or coherence requirements when it reaches the display terminal;

[0070] When performing the delay reading setting subsequently, the delay modules of all delay devices respectively set the delay reading time according to the actual time when the previous video signal reached the display terminal, so that the video signal meets the synchronization or coherence requirements when it reaches the display terminal.

[0071] Fourthly, an embodiment of the present invention provides a video delay device, including at least one processor and a memory. The at least one processor and the memory are connected through a data bus. The memory stores instructions executable by the at least one processor. After being executed by the processor, the instructions are used to complete the video delay method as described in the first aspect.

[0072] Compared with the prior art, the beneficial effects of the present invention are as follows: Different from the prior art, an embodiment of the present invention provides a video delay method, system and device. The method caches the received video signal, sets the delayed reading of the cached video signal. After the delay is completed, the video signal is read and sent to the display terminal. By setting the delayed reading of the cached video signal, the delay time for multiple video signals to reach the display terminal can be controlled according to requirements, and thus the desired delay effect can be obtained. For example, if it is desired that multiple video signals reach the display terminal completely synchronously at the same moment, then the corresponding completely synchronous delayed reading setting is performed on the cached video signal so that the multiple video signals reach the display terminal at the same moment; if it is desired that multiple video signals reach the display terminal synchronously at a certain time interval, then the corresponding time interval delayed reading setting is performed on the cached video signal so that the multiple video signals reach the display terminal at the preset moment gradient. The delay method of the present invention can control the delay effect according to requirements and can dynamically adjust the delay time to make the delay effect optimal. Description of the Drawings

[0073] In one or more embodiments, exemplary illustrations are provided through the pictures in the corresponding drawings. These exemplary illustrations do not constitute limitations on the embodiments. Elements / modules and steps with the same reference numerals in the drawings represent similar elements / modules and steps. Unless otherwise stated, the drawings in the drawings do not constitute a scale limitation.

[0074] Figure 1 It is a schematic flowchart of a video delay method provided by Embodiment 1 of the present invention;

[0075] Figure 2 It is a schematic flowchart of the first-time delayed reading setting in the completely synchronous scenario provided by Embodiment 2 of the present invention;

[0076] Figure 3 It is a schematic flowchart of the first method for setting the delayed reading of different video signals according to the initial estimated moments when different video signals reach the display terminal in the completely synchronous scenario provided by Embodiment 2 of the present invention;

[0077] Figure 4It is a schematic flowchart of the second method for setting delayed reading of different video signals according to the initial estimated arrival times of different video signals at the display terminal in the fully synchronous scenario provided by the second embodiment of the present invention;

[0078] Figure 5 It is a schematic flowchart of the first method for setting delayed reading of subsequent buffered video signals according to the degree of picture asynchrony in the fully synchronous scenario provided by the second embodiment of the present invention;

[0079] Figure 6 It is a schematic flowchart of the second method for setting delayed reading of subsequent buffered video signals according to the degree of picture asynchrony in the fully synchronous scenario provided by the second embodiment of the present invention;

[0080] Figure 7 It is a schematic flowchart of the process for initially setting delayed reading in the moment gradient synchronous scenario provided by the third embodiment of the present invention;

[0081] Figure 8 It is a schematic flowchart of the first method for setting delayed reading of different video signals according to the initial estimated arrival times of different video signals at the display terminal in the moment gradient synchronous scenario provided by the third embodiment of the present invention;

[0082] Figure 9 It is a schematic flowchart of the second method for setting delayed reading of different video signals according to the initial estimated arrival times of different video signals at the display terminal in the moment gradient synchronous scenario provided by the third embodiment of the present invention;

[0083] Figure 10 It is a schematic flowchart of the first method for setting delayed reading of subsequent buffered video signals according to the degree of picture incoherence in the moment gradient synchronous scenario provided by the third embodiment of the present invention;

[0084] Figure 11 It is a schematic flowchart of the second method for setting delayed reading of subsequent buffered video signals according to the degree of picture incoherence in the moment gradient synchronous scenario provided by the third embodiment of the present invention;

[0085] Figure 12 It is a block diagram of a multi-channel video transmission solution provided by the fourth embodiment of the present invention;

[0086] Figure 13 It is a block diagram of a video delay system provided by the fourth embodiment of the present invention;

[0087] Figure 14 It is a schematic structural diagram of a video delay device provided by the fifth embodiment of the present invention. Detailed implementation manners

[0088] The present invention will be described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made. These all belong to the protection scope of the present invention.

[0089] In order to make the objectives, technical solutions and advantages of the present application more clear, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0090] It should be noted that if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present application. In addition, although functional module division is carried out in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed differently from the module division in the device or the order in the flowchart.

[0091] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs. The terms used in this specification in the description of the present invention are only for the purpose of describing specific embodiments and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0092] In order to solve the problem that due to different delays when each video is accessed to different devices at the backend, or different lengths of the signal transmission link, there will still be differences in the arrival time of the signals, resulting in an out-of-sync problem when finally displayed on the display terminal, the embodiments of the present invention provide a video delay method, system and device. This method caches the received video signals, sets the delayed reading of the cached video signals, and after the delay is completed, reads the video signals and sends them to the display terminal. By setting the delayed reading of the cached video signals, the delay time for multiple video signals to reach the display terminal can be controlled according to requirements, and thus the desired delay effect can be obtained.

[0093] Specifically, the embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0094] Embodiment 1

[0095] The embodiments of the present invention provide a video delay method. Please refer to Figure 1 , which shows the flow of a video delay method provided by the embodiments of the present invention. This method can be applied in a video processor or a signal repeater. The video delay method includes but is not limited to the following steps:

[0096] Step S100: Cache the received video signal. This step can be achieved by setting a write control module and a storage space in a video processor or a signal repeater, and using the write control module to write the video signal sent by the signal source into the storage space for caching. For multiple video signals sent by the signal source, there are also corresponding multiple video processors or signal repeaters, and each video processor or signal repeater is responsible for processing one video signal.

[0097] Step S200: Set the delay reading of the cached video signal; the delay reading setting dynamically sets the delay reading time of the video signal according to the synchronization requirement. In this step, a delay module can be set in each video processor or signal repeater to set the delay reading of the cached video signal. This delay module can be connected to a user interface, enabling the user to dynamically set the delay reading time of the delay module according to the usage requirement to control the delay of each video signal, so as to achieve the effect of complete synchronization at the same time or synchronization according to time gradients or other more requirements. In this step, dynamic setting means that the user can dynamically adjust the delay reading time according to the change of requirements. For example, the initial delay reading time is set to 2 seconds, and then it is found that a 2-second delay is still not enough and needs to be adjusted to 3 seconds, then the corresponding setting can be made to make the delay reading time 3 seconds. Similarly, any subsequent required changes can be dynamically set.

[0098] Step S300: After the delay is completed, read the video signal and send it to the display terminal to form the picture effect required by the synchronization requirement on the display terminal. For this step, when the delay reading time set according to the requirement is reached, the cached video signal can be read through the read control module and sent to the display terminal. After each video processor or signal repeater reaches the delay reading time and sends the video signal to the display terminal, the picture displayed on the display terminal will naturally be the synchronization effect required by the user.

[0099] In summary, in this embodiment, by setting the delay reading of the cached video signal, the delay time for multiple video signals to reach the display terminal can be controlled according to the requirement, and then the desired delay effect can be obtained. For example, if it is desired that multiple video signals reach the display terminal completely synchronously at the same moment, then the corresponding completely synchronous delay reading setting is made for the cached video signals so that the multiple video signals reach the display terminal at the same moment; if it is desired that multiple video signals reach the display terminal synchronously at a certain time interval, then the corresponding time interval delay reading setting is made for the cached video signals so that the multiple video signals reach the display terminal at the preset time gradient.

[0100] The above description is a holistic description of the video delay method described in this embodiment. It should be noted that the focus of this embodiment is on how to set the delay reading of the cached video signal. The following will be an extended description through more specific embodiments.

[0101] Embodiment 2

[0102] Taking a specific scenario with full synchronization requirements as an example, this embodiment will elaborate on step S200 (setting the delay reading of the cached video signal) in Embodiment 1 in detail.

[0103] Scenario example: For example, during surveillance shooting, the same object may be shot from multiple angles, or multiple locations may be shot separately. And the surveillance personnel need to view these videos uniformly on the display terminal. In such a scenario, multiple surveillance videos are in a split-screen display state. If the video synchronization effect is not good, it may affect the judgment of the surveillance personnel and lead to wrong decisions. Another example is the real-time stitching display scenario of some panoramic videos or large-area videos. First, it is also necessary for the videos captured by multiple cameras to reach the stitching end simultaneously and synchronously. Only in this way can the real-time stitching show the correct panoramic or large-area picture. If it cannot be guaranteed that they reach the stitching end completely synchronously, then the finally stitched picture will be fragmented and the accuracy cannot be guaranteed.

[0104] For the above scenarios and similar scenarios, there are the following requirements: It is necessary to ensure that multiple video signals reach the display terminal completely synchronously at the same moment. To meet this requirement, the specific delay reading setting of the cached video signal in this embodiment can be divided into the initial delay reading setting and the subsequent dynamic delay reading setting.

[0105] As Figure 2 shown, in a specific implementation manner of this preferred embodiment, when setting the delay reading of the cached video signal, the initial delay reading setting can specifically include the following steps:

[0106] Step S211: When initially performing the delay reading setting, estimate the initial expected arrival times of different video signals at the display terminal. In this step, the delay of each transmission link can be estimated in advance to obtain the initial expected arrival times of different video signals at the display terminal. For example, there are three video signals, Video Signal 1, Video Signal 2, and Video Signal 3. Video Signal 1 comes from the signal source to Delay Device 1 (the delay device described in this embodiment is a video processor or a signal repeater), and then comes from Delay Device 1 to the display terminal through Transmission Link 1; Video Signal 2 comes from the signal source to Delay Device 2, and then comes from Delay Device 2 to the display terminal through Transmission Link 2; Video Signal 3 comes from the signal source to Delay Device 3, and then comes from Delay Device 3 to the display terminal through Transmission Link 3. In this embodiment, it is assumed that Video Signal 1, Video Signal 2, and Video Signal 3 arrive at the delay device at the same time, and only the delay compensation from the delay device to the display terminal is discussed. It should be noted that even if the arrival times of different video signals at the delay device are different, the principle of delay compensation is the same. Taking the delay compensation from the delay device to the display terminal as an example: Video Signal 1 comes to the display terminal through Transmission Link 1. We can estimate its delay time based on the historical delay of Transmission Link 1 or the various attributes of Transmission Link 1 itself, and then obtain the initial expected arrival time A of Video Signal 1 at the display terminal. Similarly, we can also obtain the initial expected arrival time B of Video Signal 2 at the display terminal and the initial expected arrival time C of Video Signal 3 at the display terminal. Since the delays of Transmission Link 1, Transmission Link 2, and Transmission Link 3 are different, the finally obtained initial expected arrival times A, B, and C are also different.

[0107] Step S212: Perform delay reading settings on different video signals according to the initial expected arrival times of different video signals at the display terminal, so as to obtain the final expected arrival times of different video signals at the display terminal after delay, and make the final expected arrival times of all video signals at the display terminal after delay the same within the corresponding period. In this step, according to the different initial expected arrival times of different video signals at the display terminal, delay compensation is performed on the transmission of each video signal, so that the final expected arrival times of all video signals expected to reach the display terminal are the same, that is, the complete synchronization compensation is completed. Taking Video Signal 1, Video Signal 2, and Video Signal 3 above as an example, when the initial expected arrival times A, B, and C are different, delay reading settings are performed on the three respectively, so that after adding their respective delays to the initial expected arrival times A, B, and C, they are finally the same.

[0108] Such as Figure 3As shown, in a specific implementation manner of this preferred embodiment, in step S212, setting the delayed reading of different video signals according to the initial estimated arrival times of different video signals at the display terminal may specifically include the following steps:

[0109] Step S2121: Obtain the initial estimated arrival times of different video signals at the display terminal. The initial estimated arrival times obtained in this step are the initial estimated time A, initial estimated time B, and initial estimated time C estimated in step S211.

[0110] Step S2122: Select the latest value among the initial estimated arrival times of the video signals at the display terminal as the standard value of the final estimated time. For example, if the latest value among the initial estimated time A, initial estimated time B, and initial estimated time C is the initial estimated time A, then use the initial estimated time A as the standard value of the final estimated time.

[0111] Step S2123: Set the delayed reading of each received video signal so that the final estimated arrival times of all video signals at the display terminal after delay in the corresponding period are the same as the standard value of the final estimated time. For example, if the initial estimated time A is used as the standard value of the final estimated time, then set the delayed reading of the video signals 2 and 3 corresponding to the initial estimated time B and initial estimated time C respectively. Assume that the initial estimated time B is 1 second earlier than the initial estimated time A, then set a 1 - second delay for the video signal 2 so that the final estimated arrival time of the video signal 2 is the same as the initial estimated time A; similarly, assume that the initial estimated time C is 0.5 second earlier than the initial estimated time A, then set a 0.5 - second delay for the video signal 3 so that the final estimated arrival time of the video signal 3 is the same as the initial estimated time A. In this way, finally, it is expected that the video signals 1, 2, and 3 will all arrive at the display terminal at the initial estimated time A, that is, the standard value of the final estimated time, which means it is expected to achieve complete simultaneous synchronization.

[0112] As Figure 4 shown, in another specific implementation manner of this preferred embodiment, in step S212, setting the delayed reading of different video signals according to the initial estimated arrival times of different video signals at the display terminal may specifically include the following steps:

[0113] Step S2124: Obtain the initial estimated arrival times of different video signals at the display terminal. The initial estimated arrival times obtained in this step are the initial estimated time A, initial estimated time B, and initial estimated time C estimated in step S211.

[0114] Step S2125: Set the standard value of the final estimated time so that the standard value of the final estimated time is later than the initial estimated times of all video signals arriving at the display terminal within the corresponding period. For example, if the latest value among the initial estimated time A, the initial estimated time B, and the initial estimated time C is the initial estimated time A, then set an estimated time D that is later than the initial estimated time A as the standard value of the final estimated time.

[0115] Step S2126: Perform delay reading settings for each video signal so that the final estimated times of all video signals arriving at the display terminal after delay within the corresponding period are the same as the set standard value of the final estimated time. For example, if the estimated time D is set as the standard value of the final estimated time, then perform delay reading settings for the video signal 1, video signal 2, and video signal 3 corresponding to the initial estimated time A, the initial estimated time B, and the initial estimated time C respectively. Assume that the initial estimated time A is 1 second earlier than the estimated time D, then set a 1-second delay for the video signal 1 so that the final estimated time of the video signal 1 is the same as the estimated time D; similarly, assume that the initial estimated time B is 0.8 seconds earlier than the estimated time D, then set a 0.8-second delay for the video signal 2 so that the final estimated time of the video signal 2 is the same as the estimated time D; similarly, assume that the initial estimated time C is 0.5 seconds earlier than the estimated time D, then set a 0.5-second delay for the video signal 3 so that the final estimated time of the video signal 3 is the same as the estimated time D. In this way, finally, the video signal 1, video signal 2, and video signal 3 are all expected to arrive at the display terminal at the estimated time D, that is, the standard value of the final estimated time, which means that complete simultaneous synchronization is expected to be achieved.

[0116] Of course, the above initial delay reading setting is performed by estimating the delay time of the transmission link. In the actual use process, this estimated delay time may not be completely accurate, and as the use time of the transmission link increases, its delay time may also change slightly. Based on these possible changes, in this embodiment, after the initial delay reading setting, a subsequent dynamic delay reading setting scheme is also provided to make the subsequent synchronization more accurate. In addition, since subsequent dynamic delay reading settings will be performed, if there are not many requirements for the initial delay reading setting, or if the initial delay reading setting is only for testing the specific delay of the transmission link, it is also possible to set a unified delay reading time for different video signals during the initial delay reading setting, such as reading without delay, that is, delaying 0 seconds, or delaying 1 second for reading, and directly testing the delay situation of the transmission link through the situation of subsequent video signals arriving at the display terminal.

[0117] In a specific implementation manner of the present preferred embodiment, when performing a delay reading setting on the cached video signal, the subsequent dynamic delay reading setting specifically includes: after different video signals reach the display terminal, if the pictures displayed by different video signals on the display terminal are not synchronized, the delay reading setting of the subsequent cached video signals is performed according to the degree of picture asynchronization. The degree of asynchronization in this embodiment refers to the degree of deviation from complete simultaneous synchronization, which is obtained from the time difference between the arrival times of each video signal at the display terminal.

[0118] As Figure 5 shown, in a specific implementation manner of the present preferred embodiment, performing a delay reading setting on the subsequent cached video signals according to the degree of picture asynchronization may specifically include the following steps:

[0119] Step S221: Obtain the actual time when different video signals reach the display terminal. The actual time when the video signal reaches the display terminal obtained in this step preferably refers to the actual time of the most recent previous video signal reaching the display terminal. For example, if the previous time was the initial delay reading setting, then for the current dynamic delay reading setting, it is to obtain the actual time E when video signal 1 finally reaches the display terminal, the actual time F when video signal 2 finally reaches the display terminal, and the actual time G when video signal 3 finally reaches the display terminal after the initial delay reading setting.

[0120] Step S222: Select the latest value of the actual time when the video signal reaches the display terminal as the standard value for delay reading calculation. For example, among the actual time E when video signal 1 finally reaches the display terminal, the actual time F when video signal 2 finally reaches the display terminal, and the actual time G when video signal 3 finally reaches the display terminal, if the actual time E when video signal 1 finally reaches the display terminal is the latest, then select the actual time E as the standard value for delay reading calculation to perform subsequent delay reading calculations.

[0121] Step S223: Calculate the delay reading time to be set for each video signal according to the standard value calculated by the delay reading, and set the corresponding delay reading time for each video signal, so that the moments when all video signals arrive at the display terminal after delay are the same within the corresponding cycle of subsequent caching. For example, if the actual moment E is used as the standard value for delay reading calculation, then calculate the delay reading time for video signal 2 and video signal 3 corresponding to the actual moment F and the actual moment G respectively. Suppose the actual moment F is 1 second earlier than the actual moment E, then set a delay of 1 second for the subsequent video signals of video signal 2, so that the moment when the subsequent video signal 2 finally arrives at the display terminal is the same as the moment when the subsequent video signal 1 arrives at the display terminal; similarly, suppose the actual moment G is 0.5 seconds earlier than the actual moment E, then set a delay of 0.5 seconds for the subsequent video signals of video signal 3, so that the moment when the subsequent video signal 3 finally arrives at the display terminal is the same as the moment when the subsequent video signal 1 arrives at the display terminal. In this way, the subsequent video signal 1, video signal 2, and video signal 3 will all arrive at the display terminal at the same moment, that is, dynamic full simultaneous synchronization is achieved.

[0122] As Figure 6 shown, in another specific implementation manner of this preferred embodiment, the delay reading setting for the subsequent cached video signals according to the degree of picture asynchrony may specifically include the following steps:

[0123] Step S231: Obtain the actual moments when different video signals arrive at the display terminal. The actual moments when the video signals obtained in this step arrive at the display terminal preferably refer to the actual moments of the previous closest time when the video signals arrive at the display terminal. For example, if the previous time was the initial delay reading setting, then for the current dynamic delay reading setting, obtain the actual moment E when video signal 1 finally arrives at the display terminal, the actual moment F when video signal 2 finally arrives at the display terminal, and the actual moment G when video signal 3 finally arrives at the display terminal after the initial delay reading setting.

[0124] Step S232: Set the standard value for delay reading calculation so that the standard value for delay reading calculation is later than the actual moments when all video signals arrive at the display terminal within the corresponding cycle. For example, set the standard value for delay reading calculation as moment H, and moment H is later than the actual moment E, the actual moment F, and the actual moment G.

[0125] Step S233: Calculate the delay reading time to be set for each video signal according to the standard value calculated by the delay reading, and set the corresponding delay reading time for each video signal, so that the arrival times of all video signals at the display terminal after delay are the same within the corresponding cycle of the subsequent cache. For example, if time H is used as the standard value for delay reading calculation, then calculate the required delay reading time for video signal 1, video signal 2, and video signal 3 corresponding to actual time E, actual time F, and actual time G respectively. Assume that actual time E is 1 second earlier than time H, then set a 1-second delay for the subsequent video signals of video signal 1; similarly, assume that actual time F is 0.8 seconds earlier than time H, then set a 0.8-second delay for the subsequent video signals of video signal 2, so that the arrival time of the subsequent video signal 2 at the display terminal is the same as that of the subsequent video signal 1; similarly, assume that actual time G is 0.5 seconds earlier than time H, then set a 0.5-second delay for the subsequent video signals of video signal 3, so that the arrival time of the subsequent video signal 3 at the display terminal is the same as that of the subsequent video signal 1. In this way, the subsequent video signal 1, video signal 2, and video signal 3 will all arrive at the display terminal at the same time, that is, dynamic full simultaneous synchronization is achieved.

[0126] Embodiment III

[0127] In this embodiment, taking the specific scenario of synchronous demand according to time gradient as an example, step S200 (delay reading setting for cached video signals) in Embodiment I will be described in detail.

[0128] Scenario example: For example, to play a relatively long video in real time on a display terminal, and the playback of this long video is formed by shooting multiple short videos and playing them in a certain order. In this case, it is necessary to control the short videos to be displayed on the display terminal according to a certain time gradient to achieve smooth playback, otherwise it is easy to generate overlapping parts or blank parts, which does not meet the requirements of this scenario.

[0129] For the above scenario and similar scenarios, there are the following requirements: It is necessary to ensure that multiple video signals reach the display terminal in a certain order and at a certain time gradient. To meet this requirement, the delay reading setting for the cached video signals in this embodiment can be specifically divided into the initial delay reading setting and the subsequent dynamic delay reading setting.

[0130] As Figure 7 shown, in a specific implementation manner of this preferred embodiment, when setting the delay reading for the cached video signals, the initial delay reading setting can specifically include the following steps:

[0131] Step S241: When initially setting the delay reading, estimate the initial expected arrival times of different video signals at the display terminal. In this step, the delay of each transmission link can be estimated in advance to obtain the initial expected arrival times of different video signals at the display terminal. For example, there are three video signals, Video Signal 4, Video Signal 5, and Video Signal 6. Taking the delay compensation from the delay device to the display terminal as an example: Video Signal 4 arrives at the display terminal through Transmission Link 4. We can estimate its delay time based on the historical delay of Transmission Link 4 or the various attributes of Transmission Link 4 itself, and then obtain the initial expected arrival time a of Video Signal 4 at the display terminal. Similarly, we can obtain the initial expected arrival time b of Video Signal 5 at the display terminal through Transmission Link 5 and the initial expected arrival time c of Video Signal 6 at the display terminal through Transmission Link 6. Since the delays of Transmission Link 4, Transmission Link 5, and Transmission Link 6 are different, the finally obtained initial expected arrival times a, b, and c are also different.

[0132] Step S242: Perform delay reading settings on different video signals according to the initial expected arrival times of different video signals at the display terminal, so as to obtain the final expected arrival times of different video signals at the display terminal after delay, and make the final expected arrival times of all video signals at the display terminal after delay in a corresponding period arranged according to a preset time gradient; wherein, the preset time gradient is set according to the preset sequence and video length of different video signals. In this step, according to the different initial expected arrival times of different video signals at the display terminal, delay compensation is performed on the transmission of each video signal, so that the final expected arrival times of each video signal at the display terminal are arranged according to the preset time gradient, that is, the compensation for synchronization according to the time gradient is completed. Still taking Video Signal 4, Video Signal 5, and Video Signal 6 as an example above, when the initial expected arrival times a, b, and c are different, delay reading settings are performed on the three respectively, so that after adding their respective delays to the initial expected arrival times a, b, and c, they arrive at the display terminal according to the preset time gradient.

[0133] As Figure 8 shown, in a specific implementation manner of this preferred embodiment, in Step S242, performing delay reading settings on different video signals according to the initial expected arrival times of different video signals at the display terminal may include the following steps:

[0134] Step S2421: Obtain the initial expected arrival times of different video signals at the display terminal. The initial expected arrival times obtained in this step are the initial expected arrival times a, b, and c estimated in Step S241.

[0135] Step S2422: Obtain the preset sequence order and preset time gradient of different video signals. Both the preset sequence order and preset time gradient obtained in this step are pre-designed. For example, a long video to be played on a display terminal consists of three short videos, namely video signal 4, video signal 5, and video signal 6. The sequence order needs to be that video signal 4 is played first, video signal 5 is played sequentially, and video signal 6 is played last. The time gradient is set according to the lengths of video signal 4, video signal 5, and video signal 6. For example, if all three videos are two seconds long, then the time gradient is two seconds, so that after video signal 4 finishes playing, video signal 5 starts playing immediately, and after video signal 5 finishes playing, video signal 6 starts playing immediately. If the lengths of video signal 4, video signal 5, and video signal 6 are inconsistent, then the time gradient between the previous video signal and the next video signal is set according to the duration of the previous video signal. For example, if video signal 4 is one second, video signal 5 is two seconds, and video signal 6 is three seconds, then the time gradient between video signal 4 and video signal 5 is set to one second, and the time gradient between video signal 5 and video signal 6 is set to two seconds. The subsequent description will be based on this example where the video signal lengths are inconsistent. It should be noted that the initial estimated time obtained in the previous step and the preset sequence order and preset time gradient obtained in this step are all values of this batch of video signals.

[0136] Step S2423: Use the initial estimated time when the first video signal in the preset sequence order reaches the display terminal as the standard value of the final estimated time. Starting from the standard value of the final estimated time, calculate the final estimated time when each subsequent video signal reaches the display terminal within the corresponding cycle according to the preset sequence order and preset time gradient. For example, if the first video signal in the preset sequence order is video signal 4, use its initial estimated time a when it reaches the display terminal as the standard value of the final estimated time; video signal 5 is the next one in the preset sequence order, and the time gradient between video signal 4 and video signal 5 is set to one second, then the final estimated time when video signal 5 reaches the display terminal is the initial estimated time a plus one second; video signal 6 is the next one after that in the preset sequence order, and the time gradient between video signal 5 and video signal 6 is set to two seconds, then the final estimated time when video signal 6 reaches the display terminal is the initial estimated time a plus one second plus two seconds.

[0137] Step S2424: Set the delay reading of each video signal according to the calculated final estimated time, so that all video signals within the corresponding period reach the display terminal in the preset order and at the preset time gradient. The initial estimated time a of video signal 4 is used as the standard value of the final estimated time, so the delay reading time for it is set to 0, that is, no additional delay is required; the final estimated time of video signal 5 is the initial estimated time a plus one second, so the delay reading time for video signal 5 is the value of the initial estimated time a plus one second minus the initial estimated time b; the final estimated time of video signal 6 is the initial estimated time a plus one second plus two seconds, so the delay reading time for video signal 6 is the value of the initial estimated time a plus one second plus two seconds minus the initial estimated time c. After such setting, video signal 4, video signal 5, and video signal 6 can reach the display terminal in the preset order and at the preset time gradient, forming a continuous long video during the playback on the display terminal. It should be noted that the long video in this embodiment does not refer to a video of a specific length, but a long video refers to a video formed by playing multiple short videos together.

[0138] The method of setting the delay reading of different video signals according to the initial estimated time when different video signals reach the display terminal is designed based on the lowest delay. However, sometimes the delay of the transmission link may exceed the length of the video. For example, taking the initial estimated time a of video signal 4 as the standard, the final estimated time of video signal 5 is the initial estimated time a plus one second, so the delay reading time for video signal 5 is the value of the initial estimated time a plus one second minus the initial estimated time b. However, there may also be a situation where the initial estimated time b is greater than the initial estimated time a plus one second. In such a case, even if no additional delay reading setting is made for video signal 5, there will still be an interval between the time when video signal 5 reaches the display terminal and the time when video signal 4 finishes playing, that is, there will be blank moments in the middle of the video playback, affecting the viewing.

[0139] Based on the above situation, as Figure 9 shown, in another specific implementation manner of this preferred embodiment, in step S242, setting the delay reading of different video signals according to the initial estimated time when different video signals reach the display terminal may include the following steps:

[0140] Step S2425: Obtain the initial estimated time when different video signals reach the display terminal. The initial estimated time obtained in this step is the initial estimated time a, initial estimated time b, and initial estimated time c estimated in step S241.

[0141] Step S2426: Obtain the preset sequence and preset time gradient of different video signals. For example, a long video to be played on a display terminal consists of three short videos, namely video signal 4, video signal 5, and video signal 6. The sequence should be that video signal 4 is played first, video signal 5 is played successively, and video signal 6 is played last. The time gradient is set according to the lengths of video signal 4, video signal 5, and video signal 6. For example, if video signal 4 is one second long, video signal 5 is two seconds long, and video signal 6 is three seconds long, then the time gradient between video signal 4 and video signal 5 is set to one second, and the time gradient between video signal 5 and video signal 6 is set to two seconds. It should be noted that the initial estimated time obtained in the previous step and the preset sequence and preset time gradient obtained in this step are all values of this batch of video signals.

[0142] Step S2427: Set the standard value of the final estimated time so that the standard value of the final estimated time is later than the initial estimated times of all video signals reaching the display terminal within the corresponding period. Starting from the standard value of the final estimated time, calculate the final estimated times of each video signal reaching the display terminal within the corresponding period according to the preset sequence and preset time gradient. For example, among the initial estimated times a, b, and c, the latest one is the initial estimated time c. Then, set the standard value d of the final estimated time to be greater than the initial estimated time c. Starting from the standard value d of the final estimated time, the final estimated time for the first video signal 4 to reach the display terminal is equal to the standard value d of the final estimated time. The final estimated time for the subsequent video signal 5 to reach the display terminal is d plus one second, and the final estimated time for the last video signal 6 to reach the display terminal is d plus one second plus two seconds.

[0143] Step S2428: Set the delay reading for each video signal according to the calculated final estimated time so that all video signals within the corresponding period reach the display terminal according to the preset sequence and preset time gradient. The final estimated time for video signal 4 to reach the display terminal is equal to the standard value d of the final estimated time. Therefore, the delay reading setting for video signal 4 is the standard value d of the final estimated time minus the initial estimated time a. The final estimated time for video signal 5 to reach the display terminal is equal to d plus one second. Therefore, the delay reading setting for video signal 5 is d plus one second minus the initial estimated time b. The final estimated time for video signal 6 to reach the display terminal is equal to d plus one second plus two seconds. Therefore, the delay reading setting for video signal 6 is d plus one second plus two seconds minus the initial estimated time c. After such settings, video signal 4, video signal 5, and video signal 6 can reach the display terminal according to the preset sequence and preset time gradient, forming a continuously played long video without interruption during the playback on the display terminal.

[0144] Of course, the above initial delay reading setting is performed by estimating the delay time of the transmission link. In actual use, this estimated delay time may not be completely accurate, and as the usage time of the transmission link increases, its delay time may also change slightly. Based on these possible changes, after the initial delay reading setting is performed in this embodiment, a subsequent dynamic delay reading setting solution is also provided to make subsequent synchronization more accurate.

[0145] In a specific implementation manner of this preferred embodiment, the delay reading setting for the cached video signal specifically includes: after different video signals arrive at the display terminal, if the pictures displayed by different video signals on the display terminal are not coherent, the delay reading setting for the subsequent cached video signals is performed according to the degree of incoherence. The degree of incoherence in this embodiment refers to the degree of deviation from the gradient synchronization at the preset moment, which is obtained from the preset sequence, the preset moment gradient, and the time difference between the arrival times of each video signal at the display terminal.

[0146] As Figure 10 shown, in a specific implementation manner of this preferred embodiment, the delay reading setting for the subsequent cached video signals according to the degree of incoherence may specifically include the following steps:

[0147] Step S251: Obtain the actual moments when different video signals arrive at the display terminal. The actual moments when the video signals arrive at the display terminal obtained in this step preferably refer to the actual moments of the most recent previous video signals arriving at the display terminal. For example, if the previous one was the initial delay reading setting, then for the current dynamic delay reading setting, it is to obtain the actual moment e when video signal 4 finally arrives at the display terminal, the actual moment f when video signal 5 finally arrives at the display terminal, and the actual moment g when video signal 6 finally arrives at the display terminal after the initial delay reading setting.

[0148] Step S252: Obtain the preset sequence and the preset moment gradient of different video signals. The preset sequence and the preset moment gradient are both set in advance. Still taking the sequence of video signal 4 for one second, video signal 5 for two seconds, and video signal 6 for three seconds as an example, the moment gradient between video signal 4 and video signal 5 is one second, and the moment gradient between video signal 5 and video signal 6 is two seconds. It should be noted that the actual moments obtained in the previous step are the actual moments of the previous batch of video signals that have arrived at the display terminal, while the preset sequence and the preset moment gradient obtained in this step are the preset sequence and the preset moment gradient of the next batch of video signals.

[0149] Step S253: Use the actual arrival time of the earliest video signal in the preset order at the display terminal as the standard value for delay reading calculation. Starting from the standard value of delay reading calculation, calculate the delay reading time to be set for each subsequent video signal in the corresponding cycle according to the preset order and the preset time gradient. For example, if the earliest video signal in the preset order is video signal 4, use its actual arrival time e at the display terminal as the standard value for delay reading calculation; video signal 5 is the next one in the preset order, and the time gradient between video signal 4 and video signal 5 is set to one second. Then the time when video signal 5 needs to arrive at the display terminal is the actual time e plus one second. However, the actual arrival time of video signal 5 at the display terminal is the actual time f. Therefore, the delay reading time to be set for video signal 5 is the actual time e plus one second minus the actual time f; video signal 6 is the next one in the preset order, and the time gradient between video signal 5 and video signal 6 is set to two seconds. Then the time when video signal 6 needs to arrive at the display terminal is the actual time e plus one second plus two seconds. However, the actual arrival time of video signal 6 at the display terminal is the actual time g. Therefore, the delay reading time to be set for video signal 6 is the actual time e plus one second plus two seconds minus the actual time g.

[0150] Step S254: Set the delay reading for each video signal according to the calculated delay reading time, so that all video signals in the subsequent corresponding cycle of the buffer arrive at the display terminal according to the preset order and the preset time gradient. According to the delay reading time to be set calculated in the previous step, set each video signal separately. In this way, the subsequent video signal 4, video signal 5, and video signal 6 will arrive at the display terminal according to the preset order and the preset time gradient, that is, the effect of dynamic synchronization according to the time gradient is achieved.

[0151] The above design is to minimize the delay. However, sometimes the delay of the transmission link may exceed the length of the video, resulting in the actual time e plus one second being less than the actual time f. In this case, even if no additional delay reading setting is made for video signal 5, there will still be an interval between the arrival time of the subsequent video signal 5 at the display terminal and the end time of the playback of video signal 4, that is, there will be blank moments during the video playback, affecting the viewing.

[0152] As Figure 11 shown, in another specific implementation of this preferred embodiment, setting the delay reading for the subsequent buffered video signals according to the degree of picture incoherence may specifically include the following steps:

[0153] Step S261: Obtain the actual arrival times of different video signals at the display terminal. For example, the actual arrival time e of video signal 4 at the display terminal last, the actual arrival time f of video signal 5 at the display terminal last, and the actual arrival time g of video signal 6 at the display terminal last.

[0154] Step S262: Obtain the preset order and preset time gradient of different video signals. For example, taking the order of video signal 4 in one second, video signal 5 in two seconds, and video signal 6 in three seconds as an example, the time gradient between video signal 4 and video signal 5 is one second, and the time gradient between video signal 5 and video signal 6 is two seconds. It should be noted that the actual times obtained in the previous step are the actual times of the previous batch of video signals that have arrived at the display terminal, while the preset order and preset time gradient obtained in this step are the preset order and preset time gradient of the next batch of video signals.

[0155] Step S263: Set the standard value for delay reading calculation, making the standard value for delay reading calculation later than the actual arrival times of all video signals within the corresponding period at the display terminal. Starting from the standard value for delay reading calculation, calculate the delay reading times that need to be set for each video signal according to the preset order and preset time gradient. For example, set the standard value for delay reading calculation as time h, and time h is later than actual time e, actual time f, and actual time g. Starting from time h, the delay reading time that needs to be set for video signal 4 is time h minus actual time e, the delay reading time that needs to be set for video signal 5 is time h plus one second minus actual time f, and the delay reading time that needs to be set for video signal 6 is time h plus one second plus two seconds minus actual time e.

[0156] Step S264: Perform delay reading settings for each video signal according to the calculated delay reading times, so that all video signals within the corresponding period cached subsequently arrive at the display terminal according to the preset order and preset time gradient. Perform separate settings for each video signal according to the delay reading times that need to be set calculated in the previous step. In this way, subsequent video signal 4, video signal 5, and video signal 6 will arrive at the display terminal according to the preset order and preset time gradient, that is, the effect of dynamic synchronization according to the time gradient is achieved.

[0157] Embodiment 4

[0158] Such as Figure 12As shown in the figure, a multi-channel video transmission scheme includes a signal source, multi-channel video signals, multi-channel devices, and a display terminal. The signal source can be the same video output device or different video output devices; Devices 1 to n can be video processors or signal repeaters, etc. The signal source outputs multi-channel video signals to different video processors or signal repeaters, and then reaches the display terminal through different transmission links for display. Due to hardware differences, there are errors in the external pixel clock frequency. Therefore, it is difficult for the clock generated inside the signal source to maintain exactly the same frequency as the external pixel clock. The existing genlock synchronization technology compares the internal and external clock frequencies and adjusts the internal clock frequency, which can solve the problem of signal source asynchronization and output pixel signals synchronized with the external pixel clock. However, although the genlock technology ensures strict synchronization between multi-channel videos when the signals are output, due to different delays when each channel of video is connected to different devices at the backend or different lengths of the signal transmission links, the arrival times of the signals are different, resulting in asynchronous problems and poor picture display when finally displayed on the display terminal. In addition, this video transmission scheme cannot dynamically adjust the synchronization effect according to requirements. For example, if synchronization is to be performed according to a certain time gradient, this scheme cannot achieve it.

[0159] As Figure 13 shown in the figure, this embodiment provides a video delay system to solve the above problems. The solution idea of this embodiment is to add a delay module in the video processor or signal repeater to compensate for the delay differences of the transmission links. The user can dynamically adjust the delay size of different channels of video signals through the user interface to ensure that the multi-channel video signals are displayed on the display terminal according to the synchronization requirements. The video delay system of this embodiment includes a signal source, delay devices (Devices 1, 2... n in the figure), a user interface, and a display terminal. The signal source includes multi-channel different video signals, and each channel of video signal is sent to a corresponding delay device. The delay device performs a delay reading setting on the video signal through the user interface. The delay reading setting dynamically sets the delay reading time of the video signal according to the synchronization requirements. After the delay is completed, the delay device sends the corresponding video signal to the display terminal through the transmission link. In this preferred embodiment, the signal source can be the same video output device or different video output devices; Devices 1 to n can be video processors or signal repeaters, etc., which are respectively used to receive video signals 1 to n sent by the corresponding signal source, perform delays as required, and then send them to the display terminal through the corresponding transmission links 1 to n.

[0160] In a specific implementation manner of this preferred embodiment, the delay device includes a write control module, a storage space, a delay module, and a read control module. The delay module is connected to the user interface, where: The write control module is used to receive a video signal and cache the video signal into the storage space; The delay module is used to perform a delay reading setting on the cached video signal according to the requirements provided by the user interface, so that the video signal can meet the synchronization or coherence requirements on the display terminal; The read control module is used to read the video signal in the storage space and send it to the display terminal after the delay of the delay module is completed. In a specific implementation manner of this preferred embodiment, after the video data reaches the video processor or signal repeater, it is first cached into the storage space through the write control module. For example, a row or a frame of image data is cached, and then the video data is taken out of the storage space by the read control module and sent to the display device; In order to make the data reach the display device at the same time, a delay module is added before the read control module in this embodiment. There is a counter or timer inside the delay module. Only when the counting or timing of the delay module is completed can the read control module read the video signal from the storage space and send it to the display terminal; The user can observe the speed of each video displayed on the display terminal and dynamically set the delay time of each delay module through the user interface. After receiving the delay instruction sent by the user, the delay module starts timing, and only after the timing ends is the read control module allowed to read the video data in the storage space for display, so as to ensure that the finally displayed picture on the display terminal is the picture required by the synchronization or coherence requirements.

[0161] In a specific implementation manner of this preferred embodiment, the specific delay reading setting in the delay module includes: When initially performing the delay reading setting, the delay modules of all delay devices set the same delay reading time, or the delay modules of all delay devices respectively set the delay reading time according to the initial estimated time when the video signal is expected to reach the display terminal, so that the video signal meets the synchronization or coherence requirements when it reaches the display terminal; When performing the delay reading setting subsequently, the delay modules of all delay devices respectively set the delay reading time according to the actual time when the previous video signal reached the display terminal, so that the video signal meets the synchronization or coherence requirements when it reaches the display terminal.

[0162] In a specific implementation manner of this preferred embodiment, the user interface end is further configured to collect various information required for delay setting, including the historical delay conditions of each transmission link, the moments when each video signal is written into the storage space, the moments when each video signal actually arrives at the display terminal, the preset sequence of each video signal, and the preset time gradient, etc. According to this information and the corresponding requirements, calculate the delay time required for each video signal to be set, and send it to the corresponding delay modules for execution. It should be noted that the various delay reading and setting operations in this embodiment can be set manually by the user at the user interface, or the calculation program can automatically calculate and set the time required for delay. The settings required for specific synchronization or coherence requirements are described in detail in Embodiment 2 and Embodiment 3, and will not be elaborated here.

[0163] Embodiment Five

[0164] An embodiment of the present invention further provides a video delay device. Please refer to Figure 14 , which shows the hardware structure capable of executing Figures 1 to 11 the video delay method described above.

[0165] The video delay device includes: at least one processor 11; and a memory 12 communicatively connected to the at least one processor 11. Figure 14 Taking one processor 11 as an example. The memory 12 stores instructions executable by the at least one processor 11. When the instructions are executed by the at least one processor 11, the at least one processor 11 can execute the above Figures 1 to 11 described video delay method. The processor 11 and the memory 12 can be connected through a bus or other means. Figure 14 Taking the connection through the bus as an example.

[0166] As a non-volatile computer-readable storage medium, the memory 12 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the video delay method in the embodiments of the present application. By running the non-volatile software programs, instructions, and modules stored in the memory 12, the processor 11 can execute various functional applications and data processing of the server, that is, implement the video delay method in the above method embodiments.

[0167] The memory 12 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created by the use of the video delay system, etc. In addition, the memory 12 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 12 may optionally include a memory remotely provided with respect to the processor 11, and these remote memories may be connected to the video delay system through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0168] The one or more modules are stored in the memory 12 and, when executed by the one or more processors 11, perform the video delay method in any of the above method embodiments. For example, perform the Figures 1 to 11 method steps described above.

[0169] The above product can execute the method provided in the embodiments of the present application and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, reference may be made to the method provided in the embodiments of the present application.

[0170] The embodiments of the present application further provide a non-volatile computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors. For example, perform the Figures 1 to 11 method steps described above.

[0171] The embodiments of the present application further provide a computer program product including a computing program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the video delay method in any of the above method embodiments. For example, perform the Figures 1 to 11 method steps described above.

[0172] In an embodiment of the present invention, a video delay method, system and device are provided. The method caches the received video signal, sets a delay reading for the cached video signal, and after the delay is completed, reads the video signal and sends it to the display terminal. By setting a delay reading for the cached video signal, the delay time for multiple video signals to reach the display terminal can be controlled according to requirements, and thus the desired delay effect can be obtained. For example, if it is desired that multiple video signals reach the display terminal completely synchronously at the same moment, then a corresponding completely synchronous delay reading setting is performed on the cached video signal so that the multiple video signals reach the display terminal at the same moment; if it is desired that multiple video signals reach the display terminal synchronously at a certain time interval, then a corresponding time interval delay reading setting is performed on the cached video signal so that the multiple video signals reach the display terminal at a preset moment gradient. The delay method of the present invention can control the delay effect according to requirements and can dynamically adjust the delay time to optimize the delay effect.

[0173] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] Through the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes of implementing the above method embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order, and there are many other changes in different aspects of the present invention as described above. For the sake of brevity, they are not provided in detail; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A video delay method, characterized in that, It includes: Caching the received video signal; Performing a delay reading setting on the cached video signal; The delay reading setting dynamically sets the delay reading time of the video signal according to the synchronization requirement; After the delay is completed, the video signal is read and sent to the display terminal to form the picture effect required by the synchronization requirement on the display terminal.

2. The video delay method according to claim 1, wherein The performing a delay reading setting on the cached video signal specifically includes: When initially performing the delay reading setting, estimating the initial expected arrival times of different video signals at the display terminal; Performing a delay reading setting on different video signals according to the initial expected arrival times of different video signals at the display terminal to obtain the final expected arrival times of different video signals at the display terminal after delay, and making the final expected arrival times of all video signals at the display terminal after delay the same within the corresponding period.

3. The video delay method according to claim 2, wherein The performing a delay reading setting on different video signals according to the initial expected arrival times of different video signals at the display terminal specifically includes: Obtaining the initial expected arrival times of different video signals at the display terminal; Selecting the latest value among the initial expected arrival times of the video signals at the display terminal as the standard value of the final expected time; Performing a delay reading setting on each received video signal so that the final expected arrival times of all video signals at the display terminal after delay within the corresponding period are the same as the standard value of the final expected time.

4. The video delay method according to claim 2, wherein The performing a delay reading setting on different video signals according to the initial expected arrival times of different video signals at the display terminal specifically includes: Obtaining the initial expected arrival times of different video signals at the display terminal; Setting the standard value of the final expected time so that the standard value of the final expected time is later than the initial expected arrival times of all video signals at the display terminal within the corresponding period; Performing a delay reading setting on each video signal so that the final expected arrival times of all video signals at the display terminal after delay within the corresponding period are the same as the set standard value of the final expected time.

5. The video delay method according to claim 1, wherein The performing a delay reading setting on the cached video signal specifically includes: After different video signals arrive at the display terminal, if the pictures of different video signals displayed on the display terminal are not synchronized, perform a delay reading setting on the subsequent cached video signals according to the degree of picture asynchronization.

6. The video delay method according to claim 5, wherein The performing a delay reading setting on the subsequent cached video signals according to the degree of picture asynchronization specifically includes: Obtaining the actual arrival times of different video signals at the display terminal; Selecting the latest value among the actual arrival times of the video signals at the display terminal as the standard value for delay reading calculation; Calculating the delay reading time that needs to be set for each video signal according to the standard value for delay reading calculation, and setting the corresponding delay reading time for each video signal so that the arrival times of all video signals at the display terminal after delay within the corresponding subsequent cache are consistent.

7. The video delay method according to claim 5, wherein The performing a delay reading setting on the subsequent cached video signals according to the degree of picture asynchronization specifically includes: Obtaining the actual arrival times of different video signals at the display terminal; Setting the standard value for delay reading calculation so that the standard value for delay reading calculation is later than the actual arrival times of all video signals at the display terminal within the corresponding period; Calculate the delay read time to be set for each video signal according to the standard value calculated by the delay read, and set the corresponding delay read time for each video signal, so that the moments when all video signals reach the display terminal after delay are consistent within the corresponding cycle of the subsequent cache.

8. The video delay method according to claim 1, wherein The delay read setting for the cached video signals specifically includes: When initially performing the delay read setting, estimate the initial expected moments when different video signals reach the display terminal; Perform delay read setting for different video signals according to the initial expected moments when different video signals reach the display terminal, so as to obtain the final expected moments when different video signals reach the display terminal after delay, and make the final expected moments when all video signals reach the display terminal after delay within the corresponding cycle arranged according to the preset moment gradient; wherein, the preset moment gradient is set according to the preset sequence and video length of different video signals.

9. The video delay method according to claim 8, wherein The specific operation of performing delay read setting for different video signals according to the initial expected moments when different video signals reach the display terminal includes: Obtain the initial expected moments when different video signals reach the display terminal; Obtain the preset sequence and preset moment gradient of different video signals; Take the initial expected moment when the earliest video signal in the preset sequence reaches the display terminal as the standard value of the final expected moment, and starting from the standard value of the final expected moment, calculate the final expected moments when each subsequent video signal in the corresponding cycle reaches the display terminal according to the preset sequence and preset moment gradient; Perform delay read setting for each video signal according to the calculated final expected moments, so that all video signals within the corresponding cycle reach the display terminal according to the preset sequence and preset moment gradient.

10. The video delay method according to claim 8, wherein The specific operation of performing delay read setting for different video signals according to the initial expected moments when different video signals reach the display terminal includes: Obtain the initial expected moments when different video signals reach the display terminal; Obtain the preset sequence and preset moment gradient of different video signals; Set the standard value of the final expected moment, making the standard value of the final expected moment later than the initial expected moments when all video signals reach the display terminal within the corresponding cycle, and starting from the standard value of the final expected moment, calculate the final expected moments when each video signal in the corresponding cycle reaches the display terminal according to the preset sequence and preset moment gradient; Perform delay read setting for each video signal according to the calculated final expected moments, so that all video signals within the corresponding cycle reach the display terminal according to the preset sequence and preset moment gradient.

11. The video delay method according to claim 1, wherein The delay read setting for the cached video signals specifically includes: After different video signals reach the display terminal, if the pictures displayed by different video signals on the display terminal are not coherent, perform delay read setting for the subsequent cached video signals according to the degree of incoherence of the pictures.

12. The video delay method according to claim 11, wherein The specific operation of performing delay read setting for the subsequent cached video signals according to the degree of incoherence of the pictures includes: Obtain the actual moments when different video signals reach the display terminal; Obtain the preset sequence and preset moment gradient of different video signals; Take the actual time when the first video signal in the preset order arrives at the display terminal as the standard value for delay reading calculation. Starting from the standard value of delay reading calculation, calculate the delay reading time to be set for each video signal in subsequent corresponding cycles according to the preset order and the preset time gradient. Perform delay reading settings on each video signal according to the calculated delay reading time, so that all video signals in the subsequent cached corresponding cycles arrive at the display terminal according to the preset order and the preset time gradient.

13. The video delay method according to claim 11, wherein The delay reading setting for the subsequent cached video signals according to the degree of picture incoherence specifically includes: Obtain the actual time when different video signals arrive at the display terminal. Obtain the preset order and the preset time gradient of different video signals. Set the standard value for delay reading calculation, so that the standard value for delay reading calculation is later than the actual time when all video signals in the corresponding cycle arrive at the display terminal. Starting from the standard value for delay reading calculation, calculate the delay reading time to be set for each video signal according to the preset order and the preset time gradient. Perform delay reading settings on each video signal according to the calculated delay reading time, so that all video signals in the subsequent cached corresponding cycles arrive at the display terminal according to the preset order and the preset time gradient.

14. The video delay method according to any one of claims 1-13, characterized in that, The delay reading setting for the cached video signals specifically includes: When performing delay reading settings for the first time, set the same delay reading time for different video signals.

15. A video delay method, characterized in that, Include: Collect various information required for delay setting, including one or more of the historical delay conditions of each transmission link, the time when each video signal is written into the storage space, the actual time when each video signal arrives at the display terminal, the preset order of each video signal, and the preset time gradient. Calculate the delay time required for each video signal according to the collected information and the corresponding requirements, and send it to the corresponding delay modules for execution.

16. A video delay system, characterized in that, It includes a signal source, a delay device, a user interface, and a display terminal. The signal source includes multiple different video signals, and each video signal is sent to a corresponding delay device. The delay device performs delay reading settings on the video signals through the user interface. The delay reading settings dynamically set the delay reading time of the video signals according to the synchronization requirements. After the delay is completed, the delay device sends the corresponding video signal to the display terminal through the transmission link.

17. The video delay system according to claim 16, wherein The delay device includes a write control module, a storage space, a delay module, and a read control module. The delay module is connected to the user interface, where: The write control module is used to receive video signals and cache the video signals into the storage space. The delay module is used to perform delay reading settings on the cached video signals according to the requirements provided by the user interface, so that the video signals meet the synchronization or coherence requirements at the display terminal. The read control module is used to read the video signals in the storage space and send them to the display terminal after the delay of the delay module is completed.

18. The video delay system according to claim 17, wherein The specific delay reading settings in the delay module include: When initially performing the delay reading setting, the delay modules of all delay devices set a unified delay reading time, or the delay modules of all delay devices respectively set the delay reading time according to the initial estimated time when the video signal is expected to reach the display terminal, so as to meet the synchronization or coherence requirements when the video signal reaches the display terminal; When performing the delay reading setting subsequently, the delay modules of all delay devices respectively set the delay reading time according to the actual time when the previous video signal reached the display terminal, so as to meet the synchronization or coherence requirements when the video signal reaches the display terminal.

19. A video delay device, characterized in that: It includes at least one processor and a memory, the at least one processor and the memory are connected through a data bus, the memory stores instructions executable by the at least one processor, and after the instructions are executed by the processor, they are used to implement the video delay method according to any one of claims 1-15.