Dimming glass control method, system and device, electronic equipment and storage medium

CN117348280BActive Publication Date: 2026-08-18BOE TECHNOLOGY GROUP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311277324.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2026-08-18
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

[0004]本申请实施例在于提供一种调光玻璃控制方法、系统、装置、电子设备及存储介质,旨在解决如何实现调光玻璃的状态与其他气氛调节因素的有效互动的问题

Benefits of technology

[0091] This application provides a method, system, device, electronic device, and storage medium for controlling dimming glass. The method includes: acquiring raw audio data; converting the raw audio data into target audio data according to the audio acquisition frequency of the raw audio data, wherein the target audio data contains multiple audio data frames; generating a target transmittance for each glass corresponding to each audio data frame based on the target audio data; and adjusting the transmittance of each glass according to the target transmittance of each glass. This application converts the audio data acquired in a sound-motion mode into the transmittance of the glass in each frame, and adjusts the brightness of the glass according to the transmittance of each frame according to the refresh frequency of the glass. This eliminates the need for manual adjustment of the glass brightness, allowing the glass brightness to adjust accordingly to the different frequencies of the audio data in the scene. This makes the brightness state of the dimming glass correspond to the rhythm of the scene sound, forming an effective interaction between different scene factors, effectively improving the user's visual perception and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117348280B_ABST
    Figure CN117348280B_ABST
Patent Text Reader

Abstract

The application provides a dimming glass control method, system and device, electronic equipment and a storage medium, and relates to the technical field of display. The method comprises the following steps: obtaining original audio data; converting the original audio data into target audio data according to an audio acquisition frequency of the original audio data, wherein the target audio data comprises a plurality of audio data frames; generating a target transmittance of each piece of glass corresponding to each audio data frame based on the target audio data; and adjusting the transmittance of each piece of glass according to the target transmittance of each piece of glass.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to a dimming glass control method, system, device, electronic device, and storage medium. Background Technology

[0002] Smart glass, also known as frosted glass, electrically controlled glass, or intelligent dimming and photochromic glass, is widely used in high-speed rail windows, automobile windows, and building curtain walls (such as high-end buildings and office partitions). Smart glass controls light transmittance by varying the driving voltage, thus achieving diverse display effects and patterns and improving the ambient atmosphere through different light transmittance levels.

[0003] However, currently, most adjustments to the dimming glass state require manual control based on individual needs. Automatic control is primarily based on ambient light intensity. However, this method is inefficient, unable to effectively interact with other ambient atmosphere-regulating factors (such as music and video), resulting in limited functionality and a poor user experience. Therefore, achieving effective interaction between the dimming glass state and other atmosphere-regulating factors has become a pressing issue in this field. Summary of the Invention

[0004] This application provides a method, system, device, electronic device, and storage medium for controlling dimming glass, aiming to solve the problem of how to achieve effective interaction between the state of dimming glass and other atmosphere conditioning factors.

[0005] A first aspect of this application provides a method for controlling dimming glass, the method comprising:

[0006] Obtain the raw audio data;

[0007] According to the audio acquisition frequency of the original audio data, the original audio data is converted into target audio data, wherein the target audio data contains multiple audio data frames;

[0008] Based on the target audio data, generate the target transmittance of each glass panel corresponding to each audio data frame;

[0009] The transmittance of each piece of glass is adjusted according to the target transmittance of each piece of glass.

[0010] In one optional implementation, converting the original audio data into target audio data according to the audio acquisition frequency of the original audio data includes:

[0011] Obtain the audio acquisition frequency;

[0012] Based on the audio acquisition frequency, obtain the metadata of the original audio data collected per unit time.

[0013] Based on the glass refresh rate, the metadata collected from the original audio data per unit time is divided into multiple first metadata segments, and the number of first metadata segments is less than or equal to the glass refresh rate.

[0014] Based on the plurality of first metadata segments, the plurality of audio data frames are determined;

[0015] The plurality of audio data frames are combined into the target audio data.

[0016] In one optional implementation, determining the plurality of audio data frames based on the first metadata segment includes:

[0017] In the target metadata segment, multiple metadata belonging to the target metadata segment are obtained, wherein the target metadata segment is any one of the multiple first metadata segments;

[0018] Among the multiple metadata, the metadata with the largest amplitude value is determined as the audio data frame corresponding to the target metadata segment.

[0019] In one optional implementation, multiple glass panels form multiple display units, and the glass panels in each display unit are arranged sequentially in a one-dimensional direction. The step of converting the original audio data into target audio data according to the audio acquisition frequency of the original audio data includes:

[0020] Based on the audio acquisition frequency, obtain the metadata of the original audio data collected per unit time.

[0021] The metadata collected from the original audio data per unit time is divided into a target number of second metadata segments, wherein the target number is less than or equal to the sum of the glass refresh rates of the multiple display units;

[0022] Based on the second metadata segment, the plurality of audio data frames are determined, and each audio data frame corresponds one-to-one with the second metadata segment;

[0023] Based on the number of display units, the audio data frame is divided into multiple audio sub-data frames, each of which serves as the target audio data for each display unit within a unit of time. The number of each audio sub-data frame is less than or equal to the glass refresh rate.

[0024] In one alternative implementation, the number of audio data frames per unit time in the target audio data is less than or equal to the glass refresh rate.

[0025] In one optional implementation, generating the target transmittance of each glass pane corresponding to each audio data frame based on the target audio data includes:

[0026] Obtain the number of glass panes and the theoretical maximum amplitude;

[0027] Based on the theoretical maximum amplitude and the number of glass panes, the mapping coefficients are determined;

[0028] Based on the multiple audio data frames in the target audio data and the mapping coefficients, the transmittance adjustment result corresponding to each audio data frame is obtained, and the transmittance adjustment result is used to characterize the number of bright-state glass and the number of dark-state glass.

[0029] Based on the transmittance adjustment results, the target transmittance of each glass corresponding to each audio data frame is generated.

[0030] In one optional implementation, a display unit is composed of multiple glass panels, which are arranged sequentially in a one-dimensional direction. The step of generating the target transmittance for each glass panel corresponding to each audio data frame based on the transmittance adjustment result includes:

[0031] Within each audio data frame, multiple glass panels arranged sequentially along the one-dimensional direction in the display unit are defined as a first glass group, and the number of glass panels in the first glass group is the same as the number of bright glass panels.

[0032] The glass in the display unit that does not belong to the first glass group is identified as the second glass group, and the number of glass in the second glass group is the same as the number of dark glass.

[0033] The target transmittance of each glass in the first glass group is set to the bright state transmittance, and the target transmittance of each glass in the second glass group is set to the dark state transmittance.

[0034] In an alternative implementation, in manual mode, the method further includes:

[0035] Obtain custom information, which is used to characterize the bright state transmittance and glass number of the glass. Glasses with different glass numbers may have the same or different bright state transmittance.

[0036] The transmittance of each piece of glass is adjusted according to the customized information.

[0037] In one optional implementation, adjusting the transmittance of each piece of glass according to the target transmittance of each piece of glass includes:

[0038] Within each audio data frame, the transmittance of each piece of glass is acquired in real time as the actual transmittance;

[0039] The actual transmittance is compared with the target transmittance. If the target transmittance is different from the actual transmittance, the actual transmittance of each piece of glass is adjusted to the target transmittance.

[0040] A second aspect of this application provides a dimming glass control system, the system comprising:

[0041] The system includes a main control terminal, a dimming system, and a drive terminal. The dimming system is communicatively connected to both the main control terminal and the drive terminal. The drive terminal is used to adjust the brightness of the glass, and the main control terminal is used to determine the dimming mode of the dimming glass control system.

[0042] The dimming system is used to perform the dimming glass control method described in any one of the first aspects.

[0043] In one optional implementation, the dimming mode includes at least a sound-activated mode and a manual mode; wherein,

[0044] When the dimming mode is the sound-activated mode, the main control terminal is used to generate an audio acquisition command and send it to the dimming system;

[0045] When the dimming mode is manual mode, the main control terminal is used to acquire custom information and send the custom information to the driver terminal through the dimming system.

[0046] In one alternative implementation, the dimming system includes an audio acquisition subsystem and a sound processing subsystem;

[0047] The audio acquisition subsystem is used to respond to the audio acquisition command sent by the main control terminal, acquire raw audio data, and send the raw audio data to the sound processing subsystem. The raw audio data is real-time audio data and / or preset audio data.

[0048] The sound processing subsystem is used to convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data, wherein the target audio data contains multiple audio data frames;

[0049] The sound processing subsystem is further configured to generate a target transmittance for each glass corresponding to each audio data frame based on the target audio data, and send the target transmittance of each glass to the driving terminal so that the driving terminal adjusts the transmittance of each glass according to the target transmittance of each glass.

[0050] In one alternative implementation, the driving terminal includes at least one driving subsystem, each driving subsystem controlling at least one piece of glass, wherein,

[0051] The driving subsystem is used to receive the target transmittance of each glass corresponding to each audio data frame;

[0052] The driving subsystem is also configured to acquire the transmittance of the glass in real time as the actual transmittance within each audio data frame, and adjust the actual transmittance to the target transmittance if the target transmittance differs from the actual transmittance.

[0053] A third aspect of this application provides a dimming glass control device, the device comprising:

[0054] The raw audio data module is used to acquire raw audio data;

[0055] The data processing module is used to convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data, wherein the target audio data contains multiple audio data frames;

[0056] The target transmittance module is used to generate the target transmittance of each piece of glass corresponding to each audio data frame based on the target audio data;

[0057] An adjustment module is used to adjust the transmittance of each glass according to the target transmittance of each glass.

[0058] In one optional implementation, the data processing module includes:

[0059] The first acquisition submodule is used to acquire the audio acquisition frequency;

[0060] The first metadata submodule is used to obtain the metadata of the original audio data collected per unit time based on the audio acquisition frequency;

[0061] The first metadata segment submodule is used to divide the metadata collected from the original audio data per unit time into multiple first metadata segments based on the glass refresh frequency. The number of first metadata segments is less than or equal to the glass refresh frequency.

[0062] The first audio data frame submodule is used to determine the multiple audio data frames based on the multiple first metadata segments;

[0063] The combination submodule is used to combine the multiple audio data frames into the target audio data.

[0064] In one optional implementation, the first audio data frame submodule includes:

[0065] Metadata unit, used to obtain multiple metadata belonging to the target metadata segment in the target metadata segment, wherein the target metadata segment is any one of the multiple first metadata segments;

[0066] The maximum amplitude unit is used to determine the metadata with the maximum amplitude among the plurality of metadata, as the audio data frame corresponding to the target metadata segment.

[0067] In one optional implementation, the data processing module further includes:

[0068] The second metadata submodule is used to obtain the metadata of the original audio data collected per unit time based on the audio acquisition frequency.

[0069] The second metadata segment submodule is used to divide the metadata collected from the original audio data within a unit time into a target number of second metadata segments, wherein the target number is less than or equal to the sum of the glass refresh rates of the multiple display units;

[0070] The second audio data frame submodule is used to determine the plurality of audio data frames based on the second metadata segment, wherein each audio data frame corresponds one-to-one with the second metadata segment;

[0071] The splitting submodule is used to split the audio data frame into multiple audio sub-data frames based on the number of display units. Each audio sub-data frame serves as the target audio data for each display unit within a unit of time. The number of each audio sub-data frame is less than or equal to the glass refresh rate.

[0072] In one optional implementation, the target transmittance module includes:

[0073] The second acquisition submodule is used to acquire the number of glass panes and the theoretical maximum amplitude.

[0074] The mapping coefficient submodule is used to determine the mapping coefficient based on the theoretical maximum amplitude and the number of glass elements.

[0075] The transmittance adjustment result submodule is used to obtain the transmittance adjustment result corresponding to each audio data frame based on the multiple audio data frames in the target audio data and the mapping coefficient. The transmittance adjustment result is used to characterize the number of bright-state glass and the number of dark-state glass.

[0076] The target transmittance submodule is used to generate the target transmittance of each glass panel corresponding to each audio data frame based on the transmittance adjustment result.

[0077] In one optional implementation, the target transmittance submodule includes:

[0078] The first glass group unit is used to determine multiple glass pieces arranged sequentially and continuously along the one-dimensional direction in the display unit as the first glass group in each audio data frame, wherein the number of glass pieces in the first glass group is the same as the number of bright glass pieces.

[0079] The second glass group unit is used to identify glass in the display unit that does not belong to the first glass group as the second glass group, and the number of glass in the second glass group is the same as the number of dark glass;

[0080] The target transmittance unit is used to set the target transmittance of each glass in the first glass group to the light state transmittance, and to set the target transmittance of each glass in the second glass group to the dark state transmittance.

[0081] In one alternative embodiment, the device further includes:

[0082] A custom information module is used to obtain custom information, which is used to characterize the bright state transmittance of the glass and the glass number. Glasses with different glass numbers may have the same or different bright state transmittance.

[0083] The second adjustment module is used to adjust the transmittance of each piece of glass according to the customized information.

[0084] In one optional implementation, the adjustment module includes:

[0085] The actual transmittance submodule is used to acquire the transmittance of each piece of glass in real time within each audio data frame, and use it as the actual transmittance.

[0086] The adjustment submodule is used to compare the actual transmittance with the target transmittance, and if the target transmittance and the actual transmittance are different, adjust the actual transmittance of each piece of glass to the target transmittance.

[0087] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in any of the dimming glass control methods described in the first aspect.

[0088] A fourth aspect of this application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implements the steps of any of the dimming glass control methods described in the first aspect.

[0089] A fifth aspect of this application provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps in the dimming glass control method described in any one of the first aspects.

[0090] Beneficial effects:

[0091] This application provides a method, system, device, electronic device, and storage medium for controlling dimming glass. The method includes: acquiring raw audio data; converting the raw audio data into target audio data according to the audio acquisition frequency of the raw audio data, wherein the target audio data contains multiple audio data frames; generating a target transmittance for each glass corresponding to each audio data frame based on the target audio data; and adjusting the transmittance of each glass according to the target transmittance of each glass. This application converts the audio data acquired in a sound-motion mode into the transmittance of the glass in each frame, and adjusts the brightness of the glass according to the transmittance of each frame according to the refresh frequency of the glass. This eliminates the need for manual adjustment of the glass brightness, allowing the glass brightness to adjust accordingly to the different frequencies of the audio data in the scene. This makes the brightness state of the dimming glass correspond to the rhythm of the scene sound, forming an effective interaction between different scene factors, effectively improving the user's visual perception and user experience.

[0092] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0093] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0094] Figure 1 This is a flowchart of a dimming glass control method according to an embodiment of this application;

[0095] Figure 2 This is a schematic flowchart of a dimming glass control method according to an embodiment of this application;

[0096] Figure 3 This is an example diagram of a first metadata segment corresponding to raw audio data and an audio data frame, as proposed in an embodiment of this application.

[0097] Figure 4 This is an example diagram illustrating the transmittance adjustment effect of a display unit under continuous audio data frames, as proposed in one embodiment of this application.

[0098] Figure 5 This is a schematic diagram of a dimming glass control system architecture proposed in one embodiment of this application;

[0099] Figure 6 This is a schematic diagram of a dimming glass control device according to an embodiment of this application;

[0100] Figure 7 A schematic diagram of an electronic device is presented in one embodiment of this application. Detailed Implementation

[0101] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0102] Smart glass, also known as frosted glass, electrically controlled glass, or intelligent dimming and photochromic glass, is widely used in high-speed rail windows, automobile windows, and building curtain walls (such as high-end buildings and office partitions). Smart glass controls light transmittance by varying the driving voltage, thus achieving diverse display effects and patterns and improving the ambient atmosphere through different light transmittance levels.

[0103] In related technologies, most current dimming glass settings require manual control based on individual needs. Automatic control primarily relies on ambient light intensity. However, this method is less sophisticated, lacking effective interaction with other ambient ambiance factors (such as music and video), resulting in limited functionality and a poor user experience.

[0104] In view of this, embodiments of this application propose a method for controlling dimming glass. Figure 1 A flowchart of a dimming glass control method is shown, such as Figure 1 As shown, the method includes the following steps:

[0105] S101. Obtain the raw audio data.

[0106] S102. Convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data.

[0107] According to the audio acquisition frequency of the original audio data, the original audio data is converted into target audio data, wherein the target audio data contains multiple audio data frames.

[0108] S103. Based on the target audio data, generate the target transmittance of each glass corresponding to each audio data frame.

[0109] S104. Adjust the transmittance of each piece of glass according to the target transmittance of each piece of glass.

[0110] In this embodiment, the glass refers to a smart glass, which is a type of glass whose light transmittance can be adjusted under the influence of voltage or current. It is widely used in automotive and construction fields. In different product application scenarios, the type of smart glass includes a normally dark mode and a normally white mode. The normally dark mode refers to a state where the smart glass has low transmittance when no voltage is applied; applying voltage increases the transmittance, thus making the smart glass bright. The normally white mode is the opposite: a state where the smart glass has high transmittance when no voltage is applied; applying voltage decreases the transmittance, thus making the smart glass dark. For the smart glass control method provided in this embodiment, the smart glass can be either a normally dark mode or a normally white mode. The specific mode of the smart glass can be determined according to the actual situation, and this application does not impose any restrictions.

[0111] In this embodiment, the transmittance of the dimming glass is adjusted according to different dimming modes. The dimming mode is used to determine the dimming strategy that forms the transmittance of the dimming glass. The dimming mode includes at least a dynamic mode and a manual mode. The dynamic mode is used to automatically adjust the transmittance of the glass in real time based on the original audio data and according to the rhythm of the audio represented in the original audio data. The original audio data can be preset audio data, such as pre-acquired music, recordings, or other audio files. The preset audio data can be input through an audio transmission path in the dynamic mode. The original audio data can also be real-time audio data, such as on-site recordings acquired in real time by an audio acquisition device. Specifically, the original audio data includes continuous metadata acquired according to the audio acquisition frequency. The metadata refers to the byte information stored in bytes according to the computer's data bit depth when the original audio data is acquired sequentially over time according to the audio acquisition frequency. In other words, the metadata is the data representation of audio information at the computer level. Changes in this metadata digitally represent the rhythm information of the original audio data. Therefore, by processing the original audio data, the rhythm represented by the changes in the metadata can be captured and then converted.

[0112] In this embodiment, the target audio data is audio data that can be applied to the dimming glass, obtained by resampling the original audio data according to the glass refresh rate. This results in the target audio data having fewer audio data frames compared to the original audio data. For the dimming glass in each display unit, after converting the original audio data into target audio data, the number of audio data frames in the target audio data is less than or equal to the frequency at which the glass can adjust its transmittance per unit time, allowing the dimming glass in each display unit to adjust its transmittance according to the audio data frames in the target audio data.

[0113] Because the transmittance of current dimming glass needs to be manually input for dimming, the brightness of different dimming glasses is adjusted according to the manually input transmittance data. However, the manual input process cannot obtain transmittance based on audio data, so the brightness change of the glass cannot be linked to the rhythm of the audio. For example, when the rhythm of the ambient music in the room slows down rapidly, because the frequency of manual input is much lower than the frequency of audio change, the manually controlled transmittance of the glass cannot dim in real time with the slowing down of the music rhythm. This makes the transmittance of the glass in the room completely unrelated to the change of music rhythm, reducing the user's audiovisual experience.

[0114] This application embodiment acquires raw audio data and uses continuous metadata output from the raw audio data according to the audio acquisition frequency as reference data for real-time adjustment of glass transmittance. By capturing rhythm changes through this metadata and converting them into transmittance changes, the glass transmittance is automatically adjusted according to the transmittance of the corresponding raw audio data. Simultaneously, to ensure that the acquired raw audio data can be converted into transmittance within the glass refresh frequency range, the raw audio data is first converted into target audio data according to the glass refresh frequency. Based on the target audio data within the range of glass load-bearing variation, a transmittance characterizing the change in audio rhythm is generated. This achieves the adjustment of glass transmittance through raw audio data, ensuring that the brightness changes caused by glass transmittance are consistent with the audio changes. For example, when the rhythm of the audio data speeds up, the speed of brightness alternation caused by the change in glass transmittance should be faster, thereby forming an effective interaction between different scene factors and improving the user's audiovisual experience.

[0115] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, Figure 2 This paper illustrates a schematic flowchart of a dimming glass control method according to an embodiment of this application, in conjunction with... Figure 2 The following is a detailed description of the scheme proposed in this application:

[0116] In specific implementation step S101, the current dimming mode is first determined. The dimming mode includes at least a sound-activated mode and a manual mode. The sound-activated mode requires automatic transmittance adjustment of the dimming glass based on raw audio data, while the manual mode adjusts the transmittance of the dimming glass based on custom information. When the dimming mode is sound-activated, an audio signal is acquired. This audio signal can be preset audio data acquired through a transmission path or real-time audio data acquired through a real-time audio acquisition device. After acquiring the audio signal, its format is the acquisition format, which is incompatible with the data format that the audio processing device can process; therefore, the audio signal needs to be sampled.

[0117] Specifically, after obtaining the audio signal, the audio acquisition frequency and data bit depth are first configured. The audio acquisition frequency characterizes the amount of metadata acquired per unit time during the audio signal sampling process, and this metadata is used to assemble the original audio data. The unit time can be a second, half a second, etc., and the specific unit time can be determined according to the actual situation. The data bit depth characterizes the number of binary bits corresponding to the word length processed by the computer. Preferably, the audio acquisition frequency is greater than or equal to 8kHz and less than or equal to 64kHz; the data bit depth is selected from 8, 16, or 24.

[0118] After configuring the audio acquisition frequency and data bit depth, the acquired audio signal is sampled according to the pre-configured audio acquisition frequency and data bit depth to obtain the original audio data. For example, if the audio acquisition frequency is 22.05 kHz and the data bit depth is 16, it means that 22050 metadata entries are acquired per unit time during the sampling process of the audio signal, and the audio data is a 16-bit signed number. In a computer with a word length of 16 bits, the binary bits are 16 bits. It should be noted that the above example is only an optional case provided to help those skilled in the art better understand the technical solution of this application. The specific audio acquisition frequency and data bit depth can be determined according to the actual situation, and this application does not impose any limitations here.

[0119] In specific implementation step S102, the continuous metadata of the original audio data represents the rhythm information of the audio, and the transmittance of the glass changes with the audio rhythm information by adjusting the brightness changes of the dimming glass according to the original audio data. Since the frequency of brightness changes of the dimming glass is much lower than the audio acquisition frequency in the original audio data, directly adjusting the transmittance of the dimming glass based on the original audio data would greatly exceed the limit of the brightness change frequency of the dimming glass. This would prevent the dimming glass from comprehensively representing the transmittance corresponding to all the metadata of the original audio data, and might even cause performance loss of the dimming glass. Specifically, the audio acquisition frequency of the original audio data is in the kilohertz frequency range, while the glass refresh frequency of the dimming glass (i.e., the frequency at which the dimming glass performs controllable brightness changes) is usually in the 10hertz frequency range. In other words, the original audio data contains thousands of metadata per unit time, while the dimming glass can only perform a maximum of dozens of brightness changes (transmittance changes) per unit time. If the original audio data is directly used as the basis for adjusting the transmittance of the glass to generate the corresponding transmittance of the dimming glass, the dimming glass will only adjust the transmittance based on the initial dozens of metadata of the original audio data per unit time. And these metadata can only represent the initial rhythm information in the original audio data as a whole.

[0120] Therefore, in this embodiment, the obtained original audio data needs to be resampled to transform it into audio data that represents the overall rhythm information while adapting to the glass refresh rate of the dimming glass. First, the maximum number of brightness changes per unit time of the dimming glass is determined as the glass refresh rate. When resampling the original audio data, the amount of metadata contained in the processed audio data per unit time needs to be less than or equal to the glass refresh rate to ensure the adjustability of the dimming glass. Specifically, based on the audio acquisition frequency, metadata collected from the original audio data per unit time is obtained. Using the glass refresh rate as a benchmark, the metadata collected from the original audio data per unit time is evenly divided into multiple first metadata segments. Each first metadata segment represents the rhythm information of the original audio data within that segment per unit time. The number of first metadata segments is less than or equal to the glass refresh rate. These first metadata segments cover all metadata of the original audio data within a unit of time, which is equivalent to converting the sampling granularity from the thousand-digit level to the ten-digit level. This ensures that these first metadata segments represent the overall rhythm information of the original audio data while adapting to the glass refresh rate of the dimming glass.

[0121] After acquiring multiple first metadata segments corresponding to a unit time period, each first metadata segment still contains many metadata items. For example, when the audio acquisition frequency is 22.05kHz, 22050 metadata items are acquired per unit time. After dividing them equally into 25 first metadata segments, each first metadata segment contains an average of 882 metadata items. Therefore, it is necessary to determine the metadata representing the first metadata segment from the multiple metadata items in each first metadata segment. Taking any one of the multiple first metadata segments as the target metadata segment, multiple metadata items belonging to the target metadata segment are acquired, and the amplitude corresponding to each metadata item is determined. Among the multiple metadata items contained in the target metadata segment, the metadata item corresponding to the largest amplitude is determined as the audio data frame corresponding to the target metadata segment. The audio data frame simultaneously represents the time of the first metadata segment within a unit time period and the corresponding audio data amplitude. For example, Figure 3 This application illustrates an embodiment of a first metadata segment corresponding to raw audio data and an example diagram of an audio data frame, as shown below. Figure 3 As shown, all metadata of the original audio data within a unit of time is divided into 25 first metadata segments. Figure 3The system divides the data into 25 intervals. Within each first metadata segment, the largest amplitude value is used as the audio data frame, resulting in audio data frames A through Y. From left to right, the audio data frames A through Y are sequentially placed later within a unit of time. Based on this process, the audio data frames corresponding to each first metadata segment are determined, resulting in multiple audio data frames less than or equal to the glass refresh rate within a unit of time. Each audio data frame corresponds one-to-one with the first metadata segment. Finally, all the audio data frames corresponding to the acquired original audio data are combined to form the target audio data.

[0122] For example, the glass refresh rate is 25Hz, indicating that the dimming glass can undergo a maximum of 25 brightness changes per unit time. To ensure that the amount of metadata in the resampled audio data per unit time is less than or equal to 25, the metadata collected from the original audio data per unit time is divided into 25 first metadata segments on average, and the amplitude corresponding to multiple metadata in each first metadata segment is determined. The amplitudes in each first metadata segment are compared, and the metadata corresponding to the maximum amplitude in that segment is determined. This metadata is used as an audio data frame of the original audio data per unit time. Based on the amplitudes of the metadata in the 25 first metadata segments, 25 corresponding audio data frames are obtained. These 25 audio data frames are the audio data that adapts to the glass refresh rate and can represent the rhythm information of the original audio data per unit time. It should be noted that the above example is only an optional case provided to enable those skilled in the art to better understand the technical solution of this application. The specific number of first metadata segments and audio data frames can be determined according to the actual situation, and this application does not impose any restrictions here.

[0123] In one optional implementation, multiple dimming glass panels requiring transmittance adjustment according to the original audio data can form multiple display units. By displaying the audio data through multiple units, the granularity of transmittance adjustment becomes finer, and the interaction and correspondence between the transmittance adjustment effect and the rhythm of the audio data becomes more accurate. Each display unit is a glass curtain wall composed of multiple dimming glass panels arranged sequentially in a one-dimensional direction. When multiple display units exist, the dimming glass panels in different display units alternately adjust their transmittance to represent the rhythm information corresponding to the original audio data through multiple display units.

[0124] As shown above, the smallest unit for transmittance adjustment for each piece of glass is one audio data frame. Transmittance adjustment is performed according to multiple consecutive audio data frames per unit time. When multiple display units exist, for consecutive audio data frames, only the glass in different display units needs to periodically adjust its transmittance. For example, for three display units (including the first, second, and third display units), the glass in the first display unit is adjusted according to the order of the audio data frames per unit time. At this time, the glass in the second and third display units does not undergo transmittance adjustment in that frame. Then, the glass in the first display unit is adjusted according to the second audio data frame, again at this time. Finally, the glass in the third display unit is adjusted according to the third audio data frame, at this time, the glass in the first and second display units does not undergo transmittance adjustment in that frame. Therefore, when the target audio data is adjusted for each display unit, the number of brightness changes of each display unit per unit time is shared by the glass in other display units. This can increase the number of audio data frames contained in the target audio data per unit time, as long as the number of brightness changes of each display unit shared by the glass in other display units does not exceed the glass refresh rate.

[0125] Specifically, after determining the audio acquisition frequency and the glass refresh frequency, based on the audio acquisition frequency, the metadata of the original audio data collected per unit time is obtained; subsequently, the sum of the glass refresh frequencies of the multiple display units is determined. Since the glass refresh frequency in each display unit is consistent, when the multiple display units simultaneously represent the same original audio data, the maximum value of the number of times the glass in each display unit undergoes brightness changes (i.e., the glass refresh frequency) is summed within a unit time as the limit refresh frequency for multiple display units to simultaneously represent the same original audio data. The metadata of the original audio data collected per unit time is then divided into a target number of second metadata segments, where the target number is less than or equal to the limit refresh frequency. Subsequently, based on the second metadata segment, the plurality of audio data frames are determined, with each audio data frame corresponding one-to-one with the second metadata segment; based on the number of display units, the audio data frames are divided into a plurality of audio sub-data frames, with the audio sub-data frames corresponding to each display unit arranged alternately in frame order, so the number of audio sub-data frames corresponding to each display unit is the same, and each audio sub-data frame serves as the target audio data of each display unit in a unit of time, wherein the number of each audio sub-data frame is less than or equal to the glass refresh rate.

[0126] For example, if the glass refresh rate in each display unit is 25Hz, indicating that the dimming glass can undergo a maximum of 25 brightness changes per unit time, and there are three display units, with the glass in the three display units alternating brightness changes according to the original audio data, then the maximum refresh rate for the three display units to simultaneously represent the same original audio data is 75Hz. In this case, the metadata collected from the original audio data per unit time is averaged into 75 second metadata segments, determining 75 audio data frames corresponding to these 75 second metadata segments. When adjusting the transmittance of these 75 audio data frames, the three display units periodically adjust the transmittance according to these 75 audio data frames. On average, the glass in each display unit only needs to be adjusted according to 25 audio data frames per unit time. This adapts to the glass refresh rate shared by each display unit while allowing the three display units to jointly represent the rhythm information of the original audio data per unit time. It should be noted that the above example is merely an optional scenario provided to help those skilled in the art better understand the technical solution of this application. The specific number of display units, second metadata segments, and audio data frames can be determined according to actual circumstances, and this application does not impose any limitations here.

[0127] In specific implementation step S103, for each dimming glass in the display unit, the number of audio data frames per unit time in the target audio data is less than or equal to the glass refresh rate. Since the dimming glass adjusts its transmittance by controlling the voltage, and the target audio data obtained after resampling is still audio data, it is necessary to convert the target audio data into the target transmittance of each glass for output to achieve transmittance adjustment based on the original audio data. First, the number of bright-state and dark-state glass is determined using the target audio data. In this embodiment, in the sound-activated mode, when the dimming glass is in the bright state, all are bright states with the same grayscale, and the corresponding target transmittance is also the same. In other words, in the sound-activated mode, the dimming glass has only two brightness levels: bright and dark. Therefore, when determining the number of bright-state or dark-state glass, it is only necessary to determine the number of dimming glass in one state to obtain the number of dimming glass in the other state based on the total number of all glass.

[0128] Specifically, firstly, the number of glass units in the display unit and the number of bits in the original audio data are obtained to determine the mapping coefficient between the target audio data and the glass units with the current number of glass units. Then, based on the number of bits, the theoretical maximum amplitude corresponding to that number of bits is determined. This theoretical maximum amplitude refers to the largest signed number that can be represented when the data is represented by the corresponding number of binary bits. All corresponding audio data frames in the target audio data are less than or equal to this theoretical maximum amplitude. For example, when the number of bits is 16, the theoretical maximum amplitude is 2. 15 -1 = 32767. After determining the theoretical maximum amplitude, the ratio (rounded to the integer) of the theoretical maximum amplitude corresponding to the number of data bits to the number of glass elements is determined as the mapping coefficient. Using the mapping coefficient as the conversion standard, the ratio of each audio data frame in the target audio data to the mapping coefficient is taken as the number of dark-state glass elements at the corresponding time of each audio data frame. The difference between the number of glass elements in the display unit and the number of dark-state glass elements is the number of bright-state glass elements at the corresponding time of each audio data frame. The number of bright-state glass elements and the number of dark-state glass elements corresponding to each audio data frame are taken as the transmittance adjustment result corresponding to each audio data frame.

[0129] Thus, the transmittance adjustment result corresponding to each audio data frame is obtained. This transmittance adjustment result represents the number of glass in the bright and dark states. As mentioned earlier, in the sound mode, the transmittance of the bright glass is the same as the transmittance of the dark glass, and the transmittance of the dark glass is the same as the transmittance of the dark glass. Therefore, the transmittance of the bright glass is assigned to the number of dimming glass in the bright state, and the transmittance of the dark glass is assigned to the number of dimming glass in the dark state, thereby completing the generation of the target transmittance of each glass corresponding to each audio data frame.

[0130] In one optional implementation, after determining the target transmittance of each glass panel corresponding to each audio data frame, the positions of multiple bright and dark glass panels corresponding to each audio data frame are determined. In this embodiment, the display unit composed of multiple glass panels is composed of glass panels arranged sequentially in a one-dimensional direction. Therefore, the multiple glass panels in each display unit only differ in position in one direction. To ensure that the generated transmittance can represent the rhythm information corresponding to the current audio data frame, the bright glass panels only need to be continuously displayed in a one-dimensional direction. Specifically, within each audio data frame, according to the transmittance number corresponding to the bright glass panels, a group of multiple glass panels arranged sequentially and continuously in the one-dimensional direction, with the same number as the bright glass panels, is determined in the display unit as a first glass group. Glass panels in the display unit that do not belong to the first glass group are determined as a second glass group, and the number of glass panels in the second glass group is the same as the number of dark glass panels. The target transmittance of each glass panel in the first glass group is set as the bright transmittance, and the target transmittance of each glass panel in the second glass group is set as the dark transmittance.

[0131] This application embodiment establishes a mapping coefficient between the target audio data and the number of dimming glass in the real unit. Based on this mapping coefficient, the target audio data is converted into the target transmittance of each glass. This achieves the output of the target transmittance corresponding to the rhythm information of the original audio data in each audio data frame. After that, step S104 is executed. Based on the target transmittance, the audio data represents the rhythm information synchronously through the change of the transmittance of the glass in each audio data frame, realizing the interaction between different atmospheric factors and improving the user experience.

[0132] In specific implementation step S104, the target audio data per unit time includes multiple audio data frames. After determining the target transmittance of each transparent glass of the display unit in each audio data frame, the transmittance of each glass is acquired in real time as the actual transmittance within each audio data frame, and the actual transmittance is compared with the target transmittance. If the target transmittance and the actual transmittance are the same, the actual transmittance of the dimming glass is maintained within the current audio data frame; if the target transmittance and the actual transmittance are different, the actual transmittance of the dimming glass is adjusted to the target transmittance within the current audio data frame.

[0133] For example, Figure 4 An example diagram illustrating the transmittance adjustment effect of a display unit under continuous audio data frames, as proposed in an embodiment of this application, is shown. Figure 4As shown, ABCDEFG represent the transmittance adjustment effect of a display unit obtained by adjusting the target transmittance under seven consecutive audio data frames. Taking audio data frame A and audio data frame B as examples, for audio data frame A, the number of bright-state glass obtained by converting the original audio data is 14 pieces. The 14 consecutive dimming glass pieces near the left side of the display unit are taken as the first glass group, and the target transmittance of each glass piece in audio data frame A is set as the bright-state transmittance. For audio data frame B, the number of bright-state glass obtained by converting the original audio data is 11 pieces. Since the 11 pieces near the left side in the previous frame (audio data frame A) all have bright-state transmittance, that is, the target transmittance and the actual transmittance are the same, the 11 consecutive dimming glass pieces near the left side are taken as the first glass group to maintain their actual transmittance, and the transmittance of the 12th to 14th pieces is adjusted from the actual transmittance to the target transmittance (dark-state transmittance).

[0134] In one optional implementation, although the sound-based mode can efficiently adjust the glass brightness according to the rhythm information of the audio data, the positions of the bright glass are continuous and the bright transmittance is the same, which makes it impossible to more freely display the brightness combination of different positions and different gray levels. Therefore, the dimming mode of this application embodiment also sets a manual mode. Specifically, when the dimming mode is manual mode, the glass number input by the user and the bright transmittance corresponding to different glass numbers are obtained. The bright transmittance of the glass corresponding to different glass numbers can be the same (same gray level brightness) or different (different gray level brightness). The glass number and the bright transmittance corresponding to different glass numbers are combined into custom information; then, the transmittance of the glass corresponding to the glass number is set to the bright transmittance of different gray level brightness, and the transmittance of the glass not corresponding to the glass number is set to the dark transmittance, and the adjustment is performed according to the transmittance of each glass.

[0135] This application provides a method for controlling dimming glass. The method includes: acquiring raw audio data; converting the raw audio data into target audio data according to the audio acquisition frequency of the raw audio data, wherein the target audio data contains multiple audio data frames; generating a target transmittance for each glass corresponding to each audio data frame based on the target audio data; and adjusting the transmittance of each glass according to the target transmittance of each glass. This application converts the audio data acquired in the sound-motion mode into the transmittance of the glass in each frame, and adjusts the brightness of the glass according to the transmittance of each frame according to the refresh frequency of the glass. This eliminates the need for manual adjustment of the glass brightness, allowing the transmittance of the glass to adjust accordingly with the different frequencies of the audio data in the scene. This makes the brightness state of the dimming glass correspond to the rhythm of the scene sound, forming an effective interaction between different scene factors, effectively improving the user's visual perception and user experience.

[0136] Based on the same inventive concept, embodiments of this application disclose a dimming glass control system. Figure 5 This application illustrates a schematic diagram of a dimming glass control system architecture according to an embodiment of the present application, as shown below. Figure 5 As shown, the system includes a main control terminal, a dimming system, and a driver terminal. The dimming system is communicatively connected to both the main control terminal and the driver terminal. The main control terminal and the dimming system communicate via a wired or wireless network. For example, when connecting via a wireless network, the main control terminal connects to a routing device via WiFi, and the dimming system connects to the routing device via a wired network. The connection between the main control terminal and the dimming system is established through the routing device. The main control terminal is used to interact with the user and determine the dimming mode; the driver terminal is used to adjust the brightness of the glass; and the dimming system is used to execute the dimming glass control method mentioned in the embodiments of this application.

[0137] In this embodiment, the main control terminal is used to determine the dimming mode. The main control terminal is any control terminal with a display screen, such as a computer or tablet computer. The dimming mode includes at least a sound-activated mode and a manual mode. The dimming system includes an audio acquisition subsystem and a sound processing subsystem. When the dimming mode is the sound-activated mode, the main control terminal generates an audio acquisition command and sends it to the audio acquisition subsystem. The audio acquisition subsystem responds to the audio acquisition command sent by the main control terminal, acquires raw audio data, and sends the raw audio data to the sound processing subsystem. The raw audio data can be preset audio data input through a transmission path or real-time audio data acquired by a real-time acquisition device. The preset audio data can exclude interference caused by environmental noise and is suitable for scenarios with high environmental noise. The real-time audio data will also acquire environmental noise and is suitable for scenarios with low environmental noise, but no additional transmission path is required. The specific method of acquiring raw audio data can be determined according to the actual situation, and this application does not impose any restrictions. For example, the sound acquisition subsystem includes an audio input module (such as a LineIn audio input interface) for inputting preset audio data or a real-time audio acquisition module (such as an onboard microphone) for inputting real-time audio data.

[0138] The sound processing subsystem receives the raw audio data and converts it into target audio data according to the audio acquisition frequency of the raw audio data. The target audio data contains multiple audio data frames. After obtaining the target audio data, the sound processing subsystem generates a target transmittance for each glass pane corresponding to each audio data frame based on the target audio data, and sends the target transmittance for each glass pane to the driving terminal, so that the driving terminal adjusts the transmittance of each glass pane according to the target transmittance. For example, the sound processing subsystem can be an audio acquisition chip (sound card).

[0139] The driving terminal includes at least one driving subsystem. Each driving subsystem controls a dimming glass via a single or multiple channels, with each channel controlling one dimming glass, so that each driving subsystem controls at least one glass. For example, in a dual-channel driving subsystem, each driving subsystem controls two dimming glasses. When the number of glasses in the display unit is 24, the driving terminal includes 12 dual-channel driving subsystems. The driving subsystem receives the target transmittance of each glass corresponding to each audio data frame sent by the sound processing subsystem. After obtaining the target transmittance for each audio data frame, the driving subsystem obtains the actual transmittance of the glass in real time within each audio data frame. If the target transmittance differs from the actual transmittance, the driving subsystem adjusts the control voltage of the dimming glass from the voltage corresponding to the actual transmittance to the voltage corresponding to the target transmittance by controlling a voltage regulation circuit, thereby adjusting the actual transmittance to the target transmittance.

[0140] In one optional implementation, the driving terminal further includes a terminal control center. The terminal control center is used to acquire the transmittance sent by the sound processing subsystem and send the transmittance of each glass pane to the corresponding driving subsystem according to the glass position or glass number. The terminal control center is also used to read the transmittance status of each module acquired by the glass driver and send it to the dimming system. Exemplarily, the terminal control center controls the driving subsystem via the Modbus RTU protocol.

[0141] In one optional implementation, the dimming system further comprises a main control CPU, an uplink communication module, a downlink communication module, and other auxiliary functional modules. The main control CPU controls the execution logic within the dimming system. The uplink communication module establishes data communication between the main control unit and the audio acquisition subsystem; for example, the uplink communication module can be an Ethernet RJ45 interface. The downlink communication module establishes data communication between the sound processing subsystem and the driver terminal; for example, the downlink communication module can be an RS485 bus.

[0142] In this embodiment, the main control terminal is further configured to switch the dimming mode to manual mode when the sound mode stops or based on user needs. When the dimming mode is manual mode, the main control terminal is configured to acquire custom information, generate a manual dimming command based on the custom information, and send the custom information and the manual dimming command to the dimming system. The dimming system receives the custom information and the manual dimming command, and in response to the manual dimming command, sends the custom information to the driving terminal. The driving terminal, in response to the custom information, adjusts the transmittance of the dimming glass corresponding to each glass number according to the glass number in the custom information and the bright transmittance corresponding to each glass number, based on the bright transmittance.

[0143] In one optional implementation, the drive terminal monitors the transmittance of each dimming glass in real time. When the transmittance changes in manual mode or sound-activated mode, the change in transmittance is returned to the active terminal through the dimming system so that the status change of the dimming glass can be displayed in real time on the display interface of the main control terminal.

[0144] Based on the same inventive concept, this application discloses a dimming glass control device. Figure 6 A schematic diagram of a dimming glass control device according to an embodiment of this application is shown, as follows: Figure 6 As shown, the device includes:

[0145] The raw audio data module is used to acquire raw audio data;

[0146] The data processing module is used to convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data, wherein the target audio data contains multiple audio data frames;

[0147] The target transmittance module is used to generate the target transmittance of each piece of glass corresponding to each audio data frame based on the target audio data;

[0148] An adjustment module is used to adjust the transmittance of each glass according to the target transmittance of each glass.

[0149] In one optional implementation, the data processing module includes:

[0150] The first acquisition submodule is used to acquire the audio acquisition frequency;

[0151] The first metadata submodule is used to obtain the metadata of the original audio data collected per unit time based on the audio acquisition frequency;

[0152] The first metadata segment submodule is used to divide the metadata collected from the original audio data per unit time into multiple first metadata segments based on the glass refresh frequency. The number of first metadata segments is less than or equal to the glass refresh frequency.

[0153] The first audio data frame submodule is used to determine the multiple audio data frames based on the multiple first metadata segments;

[0154] The combination submodule is used to combine the multiple audio data frames into the target audio data.

[0155] In one optional implementation, the first audio data frame submodule includes:

[0156] Metadata unit, used to obtain multiple metadata belonging to the target metadata segment in the target metadata segment, wherein the target metadata segment is any one of the multiple first metadata segments;

[0157] The maximum amplitude unit is used to determine the metadata with the maximum amplitude among the plurality of metadata, as the audio data frame corresponding to the target metadata segment.

[0158] In one optional implementation, the data processing module further includes:

[0159] The second metadata submodule is used to obtain the metadata of the original audio data collected per unit time based on the audio acquisition frequency.

[0160] The second metadata segment submodule is used to divide the metadata collected from the original audio data within a unit time into a target number of second metadata segments, wherein the target number is less than or equal to the sum of the glass refresh rates of the multiple display units;

[0161] The second audio data frame submodule is used to determine the plurality of audio data frames based on the second metadata segment, wherein each audio data frame corresponds one-to-one with the second metadata segment;

[0162] The splitting submodule is used to split the audio data frame into multiple audio sub-data frames based on the number of display units. Each audio sub-data frame serves as the target audio data for each display unit within a unit of time. The number of each audio sub-data frame is less than or equal to the glass refresh rate.

[0163] In one optional implementation, the target transmittance module includes:

[0164] The second acquisition submodule is used to acquire the number of glass panes and the theoretical maximum amplitude.

[0165] The mapping coefficient submodule is used to determine the mapping coefficient based on the theoretical maximum amplitude and the number of glass elements.

[0166] The transmittance adjustment result submodule is used to obtain the transmittance adjustment result corresponding to each audio data frame based on the multiple audio data frames in the target audio data and the mapping coefficient. The transmittance adjustment result is used to characterize the number of bright-state glass and the number of dark-state glass.

[0167] The target transmittance submodule is used to generate the target transmittance of each glass panel corresponding to each audio data frame based on the transmittance adjustment result.

[0168] In one optional implementation, the target transmittance submodule includes:

[0169] The first glass group unit is used to determine multiple glass pieces arranged sequentially and continuously along the one-dimensional direction in the display unit as the first glass group in each audio data frame, wherein the number of glass pieces in the first glass group is the same as the number of bright glass pieces.

[0170] The second glass group unit is used to identify glass in the display unit that does not belong to the first glass group as the second glass group, and the number of glass in the second glass group is the same as the number of dark glass;

[0171] The target transmittance unit is used to set the target transmittance of each glass in the first glass group to the light state transmittance, and to set the target transmittance of each glass in the second glass group to the dark state transmittance.

[0172] In one alternative embodiment, the device further includes:

[0173] A custom information module is used to obtain custom information, which is used to characterize the bright state transmittance of the glass and the glass number. Glasses with different glass numbers may have the same or different bright state transmittance.

[0174] The second adjustment module is used to adjust the transmittance of each piece of glass according to the customized information.

[0175] In one optional implementation, the adjustment module includes:

[0176] The actual transmittance submodule is used to acquire the transmittance of each piece of glass in real time within each audio data frame, and use it as the actual transmittance.

[0177] The adjustment submodule is used to compare the actual transmittance with the target transmittance, and if the target transmittance and the actual transmittance are different, adjust the actual transmittance of each piece of glass to the target transmittance.

[0178] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiments of this application, depending on actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0179] Based on the same inventive concept, this application discloses an electronic device. Figure 7 A schematic diagram of an electronic device according to an embodiment of this application is shown, such as... Figure 7 As shown, the electronic device 100 includes a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus. The memory 110 stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, the at least one program, the code set, or the instruction set can be loaded and run on the processor 120 to implement the steps in the dimming glass control method disclosed in the embodiments of this application.

[0180] Based on the same inventive concept, embodiments of this application disclose a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set thereon. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the steps in the dimming glass control method disclosed in embodiments of this application.

[0181] Based on the same inventive concept, this application discloses a computer program product, including a computer program / instructions, which, when executed by a processor, implements the steps in the dimming glass control method disclosed in this application.

[0182] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0183] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, electronic devices, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0184] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0186] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0187] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0188] The above provides a detailed description of a dimming glass control method, system, device, electronic device, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for controlling dimming glass, characterized in that, The method includes: Obtain the raw audio data; According to the audio acquisition frequency of the original audio data, the original audio data is converted into target audio data, wherein the target audio data contains multiple audio data frames; Based on the target audio data, generate the target transmittance of each glass panel corresponding to each audio data frame; The transmittance of each piece of glass is adjusted according to the target transmittance of each piece of glass; The step of converting the original audio data into target audio data according to the audio acquisition frequency of the original audio data includes: Obtain the audio acquisition frequency; Based on the audio acquisition frequency, obtain the metadata of the original audio data collected per unit time. Based on the glass refresh rate, the metadata collected from the original audio data per unit time is divided into multiple first metadata segments, and the number of first metadata segments is less than or equal to the glass refresh rate. Based on the plurality of first metadata segments, the plurality of audio data frames are determined; The plurality of audio data frames are combined into the target audio data.

2. The dimming glass control method according to claim 1, characterized in that, The step of determining the plurality of audio data frames based on the plurality of first metadata segments includes: In the target metadata segment, multiple metadata belonging to the target metadata segment are obtained, wherein the target metadata segment is any one of the multiple first metadata segments; Among the multiple metadata, the metadata with the largest amplitude value is determined as the audio data frame corresponding to the target metadata segment.

3. The dimming glass control method according to claim 1, characterized in that, Multiple glass panels form multiple display units, and the glass panels in each display unit are arranged sequentially in a one-dimensional direction. The conversion of the original audio data into target audio data according to the audio acquisition frequency of the original audio data includes: Based on the audio acquisition frequency, obtain the metadata of the original audio data collected per unit time. The metadata collected from the original audio data per unit time is divided into a target number of second metadata segments, wherein the target number is less than or equal to the sum of the glass refresh rates of the multiple display units; Based on the second metadata segment, the plurality of audio data frames are determined, and each audio data frame corresponds one-to-one with the second metadata segment; Based on the number of display units, the audio data frame is divided into multiple audio sub-data frames, each of which serves as the target audio data for each display unit within a unit of time. The number of each audio sub-data frame is less than or equal to the glass refresh rate.

4. The dimming glass control method according to claim 1, characterized in that, The number of audio data frames per unit time in the target audio data is less than or equal to the glass refresh rate.

5. The dimming glass control method according to claim 4, characterized in that, The step of generating the target transmittance of each glass pane corresponding to each audio data frame based on the target audio data includes: Obtain the number of glass panes and the theoretical maximum amplitude; Based on the theoretical maximum amplitude and the number of glass panes, the mapping coefficients are determined; Based on the multiple audio data frames in the target audio data and the mapping coefficients, the transmittance adjustment result corresponding to each audio data frame is obtained, and the transmittance adjustment result is used to characterize the number of bright-state glass and the number of dark-state glass. Based on the transmittance adjustment results, the target transmittance of each glass corresponding to each audio data frame is generated.

6. The dimming glass control method according to claim 5, characterized in that, A display unit is composed of multiple glass panels, which are arranged sequentially in a one-dimensional direction. The step of generating the target transmittance for each glass panel corresponding to each audio data frame based on the transmittance adjustment result includes: Within each audio data frame, multiple glass panels arranged sequentially along the one-dimensional direction in the display unit are defined as a first glass group, and the number of glass panels in the first glass group is the same as the number of bright glass panels. The glass in the display unit that does not belong to the first glass group is identified as the second glass group, and the number of glass in the second glass group is the same as the number of dark glass. The target transmittance of each glass in the first glass group is set to the bright state transmittance, and the target transmittance of each glass in the second glass group is set to the dark state transmittance.

7. The dimming glass control method according to claim 1, characterized in that, The adjustment of the transmittance of each piece of glass according to the target transmittance of each piece of glass includes: Within each audio data frame, the transmittance of each piece of glass is acquired in real time as the actual transmittance; The actual transmittance is compared with the target transmittance. If the target transmittance is different from the actual transmittance, the actual transmittance of each piece of glass is adjusted to the target transmittance.

8. A dimming glass control system, characterized in that, The system includes: The system includes a main control terminal, a dimming system, and a drive terminal. The dimming system is communicatively connected to both the main control terminal and the drive terminal. The drive terminal is used to adjust the brightness of the glass, and the main control terminal is used to determine the dimming mode of the dimming glass control system. The dimming system is used to perform the dimming glass control method according to any one of claims 1 to 7.

9. The dimming glass control system according to claim 8, characterized in that, The dimming modes include at least a sound-activated mode and a manual mode; wherein... When the dimming mode is the sound-activated mode, the main control terminal is used to generate an audio acquisition command and send it to the dimming system; When the dimming mode is manual mode, the main control terminal is used to acquire custom information and send the custom information to the driver terminal through the dimming system.

10. The dimming glass control system according to claim 8, characterized in that, The dimming system includes an audio acquisition subsystem and a sound processing subsystem; The audio acquisition subsystem is used to respond to the audio acquisition command sent by the main control terminal, acquire raw audio data, and send the raw audio data to the sound processing subsystem. The raw audio data is real-time audio data and / or preset audio data. The sound processing subsystem is used to convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data, wherein the target audio data contains multiple audio data frames; The sound processing subsystem is further configured to generate a target transmittance for each glass corresponding to each audio data frame based on the target audio data, and send the target transmittance of each glass to the driving terminal so that the driving terminal adjusts the transmittance of each glass according to the target transmittance of each glass.

11. The dimming glass control system according to claim 10, characterized in that, The driving terminal includes at least one driving subsystem, and each driving subsystem controls at least one piece of glass, wherein... The driving subsystem is used to receive the target transmittance of each glass corresponding to each audio data frame; The driving subsystem is also configured to acquire the transmittance of the glass in real time as the actual transmittance within each audio data frame, and adjust the actual transmittance to the target transmittance if the target transmittance differs from the actual transmittance.

12. A dimming glass control device, characterized in that, The device includes: The raw audio data module is used to acquire raw audio data; The data processing module is used to convert the original audio data into target audio data according to the audio acquisition frequency of the original audio data, wherein the target audio data contains multiple audio data frames; The target transmittance module is used to generate the target transmittance of each piece of glass corresponding to each audio data frame based on the target audio data; An adjustment module is used to adjust the transmittance of each piece of glass according to the target transmittance of each piece of glass; The data processing module includes: The first acquisition submodule is used to acquire the audio acquisition frequency; The first metadata submodule is used to obtain the metadata of the original audio data collected per unit time based on the audio acquisition frequency; The first metadata segment submodule is used to divide the metadata collected from the original audio data per unit time into multiple first metadata segments based on the glass refresh frequency. The number of first metadata segments is less than or equal to the glass refresh frequency. The first audio data frame submodule is used to determine the multiple audio data frames based on the multiple first metadata segments; The combination submodule is used to combine the multiple audio data frames into the target audio data.

13. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in the dimming glass control method according to any one of claims 1-7.

14. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps in the dimming glass control method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Regionalized independently-regulated dimming roof glass system and vehicle comprising same

    CN114148148A

  • Music rhythm electrochromic window glass adjusting system

    CN114326245A