Lamplight synchronization method and system based on voice and Bluetooth BLE
By adopting a light synchronization method based on voice and Bluetooth BLE in lighting equipment, the problem of limited reception range during voice control in the prior art lighting equipment is solved, and convenient and efficient lighting control and synchronization effects are achieved.
Patent Information
- Application Number
- CN202411657857.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-28
AI Technical Summary
When existing lighting equipment controls lights with voice, some lighting lamps cannot receive voice due to environmental distance and cannot be controlled. The remote control has a limited range of reception, which is inconvenient for users and has high costs.
Using a light synchronization method based on voice and Bluetooth BLE, voice commands are collected in real time through the audio input function of the first lighting unit, synchronization commands and voice light colors are recognized, and color synchronization signals are sent. The second lighting unit receives and analyzes and processes it through Bluetooth BLE to realize the synchronization of the lighting effect with the first lighting unit.
Based on the addition of synchronous voice recognition with voice function, the lighting is disconnected from the remote control, providing convenient, efficient, safe and creative lighting control, expanding the coverage.
Smart Images

Figure CN119545625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent Bluetooth technology, and in particular to a lighting synchronization method and system based on voice and Bluetooth BLE. Background Art
[0002] Lighting equipment is essential in life. In some scenarios, all lights need to be consistent. Due to the distance in the environment, controlling lights through voice may cause some lights to not receive voice and cannot be controlled. The remote control can only control paired lights, and the reception range is limited, which is inconvenient for users.
[0003] In the prior art, the remote control and the lighting are paired, and the remote control receives a button to send a key signal, and the lighting receives the signal to change the light and forward the key signal. If the light is to be kept consistent, the acceptance range is limited, which is not convenient for users to use. In addition, the existing lighting uses multiple chips, which is costly. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the prior art and provide a lighting synchronization method based on voice and Bluetooth BLE, comprising the following steps: S1: The first lighting unit is provided with an audio input function, and the audio input function is used to collect voice commands in real time; S2: In response to the voice command, the first light unit sends a color synchronization signal according to the synchronization command and the voice light color; S3: The second light unit in the monitoring state receives the color synchronization signal via Bluetooth BLE, and the second light unit parses and processes the color synchronization signal to achieve synchronization of the light effect with the first light unit.
[0005] Preferably, in step S1, the audio input function is used to collect voice instructions in real time, further comprising: The microphone of the audio input function collects real-time audio data, and pre-processes the real-time audio data to obtain pre-processed data; Performing feature extraction on the preprocessed data to obtain feature data; The trained neural network model recognizes the voice instructions collected in real time according to the feature data.
[0006] Preferably, in step S2, the first lighting unit sends a color synchronization signal according to the synchronization command and the voice lighting color, further comprising: S11: The first lighting unit of the lighting module determines whether the voice command is the synchronization command. If it is the synchronization command, the timer starts timing, and the light color is received and recognized within the set time; S12: The first lighting unit switches the lighting color according to the recognized voice lighting color, generates a color synchronization signal according to the lighting color and the synchronization command, and sends the color synchronization signal via Bluetooth BLE.
[0007] Preferably, if it is not the synchronization command, the voice light color is recognized, including: If it is not the synchronization command and the voice light color is not recognized, then wait for receiving the color synchronization signal; If it is not the synchronization command, the voice instruction recognizes the voice light color and determines whether it is the voice light color recognized within the set time. If so, the color synchronization signal is sent; if not, the color synchronization signal is waited for.
[0008] Preferably, in step S3, the second lighting unit analyzes and processes the color synchronization signal, further comprising: The second lighting unit analyzes the color synchronization signal to determine whether the color synchronization signal has been processed. If the color synchronization signal has been processed, the process ends; if the color synchronization signal has not been processed, the process forwards the color synchronization signal.
[0009] Preferably, the determining whether the color synchronization signal has been processed further comprises: The second lighting unit receives the color synchronization signal via Bluetooth BLE and caches the color synchronization signal into a cache signal; It is determined whether the buffer signal contains the color synchronization signal. If the color synchronization signal exists, it is determined that the signal has been processed. If the color synchronization signal does not exist in the buffer signal, it is determined that the signal has not been processed.
[0010] Preferably, the step of buffering the color synchronization signal into the buffer signal further comprises: Evaluate memory requirements based on information including light color information, synchronization instruction information, identification data, and timestamp carried by the color synchronization signal, and allocate memory areas based on the memory requirements; The color synchronization signal is copied from the receiving buffer area to the memory area.
[0011] Preferably, each time the lighting module is started, the buffer signal of each lighting unit in the lighting module is initialized, and it is determined whether the color synchronization signal exists in the buffer signal.
[0012] Preferably, the main control chip of the lighting module integrates the audio input function and the Bluetooth BLE function, and the Bluetooth BLE function sends the color synchronization signal in the form of broadcast, and continuously searches for and receives broadcast data from the surrounding environment in a scanning state.
[0013] Based on the same concept, the present invention also provides a lighting synchronization system based on voice and Bluetooth BLE, which is characterized by comprising: A voice module, used for the first light unit of the light module to collect voice commands in real time; A sending module, used for the first lighting unit to send a color synchronization signal according to the synchronization command of the voice command and the voice light color; The processing module is used for the second light unit in the monitoring state to receive the color synchronization signal through Bluetooth BLE, and the second light unit analyzes and processes the color synchronization signal to achieve synchronization with the light effect of the first light unit.
[0014] Compared with the prior art, the present invention has the following beneficial effects: The present invention uses the first lighting unit to send a color synchronization signal according to a synchronization command and the voice and light color, thereby adding recognition of synchronized voice to the voice function and realizing that the lighting lamp is separated from the remote control.
[0015] The second lighting unit of the present invention receives a color synchronization signal via Bluetooth BLE to achieve synchronization with the lighting effect of the first lighting unit, thereby providing convenient, efficient, safe and creative lighting control.
[0016] The present invention realizes the sending and receiving of color synchronization signals through Bluetooth BLE, and expands the coverage range by forwarding the color synchronization signals through the lighting unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the following detailed description of the preferred embodiment.The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the invention.
[0018] Figure 1 The present invention is a flow chart of a lighting synchronization method based on voice and Bluetooth BLE. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0020] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0021] Example 1 See also Figure 1 As shown, this embodiment provides a lighting synchronization method based on voice and Bluetooth BLE, comprising the following steps: S1: The first lighting unit is provided with an audio input function, and the audio input function is used to collect voice commands in real time.
[0022] Preferably, in step S1, the audio input function is used to collect voice instructions in real time, further comprising: The microphone with audio input function collects real-time audio data, and pre-processes the real-time audio data to obtain pre-processed data. Specifically, in this embodiment, the sound waves of the sound will cause the microphone diaphragm in the first lighting unit to vibrate, and the microphone converts the mechanical wave signal of the sound into a weak electrical signal, performs preliminary filtering on the electrical signal to remove some unnecessary noise interference, and appropriately amplifies the electrical signal to make it reach the signal strength range required by the subsequent processing link, so as to transmit the sound information more clearly. The analog electrical signal after preliminary processing and amplification needs to be converted into a digital signal, that is, audio data, and then the audio is pre-processed.
[0023] Audio preprocessing is to divide the audio data into frames, that is, to divide the continuous audio data into multiple small audio frames according to a certain time interval (such as one frame every 10-30 milliseconds), so as to facilitate the subsequent analysis of the audio features in each time period. At the same time, each frame of audio data may also be windowed (such as using a Hamming window) to reduce the spectrum leakage problem of audio data during the framing process, so that the audio features extracted later are more accurate.
[0024] After preprocessing, the speech algorithm will perform feature extraction on each frame of audio data.
[0025] Feature extraction is performed on the preprocessed data to obtain feature data. Specifically, in this embodiment, through Mel-frequency cepstral coefficient (MFCC) feature extraction, the audio frame is first subjected to a series of transformations (such as Fourier transform, etc.) to obtain the frequency spectrum information of the audio, and then the frequency spectrum information is converted into information in the Mel frequency domain based on the human ear's perception characteristics of sounds of different frequencies. Finally, the Mel-frequency cepstral coefficients are obtained by operations such as logarithm and discrete cosine transform. These coefficients can well reflect the speech characteristics of the audio data and serve as an important basis for subsequent recognition.
[0026] The trained neural network model recognizes the voice commands collected in real time according to the feature data. Specifically, in this embodiment, the recognition can be performed by a deep neural network (DNN), a convolutional neural network (CNN) or a recurrent neural network (RNN) and its variants (such as a long phrase memory network (LSTM), a gated recurrent unit (GRU), etc.).
[0027] In the trained neural network model, a large amount of voice data (including voice samples containing various command words) has been trained, so that the model can learn the relationship between different voice features and corresponding command words. When new audio features are input, the model will judge whether specific command words such as "synchronize", "white light" and "yellow light" are recognized based on the existing learning results by calculating the relationship between the features and the nodes in the model (such as by calculating similarity and other indicators). Voice commands can also be used to control the lighting to turn on, change, dim, flash or turn off.
[0028] S2: In response to the voice command, the first lighting unit sends a color synchronization signal according to the synchronization command and the voice light color. Specifically, in this embodiment, the key contents such as the synchronization command and the voice light color are encoded according to the pre-set signal encoding rules. For example, the synchronization command will be encoded as a specific binary code segment, and for different light colors, there will also be corresponding color encoding methods, such as red may be encoded as "0x01", blue as "0x02", etc. These encoded information are integrated together to generate a complete color synchronization signal.
[0029] Preferably, in step S2, the first lighting unit sends a color synchronization signal according to the synchronization command and the voice lighting color, further comprising: S11: The first lighting unit of the lighting module determines whether the voice command is a synchronization command. If it is a synchronization command, the timer starts timing, and the light color is received and recognized within the set time; S12: The first light unit switches the light color according to the recognized voice light color, generates a color synchronization signal according to the light color and the synchronization command, and sends the color synchronization signal through Bluetooth BLE. Specifically, in this embodiment, the first light unit starts its internal light control circuit to perform a color switching operation according to the recognized voice light color. In this process, different types of lights (such as LED lights) have different color adjustment mechanisms. For LED lights, different colors are displayed by adjusting the brightness ratio of the three primary colors of red, green, and blue (RGB). For example, if the recognized voice light color is "purple", the light control circuit will accurately adjust the current through the LED chip according to the preset RGB value corresponding to purple (such as R:128, G:0, B:128), thereby changing the luminous intensity of each primary color and making the light appear purple.
[0030] Preferably, the first lighting unit uses Bluetooth BLE to send out the color synchronization signal. Bluetooth BLE technology is very suitable for this scenario due to its advantages of low power consumption and short-range wireless communication. The Bluetooth BLE of the first lighting unit will first modulate the color synchronization signal, convert the digital signal into an analog signal form suitable for transmission in the wireless channel, and then transmit the modulated signal to the surrounding space through the antenna in a specific Bluetooth frequency band (such as 2.4GHz). During the transmission process, the Bluetooth BLE module will also automatically adjust the signal transmission power according to factors such as communication distance and environmental interference to ensure that the signal can be stably and accurately received by other related lighting units, thereby realizing the color synchronization function of the entire lighting system.
[0031] Preferably, if it is not a synchronous command, the voice light color is recognized, including: If it is not a synchronization command, and the voice light color is not recognized, then wait to receive the color synchronization signal. Specifically, in this embodiment, in this waiting state, the first light unit is in a continuous monitoring mode. The receiving module will continuously scan the possible wireless signal environment around it, and be ready to capture the incoming color synchronization signal at any time. At the same time, in order to ensure that the color synchronization signal can be accurately received, the first light unit will also perform some necessary signal processing preparations during the waiting process, such as calibrating the receiving module to put it in the best receiving sensitivity state; performing preliminary format matching settings for the signals that may be received, so that the signals can be smoothly parsed and processed later, etc. Only in this way, when the color synchronization signal is actually transmitted, the first light unit can receive it in a timely and accurate manner and perform subsequent related operations.
[0032] If it is not a synchronization command, the voice command recognizes the voice light color and determines whether it is the voice light color recognized within the set time. If so, a color synchronization signal is sent. If not, wait for receiving the color synchronization signal. Specifically, in this embodiment, the first light unit will compare the received voice command with the preset synchronization command standard format and keywords. The set time here is 1S, which stipulates that the voice light color recognized within 1 second after receiving the voice command is regarded as valid and actionable information, and during the sending process, the signal is modulated, amplified and other processing is necessary to ensure that the signal can be stably and effectively transmitted to other related light units, thereby realizing the transmission of light color information and possible light synchronization operation.
[0033] S3: The second light unit in the listening state receives the color synchronization signal via Bluetooth BLE, and the second light unit parses and processes the color synchronization signal to achieve synchronization with the light effect of the first light unit. Specifically, in this embodiment, the number of light units is not limited, and the light units can be set according to the BLE Bluetooth receiving and transmitting distance and requirements.
[0034] Preferably, in step S3, the second lighting unit analyzes and processes the color synchronization signal, further comprising: The second lighting unit parses the color synchronization signal to determine whether the color synchronization signal has been processed. If it has been processed, the process ends; if it has not been processed, the color synchronization signal is forwarded after processing. Specifically, in this embodiment, after completing the parsing of the color synchronization signal, the second lighting unit will refer to the previously stored processing record to determine whether the color synchronization signal has been processed by the second lighting unit. Specifically, the second lighting unit itself will maintain a processing record list. Whenever a color synchronization signal is processed, the key information of the signal (such as the unique identifier of the signal, the sending source, etc.) will be recorded so as to perform a comparison query when a new color synchronization signal is received later.
[0035] If it has been processed, then it ends. For the signal that has been processed, reprocessing it may lead to unnecessary repeated operations, and may even cause some potential errors or conflicts. For example, it may cause abnormal flickering of the lighting effect or interference with other ongoing synchronization operations. Therefore, in this case, the second lighting unit will simply ignore the processed color synchronization signal and wait for the next new signal.
[0036] Preferably, determining whether the color synchronization signal has been processed further includes: The second lighting unit receives the color synchronization signal via Bluetooth BLE and caches the color synchronization signal into the cache signal. Specifically, in this embodiment, in order to smoothly receive the upcoming color synchronization signal, the second lighting unit will specially open up an area in its memory space for caching the received Bluetooth signal, which is called a signal receiving buffer. This buffer has a specific size, and its size is determined according to the maximum possible length of the color synchronization signal expected to be received and some temporary data storage requirements that the system may need to perform during the receiving process. For example, if the color synchronization signal usually contains more complex light color information, synchronization instructions, and related device identifications, etc., it may be necessary to set a relatively large buffer to avoid data overflow during the receiving process. At the same time, it is stored byte by byte in a certain order and format in the cache signal area. During the storage process, the integrity and accuracy of the data must be ensured to avoid data loss or storage errors. For example, if the electrical signal data of the color synchronization signal exists in binary form, then each bit of data will be accurately stored in the corresponding memory position of the cache signal area according to the binary storage rules; Determine whether there is a color synchronization signal in the cache signal. If there is a color synchronization signal, it is determined to have been processed. If there is no color synchronization signal in the cache signal, it is determined to have not been processed. Specifically, in this embodiment, memory data comparison performed by memcmp is used to determine whether there is a color synchronization signal in the cache signal.
[0037] The memory data comparison performed by memcmp determines whether the cached signal has a color synchronization signal: if (memcmp(data1, data2, len) == 0) { / / The data is the same, and there is a color synchronization signal } else { / / The data is different, there is no color synchronization signal }.
[0038] Preferably, buffering the color synchronization signal into the buffer signal further comprises: Evaluate memory requirements based on information including light color information, synchronization instruction information, identification data, and timestamp carried by the color synchronization signal, and allocate memory areas based on the memory requirements; The color synchronization signal is copied from the receiving buffer area to the memory area. Specifically, in this embodiment, during the copying process, the progress of the copying needs to be monitored to ensure that the copying operation can be completed smoothly. Some counters or flags can be set to track how much data has been copied, whether the copying has been completed, etc. If an abnormal situation occurs during the copying process, such as a hardware interruption, a software error, etc., it is necessary to stop the copying operation immediately and take corresponding measures according to the specific situation. For example, if the copying is interrupted due to a hardware interruption, it is necessary to wait for the hardware to return to normal before restarting the copying; if it is a software error, it may be necessary to troubleshoot and repair the error before continuing the copying to ensure that the color synchronization signal can be safely and completely copied to the memory area.
[0039] Light color information: The light color information contained in the color synchronization signal may have multiple representations. For the RGB color model, three bytes may be used to represent the values of the red, green, and blue color channels respectively; or a certain color encoding method may be used to correspond different colors to specific code values. If a more complex high-resolution color representation method is used, or if extended information such as color saturation and brightness is included in addition to the basic colors, the memory space required for this part of the information will increase accordingly. For example, a high-precision color representation may require 16 bits or even 32 bits to accurately describe the value of a color channel, which significantly increases memory requirements compared to conventional 8-bit representations.
[0040] Synchronization instruction information: Synchronization instruction information is used to clarify how to synchronize operations between light units. This part of information may include the synchronization method (such as immediate synchronization, proportional synchronization, etc.), the scope of synchronization (all connected light units or light units in a specific group, etc.), and the time requirement for synchronization (such as completing synchronization within a certain time period, etc.). Depending on the complexity and specific requirements of the synchronization instruction, the memory space it occupies will also vary. For example, a complex instruction that specifies a variety of synchronization conditions and steps in detail may require dozens of bytes to fully express, while a simple synchronization instruction may only require a few bytes.
[0041] Identification data: Identification data is used to distinguish different light units or light systems. It may contain the unique identification of the sender's light unit, the identification of the receiver's light unit (in some cases, the receiver also needs to clarify whether it is the target recipient) and the identification of the entire light system. The length and format of the identification data depends on the design of the system. Generally speaking, a unique identification may be represented by a 32-bit or 64-bit binary number, plus other relevant information such as possible system identification. This part may occupy a certain number of bytes, and the specific number varies from system to system.
[0042] Timestamp: Timestamp records the generation time or sending time of the color synchronization signal, which is of great significance for judging the timeliness of the signal and the order of synchronization. Timestamps are usually stored in a specific format, such as using a certain reference time as the starting point and using a number with a certain precision to represent the elapsed time. Common precision may be milliseconds or microseconds. Depending on the precision requirements and storage format, timestamps generally need to occupy memory space ranging from a few bytes to more than a dozen bytes.
[0043] Preferably, each time the lighting module is started, the buffer signal of each lighting unit in the lighting module is initialized, and it is determined whether there is a color synchronization signal in the buffer signal.
[0044] Preferably, the main control chip of the lighting module integrates audio input function and Bluetooth BLE function. The Bluetooth BLE function is to send the color synchronization signal in the form of broadcast, and continuously search and receive broadcast data from the surrounding environment in the scanning state. Specifically, in this embodiment, the integrated Bluetooth protocol stack also needs to follow certain steps and precautions. First, it is necessary to select a suitable Bluetooth protocol stack version according to the hardware characteristics and application requirements of the device. Different versions of the Bluetooth protocol stack may differ in function, performance and compatibility. For example, the Bluetooth 5.0 protocol stack has significantly improved transmission speed, transmission distance and power consumption compared to the Bluetooth 4.0 protocol stack, so it is necessary to select according to the actual situation.
[0045] In addition, in order to ensure the stability and reliability of Bluetooth communication, some optimization work needs to be done on the Bluetooth protocol stack during the integration process. For example, setting the appropriate Bluetooth transmission power and adjusting the power size according to the communication distance and environmental interference can not only ensure the effectiveness of data transmission but also reduce power consumption; optimize the Bluetooth connection establishment process, shorten the connection time, and improve the user experience.
[0046] After integrating the voice algorithm and Bluetooth protocol stack, convenient voice control and wireless connection are realized. Users can easily control the Bluetooth devices related to the software through voice commands without manual operation. The voice algorithm and Bluetooth protocol stack can work together efficiently in the software system. The voice algorithm can process audio signals in a timely manner and provide accurate recognition results, while the Bluetooth protocol stack can quickly and stably transmit these recognition results and related control instructions, reducing the waiting time and possible errors in the intermediate links, thereby improving the operating efficiency.
[0047] Example 2 This embodiment provides a lighting synchronization system based on voice and Bluetooth BLE, including: A voice module, the voice module is used to receive voice instructions, the voice instructions include synchronization commands and voice light colors; A lighting module, wherein the first lighting unit and the second lighting unit of the lighting module are used to generate a color synchronization signal according to the instruction of the voice module, and to send the color synchronization signal to realize information interaction between the lighting modules connected via Bluetooth BLE; The processing module is used to determine whether the color synchronization signal has been processed. If it has been processed, the processing ends; if it has not been processed, the color synchronization signal is forwarded after processing.
[0048] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A lighting synchronization method based on voice and Bluetooth BLE, characterized in that: The following steps are involved: S1: The first lighting unit is provided with an audio input function, and the audio input function is used to collect voice commands in real time; S2: In response to the voice command, the first light unit sends a color synchronization signal according to the synchronization command and the voice light color; S3: The second light unit in the monitoring state receives the color synchronization signal via Bluetooth BLE, and the second light unit parses and processes the color synchronization signal to achieve synchronization of the light effect with the first light unit.
2. The method for lighting synchronization based on voice and Bluetooth BLE according to claim 1, characterized in that: In step S1, the audio input function is used to collect voice commands in real time, further comprising: The microphone of the audio input function collects real-time audio data, and pre-processes the real-time audio data to obtain pre-processed data; Performing feature extraction on the preprocessed data to obtain feature data; The trained neural network model recognizes the voice instructions collected in real time according to the feature data.
3. The lighting synchronization method based on voice and Bluetooth BLE according to claim 2 is characterized in that: In step S2, the first lighting unit sends a color synchronization signal according to the synchronization command and the voice lighting color, further comprising: S11: The first lighting unit of the lighting module determines whether the voice command is the synchronization command. If it is the synchronization command, the timer starts timing, and the light color is received and recognized within the set time; S12: The first lighting unit switches the lighting color according to the recognized voice lighting color, generates a color synchronization signal according to the lighting color and the synchronization command, and sends the color synchronization signal via Bluetooth BLE.
4. The lighting synchronization method based on voice and Bluetooth BLE according to claim 3 is characterized in that: If it is not the synchronization command, the voice light color is identified, including: If it is not the synchronization command and the voice light color is not recognized, then wait for receiving the color synchronization signal; If it is not the synchronization command, the voice instruction recognizes the voice light color and determines whether it is the voice light color recognized within the set time. If so, the color synchronization signal is sent; if not, the color synchronization signal is waited for.
5. The lighting synchronization method based on voice and Bluetooth BLE according to claim 4 is characterized in that: In step S3, the second lighting unit analyzes and processes the color synchronization signal, further comprising: The second lighting unit analyzes the color synchronization signal to determine whether the color synchronization signal has been processed. If the color synchronization signal has been processed, the process ends; if the color synchronization signal has not been processed, the process forwards the color synchronization signal.
6. The lighting synchronization method based on voice and Bluetooth BLE according to claim 5 is characterized in that: The determining whether the color synchronization signal has been processed further comprises: The second lighting unit receives the color synchronization signal via Bluetooth BLE and caches the color synchronization signal into a cache signal; It is determined whether the buffer signal contains the color synchronization signal. If the color synchronization signal exists, it is determined that the signal has been processed. If the color synchronization signal does not exist in the buffer signal, it is determined that the signal has not been processed.
7. The lighting synchronization method based on voice and Bluetooth BLE according to claim 6 is characterized in that: The step of buffering the color synchronization signal into the buffer signal further comprises: Evaluate memory requirements based on information including light color information, synchronization instruction information, identification data, and timestamp carried by the color synchronization signal, and allocate memory areas based on the memory requirements; The color synchronization signal is copied from the receiving buffer area to the memory area.
8. The method for lighting synchronization based on voice and Bluetooth BLE according to claim 7, characterized in that: Each time the light module is started, the buffer signal of each light unit in the light module is initialized, and it is determined whether the color synchronization signal exists in the buffer signal.
9. The method for lighting synchronization based on voice and Bluetooth BLE according to claim 8, characterized in that: The main control chip of the lighting module integrates the audio input function and the Bluetooth BLE function. The Bluetooth BLE function sends the color synchronization signal in the form of broadcast and continuously searches for and receives broadcast data from the surrounding environment in a scanning state.
10. A lighting synchronization system based on voice and Bluetooth BLE, characterized in that: include: A voice module, used for the first light unit of the light module to collect voice commands in real time; A sending module, used for the first lighting unit to send a color synchronization signal according to the synchronization command of the voice command and the voice light color; The processing module is used for the second light unit in the monitoring state to receive the color synchronization signal through Bluetooth BLE, and the second light unit analyzes and processes the color synchronization signal to achieve synchronization with the light effect of the first light unit.