Advertising machine delay control method, system and device and storage medium
The method synchronizes display units in advertising systems by dynamically adjusting playback rates using dynamic buffers and real-time calculations to address playback discrepancies, ensuring a seamless visual experience.
Patent Information
- Application Number
- CN202510531402.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-07-15
AI Technical Summary
In advertising machines, due to different hardware performance or different decoding efficiency of display blocks, the playback progress is inconsistent, affecting the audience's visual experience and the integrity and consistency of advertising content.
By obtaining the total duration and number of display blocks of the target video, the video is divided into multiple clips, the playback rate of each display block is dynamically adjusted, the video data is stored using a dynamic buffer, and the playback synchronization is ensured through image processing and time stretching technology.
The synchronous playback of each display block is realized, the overall visual effect of the advertising machine is improved, the dependence on manual operations is reduced, and the degree of automation and reliability of the system is improved.
Smart Images

Figure CN120321459A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display control of advertising machines, and particularly to a delay control method, system, device and storage medium for an advertising machine. Background Art
[0002] In modern advertising display systems, advertising machines are usually composed of multiple display blocks spliced together to achieve larger sizes and more flexible content display. However, due to differences in hardware performance or decoding efficiency among the display blocks, there are often problems with inconsistent playback progress, that is, some display blocks lag behind. This inconsistent playback effect seriously affects the visual experience of the audience and destroys the integrity and coherence of the advertising content.
[0003] Traditional solutions usually use fixed compensation times to adjust the playback progress of each display block in an attempt to make up for these delays. However, this method has significant drawbacks: since the specific delay situations of each display block are dynamically changing and difficult to accurately predict, the preset compensation times often cannot accurately match the actual needs, resulting in asynchronous playback for some display blocks. Therefore, there is an urgent need for a more intelligent and flexible method to ensure that all display blocks can play precisely synchronously, thereby providing a seamless and high-quality visual experience. Summary of the Invention
[0004] Embodiments of the present invention provide a delay control method, system, device and storage medium for an advertising machine to solve the problems existing in the related art. The technical solutions are as follows:
[0005] In a first aspect, embodiments of the present invention provide a delay control method for an advertising machine, including:
[0006] Obtain a target video and its total duration, divide the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playback;
[0007] Obtain the playback progress of each display block at the current time, compare each playback progress with the scheduled playback time point, and obtain a playback deviation result; where the scheduled playback time point is calculated based on the total duration and the current time;
[0008] Dynamically adjust the playback rate of each display block according to the playback deviation result to ensure that the playback progress of each display block for the target video remains consistent.
[0009] In one implementation, each display block is configured with a corresponding dynamic buffer, and the dynamic buffer is used to store the video data of the video segment to be played next.
[0010] In one implementation, dynamically adjusting the playback rate of each display block according to the playback deviation result includes:
[0011] In the case where the playback progress of any display block lags behind the scheduled playback time point, increase the current playback rate corresponding to this display block to the first set rate;
[0012] In the case where the playback progress of any display block is ahead of the scheduled playback time point, reduce the current playback rate corresponding to this display block to the second set rate; wherein, the first set rate is higher than the second set rate.
[0013] In one implementation, adjusting the playback rate of each display block according to the playback deviation result includes:
[0014] In the case where the playback progress of any display block lags behind the scheduled playback time point, delete a partial amount of data in the dynamic buffer corresponding to this display block to accelerate the playback rate;
[0015] In the case where the playback progress of any display block is ahead of the scheduled playback time point, add set video data to the dynamic buffer corresponding to this display block to slow down the playback rate.
[0016] In one implementation, adding set video data to the dynamic buffer corresponding to this display block to slow down the playback rate includes:
[0017] Determine the current video scene based on the current video frame and the next video frame in the dynamic buffer;
[0018] When the current video scene is a static scene, modify the current video frame through image processing calculations to generate a new similar frame; wherein, the modification of the video frame includes brightness adjustment, color adjustment, and noise adjustment;
[0019] Insert the new similar frame into the dynamic buffer to achieve an increase in video data.
[0020] In one implementation, it further includes:
[0021] When the current video scene is a dynamic scene, generate transition frames through time stretching technology and insert them between the current video frame and the next video frame to achieve an increase in video data.
[0022] In one implementation, obtaining the playback progress of each display block at the current time includes:
[0023] Calculate the first progress according to the time stamp of each display block;
[0024] Calculate the second progress according to the current frame number of each display block and the total number of frames of the target video;
[0025] Perform a weighted average calculation on the first progress and the second progress to obtain the playback progress of each display block at the current time.
[0026] In a second aspect, an embodiment of the present invention provides a delay control system for an advertising machine, which executes the delay control method for the advertising machine as described above; the system includes:
[0027] A video segmentation module, configured to obtain a target video and its total duration, segment the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playing;
[0028] A deviation analysis module, configured to obtain the playing progress of each display block at the current time, compare each playing progress with the scheduled playing time point respectively, and obtain a playing deviation result; wherein, the scheduled playing time point is calculated based on the total duration and the current time;
[0029] A playing control module, configured to adjust the playing rate of each display block according to the playing deviation result, so as to ensure that the playing progress of each display block for playing the target video is consistent.
[0030] In a third aspect, an embodiment of the present invention provides an electronic device, which includes: a memory and a processor. Wherein, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor is caused to execute the method in any one of the above aspects.
[0031] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a computer, the method in any one of the above aspects is executed.
[0032] The advantages or beneficial effects in the above technical solutions at least include:
[0033] The present invention calculates the scheduled playing time point of the video based on the total duration and the current time, compares it with the actual playing progress to determine the playing deviation of each display block, and dynamically adjusts the playing rate of each display block according to the playing deviation. The method based on real-time calculation and automatic adjustment reduces the dependence on manual operations, improves the automation degree and reliability of the system; and this flexibility enables the advertising machine to adapt to different playing environments and conditions, and can quickly resume synchronization even in the case of temporary delays or advances; after adjustment, all display blocks can play synchronously, enabling the audience to see a complete and coherent picture, greatly enhancing the overall visual effect of the advertising machine.
[0034] The above summary is only for the purpose of the specification and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the drawings and the following detailed description. Brief Description of the Drawings
[0035] In the drawings, unless otherwise specified, the same reference numerals throughout the several views denote the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in accordance with the present invention and should not be regarded as limiting the scope of the present invention.
[0036] Figure 1 It is a schematic flow chart of the delay control method for the advertising machine of the present invention;
[0037] Figure 2 It is a structural block diagram of an electronic device according to an embodiment of the present invention. Detailed Description of the Embodiments
[0038] In the following, only some exemplary embodiments are simply described. As those skilled in the art can recognize, the described embodiments can be modified in various different ways without departing from the spirit or scope of the present invention. Therefore, the drawings and the description are considered to be exemplary in nature and not restrictive.
[0039] Embodiment 1
[0040] This embodiment provides a delay control method for an advertising machine. Through this method, it can be ensured that all display blocks of the advertising machine can play synchronously, avoiding visual incoordination caused by lag or advance of some parts, and improving the overall visual effect of the advertising machine.
[0041] It should be noted that the advertising machine is composed of multiple display blocks spliced together. The advertising machine is internally provided with at least one controller, and the controller can be connected to multiple display blocks to control the display states of the multiple display blocks. Adjacent multiple display blocks can also be divided into a display block group in advance according to the arrangement rule of the display blocks, and one controller controls one display block group, so that the advertising machine can adopt a distributed form to control multiple display block groups through multiple controllers, improving efficiency.
[0042] The execution object of the delay control method for the advertising machine in this embodiment is the controller. The controller is connected to the server and is used to receive the video signal sent by the server and control a single or multiple display blocks connected to the controller according to the video signal to achieve remote control of the advertising machine. Specifically:
[0043] As Figure 1 shown, the delay control method for the advertising machine in this embodiment specifically includes the following steps:
[0044] Step S1: Obtain the target video and its total duration, divide the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playing.
[0045] Among them, the target video refers to the complete video that wants to be played on the advertising machine, and both the target video and its total duration are sent by the server to the controller of the advertising machine uniformly. After receiving the target video, the controller performs segmentation processing on the target video.
[0046] In this embodiment, the number of display blocks is determined according to the display block layout of the advertising machine, and the number of display blocks directly determines the segmentation number of the target video. The target video is segmented into multiple video segments according to the number of display blocks. Each video segment should contain the timeline of the entire video, but is limited to a specific spatial area; at the same time, each video segment is marked with the position coordinates of its corresponding display block in the advertising machine, so as to send each video segment to the corresponding display block for playing according to the position coordinates.
[0047] In addition, ensure that all video segments use the same codec, resolution, frame rate, and bit rate to ensure the consistency of playback. During the video encoding process, precise timestamps are embedded in each video segment to facilitate understanding of synchronous playback.
[0048] In this embodiment, the controller manages the video playback status of the display blocks connected to it through the central control system, and can send playback instructions to the display blocks, including operations such as start playback, pause, fast forward / rewind, etc., and monitor the playback status.
[0049] Multiple dynamic buffers are pre-configured in the controller. Each display block has its corresponding dynamic buffer. Each video segment obtained by segmentation can determine its corresponding display block according to the marked position coordinates, so as to store the video segment into the dynamic buffer corresponding to the display block.
[0050] Step S2: Obtain the playback progress of each display block at the current time, compare each playback progress with the time point to be played respectively, and obtain the playback deviation result; among them, the time point to be played is calculated based on the total duration and the current time.
[0051] In this embodiment, a hybrid calculation is performed by combining the frame number and the timestamp to obtain a high-precision playback progress, which can avoid the influence of time synchronization errors on the progress calculation. Specifically, obtaining the playback progress of each display block at the current time includes:
[0052] Step S21: Obtain the current time, the start playback time of the display block, and the total duration of the target video according to the timestamp of each display block, and calculate a preliminary playback progress according to the formula, which is called the first progress.
[0053] The calculation formula of the first progress is:
[0054] progress_time = (current_time - start_time) / total_duration;
[0055] where current_time: the current time;
[0056] start_time: the starting playback time of the display block;
[0057] total_duration: the total duration of the target video.
[0058] Step S22: Calculate an accurate playback progress based on the current frame number of each display block and the total number of frames of the target video, which is called the second progress. The calculation formula for the second progress is:
[0059] progress_frame = current_frame_idx / total_frames;
[0060] where current_frame_idx: the frame index of the currently played frame.
[0061] total_frames: the total number of frames of the target video.
[0062] Step S23: Perform a weighted average calculation on the first progress and the second progress to obtain the high-precision playback progress of each display block at the current time.
[0063] The calculation formula for the high-precision playback progress is:
[0064] final_progress = w_time * progress_time + w_frame * progress_frame;
[0065] where: w_time and w_frame are weight coefficients, satisfying w_time + w_frame = 1;
[0066] The selection of weights can be adjusted according to the scenario requirements. For example:
[0067] If the timestamp synchronization accuracy is high, the weight of w_time can be increased.
[0068] If the frame number acquisition accuracy is high, the weight of w_frame can be increased.
[0069] In this embodiment, by combining timestamps and frame numbers for hybrid calculation, the accuracy of the playback progress can be significantly improved. The timestamp provides a global time reference, while the frame number directly reflects the actual playback state of the video content. The combination of the two not only ensures the accuracy of the progress calculation but also enhances the robustness of the system, making it very suitable for high-demand scenarios such as tiled displays.
[0070] After determining the playback progress of each display block, compare each playback progress with the scheduled playback time point respectively to obtain the playback deviation result.
[0071] It should be noted that the scheduled playback time point refers to the time position that the target video should theoretically reach at the current moment. And the scheduled playback time point is calculated based on the total duration and the current time. The specific method is as follows:
[0072] Obtain the current time and determine the start time of the target video playback;
[0073] Calculate the difference between the current time and the start time to obtain the elapsed playback time;
[0074] Compare the elapsed playback time with the total duration of the target video, and take the smaller value as the scheduled playback time point.
[0075] It should be noted that the calculation method of the scheduled playback time point is the same as that of the first progress, and the calculation formula of the scheduled playback time point will not be repeated here.
[0076] Step S3: Dynamically adjust the playback rate of each display block according to the playback deviation result to ensure that the progress of each display block playing the target video is consistent.
[0077] Among them, the method of dynamically adjusting the playback rate of each display block according to the playback deviation result can be:
[0078] Compare the playback progress of each display block with the scheduled playback time point of the target video. When the playback progress of any display block lags behind the scheduled playback time point, mark the display block with the playback progress lagging behind the scheduled playback time point as a type of abnormal display block, and increase the current playback rate of the type of abnormal display block. In this embodiment, the current playback rate of the type of abnormal display block can be directly increased to a preset first set rate. For example, if the current playback rate is 1, the first set rate is 1.2. After adjusting the rate, recalculate the playback progress of the display block and the scheduled playback time point of the target video, and recalculate the difference between the two until the playback progress of the display block and the scheduled playback time point of the target video are the same, then stop adjusting the rate.
[0079] When the playback progress of any display block is faster than the corresponding playback time point, mark the display block with a playback progress faster than the corresponding playback time point as a second-class abnormal display block, and reduce the current playback rate corresponding to this second-class abnormal display block to a preset second set rate; wherein, the first set rate is higher than the second set rate. For example, if the current playback rate is 1, the first set rate is 0.8. Similarly, after adjusting the rate, recalculate the playback progress of this display block and the corresponding playback time point of the target video, and recalculate the difference between the two until the playback progress of this display block and the corresponding playback time point of the target video are the same, then stop adjusting the rate.
[0080] In addition to directly adjusting the numerical value of the playback rate of the display block, the adjustment of the playback rate can also be achieved through the following methods, specifically as follows:
[0081] When the playback progress of any display block lags behind the corresponding playback time point, mark the display block with a playback progress lagging behind the corresponding playback time point as a first-class abnormal display block, and delete the local data volume in the dynamic buffer corresponding to this first-class abnormal display block to accelerate the playback rate.
[0082] When the playback progress of any display block is faster than the corresponding playback time point, mark the display block with a playback progress faster than the corresponding playback time point as a second-class abnormal display block, and add set video data to the dynamic buffer corresponding to this second-class abnormal display block to slow down the playback rate.
[0083] It should be noted that in this embodiment, deleting the local data volume in the dynamic buffer means deleting the data with a low priority area in the video frame, rather than the entire frame.
[0084] This embodiment can use image segmentation technology to identify the low-priority areas in the picture of each frame, such as the area where the static background is located, and perform simplification processing on the low-priority areas, such as reducing the resolution or discarding details, and retaining the high-priority areas (such as the dynamic areas in the picture, and the areas of people and text in the picture). When it is determined that the playback progress of the display block lags behind the corresponding playback time point, it is necessary to accelerate the playback rate of this display block. At this time, the data in the low-priority areas of the current video frame, the next video frame, or even multiple consecutive frames can be deleted, so as to accelerate the playback rate of this display block, so that the playback progress of the display block matches the corresponding playback time point.
[0085] When the playback progress of the display block is faster than the corresponding playback time point, add set video data to the dynamic buffer corresponding to this display block to slow down the playback rate. The method of adding set video data is as follows:
[0086] Determine the current video scene based on the current video frame and the next video frame in the dynamic buffer. Specifically, the pixel change amount between the current video frame and the next video frame can be calculated, and the degree of change of the picture content is judged according to the pixel change amount. If the pixel change amount is less than the threshold (such as 5%), it is considered a static scene. If the pixel change amount is greater than or equal to the threshold, it is considered a dynamic scene.
[0087] Assume that the current video scene is a static scene, and modify the current video frame through image processing calculations to generate a new similar frame; among them, the modification of the video frame includes brightness adjustment, contrast adjustment, color adjustment, noise adjustment, etc.; insert the new similar frame into the dynamic buffer, between the current video frame and the next video frame, to achieve the increase of video data.
[0088] In a dynamic scene, the picture changes greatly, and directly copying the frame may cause the picture to jump. Therefore, when the current video scene is a dynamic scene, generate transitional frames through time stretching technology. Specifically, use the optical flow method to calculate the motion trajectory of the pixels between frames, obtain the motion vector between the current video frame and the next video frame, interpolate based on the motion vector to generate a new transitional frame, and then insert the new transitional frame between the current video frame and the next video frame to achieve the increase of video data.
[0089] This embodiment generates corresponding frame data in different scenarios, while accelerating or slowing down the playback rate, to ensure the coherence and naturalness of the video viewing effect.
[0090] After adjusting the playback rate of the display block, re-detect the playback progress of each display block, and update the expected playback time point of the target video in real time. When the playback progress is consistent with the expected playback time point, the playback rate can be adjusted to the original playback rate to ensure that the display content of each display block remains the same.
[0091] This embodiment calculates the expected playback time point of the video based on the total duration and the current time, and compares it with the actual playback progress to determine the playback deviation of each display block, and dynamically adjusts the playback rate of each display block according to the playback deviation. The method based on real-time calculation and automatic adjustment reduces the dependence on manual operations, improves the automation degree and reliability of the system; and this flexibility enables the advertising machine to adapt to different playback environments and conditions, and can quickly resume synchronization even in the case of temporary delays or advances; all the adjusted display blocks can play synchronously, enabling the audience to see a complete and coherent picture, greatly enhancing the overall visual effect of the advertising machine.
[0092] In another embodiment, a delay control system for an advertising machine is provided, which executes the delay control method of the advertising machine as described in Embodiment 1; the system includes:
[0093] The video segmentation module is used to obtain the target video and its total duration, segment the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playing;
[0094] The deviation analysis module is used to obtain the playing progress of each display block at the current time, compare each playing progress with the scheduled play time point respectively, and obtain the playing deviation result; wherein, the scheduled play time point is calculated based on the total duration and the current time;
[0095] The play control module is used to adjust the play rate of each display block according to the playing deviation result to ensure that the progress of each display block in playing the target video is consistent.
[0096] It should be noted that the functions of the modules in the system of this embodiment can be referred to the corresponding descriptions in the above method, and will not be elaborated here.
[0097] In another embodiment, an electronic device is further provided. Figure 2 The structural block diagram of the electronic device according to an embodiment of the present invention is shown. As Figure 2 shown, the electronic device includes: a memory 100 and a processor 200. A computer program that can run on the processor 200 is stored in the memory 100. When the processor 200 executes the computer program, it implements the delay control method of the advertising machine in the above embodiment. The number of the memory 100 and the processor 200 can be one or more.
[0098] The electronic device further includes:
[0099] A communication interface 300, which is used to communicate with external devices and perform data interaction and transmission.
[0100] If the memory 100, the processor 200, and the communication interface 300 are implemented independently, the memory 100, the processor 200, and the communication interface 300 can be connected to each other through a bus and complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0101] Optionally, in specific implementation, if the memory 100, the processor 200, and the communication interface 300 are integrated on a chip, the memory 100, the processor 200, and the communication interface 300 can complete communication with each other through an internal interface.
[0102] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, and when the program is executed by a processor, the method provided in the embodiment of the present invention is implemented.
[0103] An embodiment of the present invention further provides a chip, which includes a processor for calling and running instructions stored in a memory, so that a communication device equipped with the chip executes the method provided in the embodiment of the present invention.
[0104] An embodiment of the present invention further provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected through an internal connection path. The processor is configured to execute code in the memory, and when the code is executed, the processor is configured to execute the method provided in the embodiment of the invention.
[0105] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0106] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may further include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0107] In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0108] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0109] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present invention, "a plurality of" means two or more unless otherwise specifically defined.
[0110] As described above, the above are only the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various changes or substitutions, and these should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A delay control method for an advertising machine, characterized in that, Including: Obtain a target video and its total duration, divide the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playing; Obtain the playing progress of each display block at the current time, compare each playing progress with the scheduled playing time point respectively, and obtain a playing deviation result; wherein, the scheduled playing time point is calculated based on the total duration and the current time; Dynamically adjust the playing rate of each display block according to the playing deviation result to ensure that the playing progress of each display block for playing the target video is consistent.
2. The delay control method of the advertising machine according to claim 1, wherein The dynamically adjusting the playing rate of each display block according to the playing deviation result includes: When the playing progress of any one of the display blocks lags behind the scheduled playing time point, increase the current playing rate corresponding to this display block to a first set rate; When the playing progress of any one of the display blocks is faster than the scheduled playing time point, decrease the current playing rate corresponding to this display block to a second set rate; wherein, the first set rate is higher than the second set rate.
3. The delay control method of the advertising machine according to claim 1, characterized in that, Each display block is configured with a corresponding dynamic buffer, and the dynamic buffer is used to store the video data of the video segment to be played soon.
4. The delay control method of the advertising machine according to claim 3, wherein The adjusting the playing rate of each display block according to the playing deviation result includes: When the playing progress of any one of the display blocks lags behind the scheduled playing time point, delete a partial amount of data in the dynamic buffer corresponding to this display block to accelerate the playing rate; When the playing progress of any one of the display blocks is faster than the scheduled playing time point, add set video data to the dynamic buffer corresponding to this display block to slow down the playing rate.
5. The delay control method of the advertising machine according to claim 4, characterized in that, The adding set video data to the dynamic buffer corresponding to this display block to slow down the playing rate includes: Determine the current video scene based on the current video frame and the next video frame in the dynamic buffer; When the current video scene is a static scene, modify the current video frame through image processing calculations to generate a new similar frame; wherein, the modification of the video frame includes brightness adjustment, color adjustment, and noise adjustment; Insert the new similar frame into the dynamic buffer to achieve an increase in video data.
6. The delay control method of the advertising machine according to claim 5, characterized in that, Further including: When the current video scene is a dynamic scene, generate transition frames through time stretching technology and insert them between the current video frame and the next video frame to achieve an increase in video data.
7. The time-delay control method of the advertising machine according to claim 1, wherein The obtaining the playing progress of each display block at the current time includes: Calculate a first progress according to the time stamp of each display block; Calculate a second progress according to the current frame number of each display block and the total number of frames of the target video; Perform weighted average calculation on the first progress and the second progress to obtain the playing progress of each display block at the current time.
8. A delay control system for an advertising machine, characterized in that, Execute the delay control method of the advertising machine according to any one of claims 1 to 7; the system includes: A video segmentation module, configured to obtain a target video and its total duration, divide the target video into multiple video segments according to the number of display blocks, and send each video segment to the corresponding display block for playing; A deviation analysis module, configured to obtain the playback progress of each of the display blocks at the current time, compare each of the playback progress with the scheduled playback time points respectively, and obtain a playback deviation result; wherein, the scheduled playback time points are calculated based on the total duration and the current time. A playback control module, configured to adjust the playback rate of each of the display blocks according to the playback deviation result, so as to ensure that the progress of each of the display blocks in playing the target video is consistent.
9. An electronic device, characterized in that, Comprising: A processor and a memory, wherein instructions are stored in the memory, and the instructions are loaded and executed by the processor to implement the delay control method of the advertising machine according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that A computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the delay control method of the advertising machine according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Multi-terminal synchronous playing control method, primary equipment, device and system
CN108513159A
A separator for fuel cell with excellent corrosion resistance and conductivity and a coating method for a separator for fuel cell
KR1020230158280A
Multi-screen video display method and system, and playing end and storage medium
WO2024027768A1