Wall corridor light control method and device, electronic equipment and storage medium
By analyzing the audio information of the tour guide and identifying keywords in real time, and dynamically adjusting the lighting effect of the wall gallery, the problem that traditional lighting control cannot match the rhythm of the tour guide's explanation is solved, and the accuracy of tourist experience and light control is significantly improved.
Patent Information
- Application Number
- CN202510284094.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2045-03-11
AI Technical Summary
The existing wall gallery light control mode cannot create a suitable atmosphere according to the tour guide's explanation rhythm, resulting in poor tourists' experience.
By receiving the tour guide's real-time audio information, analyzing the audio information using a preset voice model, identifying the pre-switching prompt words and executing the switching prompt words, so as to dynamically adjust the lighting effect according to the tour guide's explanation content.
It realizes precise synchronization between the lighting effects and the tour guide's commentary rhythm, improves the immersive experience of tourists, and improves the accuracy and adaptability of lighting control.
Smart Images

Figure CN119815644A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lighting control, and in particular to a wall corridor lighting control method, device, electronic equipment and storage medium. Background Art
[0002] In places such as museums, cultural centers, scenic spots, etc., pictures and texts are usually arranged on the wall corridors and the tour guides explain the past history. Generally, the wall corridors located indoors are equipped with lighting equipment. The main function of the lighting equipment is to provide sufficient light so that tourists can view the pictures and texts on the wall corridors. In actual applications, the design of the brightness and color of the lighting equipment can also play a role in creating an atmosphere.
[0003] There are generally two control modes for lighting equipment on wall corridors: One is to use static control, where the lighting equipment always maintains the brightness and color set last time. However, under this control method, tourists often lack immersive experience and it is difficult to mobilize tourists' interest; The second is to adopt semi-automatic dynamic control, in which the lighting equipment changes in a cycle according to established rules. In actual applications, tour guides generally introduce the pictures and texts on the wall corridors according to the historical process, and this cyclically changing lighting is often difficult to adapt to the rhythm of the tour guide's explanation, causing the lighting to create an inappropriate atmosphere, thus failing to achieve a complementary effect with the tour guide, which is undoubtedly not conducive to the immersive experience of tourists.
[0004] There is currently no effective technical solution to the above problems. Summary of the invention
[0005] The purpose of the present invention is to provide a wall corridor lighting control method, device, electronic device and storage medium to solve the problem that the traditional lighting control mode cannot create a suitable atmosphere according to the rhythm of the tour guide's commentary. By creating an immersive atmosphere in accordance with the rhythm of the tour guide's commentary, it is beneficial to improve the tourist experience.
[0006] In a first aspect, the present invention provides a wall corridor lighting control method, which is applied to a wall corridor lighting control system, comprising the following steps: S1. Receive audio information sent by the tour guide in real time; S2. Analyzing the audio information by a preset voice model to determine keyword information in the audio information, wherein the keyword information includes a preparatory switching prompt word and an execution switching prompt word; S3. When the preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on a preset database; the preparatory switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; S4. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, the light is switched to a corresponding display effect according to the execution switching prompt word.
[0007] The wall gallery lighting control method provided by the present invention controls the lighting to change adaptively according to the tour guide's voice commentary, thereby cooperating with the tour guide to create a suitable atmosphere at a suitable time, greatly improving the tourist experience.
[0008] Furthermore, the specific steps in step S2 include: S21 preprocesses the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and the execution switching prompt words.
[0009] This application greatly improves the adaptability and accuracy of the system by introducing a complete process of preprocessing, speech recognition and semantic analysis.
[0010] Furthermore, the specific steps in step S21 include: S211. Remove background noise from the audio information; S212. Dividing the audio information after removing the background noise into short time frames; S213. After adding the window function to the short-time frame, extract the characteristic information of each short-time frame to convert the audio information into a characteristic vector; the characteristic vector is used to represent the time-frequency characteristics of the audio information; the characteristic information includes Mel-frequency cepstral coefficients and linear predictive coding.
[0011] High-quality preprocessing output provides clearer and more effective input for the speech model, thereby improving the accuracy and stability of subsequent analysis.
[0012] Furthermore, the specific steps in step S3 include: S3A1. When the preparatory switching prompt word appears in the audio information, based on the preset database, the display effect of the light is determined by the preparatory switching prompt word and the wall gallery lighting control system enters the preparatory state; in the preparatory state, the wall gallery lighting control system starts the timer and counts down according to the preset duration; The specific steps in step S4 include: S41. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, if the execution switching prompt word appears before the countdown ends, the light is switched to the corresponding display effect according to the execution switching prompt word, otherwise the control system exits the preparatory state and returns to execute step S1.
[0013] This design not only ensures the timeliness of lighting switching, but also provides a certain flexibility for the tour guide's explanation rhythm, while avoiding erroneous lighting switching, effectively improving the accuracy and adaptability of lighting control, and enhancing the immersive experience of tourists.
[0014] Furthermore, the specific steps in step S3 also include: S3B1. After determining the guide position through monitoring, obtain the text information corresponding to the guide position on the wall gallery; the text information is pre-arranged on the wall gallery and is recorded in the database, the text information includes the preparatory switching prompt word and the execution switching prompt word; S3B2 based on the text information from the database to filter out the text information in the preparation of the switch prompt word and the corresponding relationship between the execution switch prompt word and the display effect and the corresponding relationship and extract as the target data; S3B3. When the preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on the target data.
[0015] Furthermore, the specific steps of switching the light to a corresponding display effect according to the execution switching prompt word include: S411. The guide and the tourists led by the guide are regarded as a team, and the lighting device corresponding to the position and length of the team on the wall gallery is selected as the target device to ensure that the light emitted by the target device can be viewed by all tourists in the team; S412. Keep the operating status of other lighting devices on the wall corridor except the target device unchanged. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, only switch the light of the target device to the corresponding display effect according to the execution switching prompt word.
[0016] In a second aspect, the present invention provides a wall corridor lighting control device, which is applied to a wall corridor lighting control system, comprising: A receiving module, used for receiving audio information sent by the tour guide in real time; An analysis module, configured to analyze the audio information through a preset voice model to determine keyword information in the audio information, wherein the keyword information includes a preparatory switching prompt word and an execution switching prompt word; A preparation module, configured to determine the display effect of the light through the preparation switching prompt word based on a preset database when the preparation switching prompt word appears in the audio information; the preparation switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; The switching module is used to switch the light to a corresponding display effect according to the execution switching prompt word after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information.
[0017] The wall gallery lighting control device provided by the present invention can make the lighting effect accurately match the content and rhythm of the tour guide's explanation, providing visitors with a more immersive experience. At the same time, due to the use of the dual mechanism of preparatory switching and execution switching, the system can effectively avoid false triggering caused by the tour guide accidentally mentioning certain words, thereby improving the accuracy and reliability of control.
[0018] Further, the analysis module performs, when used to analyze the audio information through a preset voice model to determine the keyword information in the audio information: S21 preprocesses the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and the execution switching prompt words.
[0019] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the wall corridor lighting control method provided in the first aspect are executed.
[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the wall corridor lighting control method provided in the first aspect are executed.
[0021] From the above, it can be seen that the wall corridor lighting control method provided by the present invention determines the tour guide's commentary rhythm through real-time analysis of the voice model and uses keyword information to achieve adaptive control of the lighting, thereby creating a suitable atmosphere at the right time, achieving a complementary effect between lighting equipment and people, and helping tourists to obtain a better immersive experience.
[0022] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A flow chart of a wall corridor lighting control method provided in an embodiment of the present invention.
[0024] Figure 2 A schematic structural diagram of a wall corridor lighting control device provided in an embodiment of the present invention.
[0025] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0026] Description of labels: 100, receiving module; 200, analyzing module; 300, preparing module; 400, switching module; 13, electronic device; 1301, processor; 1302, memory; 1303, communication bus. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0029] On the wall corridors of museums, cultural centers, scenic spots and other places, pictures and texts are usually arranged to show the history with the guide's explanation. In order to provide a good viewing experience, lighting equipment is installed on the wall corridor. These lighting equipment not only provides sufficient light, but also creates an atmosphere by adjusting the brightness and color. However, the existing wall corridor lighting control methods have obvious shortcomings. In the static control mode, the lighting equipment maintains a fixed brightness and color, which makes it difficult to provide tourists with an immersive experience. Although the semi-automatic dynamic control mode can achieve cyclic changes in the light, it is often difficult to match the rhythm of the guide's explanation, resulting in the lighting effect being inconsistent with the explanation content, affecting the quality of tourists' experience.
[0030] Specifically, the problem of this kind of lighting control being out of sync with the tour guide's explanation is particularly prominent in practical applications. For example, in a historical theme museum, the wall gallery displays the rise and fall of a dynasty in chronological order. When the tour guide is explaining, he needs to adjust the tone and rhythm according to different historical stages to highlight important events and turning points. However, the existing lighting control system cannot perceive the progress and focus of the tour guide's explanation, resulting in a serious disconnect between the lighting effect and the content of the explanation. When the tour guide is describing a major battle, the light may still maintain a calm tone; but when the explanation enters a period of peace and prosperity, the light may suddenly turn into a fierce red. This incoordination not only fails to enhance the explanation effect, but also interferes with tourists' attention and reduces the overall visiting experience.
[0031] It can be seen that if the problem of the asynchrony between the wall gallery lighting control and the tour guide's explanation cannot be effectively solved, it will lead to many technical consequences. First, the lighting cannot accurately match the content of the explanation, and loses its important function of enhancing information transmission and emotional rendering. Secondly, uncoordinated lighting changes may distract tourists and reduce the efficiency of information reception. Furthermore, this asynchrony will reduce the intelligence level of the entire display system and the quality of user experience. From a technical point of view, this problem highlights the shortcomings of the existing wall gallery lighting control system in real-time responsiveness and context understanding. There is an urgent need for an intelligent control method that can accurately capture the content of the tour guide's explanation and adjust the lighting effect in real time.
[0032] refer to Figure 1 The present invention provides a wall corridor lighting control method, which is applied to a wall corridor lighting control system and includes the following steps: S1. Receive audio information sent by the tour guide in real time; S2. Analyze the audio information by a preset voice model to determine the keyword information in the audio information, the keyword information includes the preparatory switching prompt word and the execution switching prompt word; S3. When the audio information appears in the preparatory switching prompt word, based on the preset database, the display effect of the light is determined by the preparatory switching prompt word; the preparatory switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; S4. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, the light is switched to the corresponding display effect according to the execution switching prompt word.
[0033] The audio information refers to the voice data sent by the tour guide in real time, which can be realized by using a microphone or other audio collection equipment. Specifically, an audio collection equipment is prepared for each tour guide in advance, and each audio collection equipment has a unique identification ID and is bound to the identity of the corresponding tour guide, so as to distinguish the voice data of different tour guides.
[0034] Among them, the speech model refers to the algorithm model used to analyze and recognize speech content, which can be implemented by deep learning or machine learning methods.
[0035] Among them, keyword information refers to important words extracted from the audio, including preparatory switching prompt words and execution switching prompt words, which can be specifically implemented using natural language processing technology.
[0036] The preset database refers to a data storage system that stores the corresponding relationship between the preparatory switching prompt words, the execution switching prompt words and the display effects, and can be implemented by using a relational database or a non-relational database.
[0037] Among them, the display effect refers to the visual presentation methods such as the brightness, color, and change mode of the light, which can be achieved by using LED lights or other adjustable lighting equipment.
[0038] The core innovation of this application is to introduce a dual mechanism of pre-switching prompt words and execution switching prompt words to control the wall gallery lights. This mechanism analyzes the audio information of the tour guide in real time, predetermines the lighting display effect when the pre-switching prompt words are recognized, and actually switches the lights when the execution switching prompt words are recognized. This design can not only accurately synchronize the lighting changes with the tour guide's explanation, but also effectively reduce the probability of false triggering and improve the reliability and flexibility of the system.
[0039] The working principle of this application can be described in detail as follows: First, the system receives the audio information of the tour guide in real time through the audio acquisition device. These devices can be highly sensitive microphones to ensure that the tour guide's explanation can be clearly captured. The audio acquisition device can, for example, distinguish the voices of the tour guide and tourists through voiceprint comparison technology to determine or identify the audio information of the tour guide; since the tour guide is closer to the audio acquisition device (for example, the microphone is generally set on the tour guide to move with the tour guide), the voice of the tour guide and tourists can also be distinguished by the volume to determine or identify the audio information of the tour guide.
[0040] Next, the system uses a preset voice model to analyze the received audio information. This voice model may be a neural network based on deep learning, trained with a large amount of voice data. It can convert audio information into text and identify key words from it, especially the pre-switching prompt words and the execution switching prompt words.
[0041] When the pre-switching prompt word is recognized, the system will query the preset database. This database stores the correspondence between the pre-switching prompt word and the execution switching prompt word, as well as the correspondence between the execution switching prompt word and the specific lighting display effect. Through this query process, the system can determine the possible next lighting display effect, but the switch will not be executed immediately at this time.
[0042] When the system subsequently recognizes the execution switch prompt word, it will query the database again to confirm whether this execution switch prompt word corresponds to the previous preparation switch prompt word. If a match is successful, the system will switch the lights on the wall corridor to the predetermined display effect according to the corresponding relationship stored in the database.
[0043] Specifically, the preparatory switching prompt word can correspond to multiple execution switching prompt words. For example, the preparatory switching prompt word is the Warring States Period, and the corresponding execution switching prompt words include Shang Yang's Reforms, Hundred Schools of Thought, and Battle of Changping. Each execution switching prompt word corresponds to a lighting display effect. When the system recognizes "Warring States Period", if "Shang Yang's Reforms" is subsequently recognized, the light is controlled to switch to the corresponding display effect. If "Shang Yang's Reforms" is first recognized, then "Hundred Schools of Thought", and finally "Battle of Changping", and no other preparatory switching prompt words are recognized during this period, the light is controlled to switch to various display effects in sequence during this period.
[0044] The reason for this dual mechanism is to improve the accuracy and reliability of the system. By preparing the switching prompt word, the system can prepare in advance and reduce response delays; and by executing the switching prompt word, the system can avoid false triggering caused by the tour guide accidentally mentioning a word, and will only execute when the tour guide intends to switch the light.
[0045] The actual switching of lights is achieved by controlling the intelligent lighting devices installed on the wall gallery. These devices may be LED light groups with adjustable brightness and color, which can quickly switch to different display effects according to the system's instructions.
[0046] Throughout the process, the various components of the system work closely together: the audio acquisition device continuously inputs audio information, the voice model analyzes and recognizes keywords in real time, the database provides the necessary corresponding relationship information, the control module issues instructions based on the analysis results and database information, and finally the intelligent lighting device executes the light switching. This collaborative work ensures that the lighting changes can accurately match the rhythm and content of the guide's explanation.
[0047] As a preferred implementation, the present application can be applied in a wall gallery lighting control system of a certain historical theme museum. Specific embodiments are as follows: On a 50-meter-long wall corridor of the museum, 100 sets of adjustable LED light strips are installed, each set of light strips is 0.5 meters long and can independently control brightness and color. Ten high-sensitivity microphones are evenly distributed on both sides of the wall corridor to collect audio information from the tour guide.
[0048] The system uses a deep learning-based speech recognition model, which has been trained to recognize preset pre-switching prompts and execution prompts with an accuracy rate of more than 95%. The preset database stores 50 sets of correspondence between pre-switching prompts and execution prompts, as well as 100 different lighting display effects.
[0049] For example, when the tour guide says "The bonfire party will start next", the system recognizes "bonfire party" as a preparatory switching prompt. The system queries the database and determines that the next possible display effect is "flashing red", but the light will not be switched immediately.
[0050] Later, when the tour guide said "fireworks show", the system recognized that this was the execution switching prompt corresponding to "bonfire party". At this time, the system instructed all LED light strips to switch to red and flash at a frequency of 2 times per second, creating a joyful atmosphere.
[0051] In this way, the lighting effects can precisely match the content and rhythm of the guide's explanation, providing visitors with a more immersive experience. At the same time, due to the dual mechanism of pre-switching and execution switching, the system can effectively avoid false triggering caused by the guide's accidental mention of certain words, improving the accuracy and reliability of control.
[0052] In some embodiments, the specific steps in step S2 include: S21. Preprocessing the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and execution switching prompt words.
[0053] The present application further proposes a technical solution for preprocessing audio information, converting the preprocessed audio information into text, semantically interpreting the text and marking all preparatory switching prompt words and execution switching prompt words.
[0054] The technical solution of the present application realizes accurate recognition of keywords in audio information by converting audio information into text and performing semantic interpretation and keyword annotation on the text. This method can effectively solve the problems of audio information analysis and keyword determination, and provide accurate triggering basis for subsequent lighting control. The core invention of this solution is to combine speech recognition technology with semantic analysis technology, realize accurate conversion from audio to keywords, and improve the intelligence level and response accuracy of the system.
[0055] First, preprocessing the audio information is to improve the accuracy of subsequent analysis. Preprocessing may include various methods, such as denoising, framing, normalization, etc. Denoising can be achieved through frequency domain filtering or time domain filtering, and framing can divide continuous audio information into short time periods for subsequent processing. Normalization can adjust the amplitude of the audio information to keep it within a uniform range.
[0056] Secondly, converting the pre-processed audio information into text is the basis for semantic analysis. This step can be achieved through speech recognition technology, and common methods include hidden Markov model (HMM), deep neural network (DNN), etc. Speech recognition systems usually include acoustic models and language models. The acoustic model is used to map audio features to phonemes, and the language model is used to convert phoneme sequences into the most likely text sequence.
[0057] Finally, semantic interpretation of text and tagging of keywords are the core steps to achieve keyword recognition. This step can use natural language processing technology, such as part-of-speech tagging, named entity recognition, etc. For the recognition of pre-switching prompt words and execution switching prompt words, rule-based methods or machine learning methods can be used. Rule-based methods can identify keywords through predefined dictionaries and grammar rules, while machine learning methods can learn recognition patterns through training data.
[0058] These three steps work together to form a complete processing flow. Preprocessing provides high-quality input for subsequent analysis, text conversion provides the basis for semantic analysis, and semantic interpretation and keyword tagging directly realize keyword recognition. This process design can effectively extract the required key information from the original audio.
[0059] The technical solution of this application realizes accurate recognition of keywords in audio information by converting audio information into text and performing semantic interpretation and keyword annotation on the text. This method can effectively solve the problems of audio information analysis and keyword determination, and provide accurate triggering basis for subsequent lighting control.
[0060] Specifically, the preprocessing step improves the quality of the audio information, reduces noise and interference, and provides better input for subsequent speech recognition. The text conversion step converts the audio information into a processable text form, allowing the system to apply text analysis technology. The semantic interpretation and keyword annotation steps directly realize the recognition of the pre-switching prompt words and the execution switching prompt words.
[0061] This process design not only improves the accuracy of keyword recognition, but also enhances the robustness of the system. For example, even in an environment with a certain amount of background noise, the system can still recognize keywords well through the combination of preprocessing and speech recognition. At the same time, the introduction of the semantic interpretation step enables the system to understand the context, thereby more accurately identifying the real keywords and avoiding the misjudgment that may be caused by simply matching keywords.
[0062] As a preferred implementation, the preprocessing step may include the following specific operations: First, a high-pass filter is used to remove low-frequency noise in the audio information, and the cutoff frequency of the filter may be set to 100 Hz. Then, the audio information is segmented into short-time frames of 20 ms, and a Hamming window function is applied to each short-time frame to reduce spectrum leakage. Next, a Mel-frequency cepstral coefficient (MFCC) feature is extracted for each short-time frame, and a 13-dimensional MFCC feature is usually extracted.
[0063] In the text conversion step, you can use end-to-end speech recognition models based on deep learning, such as Transformer or Conformer models. These models can directly map audio feature sequences to text sequences without explicit acoustic models and language models. The input of the model is the MFCC feature sequence extracted in the previous step, and the output is the corresponding text sequence.
[0064] For the semantic interpretation and keyword tagging steps, a pre-trained language model such as BERT can be used for fine-tuning. First, the text is preliminarily processed using a part-of-speech tagging tool, and then the fine-tuned BERT model is used to understand the text semantically. Finally, each word is labeled through a linear classification layer to determine whether it is a pre-switching prompt word or an execution switching prompt word.
[0065] Through this implementation, the technical solution of the present application can effectively process various complex audio inputs, accurately identify keywords, and provide a reliable trigger basis for subsequent lighting control.
[0066] Compared with the prior art, the technical solution of this application has significant advantages. Traditional audio analysis methods usually rely on simple keyword matching or fixed voice commands, which are difficult to adapt to complex voice environments and diverse expressions. However, this application greatly improves the adaptability and accuracy of the system by introducing a complete process of preprocessing, voice recognition and semantic analysis.
[0067] For example, in a museum tour scenario, traditional methods may only be able to identify preset fixed phrases as trigger words, while the method of this application can understand the natural language expression of the tour guide, and even if the tour guide uses synonyms or different expressions, the system can accurately identify key information. This not only improves the flexibility of the system, but also enhances the user experience.
[0068] In addition, the method of the present application can better handle homophones or polysemous words through semantic understanding. For example, when introducing historical figures, the system can correctly distinguish between "general" (as a name) and "general" (as a verb) according to the context, thereby avoiding incorrect light triggering.
[0069] In general, the technical solution of this application achieves efficient and accurate analysis of audio information by combining a variety of advanced speech processing and natural language processing technologies, provides reliable technical support for intelligent lighting control systems, and effectively solves the problems existing in the prior art.
[0070] In some embodiments, the specific steps in step S21 include: S211. Remove background noise from audio information; S212. Dividing the audio information after removing the background noise into short time frames; S213. After adding the window function to the short-time frame, extract the feature information of each short-time frame to convert the audio information into a feature vector; the feature vector is used to represent the time-frequency characteristics of the audio information; the feature information includes Mel-frequency cepstral coefficients and linear predictive coding.
[0071] The present application effectively solves the technical problem of audio information preprocessing through a series of audio information preprocessing steps, including removing background noise, dividing short time frames, adding window functions, extracting feature information, etc. These preprocessing steps can improve the quality of audio information and convert audio information into a feature vector form that is easy to analyze and process, laying the foundation for subsequent speech recognition and semantic analysis. Through this preprocessing, the system can improve the accuracy of recognizing keywords in audio information, thereby better realizing the intelligent control of wall corridor lighting.
[0072] The audio information preprocessing scheme of the present application includes multiple key steps, each of which has its specific function and implementation method.
[0073] First, removing background noise from audio information is an important step to improve audio quality. This can be achieved through a variety of methods, such as frequency domain filtering, adaptive noise removal, or deep learning-based noise suppression algorithms. Specifically, frequency domain filtering can filter out noise in a specific frequency band by setting a frequency threshold; adaptive noise removal can dynamically adjust the filtering parameters according to the characteristics of the ambient noise; and deep learning methods can identify and remove complex background noise by training models.
[0074] Secondly, the denoised audio information is divided into short time frames and the window function is added for time domain analysis. The length of the short time frame is usually selected between 10-30ms, because within this time range, the audio information can be considered to be quasi-steady. The choice of window function is also very important. Commonly used window functions include Hamming window and Hanning window. The role of the window function is to reduce spectrum leakage and improve the accuracy of spectrum analysis.
[0075] Finally, extracting feature information and converting it into feature vectors is the core step of audio information preprocessing. This application selects Mel Frequency Cepstral Coefficients (MFCC) and Linear Predictive Coding (LPC) as feature information. MFCC can well simulate the auditory characteristics of the human ear, while LPC can effectively represent the spectral envelope of speech. The combination of these two features can fully describe the time-frequency characteristics of audio information.
[0076] There is a close relationship and interaction between these preprocessing steps. De-noising provides high-quality input signals for subsequent short-time frame segmentation and feature extraction. Short-time frame segmentation and window function application create suitable analysis units for feature extraction. Feature extraction converts audio information into a numerical form that can be directly processed by machine learning algorithms.
[0077] The preprocessing scheme of the present application combined with the aforementioned speech model analysis step can significantly improve the system's recognition accuracy of keywords in audio information. High-quality preprocessing output provides a clearer and more effective input for the speech model, thereby improving the accuracy and stability of subsequent analysis. This improvement directly affects the system's recognition effect on the preparatory switching prompt words and the execution switching prompt words, thereby improving the response speed and accuracy of the entire wall corridor lighting control system.
[0078] In practical applications, the audio information preprocessing solution of this application can be implemented according to the following steps: 1. Noise removal: Use an adaptive filter to process the input audio information. The parameters of the filter can be dynamically adjusted according to the characteristics of the ambient noise. For example, the minimum mean square error (LMS) algorithm can be used to update the filter coefficients to minimize the impact of background noise.
[0079] 2. Short-time frame division: The denoised audio information is divided into short-time frames of 25ms, with 10ms overlap between adjacent frames. This setting ensures full analysis of the audio information while also taking into account computational efficiency.
[0080] 3. Window function application: Apply the Hamming window function to each short-time frame. The mathematical expression of the Hamming window is: w(n)=0.54-0.46*cos(2πn / (N-1)), where w(n) represents the value of the Hamming window at the nth sampling point, n represents the nth sampling point, and N is the window length. The Hamming window can effectively reduce spectrum leakage and improve the accuracy of spectrum analysis.
[0081] 4. Feature extraction: 41. MFCC Extraction: Perform a Fast Fourier Transform (FFT) on each windowed short-time frame and then map the spectrum to the Mel frequency scale. Usually 13-dimensional MFCC features are extracted.
[0082] 42. LPC extraction: Use the Levinson-Durbin recursive algorithm to calculate the LPC coefficients. Usually choose 10-12 order LPC coefficients.
[0083] 5. Feature vector construction: Combine MFCC and LPC features into a feature vector. For example, a 23-dimensional feature vector can be constructed, which contains 13-dimensional MFCC and 10-dimensional LPC features.
[0084] Through this detailed preprocessing scheme, the present application can effectively convert the original audio information into high-quality feature vectors, providing reliable input for subsequent speech recognition and semantic analysis. This preprocessing method not only improves the system's recognition accuracy for keywords, but also enhances the robustness of the system in different environments. For example, in a noisy environment, the noise removal step can significantly improve the signal-to-noise ratio of the signal, while the combination of MFCC and LPC features can maintain good recognition performance under different acoustic conditions.
[0085] Compared with the prior art, the audio information preprocessing solution of this application has the following advantages: 1. More comprehensive feature extraction: By combining MFCC and LPC features, this application can more comprehensively describe the time-frequency characteristics of audio information. Compared with the method of using only a single feature, this combination can provide richer information and help improve the accuracy of subsequent recognition.
[0086] 2. Adaptive noise removal: The adaptive filtering method used in this application can dynamically adjust parameters according to the characteristics of the environmental noise. Compared with the filtering method with fixed parameters, it can better adapt to different noise environments.
[0087] 3. Optimized short-time frame division: The 25ms frame length and 10ms frame shift settings adopted in this application not only ensure the analysis accuracy, but also take into account the computational efficiency, which is very important for real-time processing of audio information.
[0088] 4. Efficient feature vector construction: By reasonably selecting the dimensions of MFCC and LPC, the feature vector constructed in this application not only contains sufficient information, but also avoids the computational burden caused by excessively high dimensions.
[0089] These improvements enable the audio information preprocessing solution of the present application to better support the real-time and accuracy requirements of the wall corridor lighting control system, and provide strong technical support for realizing intelligent and personalized lighting control.
[0090] In some embodiments, the specific steps in step S3 include: S3A1. When the audio information appears to prepare the switching prompt, based on the preset database, the display effect of the light is determined by the prepared switching prompt and the wall gallery lighting control system enters the preparatory state; in the preparatory state, the wall gallery lighting control system starts the timer and counts down according to the preset duration; The specific steps in step S4 include: S41. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, if the execution switching prompt word appears before the countdown ends, the light is switched to the corresponding display effect according to the execution switching prompt word, otherwise the control system exits the preparatory state and returns to execute step S1.
[0091] The technical solution of the present application effectively solves the problem of the lighting switching effect being out of sync with the tour guide's explanation by introducing a dual mechanism of preparatory switching prompt words and execution switching prompt words, combined with the preparatory state and countdown functions. The system enters the preparatory state when it recognizes the preparatory switching prompt words, and waits for the execution switching prompt words to appear within the specified time. This design not only ensures the timeliness of the lighting switch, but also provides a certain degree of flexibility for the tour guide's explanation rhythm. If the execution switching prompt words do not appear within the preset time, the system will exit the preparatory state to avoid incorrect lighting switching. This method can effectively improve the accuracy and adaptability of lighting control and enhance the immersive experience of tourists.
[0092] The technical solution of the present application involves multiple key features, including preparatory switching prompt words, execution switching prompt words, preset database, preparatory state, timer and countdown mechanism. The association and interaction between these features constitute a complete lighting control system.
[0093] The pre-switching prompts and execution switching prompts are the trigger points for the system to identify key moments in the tour guide's explanation. The pre-switching prompts can be set as prompts for the tour guide to introduce new content, such as "Next we will see" or "Let's go to the next exhibition area". The execution switching prompts can be the beginning of specific content, such as "This painting depicts" or "This cultural relic comes from".
[0094] The preset database stores the correspondence between the preparatory switching prompt words and the execution switching prompt words, and the correspondence between the execution switching prompt words and the light display effect. For example, the database may contain the following mapping: - the preparatory switching prompt words "next we will see" corresponds to the execution switching prompt words "this painting depicts" - the execution switching prompt words "this painting depicts" corresponds to the light display effect "warm yellow spotlight".
[0095] The ready state is an intermediate state of the system, which is triggered after the ready switching prompt word is recognized. In this state, the system starts the timer and begins the countdown. The preset countdown time can be adjusted according to the actual situation, for example, set to 10 seconds or 15 seconds. This time window provides a buffer for the tour guide's explanation rhythm.
[0096] The timer and countdown mechanism are the core control logic of this solution. When the system enters the standby state, the timer starts working. If the execution switch prompt word is recognized before the countdown ends, the system will immediately switch the lighting effect. If the execution switch prompt word is still not recognized at the end of the countdown, the system will exit the standby state to avoid incorrect lighting switching.
[0097] The collaboration between these features forms a flexible and accurate lighting control system. The introduction of the preparatory switching prompts enables the system to prepare in advance, while the recognition of the execution switching prompts ensures the accuracy of the lighting switching. The design of the preparatory state and countdown mechanism provides the necessary flexibility for the entire process and adapts to the slight changes in the rhythm of the tour guide's explanation.
[0098] In practical application, the technical solution of this application can be operated as follows: 1. The system continuously receives and analyzes the tour guide’s audio information.
[0099] 2. When the system recognizes the preparatory switching prompt word "We will see next", it will query the preset database to determine the possible execution switching prompt words and the corresponding lighting display effects.
[0100] 3. The system enters the ready state, starts the timer, and begins a 15-second countdown.
[0101] 4. During the countdown, the system continues to analyze the audio information. If the execution switching prompt "This painting depicts" is recognized at 10 seconds, the system immediately switches the light to the preset "warm yellow spotlight" effect.
[0102] 5. If the execution switch prompt word is not recognized after the 15-second countdown, the system exits the standby state, continues to monitor the audio information, and waits for the next standby switch prompt word.
[0103] This design allows the lighting switching to better adapt to the actual rhythm of the tour guide's explanation. Even if the tour guide pauses or inserts additional explanations when introducing new content, the system can complete the lighting switching within the appropriate time window, avoiding the problem of the lighting effect being out of sync with the explanation content.
[0104] The technical solution of the present application has significant advantages over the prior art. The traditional static control method cannot dynamically adjust the lighting effects according to the content of the tour guide's explanation, and although the semi-automatic dynamic control can achieve lighting changes, it is often difficult to accurately match the rhythm of the tour guide's explanation. The present application introduces a dual recognition mechanism of preparatory switching prompt words and execution switching prompt words, combined with the preparatory state and countdown functions, to achieve precise synchronization of lighting effects and tour guide explanations. This method not only improves the accuracy of lighting control, but also provides a certain flexibility for the tour guide's explanation, thereby significantly enhancing the immersive experience of tourists.
[0105] In some embodiments, the specific steps in step S3 further include: S3B1. After determining the guide position through monitoring, obtain the text information corresponding to the guide position on the wall gallery; the text information is pre-arranged on the wall gallery and is recorded in the database, the text information includes the preparation of the switching prompt words and the execution of the switching prompt words; S3B2 based on text information from the database to filter out the correspondence between the preparatory switching prompt words and the execution switching prompt words and the execution switching prompt words and the display effect and extract as the target data; S3B3. When a preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on the target data.
[0106] In museums, cultural centers, scenic spots and other places, wall corridors are usually decorated with graphic information to display history with the guide's explanation. Traditional wall corridor lighting control methods include static control and semi-automatic dynamic control. Static control is difficult to provide an immersive experience, while semi-automatic dynamic control is difficult to match the rhythm of the guide's explanation, which is not conducive to creating a suitable atmosphere.
[0107] In order to solve the problem of slow dynamic response of the lighting control system, the present application proposes an improved wall gallery lighting control method. The method first determines the location of the tour guide through monitoring, and then obtains the text information corresponding to the location of the tour guide on the wall gallery. The text information is pre-arranged on the wall gallery and recorded in the database, including the preparatory switching prompt words and the execution switching prompt words.
[0108] Based on the acquired text information, the system screens out the correspondence between the preparatory switching prompt words and the execution switching prompt words in the text information, as well as the correspondence between the execution switching prompt words and the display effect from the database, and extracts this information as target data. When the preparatory switching prompt words appear in the audio information, the system determines the display effect of the light through the preparatory switching prompt words based on these target data.
[0109] The core of this method is to predict the possible content of the explanation through the location information of the tour guide, so as to prepare the corresponding lighting effects in advance. Specifically, the system can monitor the location of the tour guide in a variety of ways, such as using positioning devices, camera tracking, or GPS information from the tour guide's handheld device. The text information on the wall gallery can be pre-arranged in the form of QR codes, RFID tags or other electronic identification, which is convenient for the system to quickly read and identify.
[0110] The information stored in the database may include multiple levels of correspondence. For example, the correspondence between the guide position and the wall gallery text, the correspondence between the preparatory switching prompt words and the execution switching prompt words in the text, and the correspondence between the execution switching prompt words and the specific lighting display effects. This multi-level correspondence enables the system to more accurately predict and prepare lighting effects.
[0111] In actual applications, when the system detects that the tour guide has entered a specific area, it will immediately obtain the text information on the wall corridor in that area. For example, if the tour guide enters the area displaying ancient civilizations, the system will obtain the text information of that area, which may include "Ancient civilization will be described soon" as the preparatory switching prompt word and "Stone Age" as the execution switching prompt word. The system then extracts the lighting effect information corresponding to these words from the database, such as adjusting the light to stone brown to create a mysterious atmosphere.
[0112] When the preparatory switching prompt "I will talk about modern civilization" appears in the tour guide's audio information, the system has already prepared the corresponding lighting effect. In this way, when the tour guide actually says the execution switching prompt "Industrial Revolution", the system can immediately switch to the preset lighting effect to achieve a quick response.
[0113] Through this prediction and preparation mechanism, the present application significantly improves the response speed of the lighting control system. Compared with traditional methods, the technical solution of the present application can better match the rhythm of the tour guide's explanation and provide a more synchronized and immersive experience. In addition, since the system only needs to process data related to the current location instead of the entire database, it also reduces the amount of data processing and further improves the response speed.
[0114] As a preferred implementation, the present application can be implemented in the "Ancient Civilization" exhibition area of a museum. The wall corridors of this exhibition area are arranged with the development of historical civilization from ancient times to modern times. The system pre-stores text information, prompt words and lighting effects related to each period.
[0115] For example, when the tour guide enters the "Ancient Egyptian Civilization" area, the system obtains the text information of the area, including the preparatory switching prompt "The pyramids will be introduced soon" and the execution switching prompt "The Pharaoh's Tomb". The system then extracts relevant information from the database and prepares to adjust the lights to golden yellow to simulate the scene of the pyramids under the desert sun.
[0116] When the tour guide said "I'm about to introduce the pyramids" during his explanation, the system entered the standby state. Then, when the tour guide said "the pharaoh's tomb", the light immediately switched to the preset golden effect, creating an ancient Egyptian atmosphere. This quick response not only enhances the tourists' sense of immersion, but also makes the tour guide's explanation more appealing.
[0117] Compared with traditional lighting control methods, the technical solution of this application has obvious advantages. Traditional methods may require manual operation or preset fixed change modes, which are difficult to adapt to the rhythm of the tour guide's explanation in real time. However, this application achieves precise synchronization of lighting effects and tour guide explanations through prediction and preparation mechanisms, greatly improving the overall effect of the exhibition and the visitor experience.
[0118] In addition, the method of the present application has good adaptability and scalability. By updating the correspondence between text information and lighting effects in the database, the system can easily adapt to exhibitions with different themes or newly added display content without making major changes to the hardware facilities. This flexibility allows museums to update exhibition content more frequently, increasing the attraction and repeat visit rate of the venue.
[0119] In some embodiments, the specific steps of switching the light to a corresponding display effect according to the execution switching prompt word include: S411. The guide and the tourists led by the guide are regarded as a team, and the lighting equipment corresponding to the team position and team length on the wall gallery is selected as the target equipment to ensure that the light emitted by the target equipment can be viewed by all tourists in the team; S412. Keep the operating status of other lighting devices on the wall corridor except the target device unchanged. After the preparatory switching prompt word appears in the audio information and the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, only switch the light of the target device to the corresponding display effect according to the execution switching prompt word.
[0120] The technical solution proposed in this application realizes the precise positioning of lighting effects by considering the tour guide and tourists as a whole and selecting the target lighting equipment according to the position and length of the team. At the same time, by switching only the lights of the target equipment and keeping the status of other equipment unchanged, unnecessary interference is avoided and energy consumption is reduced, thereby improving the accuracy of lighting control. This method can ensure that the lighting effects are synchronized with the content of the tour guide's explanation, enhance the immersive experience of tourists, and effectively solve the technical problem of accurately controlling the switching of lights in the wall corridor lighting control.
[0121] Specifically, the technical solution of this application includes the following key features: Treating the guide and tourists as a team: This feature can be implemented in many ways, such as using cameras or sensors to detect the position and length of the guide and tourists.
[0122] Select the lighting equipment corresponding to the position and length of the team as the target equipment: This step can be achieved by a pre-set algorithm, which can calculate the most suitable combination of lighting equipment according to the position and length of the team. For example, a coverage range can be set to ensure that the selected lighting equipment can illuminate the entire area where the team is located.
[0123] Keep other lighting devices in operation: This feature can be achieved through a control system that can individually control the switching and brightness of each lighting device.
[0124] Only switch the lighting of the target device to the corresponding display effect: This step can be achieved through a preset lighting effect library. Select the corresponding lighting effect according to the execution switch prompt and apply it only to the target device.
[0125] There is a close relationship and interaction between these features. By considering the tour guide and tourists as a whole, the system can more accurately determine the areas that need lighting. The process of selecting the target device directly depends on the position and length information of the team, ensuring the precise positioning of the lighting effect. The two features of keeping the status of other devices unchanged and switching only the lights of the target device cooperate with each other to ensure the lighting effect of the target area and avoid interference with other areas. It is particularly suitable for application scenarios where multiple different teams visit the same wall gallery one after another. Each team independently provides corresponding lighting effects according to the explanation content of their respective tour guides, rather than controlling all the lights of the entire wall gallery to make the same changes, so that tourists from each team can get an undisturbed immersive experience; or when there is only one team in the wall gallery, only the lighting equipment at the corresponding position of the team is controlled to produce lighting effects, while the lighting equipment at other positions of the wall gallery remains turned off, so as to save energy.
[0126] This approach not only solves the problem of precise control of light switching, but also brings additional benefits. For example, by controlling only the necessary lighting equipment, energy consumption can be significantly reduced. In addition, this precise control can also reduce interference with other groups of visitors and improve the overall visitor experience.
[0127] In practical applications, the technical solution of this application can be implemented as follows: First, the system receives the audio information sent by the tour guide in real time. The audio information is analyzed through the preset voice model to determine the keyword information, including the pre-switching prompt words and the execution switching prompt words. When the pre-switching prompt words appear in the audio information, the system determines the display effect of the light through the pre-switching prompt words based on the preset database.
[0128] Next, the system determines the location and length of the tour guide and tourist team through monitoring equipment. Assume that the team is 10 meters long and is located in the 20-30 meter area of the wall gallery. The system will select the lighting equipment in this area as the target equipment, such as the LED light strips numbered L20 to L30.
[0129] When the audio information shows the execution switching prompt, the system will only switch the LED strips from L20 to L30 to the corresponding display effect according to the execution switching prompt. For example, if the execution switching prompt corresponds to the "warm yellow" effect, the system will adjust the LED strips from L20 to L30 to warm yellow light with a color temperature of 3000K and a brightness of 50%. At the same time, the lighting equipment in other areas of the wall corridor (such as L1 to L19, L31 to L50) remains unchanged.
[0130] This implementation ensures that the lighting effects accurately follow the changes in the guide's explanations, providing the best viewing experience for all tourists in the group. At the same time, since only some lighting equipment changes, it saves energy and avoids interference with tourists in other areas.
[0131] Compared with the existing technology, the technical solution of the present application has significant advantages. The traditional static control method cannot dynamically adjust the lighting according to the content of the tour guide's explanation, and although the semi-automatic dynamic control can change the lighting, it is often difficult to synchronize with the rhythm of the tour guide's explanation. The method of the present application achieves a perfect match between the lighting effect and the content of the tour guide's explanation through precise positioning and control, greatly enhancing the immersive experience of tourists. In addition, the method of the present application can also effectively reduce energy consumption and reduce interference with other tourists, which are difficult to achieve with the existing technology.
[0132] Through this precise lighting control method, the present application effectively solves the technical problem of precise control of lighting switching in wall corridor lighting control, and provides a more intelligent and efficient display method for museums, cultural centers, scenic spots and other places.
[0133] Please refer to Figure 2 , Figure 2 A wall corridor light control device in some embodiments of the present invention is applied to a wall corridor light control system. The wall corridor light control device is integrated in a back-end control device in the form of a computer program, and includes: The receiving module 100 is used to receive the audio information sent by the tour guide in real time; The analysis module 200 is used to analyze the audio information through a preset voice model to determine the keyword information in the audio information, where the keyword information includes the preparatory switching prompt word and the execution switching prompt word; The preparation module 300 is used to determine the display effect of the light through the preparation switching prompt word based on a preset database when the preparation switching prompt word appears in the audio information; the preparation switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; The switching module 400 is used to switch the light to a corresponding display effect according to the execution switching prompt word after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information.
[0134] In some embodiments, the analysis module 200 performs the following when analyzing the audio information by using a preset speech model to determine the keyword information in the audio information: S21. Preprocessing the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and execution switching prompt words.
[0135] In some embodiments, the analysis module 200 performs the following when pre-processing the audio information: S211. Remove background noise from audio information; S212. Dividing the audio information after removing the background noise into short time frames; S213. After adding the window function to the short-time frame, extract the feature information of each short-time frame to convert the audio information into a feature vector; the feature vector is used to represent the time-frequency characteristics of the audio information; the feature information includes Mel-frequency cepstral coefficients and linear predictive coding.
[0136] In some embodiments, the preparation module 300 is used to perform the following when determining the display effect of the light by the preparation switching prompt word based on a preset database when the preparation switching prompt word appears in the audio information: S3A1. When the audio information appears to prepare the switching prompt, based on the preset database, the display effect of the light is determined by the prepared switching prompt and the wall gallery lighting control system enters the preparatory state; in the preparatory state, the wall gallery lighting control system starts the timer and counts down according to the preset duration; The switching module 400 is used to switch the light to a corresponding display effect according to the execution switching prompt word after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, execute: S41. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, if the execution switching prompt word appears before the countdown ends, the light is switched to the corresponding display effect according to the execution switching prompt word, otherwise the control system exits the preparatory state and returns to execute step S1.
[0137] In some embodiments, when the preparatory switching prompt word appears in the audio information, the preparatory module 300 is used to determine the display effect of the light through the preparatory switching prompt word based on a preset database, and further executes: S3B1. After determining the guide position through monitoring, obtain the text information corresponding to the guide position on the wall gallery; the text information is pre-arranged on the wall gallery and is recorded in the database, the text information includes the preparation of the switching prompt words and the execution of the switching prompt words; S3B2 based on text information from the database to filter out the correspondence between the preparatory switching prompt words and the execution switching prompt words and the execution switching prompt words and the display effect and extract as the target data; S3B3. When a preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on the target data.
[0138] In some embodiments, the switching module 400 performs the following when switching the light to a corresponding display effect according to the execution switching prompt: S411. The guide and the tourists led by the guide are regarded as a team, and the lighting equipment corresponding to the team position and team length on the wall gallery is selected as the target equipment to ensure that the light emitted by the target equipment can be viewed by all tourists in the team; S412. Keep the operating status of other lighting devices on the wall corridor except the target device unchanged. After the preparatory switching prompt word appears in the audio information and the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, only switch the light of the target device to the corresponding display effect according to the execution switching prompt word.
[0139] Please refer to Figure 3 , Figure 3 The present invention provides a structural diagram of an electronic device provided by an embodiment of the present invention. The present invention provides an electronic device 13, including: a processor 1301 and a memory 1302. The processor 1301 and the memory 1302 are interconnected and communicate with each other through a communication bus 1303 and / or other forms of connection mechanisms (not shown). The memory 1302 stores computer-readable instructions executable by the processor 1301. When the electronic device is running, the processor 1301 executes the computer-readable instructions to execute the wall corridor lighting control method in any optional implementation of the above embodiment to achieve the following functions: receiving audio information sent by a tour guide in real time; The speech model analyzes the audio information to determine the keyword information in the audio information, the keyword information includes the preparatory switching prompt word and the execution switching prompt word; when the preparatory switching prompt word appears in the audio information, based on the preset database, the display effect of the light is determined by the preparatory switching prompt word; the preparatory switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, the light is switched to the corresponding display effect according to the execution switching prompt word.
[0140] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the wall corridor lighting control method in any optional implementation of the above-mentioned embodiment is executed to achieve the following functions: receiving audio information sent by a tour guide in real time; analyzing the audio information through a preset voice model to determine keyword information in the audio information, the keyword information including a preparatory switching prompt word and an execution switching prompt word; when a preparatory switching prompt word appears in the audio information, based on a preset database, determining a display effect of the light through the preparatory switching prompt word; the preparatory switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, switching the light to the corresponding display effect according to the execution switching prompt word.
[0141] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0142] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0143] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] Furthermore, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0145] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0146] The above description is only an embodiment of the present invention and is not intended to limit the protection scope of the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A wall corridor lighting control method, applied to a wall corridor lighting control system, characterized in that: The following steps are involved: S1. Receive audio information sent by the tour guide in real time; S2. Analyzing the audio information by a preset voice model to determine keyword information in the audio information, wherein the keyword information includes a preparatory switching prompt word and an execution switching prompt word; S3. When the preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on a preset database; the preparatory switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; S4. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, the light is switched to a corresponding display effect according to the execution switching prompt word.
2. The wall corridor lighting control method according to claim 1, characterized in that: The specific steps in step S2 include: S21 preprocesses the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and the execution switching prompt words.
3. The wall corridor lighting control method according to claim 2 is characterized in that: The specific steps in step S21 include: S211. Remove background noise from the audio information; S212. Dividing the audio information after removing the background noise into short time frames; S213. After adding the window function to the short-time frame, extract the characteristic information of each short-time frame to convert the audio information into a characteristic vector; the characteristic vector is used to represent the time-frequency characteristics of the audio information; the characteristic information includes Mel-frequency cepstral coefficients and linear predictive coding.
4. The wall corridor lighting control method according to claim 1, characterized in that: The specific steps in step S3 include: S3A1. When the preparatory switching prompt word appears in the audio information, based on the preset database, the display effect of the light is determined by the preparatory switching prompt word and the wall gallery lighting control system enters the preparatory state; in the preparatory state, the wall gallery lighting control system starts the timer and counts down according to the preset duration; The specific steps in step S4 include: S41. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, if the execution switching prompt word appears before the countdown ends, the light is switched to the corresponding display effect according to the execution switching prompt word, otherwise the control system exits the preparatory state and returns to execute step S1.
5. The wall corridor lighting control method according to claim 1, characterized in that: The specific steps in step S3 also include: S3B1. After determining the guide position through monitoring, obtain the text information corresponding to the guide position on the wall gallery; the text information is pre-arranged on the wall gallery and is recorded in the database, the text information includes the preparatory switching prompt word and the execution switching prompt word; S3B2 based on the text information from the database to filter out the text information in the preparation of the switch prompt word and the corresponding relationship between the execution switch prompt word and the display effect and the corresponding relationship and extract as the target data; S3B3. When the preparatory switching prompt word appears in the audio information, the display effect of the light is determined by the preparatory switching prompt word based on the target data.
6. The wall corridor lighting control method according to claim 4, characterized in that: The specific steps of switching the light to the corresponding display effect according to the execution switching prompt include: S411. The guide and the tourists led by the guide are regarded as a team, and the lighting device corresponding to the position and length of the team on the wall gallery is selected as the target device to ensure that the light emitted by the target device can be viewed by all tourists in the team; S412. Keep the operating status of other lighting devices on the wall corridor except the target device unchanged. After the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information, only switch the light of the target device to the corresponding display effect according to the execution switching prompt word.
7. A wall corridor lighting control device, applied to a wall corridor lighting control system, characterized in that: include: A receiving module, used for receiving audio information sent by the tour guide in real time; An analysis module, configured to analyze the audio information through a preset voice model to determine keyword information in the audio information, wherein the keyword information includes a preparatory switching prompt word and an execution switching prompt word; A preparation module, configured to determine the display effect of the light through the preparation switching prompt word based on a preset database when the preparation switching prompt word appears in the audio information; the preparation switching prompt word corresponds to at least one execution switching prompt word and the corresponding relationship is pre-stored in the database, and each execution switching prompt word corresponds to a display effect and the corresponding relationship is pre-stored in the database; The switching module is used to switch the light to a corresponding display effect according to the execution switching prompt word after the preparatory switching prompt word appears in the audio information and when the execution switching prompt word corresponding to the preparatory switching prompt word appears in the audio information.
8. The wall corridor lighting control device according to claim 7, characterized in that: The analysis module is executed when analyzing the audio information through a preset voice model to determine the keyword information in the audio information: S21 preprocesses the audio information; S22. Converting the preprocessed audio information into text; S23. Perform semantic interpretation on the text and mark all the preparatory switching prompt words and the execution switching prompt words.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the wall corridor lighting control method as described in any one of claims 1 to 6 are executed.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the wall corridor lighting control method as described in any one of claims 1-6 are executed.
Citation Information
Patent Citations
Control method and control apparatus for intelligent lamp, intelligent lamp and communication control apparatus
CN105636312A
Multilingual scene analysis method based on audio characteristic parameters
CN109036458A
A method and apparatus for speech wake-up
CN109243462A
Intelligent lamp control method, device and equipment and computer readable storage medium
CN112423438A
Atmosphere lamp control method and device, electronic equipment and vehicle
CN117227622A