Real-time synchronization method and device of Soundbar light and television picture, equipment and medium

By detecting the vertical synchronization pulse signal and area weighting algorithm of TV video, real-time synchronization between Soundbar light and TV picture is achieved, solving the problem of disconnection between lighting colors and screen content in the existing technology, and enhancing the user's immersion.

CN120416552APending Publication Date: 2025-08-01SHENZHEN FENDA TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510363811.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The existing Soundbar speakers cannot be synchronized in real time with the TV screen content, resulting in the disconnection of the lighting color and the screen content, and the main color cannot be accurately extracted, affecting the user's immersion.

Method used

By detecting the vertical synchronization pulse signal of the TV video, the original frame rate is obtained, and the region weighting algorithm and the conversion matrix are used for adaptive matching, the tone extraction cycle is dynamically adjusted to ensure the synchronization of the main tone, and the vertical synchronization pulse is used as the processing trigger signal to avoid color misjudgment and achieve high-fidelity mapping.

Benefits of technology

Real-time synchronization of Soundbar lights and TV screens is achieved, color deviation problems are solved, and user immersion and visual experience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416552A_ABST
    Figure CN120416552A_ABST
Patent Text Reader

Abstract

The invention discloses a Soundbar light and television picture real-time synchronization method and device, equipment and a medium, and the method comprises the steps: obtaining a television video in real time, detecting a vertical synchronization pulse signal of the television video, taking the vertical synchronization pulse signal as a trigger signal, and carrying out the original frame rate detection of the television video; carrying out adaptive matching on the original frame rate, extracting the picture dominant hue in the television video by adopting a region weighting algorithm according to the original frame rate, and synchronously obtaining the picture dominant hue of each frame; and obtaining a conversion matrix, performing color gamut matching on the picture dominant hue by using the conversion matrix to obtain an LED actual color gamut of the Soundbar light, mapping each color value in the LED actual color gamut into an LED driving signal, and performing synchronous driving on the LED of the Soundbar light. The problems that in the prior art, linkage with the television content cannot be achieved, the dominant hue cannot be accurately extracted, and the lamplight color is disjointed with the picture content are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Soundbar light synchronization, and particularly relates to a method, device, equipment and medium for real-time synchronization of Soundbar lights and TV pictures. Background Art

[0002] A Soundbar is a long strip-shaped speaker that integrates speakers and power amplifiers of multiple channels in a single cabinet. It is a product in the audio family that combines traditional AV audio and digital technology. Each channel has an independent cavity to ensure isolation and separation. It is placed horizontally and is mainly used in combination with a flat-panel TV, capable of forming an integrated visual effect with the flat-panel TV. It eliminates the troubles of numerous traditional home theater speakers, complex wiring, and cumbersome space layout. The wiring is simple and the installation is easy. Designed according to the size of the LCD TV, its length is roughly equivalent to the width of the TV set, and the speaker volume is small, making it appear coordinated and beautiful when paired with a flat-panel TV. Soundbar products with technologies such as DTS, Dolby Digital, and Dolby Pro Logic II are more excellent in surround sound performance and sound quality, and also have functions such as Bluetooth and wireless surround.

[0003] With the continuous development of home entertainment devices, Soundbar speakers are widely welcomed due to their simple design and high-quality sound effects. However, while existing Soundbar speakers provide sound effects, they often lack synchronous interaction with the visual experience. The change in the color of the TV picture can directly affect the emotions and viewing experience of the audience. As an audio output device, if the Soundbar speaker can change synchronously with the color of the TV picture, it will greatly enhance the user's immersion.

[0004] The traditional Soundbar lighting system only supports preset lighting modes (such as single-color breathing lights, music rhythm), and cannot be linked with the TV picture content; however, third-party external lighting devices (such as Philips Hue) rely on the TV HDMI-CEC protocol, resulting in compatibility problems and high latency; existing solutions cannot accurately extract the main color of the picture, leading to a disconnection between the lighting color and the picture content. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to propose a real-time synchronization method, device, equipment and medium for Soundbar lighting and TV pictures. By detecting and obtaining the original frame rate and adaptively matching it, the hue extraction operation period of the Soundbar is dynamically adjusted, so as to ensure the synchronization of the main hue extraction. By using the vertical synchronization pulse (V-Sync) as the processing trigger signal, it is ensured that each color analysis is only carried out during the stable period of the picture, avoiding color misjudgment caused by picture tearing. By accurately converting the main hue extracted from the TV picture into the drive control signal of the Soundbar lighting system, the color deviation problem caused by the color gamut difference of the display device and the physical limitation of the LED is solved, realizing the high-fidelity mapping from "picture color" to "lighting rendering", and solving the problems in the prior art that it cannot be linked with TV content, cannot accurately extract the main hue, and the lighting color is disconnected from the picture content.

[0006] To solve the above technical problems, the embodiments of the present application provide a real-time synchronization method for Soundbar lighting and TV pictures, and adopt the following technical solutions, including:

[0007] Step 100: Obtain the TV video in real time, detect the vertical synchronization pulse signal of the TV video, and use the vertical pulse signal as the trigger signal to detect the original frame rate of the TV video;

[0008] Step 200: Perform adaptive matching on the original frame rate, and extract the main hue of the picture in the TV video according to the original frame rate and using the regional weighting algorithm, and synchronously obtain the main hue of each frame of the picture;

[0009] Step 300: Obtain the conversion matrix, and use the conversion matrix to perform color gamut matching on the main hue of the picture to obtain the actual color gamut of the LED of the Soundbar lighting, and map each color value in the actual color gamut of the LED to the LED drive signal to synchronously drive the LED of the Soundbar lighting.

[0010] Further, the step 100 includes:

[0011] Step 110: Connect the Soundbar and the associated TV through HDMI communication;

[0012] Step 120: Synchronously analyze the obtained TV video, and obtain the first original frame rate of the TV video by matching the preset frame rate table.

[0013] Further, after the step 120, the step 100 further includes:

[0014] Step 130: Judge the matching analysis of the original frame rate;

[0015] Step 140: If the detection of the original frame rate fails, start the fault tolerance mechanism to dynamically estimate the original frame rate of the current TV video to obtain the second original frame rate of the TV video.

[0016] Further, the step 200 includes:

[0017] Step 210: Dynamically compensate and allocate the video buffer according to the original frame rate of the TV video;

[0018] Step 220: Attach a timestamp to each frame.

[0019] Further, after the step 220, the step 200 further includes:

[0020] Step 230: Obtain the regional saturation, the distance from the regional center to the center of the screen picture, and the regional proportion;

[0021] Step 240: Use the regional saturation, the distance from the regional center to the center of the screen picture, and the regional proportion to construct a regional weighting model;

[0022] Step 250: According to the timestamp, and use the regional weighting model to extract the dominant color.

[0023] Further, after the step 250, the step 200 further includes:

[0024] Step 260: Obtain the playback mode of the TV video according to the original frame rate;

[0025] Step 270: If it is the cinema mode, perform interpolation compensation on the currently extracted dominant color according to the front and back frames;

[0026] Step 280: If it is the game mode, predict the dominant color by analyzing the HUD color information of the game engine.

[0027] Further, the real-time synchronization method of the Soundbar light and the TV picture further includes:

[0028] Step 400: Perform time-domain filtering on the LED lights of the synchronized Soundbar;

[0029] Step 500: Perform gradient interpolation on the partitioned LED lights of the Soundbar.

[0030] To solve the above technical problems, an embodiment of the present application further provides a non-invasive blood pressure measurement device, which adopts the real-time synchronization method of the Soundbar light and the TV picture described in the first aspect, including:

[0031] A frame rate detection module is used to acquire television video in real time, detect a vertical synchronization pulse signal of the television video, and use the vertical synchronization pulse signal as a trigger signal to perform original frame rate detection on the television video;

[0032] A main color tone extraction module is used to adaptively match the original frame rate, extract the main color tone of the picture in the television video according to the original frame rate and adopt a regional weighted algorithm to synchronously obtain the main color tone of each frame;

[0033] The synchronous driving module is used to obtain a conversion matrix, and use the conversion matrix to perform color gamut matching on the main color of the picture to obtain the actual color gamut of the LED of the soundbar light, and map each color value in the actual color gamut of the LED to an LED driving signal to synchronously drive the LED of the soundbar light.

[0034] In order to solve the above technical problems, an embodiment of the present application also provides a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, it implements the steps of the above-mentioned method for real-time synchronization of soundbar lights and TV screens.

[0035] In order to solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the steps of the above-mentioned method for real-time synchronization of soundbar lights and TV screens are implemented.

[0036] Compared with the existing technology, the embodiments of the present application have the following main technical effects: by detecting and obtaining the original frame rate and adaptively matching it, the color extraction operation cycle of the soundbar is dynamically adjusted to ensure the synchronization of the main color extraction. By using the vertical synchronization pulse (V-Sync) as the processing trigger signal, it is ensured that each color analysis is only performed during the stable period of the picture, avoiding color misjudgment due to picture tearing. By accurately converting the main color extracted from the TV picture into the driving control signal of the soundbar lighting system, the color deviation problem caused by the color gamut difference of the display device and the physical limitation of the LED is solved, and a high-fidelity mapping from "picture color" to "light rendering" is achieved, solving the problems in the existing technology of being unable to link with TV content, unable to accurately extract the main color tone, and the disconnection between the light color and the picture content. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the solutions in this application, a brief introduction will be given below to the drawings required for use in the description of the embodiments of this application. Obviously, the drawings described below are some embodiments of this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0038] Figure 1 This is a flowchart of an embodiment of a method for real-time synchronization of soundbar lighting and TV screens according to the present application;

[0039] Figure 2 yes Figure 1 A flowchart of a specific implementation of S100;

[0040] Figure 3 yes Figure 2 A flowchart of a specific implementation method after S120;

[0041] Figure 4 yes Figure 1 A flowchart of a specific implementation of S200;

[0042] Figure 5 yes Figure 4 A flowchart of a specific implementation method after S220;

[0043] Figure 6 yes Figure 5 A flowchart of a specific implementation method after S250;

[0044] Figure 7 This is a flowchart of another embodiment of a method for real-time synchronization of soundbar lighting and TV screens according to the present application;

[0045] Figure 8 This is a schematic diagram of the module structure of a real-time synchronization device for soundbar lighting and TV screens of the present application;

[0046] Figure 9 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0047] The following will clearly and completely describe the technical solutions of the present invention in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0048] References to "embodiments" in this application mean that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "comprising" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.

[0050] In addition, the terms "first" and "second" are used only for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this application, "a plurality" means two or more unless otherwise specifically defined.

[0051] The purpose of the embodiments of this application is to propose a method, device, equipment and medium for real-time synchronization of Soundbar lights and TV pictures.

[0052] To solve the above technical problems, the embodiments of this application provide a method for real-time synchronization of Soundbar lights and TV pictures, adopting the following technical solutions, as Figure 1 , Figure 1 is a flowchart of an embodiment of a method for real-time synchronization of Soundbar lights and TV pictures of this application; it includes:

[0053] Step 100, obtain the TV video in real time, detect the vertical synchronization pulse signal of the TV video, and use the vertical pulse signal as the trigger signal to detect the original frame rate of the TV video.

[0054] In a preferred embodiment, as Figure 2 , Figure 2 is Figure 1 a flowchart of a specific implementation manner of S100 in

[0055] In this embodiment, the original frame rate of the video stream (such as 24 / 30 / 60 Hz) can be obtained by decoding using a video decoder (such as the VPU module of MediaTek MTK 9667).

[0056] It is also possible to parse the VIC (Video Identification Code) of the current video stream through the InfoFrame packet of the HDMI protocol, and then match the preset frame rate table (such as the CEA-861 standard).

[0057] In this embodiment, the first original frame rate is the original frame rate directly detected by parsing the TV video.

[0058] In a preferred embodiment, such as Figure 3 , Figure 3 is Figure 2 a flowchart of a specific embodiment after S120; after step 120, step 100 further includes: step 130, judging the matching and parsing of the original frame rate; step 140, if the original frame rate detection fails, starting a fault tolerance mechanism to dynamically estimate the original frame rate of the current TV video to obtain the second original frame rate of the TV video.

[0059] In this embodiment, in the case of direct parsing detection failure, the original frame rate is detected and obtained using equation (1):

[0060]

[0061] where V-Sync is triggered twice per frame in progressive scanning, and f estimated is the second original frame rate.

[0062] Step 200, perform adaptive matching on the original frame rate, extract the main color tone of the picture in the TV video according to the original frame rate and using the regional weighted algorithm, and synchronously obtain the main color tone of each frame.

[0063] In a preferred embodiment, such as Figure 4 , Figure 4 is Figure 1 a flowchart of a specific embodiment of S200; step 200 includes: step 210, dynamically compensate and allocate the video buffer according to the original frame rate of the TV video; step 220, attach a timestamp to each frame.

[0064] In this embodiment, the video frame buffer is dynamically allocated according to the frame rate. For low frame rates (≤30 Hz), 3 frames of cache are reserved for interpolation compensation (to prevent frame loss); for high frame rates (>30 Hz), 1 frame of cache + direct pass mode is enabled (to reduce latency).

[0065] Attach a timestamp (with a precision of 0.1 ms) to each frame. Subsequently, when extracting the dominant color and driving the LED lights, the timestamp can be matched with the current frame to perform delay compensation and ensure synchronization.

[0066] When performing delay compensation, use Equation (2):

[0067]

[0068] Among them, the meanings of the parameters in Equation (2) are shown in Table 1.

[0069] Table 1

[0070]

[0071] In a preferred embodiment, as Figure 5 , Figure 5 is Figure 4 a flowchart of a specific embodiment after S220; after step 220, step 200 further includes: step 230, obtaining the regional saturation, the distance from the regional center to the center of the screen image, and the regional proportion; step 240, constructing a regional weighted model using the regional saturation, the distance from the regional center to the center of the screen image, and the regional proportion; step 250, extracting the dominant color according to the timestamp and using the regional weighted model.

[0072] In this embodiment, the regional weighted model is as shown in Equation (3):

[0073]

[0074] Among them, W region represents the weight value of the current region, dimensionless (scalar), and the greater the weight, the more significant the influence of this region on the dominant color.

[0075] C saturation is the regional saturation (in the HSV space), A region is the regional area proportion, and D center is the normalized distance from the regional center to the center of the screen.

[0076] After regional weighting, perform the output of the dominant color:

[0077]

[0078] Among them, the meanings of the parameters in Equation (4) are shown in Table 2.

[0079] Table 2

[0080]

[0081] Furthermore, as Figure 6 ,Figure 6 Yes Figure 5 It is a flowchart of a specific implementation after S250; after step 250, step 200 further includes:

[0082] Step 260, obtain the playback mode of the TV video according to the original frame rate; Step 270, if it is the cinema mode, perform interpolation compensation on the currently extracted dominant color according to the front and rear frames; Step 280, if it is the game mode, predict the dominant color by analyzing the HUD color information of the game engine.

[0083] In this embodiment, cinema mode (24 / 30Hz): Enable the motion compensation algorithm, smooth the light transition through interpolation of front and rear frame color data. When performing interpolation compensation, use the light fade speed formula:

[0084]

[0085] where, μ gradient represents the light fade speed, ΔH represents the change amount of hue, the unit is degree (°), representing the color difference value of the dominant color between adjacent frames. For example, when transitioning from red (0°) to yellow (60°), then ΔH = 60°. Δt represents the time change amount, the unit is frame (Frame), representing the time interval between adjacent frames, usually determined by the video frame rate. For example, in a 60Hz video, Δt = 1 / 60 second ≈ 16.67ms.

[0086] Limitation conditions: Cinema mode (low frame rate scenario): Limit the hue change rate ≤ 10° / frame to ensure smooth light transition and avoid visual jumping. Game mode (high frame rate scenario): Allow faster hue changes (≤ 30° / frame) to match fast screen switching and reduce latency.

[0087] Principle and formula analysis of the motion compensation algorithm:

[0088] Motion Compensation is a technology that generates intermediate frames or compensates the picture through inter-frame motion estimation. The core goal is to reduce redundant information and improve smoothness.

[0089] Game mode (60 / 120Hz): Adopt the "predictive rendering" technology to predict the dominant color by analyzing the HUD color information of the game engine. Prediction algorithm:

[0090] H predicted = H current + α(H current - H predicted )(6),

[0091] where, the meanings of the parameters in formula (6) are shown in Table 3.

[0092] Table 3

[0093]

[0094]

[0095] The significance of formula (6) is as follows: Based on the hue difference between the current frame and the previous frame, predict the main color direction of the next frame to reduce the lighting delay at high frame rates.

[0096] Step 300: Obtain the conversion matrix, and use the conversion matrix to perform color gamut matching on the main color of the picture to obtain the actual color gamut of the LEDs of the Soundbar lighting, and map each color value in the actual color gamut of the LEDs to the LED drive signal to synchronously drive the LEDs of the Soundbar lighting.

[0097] In this embodiment, when extracting the main color, dynamic range compression (brightness adaptation): Adjust the color brightness (Value) according to the LED maximum brightness limit (such as 10% - 90% of the maximum brightness):

[0098]

[0099] When Y source >Y source_max , start tone mapping to retain high - light details.

[0100] Among them, Y source represents the original brightness value of the input image (unit: nit), usually extracted from the CIE XYZ color space, representing the absolute brightness of the current pixel.

[0101] Y source_max represents the maximum brightness value of the input image (unit: nit). For example, an HDR image may be as high as 10,000 nit and needs to be compressed to the dynamic range of the display device.

[0102] Y LED_max represents the maximum safe brightness value of the LED lighting system (unit: nit), which is determined by the hardware specifications. For example, the WS2812B LED strip is usually limited to below 500 nit.

[0103] Y LED_min represents the minimum displayable brightness value of the LED lighting system (unit: nit) to avoid the inability to present details in overly dark areas.

[0104] Adjust the color brightness (Value) according to the LED maximum brightness limit (such as 1000 nits), and map the picture brightness (Y value) to the safe operating range of the LED (such as 10% - 90% of the maximum brightness) to avoid LED over - exposure while retaining high - light details.

[0105] Further, such as Figure 7 , Figure 7 This is a flowchart of another embodiment of a method for real-time synchronization of soundbar lighting and TV screens according to the present application; Figure 8 This is a schematic diagram of the module structure of a non-invasive blood pressure measurement device of the present application; the real-time synchronization method of the soundbar light and the TV screen also includes:

[0106] Step 400: Perform time domain filtering on the LED lights of the synchronously linked soundbar; Step 500: Perform gradient interpolation on the partitioned LED lights of the soundbar.

[0107] In this embodiment, the gradual smoothing process (joint filtering in time and space domains) is as follows:

[0108] When performing time domain filtering, use formula (9):

[0109]

[0110] The meanings of the parameters in formula (9) are shown in Table 4.

[0111] Table 4

[0112]

[0113] After joint spatiotemporal filtering, the color differences between consecutive frames are limited to avoid sudden changes in the soundbar lighting display. By detecting the original frame rate and adaptively matching it, the soundbar's color extraction operation cycle is dynamically adjusted to ensure the synchronization of the main color extraction. By using the vertical synchronization pulse (V-Sync) as the processing trigger signal, it is ensured that each color analysis is only performed during the stable period of the picture, avoiding color misjudgment due to picture tearing. By accurately converting the main color extracted from the TV picture into the drive control signal of the soundbar lighting system, the color deviation problem caused by the color gamut difference of the display device and the physical limitations of the LED is solved, and a high-fidelity mapping from "picture color" to "light rendering" is achieved, solving the problems of the existing technology that cannot be linked with TV content, cannot accurately extract the main color tone, and the disconnection between the light color and the picture content.

[0114] To solve the above technical problems, an embodiment of the present application further provides a device 600 for real-time synchronization of soundbar lighting and television screens, which adopts the real-time synchronization method of soundbar lighting and television screens of the first aspect, including:

[0115] The frame rate detection module 601 is used to obtain the TV video in real time, detect the vertical synchronization pulse signal of the TV video, and use the vertical pulse signal as the trigger signal to perform the original frame rate detection on the TV video.

[0116] Connect the Soundbar to the associated TV through HDMI communication; synchronously parse the obtained TV video, and obtain the first original frame rate of the TV video by matching the preset frame rate table.

[0117] In this embodiment, the original frame rate of the video stream (such as 24 / 30 / 60Hz) can be obtained by decoding using a video decoder (such as the VPU module of MediaTek MTK 9667).

[0118] It is also possible to parse the VIC (Video Identification Code) of the current video stream through the InfoFrame packet of the HDMI protocol, and then match the preset frame rate table (such as the CEA-861 standard).

[0119] In this embodiment, the first original frame rate is the original frame rate directly detected by parsing the TV video. Judge the matching and parsing of the original frame rate; if the original frame rate detection fails, start the fault tolerance mechanism to dynamically estimate the original frame rate of the current TV video to obtain the second original frame rate of the TV video.

[0120] The main color extraction module 602 is used to perform adaptive matching on the original frame rate, extract the main color of the picture in the TV video according to the original frame rate and using the regional weighting algorithm, and synchronously obtain the main color of each frame of the picture.

[0121] Dynamically compensate and allocate the video buffer according to the original frame rate of the TV video; attach a timestamp to each frame. In this embodiment, the video frame buffer is dynamically allocated according to the frame rate: low frame rate (≤30Hz): reserve 3 frames of cache for interpolation compensation (to prevent frame loss), high frame rate (>30Hz): enable 1 frame of cache + direct pass mode (to reduce latency).

[0122] Attach a timestamp (with a precision of 0.1 ms) to each frame. Subsequently, when extracting the dominant color and driving the LED lights, the timestamp can be matched with the current frame for delay compensation to ensure synchronization. Obtain the regional saturation, the distance from the regional center to the center of the screen, and the regional proportion; construct a regional weighted model using the regional saturation, the distance from the regional center to the center of the screen, and the regional proportion; extract the dominant color according to the timestamp and using the regional weighted model. Obtain the playback mode of the TV video according to the original frame rate; if it is the cinema mode, perform interpolation compensation on the currently extracted dominant color according to the previous and next frames; if it is the game mode, predict the dominant color by parsing the HUD color information of the game engine. In this embodiment, for the cinema mode (24 / 30 Hz): Enable the motion compensation algorithm to smooth the light transition through interpolation of the color data of the previous and next frames. When performing interpolation compensation, use the light fade speed formula.

[0123] The synchronization driving module 603 is configured to obtain a conversion matrix, perform color gamut matching on the dominant color of the screen using the conversion matrix to obtain the actual color gamut of the LEDs of the Soundbar lights, and map each color value in the actual color gamut of the LEDs to an LED driving signal to synchronously drive the LEDs of the Soundbar lights.

[0124] To solve the above technical problems, an embodiment of the present application further provides a computer device, including a memory and a processor. A computer-readable instruction is stored in the memory, and when the processor executes the computer-readable instruction, the steps of the above real-time synchronization method for Soundbar lights and TV screen are implemented.

[0125] The computer device adopts the following technical solution: It includes a processor, a network module, and a memory, and the processor and the memory are interconnected through the network module.

[0126] The computer device can be a device such as a computer, a server, a workstation, etc., or a mobile device such as a mobile phone, a tablet, a vehicle-mounted mobile terminal, etc., or other devices with program execution capabilities. The internal structure diagram of the computer device can be as Figure 9 shown Figure 9It is a schematic structural diagram of an embodiment of a computer device according to the present application. The computer device includes a processor, a memory, and a network module. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, instructions, or code. The internal memory provides an environment for the operation of the operating system and instructions or code in the non-volatile storage medium. When the instructions or code are executed by the processor, the functions or steps of a method for real-time synchronization of Soundbar lights and TV pictures are implemented. The network module of the computer device may include a network interface and / or a wireless network module, and the computer device can communicate with other devices or service platforms through the network module. In addition, the computer device may further include a display screen, an input device, etc.

[0127] Among them, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions. When the processor executes the instructions or code, the steps of a method for real-time synchronization of Soundbar lights and TV pictures as described above are implemented.

[0128] To solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium. Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of a method for real-time synchronization of Soundbar lights and TV pictures as described above are implemented.

[0129] To solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium. Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of a method for real-time synchronization of Soundbar lights and TV pictures as described above are implemented.

[0130] The computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by the processor, it implements Figures 1 to 7 the steps of a method for real-time synchronization of Soundbar lights and TV pictures provided by each step above. For the specific implementation manner provided by each step above, reference may be made to the above, and details are not described herein again.

[0131] The above computer-readable storage medium may be a non-invasive blood pressure measurement device provided in any of the foregoing embodiments or an internal storage unit of the above terminal device, such as the hard disk or memory of a computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device.

[0132] Furthermore, the computer-readable storage medium may include both an internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0133] However, it should be understood that implementation of all illustrated components is not required, and more or fewer components may be implemented instead. Those skilled in the art will appreciate that a computer device herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, and the like.

[0134] The computer device may be a desktop computer, notebook computer, PDA, cloud server, etc. The computer device may interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.

[0135] Compared with the existing technology, the embodiments of the present application have the following main technical effects: by detecting and obtaining the original frame rate and adaptively matching it, the color extraction operation cycle of the soundbar is dynamically adjusted to ensure the synchronization of the main color extraction. By using the vertical synchronization pulse (V-Sync) as the processing trigger signal, it is ensured that each color analysis is only performed during the stable period of the picture, avoiding color misjudgment due to picture tearing. By accurately converting the main color extracted from the TV picture into the driving control signal of the soundbar lighting system, the color deviation problem caused by the color gamut difference of the display device and the physical limitation of the LED is solved, and a high-fidelity mapping from "picture color" to "light rendering" is achieved, solving the problems in the existing technology of being unable to link with TV content, unable to accurately extract the main color tone, and the disconnection between the light color and the picture content.

[0136] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A real-time synchronization method for Soundbar lighting and TV pictures, characterized by comprising: Step 100: Obtain the TV video in real time, detect the vertical synchronization pulse signal of the TV video, and use the vertical pulse signal as a trigger signal to detect the original frame rate of the TV video; Step 200: Perform adaptive matching on the original frame rate, extract the main color tone of the picture in the TV video according to the original frame rate and using the regional weighting algorithm, and synchronously obtain the main color tone of each frame; Step 300: Obtain a conversion matrix, and use the conversion matrix to perform color gamut matching on the main color tone to obtain the actual color gamut of the LEDs of the Soundbar lighting, and map each color value in the actual color gamut of the LEDs to an LED driving signal to synchronously drive the LEDs of the Soundbar lighting.

2. The method for real-time synchronization of the Soundbar light and the TV picture according to claim 1, characterized in that, The said Step 100 includes: Step 110: Connect the Soundbar and the associated TV through HDMI communication; Step 120: Synchronously analyze the obtained TV video, and obtain the first original frame rate of the TV video by matching a preset frame rate table.

3. The real-time synchronization method for Soundbar lighting and TV pictures according to claim 2, characterized in that after the said Step 120, the said Step 100 further includes: Step 130: Judge the matching analysis of the original frame rate; Step 140: If the original frame rate detection fails, start a fault tolerance mechanism to dynamically estimate the original frame rate of the current TV video to obtain the second original frame rate of the TV video.

4. The method for real-time synchronization of Soundbar lighting and TV screen according to claim 1, characterized in that, The said Step 200 includes: Step 210: Dynamically compensate and allocate the video buffer according to the original frame rate of the TV video; Step 220: Attach a time stamp to each frame.

5. The real-time synchronization method for Soundbar lighting and TV pictures according to claim 4, characterized in that after the said Step 220, the said Step 200 further includes: Step 230: Obtain the regional saturation, the distance from the regional center to the center of the screen picture, and the regional proportion; Step 240: Use the regional saturation, the distance from the regional center to the center of the screen picture, and the regional proportion to construct a regional weighting model; Step 250: Extract the main color tone according to the time stamp and using the regional weighting model.

6. The real-time synchronization method for Soundbar lighting and TV pictures according to claim 5, characterized in that after the said Step 250, the said Step 200 further includes: Step 260: Obtain the playback mode of the TV video according to the original frame rate; Step 270: If it is the cinema mode, perform interpolation compensation on the currently extracted main color tone according to the front and back frames; Step 280: If it is the game mode, predict the main color tone by analyzing the HUD color information of the game engine.

7. The real-time synchronization method for Soundbar lighting and TV pictures according to claim 1, characterized in that the real-time synchronization method for Soundbar lighting and TV pictures further includes: Step 400: Perform time-domain filtering on the LED lights of the synchronously linked Soundbar; Step 500: Perform gradient interpolation on the zoned LED lights of the Soundbar.

8. A real-time synchronization device for Soundbar lights and TV pictures, which adopts the real-time synchronization method for Soundbar lights and TV pictures described in any one of claims 1-7, and is characterized in that, It includes: A frame rate detection module, configured to obtain a TV video in real time, detect a vertical synchronization pulse signal of the TV video, and use the vertical pulse signal as a trigger signal to perform original frame rate detection on the TV video; A dominant color extraction module, configured to perform adaptive matching on the original frame rate, extract the dominant color of the picture in the TV video according to the original frame rate and using a regional weighting algorithm, and synchronously obtain the dominant color of each frame of the picture; A synchronous driving module, configured to obtain a conversion matrix, perform color gamut matching on the dominant color of the picture using the conversion matrix to obtain the actual color gamut of the LEDs of the Soundbar lights, and map each color value in the actual color gamut of the LEDs to an LED driving signal to synchronously drive the LEDs of the Soundbar lights.

9. A computer device, characterized in that, It includes a memory and a processor. Computer-readable instructions are stored in the memory. When the processor executes the computer-readable instructions, the steps of the method for real-time synchronization of the Soundbar lights and the TV picture according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that, Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the method for real-time synchronization of the Soundbar lights and the TV picture according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Video-based illumination dynamic optimization method, storage medium and electronic equipment

    CN121193971A

  • Video-based lighting dynamics optimization methods, storage media, and electronic devices

    CN121193971B