Power conservation control method, device, equipment, storage medium and product for acoustic and optical equipment
By analyzing audio and video data in real time, combined with the layout of the venue, and adjusting the parameters of the audio and lighting equipment, the problem of inconsistency between the audio and lighting equipment in the event venue and the live event was solved, improving the audience experience and energy efficiency.
Patent Information
- Application Number
- CN202410986677.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In major event venues, the dynamic adjustment of audio and lighting equipment makes it difficult to track the event progress and on-site conditions, resulting in audio and lighting effects that are inconsistent with live events and affecting the audience experience.
By obtaining audio and video data from event venues in real time, combined with venue layout information, the crowd density and noise level are analyzed, and the power supply and control parameters of audio and lighting equipment are adjusted to ensure a high degree of consistency between the equipment and on-site activities.
It achieves a high degree of consistency between the sound and lighting equipment and the event site, improves the audience's viewing experience, and optimizes the energy utilization of the equipment.
Smart Images

Figure CN118523320B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network traffic technology, and in particular to a power conservation control method, device, equipment, storage medium and product for an acoustic and optical device. Background Art
[0002] There are many electrical devices in major event venues, including sound systems, lighting equipment, etc. Different areas have different requirements for sound and lighting effects, and there are also different requirements for sound and lighting effects at different stages of the event. At the same time, the dynamic changes in crowd density and noise levels in the venue increase the difficulty of handling sound and lighting. Therefore, how to determine the real-time progress of the event and the on-site scene, and dynamically adjust the sound system and lighting equipment in the venue is a major challenge. Summary of the invention
[0003] The present invention provides a power conservation control method, device, equipment, storage medium and product for sound and light equipment, which analyzes real-time audio data and video data in a competition venue, determines the real-time progress and on-site conditions of the competition in combination with the layout information of the venue, and adjusts the power supply and control parameters of the sound system and lighting equipment in the venue according to the real-time progress and on-site conditions of the competition, thereby ensuring a high degree of consistency between the sound and lighting equipment and the on-site activities and improving the audience's experience.
[0004] In order to achieve the above object, an embodiment of the present invention provides a power conservation control method for an acousto-optic device, comprising:
[0005] Obtain audio and video data in the event venue in real time;
[0006] Determine the current situation of the event venue and the progress of the event based on the audio data and the video data and in combination with the layout information of the event venue;
[0007] According to the on-site situation and the progress of the competition, the power supply and control parameters of the sound and light equipment corresponding to each area in the competition venue are adjusted to control the sound and light.
[0008] As an improvement of the above solution, the on-site situation and the progress of the event at the current moment of the event venue are determined based on the audio data and the video data in combination with the layout information of the event venue, including:
[0009] Determine the sound data and regional video data of each area in the event venue according to the audio data and the video data and in combination with the layout information of the event venue;
[0010] Determine the crowd distribution in the corresponding area according to the video data of the area; obtain the crowd density and noise level in each area according to the sound data and crowd distribution in each area;
[0011] Analyze the sound data and the regional video data to obtain the current status of the crowd in the corresponding area;
[0012] According to the crowd density, noise level and current state of the crowd in each area, the on-site situation and event progress of the event venue at the current moment are determined.
[0013] As an improvement of the above solution, the method of obtaining the crowd density and noise level of each area according to the sound data and crowd distribution of each area includes:
[0014] According to the population distribution in each area, calculate the population density in each area;
[0015] According to the sound data and crowd density of each area, the sound intensity distribution of each area is determined, and according to the sound intensity distribution of each area, the noise level of each area is calculated.
[0016] As an improvement of the above solution, the sound data and the regional video data are analyzed to obtain the current status of the crowd in the corresponding area, including:
[0017] Perform semantic analysis on the sound data of each area to obtain the semantic characteristics and emotional tendencies of each person in each area;
[0018] According to the area type, video data of at least one target area is selected for motion analysis to obtain the action state of each person in the corresponding target area;
[0019] Perform face detection and expression recognition on the frequency data of each other area to obtain the expression response of each person in each other area;
[0020] The semantic features, emotional tendencies, action states and facial expressions are matched to obtain the current state of the crowd in the corresponding area.
[0021] As an improvement of the above solution, the on-site situation and event progress of the event venue at the current moment are determined according to the crowd density, noise level and current state of the crowd in each area, including:
[0022] Obtaining the current situation of the event venue according to the crowd density, noise level and current state of the crowd in each area;
[0023] The progress of the competition at the current moment is determined according to the on-site situation.
[0024] As an improvement of the above scheme, the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue are adjusted according to the on-site situation and the progress of the event to control the sound and light, including:
[0025] According to the on-site situation and the progress of the event and the preset power and parameter adjustment strategies, adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue to control the sound and light;
[0026] Among them, the preset power and parameter adjustment strategy sets up several groups of corresponding relationships between the on-site conditions and the power supply of the sound and light equipment and several groups of corresponding relationships between the event progress and the power supply of the sound and light equipment, as well as sets up several groups of corresponding relationships between the on-site conditions and the control parameters of the sound and light equipment and several groups of corresponding relationships between the event progress and the control parameters of the sound and light equipment.
[0027] In order to achieve the above-mentioned object, an embodiment of the present invention provides a power conservation control device for an acousto-optic device, comprising:
[0028] Data acquisition module, used to acquire audio and video data in the event venue in real time;
[0029] A data processing module, used to determine the on-site situation of the event venue and the progress of the event at the current moment according to the audio data and the video data in combination with the layout information of the event venue;
[0030] The equipment adjustment module is used to adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue according to the on-site situation and the progress of the event, so as to control the sound and light.
[0031] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the power preservation control method of the above-mentioned sound and light device is implemented.
[0032] In order to achieve the above-mentioned purpose, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the power preservation control method of the above-mentioned sound and light device.
[0033] In addition, an embodiment of the present invention further provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the above-mentioned power preservation control method for the acousto-optical device.
[0034] Compared with the prior art, the embodiments of the present invention disclose a power conservation control method, device, equipment, storage medium and product for sound and light equipment, which obtains audio data and video data in the event venue in real time; determines the on-site situation and event progress of the event venue at the current moment based on the audio data and video data, combined with the layout information of the event venue; and adjusts the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue according to the on-site situation and event progress, so as to control the sound and light. Analyze the real-time audio and video data in the event venue, combine the venue layout information, determine the real-time progress and on-site situation of the event, and adjust the power supply and control parameters of the sound system and lighting equipment in the venue according to the real-time progress and on-site situation of the event, to ensure the high consistency of the sound and lighting equipment with the on-site activities, and enhance the audience experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flow chart of a power conservation control method of an acousto-optic device provided by an embodiment of the present invention;
[0036] Figure 2 It is a structural schematic diagram of a power protection control device for an acousto-optic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] It should be noted that the terms "comprises" and "specifically" and any variations of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0039] See also Figure 1 , Figure 1 1 is a flow chart of a power conservation control method for an acousto-optic device provided by an embodiment of the present invention. The power conservation control method for the acousto-optic device comprises steps S1 to S3:
[0040] S1, real-time acquisition of audio and video data in the event venue;
[0041] S2, determining the current situation of the event venue and the progress of the event according to the audio data and the video data in combination with the layout information of the event venue;
[0042] S3, according to the on-site situation and the progress of the competition, adjusting the power supply and control parameters of the sound and light equipment corresponding to each area in the competition venue to control the sound and light.
[0043] It is worth noting that the power conservation control method of the sound and light equipment described in the embodiment of the present invention can be implemented by a control platform, which is installed on the terminal as a software program and can interact with the user. The sound and light equipment includes a sound system and a lighting device.
[0044] The embodiment of the present invention can obtain detailed layout information of the event venue in advance, including the spatial position and area data of different types of areas such as seating areas, aisles, entrances and exits, and construct a three-dimensional model of the venue. For example, the three-dimensional model of the event venue is drawn using CAD software, and the spatial coordinates and dimensions of different functional areas such as seating areas, aisles, entrances and exits are accurately marked according to the design drawings to form the three-dimensional layout information of the venue.
[0045] The audio data can be acquired in real time through a microphone; the video data can be acquired in real time through a camera video stream.
[0046] For example, multiple high-sensitivity microphones are arranged in the event venue to collect audio data in real time during the game. The collected audio data is pre-processed, including denoising, channel separation, etc., to improve the quality of the audio data and the accuracy of subsequent analysis. Alternatively, the audio signal is pre-processed, including filtering, noise reduction, and normalization operations, to improve the audio quality and prepare for subsequent analysis and recognition.
[0047] Specifically, the step S2 includes:
[0048] S21, determining the sound data and regional video data of each area in the event venue according to the audio data and the video data and in combination with the layout information of the event venue;
[0049] S22, determining the crowd distribution in the corresponding area according to the regional video data; obtaining the crowd density and noise level in each area according to the sound data and crowd distribution in each area;
[0050] S23, analyzing the sound data and the regional video data to obtain the current status of the crowd in the corresponding area;
[0051] S24, determining the on-site situation and event progress of the event venue at the current moment according to the crowd density, noise level and current state of the crowd in each area.
[0052] It is worth noting that the sound signals collected by the audio equipment can be subjected to spectrum analysis to extract the energy values of different frequency bands. According to the correspondence between frequency and energy value, a sound heat map can be generated, and the heat map can be accurately aligned with the three-dimensional model of the venue to obtain the spatial distribution characteristics of the sound in the venue. The sound data can be matched with the venue layout information, and the volume distribution characteristics of different areas can be estimated according to the location of the sound source and the sound intensity. Explore methods to effectively integrate the volume distribution and layout information, such as dynamically adjusting the layout according to the volume distribution, or using prior knowledge of the layout to guide the analysis of volume data.
[0053] More specifically, in step S22, obtaining the crowd density and noise level of each area according to the sound data and crowd distribution of each area includes:
[0054] S2201, calculating the population density of each area according to the population distribution of each area;
[0055] S2202, determining the sound intensity distribution of each area according to the sound data and crowd density of each area, and calculating the noise level of each area according to the sound intensity distribution of each area.
[0056] Specifically, in step S2201, by deploying high-definition cameras in the venue, real-time video data covering the entire venue is collected, and the front and back backgrounds of the video frames are separated and moving targets are detected to extract moving human targets. The detected human targets are tracked, and the position and speed of each target are estimated and updated using the Kalman filter algorithm to obtain the state vector of the target. The Hungarian algorithm is used to solve the data association problem in multi-target tracking, that is, the target detected in the current frame is matched with the target tracked in the previous frame to find the optimal target correspondence. For newly appeared targets, a new Kalman filter is started for tracking; for disappeared targets, the corresponding filter is terminated. Through Kalman filtering and data association, the complete motion trajectory of each target is generated and represented as a series of spatiotemporal coordinate points. The crowd flow trajectory data is mapped to the three-dimensional space model of the venue, and the three-dimensional space of the venue is divided into regular grids, each of which represents a local area. For the crowd flow trajectory data in each time window, the number of trajectory points in each grid is counted to obtain the crowd density value of the grid. The crowd density value of the grid is modeled using a Gaussian mixture model, and each Gaussian component represents a crowd gathering area. The parameters of the Gaussian mixture model are estimated by the maximum expectation algorithm (EM), including the mean, covariance and weight coefficient of each Gaussian component. According to the estimated Gaussian mixture model, the probability of each grid belonging to different crowd gathering areas is calculated to generate a crowd density distribution map. Combining the volume data and crowd density distribution, cluster analysis is performed on different areas of the venue. The density-based DBSCAN algorithm is used to divide the crowd dense area, sparse area and noise area according to the clustering results, and the crowd distribution characteristics of different areas are analyzed. The key parameters (such as radius and minimum point threshold) of the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm are enumerated and evaluated by grid search or cross-validation methods, and the parameter combination with the best clustering effect is selected. Clustering evaluation indicators such as silhouette coefficient are introduced to quantify the compactness and separation of clustering results and guide parameter tuning. Considering the actual layout of the venue and the characteristics of crowd distribution, the clustering parameters are adaptively adjusted, such as using a smaller radius in the crowd dense area and a larger radius in the sparse area. Develop differentiated monitoring strategies and diversion plans based on the results of regional division. Use pan-tilt cameras or fisheye cameras with wide-angle and zoom capabilities to achieve focused monitoring of crowded areas by adjusting camera parameters without changing the physical location. Adopt a multi-camera collaborative tracking strategy to dynamically adjust the monitoring range and key areas through the fusion and switching of multiple camera perspectives.Calculate the crowding index of each area in real time, combine the crowd density distribution and crowding index, predict the movement trend of the crowd and potential congestion points, and formulate evacuation strategies and emergency plans in advance. When the crowding exceeds the preset threshold, timely warn and guide the crowd to evacuate to ensure the safety of the audience.
[0057] For example, a high-resolution camera is used to collect video data at 30 frames per second, and each frame of the image is detected. The YOLO (You Only Look Once) algorithm is used to identify human targets in the image and mark them with different bounding boxes and labels. The multi-target tracking algorithm DeepSORT (Simple Online and Realtime Tracking) is used to combine the detection results and the tracking results of the previous frame to calculate the similarity between the targets. The Hungarian algorithm is used to solve the data association problem and generate the tracking trajectory of each target. The tracking trajectory is integrated with the three-dimensional model of the venue to generate a three-dimensional crowd flow trajectory corresponding to the real scene in the model. The venue space is divided into 2m×2m grids, and the number of trajectory points in each grid is counted to generate a grid crowd density distribution map. The Gaussian mixture model is used to fit the crowd density distribution, and the model parameters are estimated by the EM algorithm to obtain three Gaussian components, which represent the crowd gathering area, transition area, and sparse area respectively. The DBSCAN clustering algorithm is used to cluster the grids, and the radius parameter is set to 3m and the minimum point threshold is set to 10 to generate a crowd gathering distribution map in the venue. According to the clustering results, the three most crowded areas are selected, and the pan-tilt camera is used to monitor the flow of people in these areas in real time, and the noise level in the area is evaluated in combination with the sound distribution reflected in the heat map. When the crowd density and noise level in the area exceed the preset threshold (density greater than 1 person / square meter, noise greater than 80 decibels), the warning is triggered in time, and the crowd is guided to evacuate to the nearby evacuation channels in an orderly manner through the broadcasting system to ensure the safety of the audience.
[0058] Specifically, a real-time spectrum analysis method is used to measure the sound data of the crowd at each key stage. The sound data of the crowd at the scene includes sound frequency and intensity, and the noise level of the crowd at the scene is calculated. For example, a spectrum analysis algorithm such as fast Fourier transform (FFT) is used to perform real-time spectrum analysis on the pre-processed sound data, and the pre-processed sound data is divided into time windows of fixed length (such as 10 milliseconds). Fast Fourier transform (FFT) is performed on each time window to obtain a frequency domain representation; the amplitude of the frequency domain data is calculated to obtain the sound intensity value at different frequencies; the spectrum analysis results of different time windows are averaged or spliced to obtain the sound intensity distribution of the entire audio clip. According to the spectrum analysis results, the frequency range of human voice is determined. The basic frequency of human voice is usually between 50Hz and 1000Hz, and this frequency range can be used as the initial human voice frequency range. At the same time, the spectrum characteristics of a large number of human voice audio samples are analyzed, and the energy distribution characteristics of human voice at different frequencies are statistically calculated to further refine the human voice frequency range. Considering that the human voice frequency of different genders and ages varies, the human voice frequency range can be dynamically adjusted according to the actual scenario. After determining the frequency range of human voice, the sum of the sound intensity within the frequency range is calculated as a quantitative indicator of the crowd volume on site. Combined with the key stage information of the competition, the crowd volume indicators of different stages are divided and counted to obtain the crowd noise level data of each key stage.
[0059] Alternatively, in order to further improve the accuracy of the noise level judgment, machine learning algorithms such as support vector machines (SVM), random forests, neural networks, etc. can be introduced to pre-establish a noise level assessment model. To clarify the input features of the noise level assessment model, you can consider using crowd volume, frequency distribution, statistics in the time domain and frequency domain, etc. as input features. Then, collect and annotate a large amount of historical audio data, including audio samples at different noise levels, for model training and testing. According to the data characteristics and task requirements, select a suitable machine learning algorithm, and compare and select the algorithms. Evaluate and optimize the model, such as cross-validation, parameter tuning, feature selection, etc., to improve the generalization performance of the model. Input the volume and frequency features calculated in real time into the trained noise level assessment model, and automatically judge the on-site atmosphere of the current stage according to the noise level category or value output by the model, providing data support for event organization and on-site management.
[0060] Exemplarily, in the event venue, 20 high-sensitivity microphones are arranged with a sampling frequency of 44.1kHz and a bit depth of 16 bits to collect audio data during the game in real time. The collected raw audio data is preprocessed, and a bandpass filter is applied to limit the frequency range to between 50Hz and 1000Hz, effectively removing the interference of low-frequency noise and high-frequency noise. Then, the independent component analysis (ICA) algorithm is used to separate the multi-channel audio data into channels and extract the main components of human voice. The preprocessed sound data is divided into 10 millisecond time windows, and a fast Fourier transform (FFT) is applied to each time window to obtain a frequency domain representation with a frequency resolution of 43Hz. The square value of the amplitude of each frequency point is calculated to obtain the sound intensity spectrum. The sound intensity spectra of 100 consecutive time windows are arithmetic averaged to obtain the average sound intensity distribution within 1 second. According to the frequency range of human voice, the sound intensity values in the range of 50Hz to 1000Hz are accumulated to obtain the crowd volume index. Spectral analysis of audio samples of different genders and ages found that the basic frequency of male voices is concentrated between 80Hz and 200Hz, the basic frequency of female voices is concentrated between 150Hz and 350Hz, and the basic frequency of children's voices is concentrated between 200Hz and 500Hz. Therefore, when calculating the crowd volume index, the weights of different frequency ranges are dynamically adjusted according to the ratio of male and female children in the actual scene. The crowd volume index of each key stage is normalized to obtain a noise level value between 0 and 1. The support vector machine (SVM) algorithm is selected to train the noise level evaluation model with crowd volume index, low-frequency energy ratio, high-frequency energy ratio, spectral entropy, etc. as input features. The grid search method is used to optimize the kernel function type, penalty coefficient, kernel function parameters, etc. of SVM, and the model performance is evaluated by the 5-fold cross-validation method to obtain an evaluation model with an accuracy rate of 85%. In actual applications, the audio features calculated in real time are input into the trained SVM model, and the on-site atmosphere of the current stage is judged according to the noise level value output by the model. When the noise level exceeds 0.7, an early warning signal is triggered, prompting the staff to take corresponding measures to ensure the normal progress of the game.
[0061] Furthermore, in step S22, obtaining the crowd density and noise level of each area according to the sound data and crowd distribution of each area also includes:
[0062] S2203, normalizing the crowd density and noise level.
[0063] Specifically, after obtaining the noise level and crowd density of different areas in the venue, the collected noise level data and crowd density data are normalized to unify the data from different sources to the same scale and range, which is convenient for subsequent comparison and analysis. For the noise level data, the decibel value can be used as a measurement indicator, and it can be mapped to the interval of 0-1 through logarithmic transformation to achieve normalization. For the crowd density data, the number of people in the area can be divided by the area of the area to obtain the crowd density value, and then the maximum density value is determined based on historical data, and the current density value is divided by the maximum value to achieve normalization. The normalized crowd density and noise level data can be stored in the database for subsequent query and analysis. At the same time, the normalized parameters should also be updated regularly to adapt to the changing trend of the data.
[0064] For example, 20 sound sensors and 10 high-definition cameras are arranged in the stadium to collect full coverage of the venue space. The sampling frequency of the sound sensor is 44.1kHz, and the quantization bit is 16bit. The decibel value is calculated according to the sound pressure level, and then the decibel value is mapped to between 0-1 through logarithmic transformation to achieve a normalized representation of the noise level. The camera uses face detection and target tracking algorithms to process each frame of the image, extract the face position and movement trajectory, calculate the number of people in each area, and then divide it by the area of the area to obtain the crowd density value. By statistically analyzing historical data, the maximum value of the crowd density is 1.5 people / square meter. The real-time density value is divided by the maximum value to obtain a normalized crowd density representation. The normalized noise level and crowd density data are stored in the MySQL database according to the timestamp, and the normalization parameters are updated every 30 seconds.
[0065] More specifically, the step S23 includes:
[0066] S231, performing semantic analysis on the sound data of each area to obtain the semantic features and emotional tendency of each person in each area;
[0067] S232, selecting video data of at least one target area for motion analysis according to the area type, and obtaining the motion state of each person in the corresponding target area;
[0068] S233, performing face detection and expression recognition on the frequency data of each other area to obtain the expression response of each person in each other area;
[0069] S234, matching the semantic features, emotional tendencies, action states and facial expressions to obtain the current state of the crowd in the corresponding area.
[0070] Specifically, in step S231, according to the sound data of the crowd on site, a support vector machine or a decision tree supervised learning algorithm is used to analyze and identify and separate key audio information, including the voices of commentators, referees and athletes, so as to increase the relevance of the separated volume data with the audience on site. For example, a feature extraction method based on Mel-scale frequency cepstral coefficients (MFCC) is used to convert the preprocessed audio signal into a series of feature vectors, each of which represents the spectral characteristics of the audio signal. Two supervised learning models, support vector machine (SVM) and decision tree (DT), are constructed, and the extracted MFCC (Mel-scale Frequency Cepstral Coefficients, Mel-scale cepstral coefficients) feature vectors are used as input to classify and train the audio. For the SVM model, a grid search method is used to traverse and search the kernel function type (such as linear kernel, polynomial kernel, radial basis kernel, etc.) and kernel function parameters (such as regularization parameter C, kernel function parameter γ, etc.) of the SVM to find the optimal parameter combination. Using the cross-validation method, the training data is divided into multiple subsets, and the model training and verification are performed separately to comprehensively evaluate the generalization performance of the model. According to the verification results, the kernel function type and parameter combination with the best performance are selected as the final SVM model. The DT model uses the Gini index as the splitting criterion and determines the depth of the tree through cross-validation. According to the trained SVM and DT models, the real-time collected audio data is predicted and classified, the voices of the commentator, referee and athlete are identified, and they are separated from the voices of the audience. For the prediction results of the SVM and DT models, the voting method is used for comprehensive decision-making, that is, according to the majority principle, the category with the highest number of votes is selected as the final prediction result. If there are obvious differences or conflicts in the prediction results of the two models, a confidence scoring mechanism is introduced. According to the performance of each model in the training process, the corresponding confidence weight is given, and then the weighted average is used to obtain the final prediction result. For audio clips with low prediction confidence or unable to determine the category, a manual review mechanism is introduced, and professionals conduct secondary confirmation and annotation of these clips. The separated audio data of the commentator, referee and athlete are further analyzed. In terms of extracting keywords, the TF-IDF (term frequency-inverse document frequency) algorithm is used to automatically extract keywords in the audio transcription text based on the frequency and the discrimination of the word. In terms of sentiment analysis, a dictionary-based approach is used to construct a sentiment dictionary, and the sentiment score of the audio text is calculated based on the sentiment polarity and intensity of the words. In terms of semantic analysis, topic models such as latent semantic analysis (LSA) or latent Dirichlet allocation (LDA) are used to mine the implicit topics and semantic structures in the audio text. The separated audience audio data is correlated with the volume data of the on-site crowd to study the relationship between the audience's voice response and the on-site atmosphere at different stages and key moments.Association rule mining algorithms, such as Apriori or FP-growth, are used to discover frequent patterns and association rules between audience sound reactions and the progress of the game. The relationship and regularity between audio information and audience behavior are mined, and indicators such as audience emotional reactions and participation are analyzed to enhance the correlation between the separated audio information and the live audience. The audio information of commentators, referees, athletes and spectators is comprehensively utilized, combined with the progress of the game and the volume data on site, to generate the sound map and emotional curve of the event. For the sound map, the time axis of the game is divided into multiple intervals, and the audio information in each interval is clustered. According to the clustering results, the main sound events and labels in the interval are generated, and then these labels are arranged in chronological order to form a sound map. For the emotional curve, the audio text in each time window is emotionally scored to obtain a series of emotional values, and then these emotional values are connected in chronological order to generate a continuous emotional curve. The emotional curve can be aligned with information such as key events and score changes in the game, so that the audience can better understand the emotional ups and downs of the game, providing a more three-dimensional and vivid viewing experience for event organizers and the general audience.
[0071] Exemplarily, the MFCC features of the audio are extracted, and 24 Mel filter groups, 12 cepstral coefficients, first-order and second-order difference coefficients are used to form a 36-dimensional MFCC feature vector. The extracted MFCC features are used to train the SVM and DT models. For SVM, the radial basis kernel function is used, and the regularization parameter C and the kernel function parameter γ are grid-searched through 5-fold cross-validation to find the optimal parameter combination within the exponential grid 2^-5 to 2^5. For DT, the Gini index is used as the split quality metric, and the maximum depth of the search tree and the minimum number of samples of the leaf node are searched through 10-fold cross-validation to finally determine the optimal model. In the real-time prediction stage, MFCC features are extracted for each 1-second audio clip, and input into the SVM and DT models for classification. The prediction results of the two models are fused by weighted voting, and the weights are assigned according to the accuracy of the model on the validation set. If the difference in prediction confidence between the two models is greater than 30%, it is marked as an uncertain sample and submitted for manual review. For the audio data of commentators, referees and athletes, the jieba Chinese word segmentation tool was used to segment the audio transcription text, and then the TF-IDF algorithm was used to extract keywords, and 20 keywords were extracted for each role. Then, the Hownet sentiment dictionary was used to judge the sentiment tendency of the keywords, assign corresponding sentiment values, and then the sentiment values of the keywords were weighted averaged to obtain the sentiment scores of each role in different stages. The LDA topic model was used to conduct topic mining on the speeches of commentators, referees and athletes, setting the number of topics to 5 and the number of iterations to 1000, and extracting the main topics of each role in different stages. For the audio data of the audience, the Apriori association rule mining algorithm was used, setting the minimum support to 0.05 and the minimum confidence to 0.7, to mine the association rules between the audience cheers and game events, such as goals-> cheers (support 0.08, confidence 0.85), goals lost-> boos (support 0.06, confidence 0.75), etc., to reveal the relationship between the audience's emotional response and the progress of the game. The mined keywords, sentiment scores, topic distribution, association rules and other information are visualized to generate a sound map and sentiment curve of the event, providing an immersive viewing experience for the audience.
[0072] In another specific embodiment, the sound data in the venue is semantically analyzed. If the sound data is identified to contain preset sensitive words, the output power of the sound in the corresponding area is increased. For example, a keyword library containing preset sensitive words is constructed, and the keyword library is regularly updated and maintained to ensure the coverage and timeliness of the keywords. The words in the sensitive word library are preprocessed, such as deduplication, word form normalization, synonym expansion, etc., to improve the efficiency and accuracy of matching. The keyword library can be stored and managed in various forms such as text files, relational databases or non-relational databases. Real-time sound data from different areas in the venue is obtained, and sound signals are recorded in real time through audio acquisition devices such as pickups and microphones, and converted into digital audio files, such as WAV files in PCM format, with a sampling rate of 44.1kHz and a bit depth of 16 bits. The audio file should contain certain metadata information, such as acquisition time, acquisition location, etc. The collected audio files are preprocessed, including noise removal, silence detection, channel separation and other operations to improve the audio quality and prepare for subsequent semantic analysis. Various digital signal processing algorithms can be used for preprocessing, such as spectral subtraction, Wiener filtering, blind source separation, etc. The preprocessed audio file is converted into a text format, and an end-to-end speech recognition model based on deep learning, such as DeepSpeech, Wav2Letter, etc., is used to directly convert the audio signal into a text sequence without the need for an intermediate acoustic model and language model. In view of the problems such as background noise, accent differences, and speech speed changes in the speech recognition process, acoustic model adaptation, language model adaptation, and audio data enhancement are used to improve the robustness and accuracy of recognition. The converted text content is semantically analyzed, and word segmentation and part-of-speech tagging are performed. Sequence tagging methods based on hidden Markov models, such as the BiLSTM-CRF model, are used to identify keywords and entities in the text. Then, dependency syntactic analysis techniques, such as the transfer-based syntactic analysis algorithm, are used to construct a dependency syntactic tree of the text and analyze the grammatical and dependency relationships between words. Then, neural network models based on attention mechanisms, such as Transformer and BERT, are used to perform deep semantic encoding and representation learning on the text to extract the semantic features and emotional tendencies of the text. Using knowledge graphs and semantic network technologies, such as ConceptNet and WordNet, the keywords in the text are semantically expanded and inferred to dig out implicit semantic relationships and conceptual connections. The extracted keywords are matched with the preset sensitive word library, and multi-mode matching algorithms, such as the Aho-Corasick algorithm and the Wu-Manber algorithm, are used to achieve rapid matching and positioning of sensitive words. At the same time, the deformation, typos, synonyms, etc. of the vocabulary are considered to improve the matching recall rate. The matching results are post-processed, such as calculating the relevance score of sensitive words based on factors such as matching position, matching length, and matching frequency, and setting thresholds for screening and filtering.For text content containing sensitive words, semantic and sentiment analysis is performed to determine the context and sentiment tendency of the sensitive words, such as positive, negative, neutral, etc., as the basis for subsequent control decisions. According to the results of sensitive word recognition, the target area where the sound output needs to be adjusted is determined, and the corresponding control strategy is formulated. According to the type and weight of sensitive words, different sound adjustment schemes are designed, such as increasing the volume, lowering the pitch, adding background music, etc., to create a specific atmosphere and effect. A rule-based control method is adopted to map the type and weight of sensitive words to the preset control rules, and control instructions are automatically generated according to the conditions and actions of the rules. At the same time, reinforcement learning algorithms such as Q-Learning and SARSA are used to adaptively adjust the control strategy based on historical data and feedback information to continuously improve the accuracy and effect of control. In the process of sound control, the quality and effect of the audio signal, such as distortion rate, signal-to-noise ratio and other indicators, are monitored in real time, and the control parameters are dynamically adjusted according to the feedback information to ensure the stability and reliability of the sound output. Through the sound control system interface, the control instructions are sent to the sound equipment in the corresponding area to realize the dynamic adjustment of sound playback.
[0073] Exemplarily, 10 million text data containing sensitive words are obtained, and 1 million are randomly selected as the test set. 50,000 sensitive words in the sensitive word library are preprocessed, and the synonyms are clustered using the edit distance algorithm. Then, the Word2Vec model is used to map the vocabulary to a 200-dimensional vector space. The 10 most similar synonyms of each word are obtained by cosine similarity calculation, and the sensitive word library is expanded to 500,000 words. The expanded sensitive word library is stored in the MySQL database, and a B+ tree index is established to improve query efficiency. Then, 100 high-fidelity pickups are arranged in the stadium to record audio data in real time at a sampling rate of 48kHz, and a 1GB multi-channel WAV file is generated every 5 minutes. The audio data is denoised using spectral subtraction, and the signal-to-noise ratio is increased by 10dB; then the audience sound is separated from the background music using the ICA-based blind source separation method, and the signal power after separation is increased by 15dB. Next, the Kaldi toolbox was used to extract features from the audio data. The 40-dimensional Mel frequency cepstral coefficient (MFCC) was used, and the first-order and second-order differences were combined to generate a 120-dimensional feature vector. The Transformer-based speech recognition model was used to train on a 5,000-hour speech dataset, and the word error rate dropped to less than 5%. The recognized text content was segmented and POS tagged, and the BiLSTM-CRF model was used for named entity recognition, with an F1 value of 95%. The entity categories included names of people, places, and institutions. Then, the transfer-based component syntactic analysis method was used, combined with compatible dependency syntactic analysis, to construct a syntactic dependency tree. The edge accuracy reached more than 90%, which was used to extract the main information of the sentence. The BERT pre-training model was then used to extract a 768-dimensional sentence vector representation based on the sentence. The overall semantic features of the text were obtained through the attention mechanism and pooling operation. The Baidu Knowledge Graph and ConceptNet5.5 were used to semantically expand the keywords, and on average, more than 5 hypernyms and synonyms could be found for each keyword. The keywords were matched with the sensitive word library. The improved Wu-Manber algorithm was used. In 100MB of text data, the matching speed reached 500MB / s, the recall rate reached 98%, and the accuracy rate reached 95%. The irrelevant matching results were filtered out by combining the part of speech and position information. For texts suspected of containing sensitive words, the sentiment dictionary and attention mechanism were used to judge the sentiment tendency, and the accuracy rate of positive and negative sentiment judgment reached 90%. According to the type, weight, and sentiment tendency of sensitive words, combined with the area division of the venue, 5 different sound adjustment strategies were formulated, including increasing the volume by 20%, lowering the tone by 10%, adding background music, inserting prompt voice, etc., and 300 IF-THEN control rules were formed. At the same time, the DQN reinforcement learning algorithm was used, with audience satisfaction and energy consumption as the reward function. After 10,000 iterations, the cumulative reward of the sound control strategy was increased by 30%.Through DSP and digital power amplifier equipment, the control instructions are converted into electrical signals, the volume and frequency response of the 20 speakers in the corresponding area are adjusted, and the total harmonic distortion (THD) and signal-to-noise ratio (SNR) are monitored in real time and controlled within 0.1% and 90dB respectively, to ensure the quality of sound output and create a safe, orderly and comfortable viewing experience for the audience.
[0074] Specifically, in step S232, by deploying high-definition cameras in the sports venue, real-time video data of the scene is collected, and motion analysis is performed on the video frames. A human posture recognition algorithm based on skeleton points, such as OpenPose or PoseNet, is used to track the athlete's motion trajectory and posture changes in real time, and identify key action events, such as shooting, spiking, scoring, etc. The key skeleton points of the athlete are tracked, and the displacement and velocity of the skeleton points between consecutive frames are calculated to obtain the athlete's instantaneous velocity and acceleration. The relative position and angle changes of the skeleton points are used to calculate the movement amplitude and angular velocity of various parts of the athlete's body, such as the swing angle of the arm, the flexion and extension angle of the leg, etc. The human body kinematics model, such as the chain club model, is used to model the athlete's body posture, estimate the torque and energy consumption of various parts of the body, and evaluate the explosiveness and coordination of the action.
[0075] Specifically, in step S233, face detection and expression recognition are performed on the collected video data, and a face detection model based on deep learning, such as MTCNN or RetinaFace, is used to locate the face position of the audience, and an expression recognition algorithm, such as FER or EmotionNet, is used to analyze the facial expressions of the audience, identify emotional states such as happiness, excitement, and disappointment, and count the proportion of people with different emotions and their distribution positions. The recognition results of the athlete's actions and the audience's reactions are synchronized in time and space, and the on-site situation is comprehensively analyzed in combination with the score, time and other information of the event to obtain quantitative indicators of the on-site atmosphere, including intensity, tension, cheering index, etc. Among them, the intensity is evaluated by parameters such as the speed, amplitude, and frequency of the athlete's actions, combined with the intensity and error rate of the game, and different levels of thresholds are set. The tension is evaluated by the distribution characteristics of the audience's emotions, such as the proportion of negative emotions such as anxiety and tension, combined with the score difference and remaining time of the game, and different levels of thresholds are set. The cheering index is evaluated by the distribution characteristics of the audience's emotions, such as the proportion of positive emotions such as excitement and joy, combined with the loudness and duration of the cheers, and different levels of thresholds are set. The calculation of comprehensive on-site atmosphere index adopts weighted average, fuzzy comprehensive evaluation and other methods, and dynamically adjusts the weight coefficient of each index according to the characteristics of different scenes. The on-site atmosphere index is compared with the pre-defined threshold to dynamically identify the key scenes of the game, such as the lore moment, controversial penalty, and the birth of the champion.
[0076] Intelligently mix the audio signals on the scene, and use deep learning-based sound source separation technology, such as DeepClustering or Conv-TasNet, to independently separate audio signals from different sources, including the sounds of athletes' movements, the cheers of the audience, and the comments of the commentator. Perform semantic analysis and emotion recognition on the sounds of different sources, and extract the keywords, emotional tendencies and other features of the sound sources as the basis for the mixing strategy. According to the types and characteristics of key scenes, pre-formulate templates for mixing strategies, such as highlighting cheers when goals are scored and whistles when fouls are committed, and dynamically adjust them according to the actual scene conditions. Adopt a mixing strategy optimization method based on reinforcement learning, learn the optimal mixing strategy through continuous trial and error and feedback, and adjust the mixing ratio in real time according to audience reactions and scene changes, improve the adaptability and robustness of the mixing effect, highlight the main sound information, suppress secondary background noise, and improve the clarity and presence of the audio. The adjusted sound and lighting control parameters are sent to the on-site equipment control system in real time. Through hardware devices such as digital signal processors (DSPs) and programmable logic controllers (PLCs), the control instructions are converted into specific electrical signals to drive the sound and lighting equipment to adjust parameters and switch states, thus achieving dynamic optimization of sound and light effects and improving the on-site viewing experience. At the same time, the working status and energy consumption data of the equipment are collected in real time through the wireless sensor network, abnormal conditions of the equipment are monitored, and the safe operation of the equipment is guaranteed.
[0077] For example, 50 4K high-definition cameras are arranged in the sports venue, and the field of view of each camera covers an area of 10 meters by 10 meters. The video data is transmitted to the central control room through the optical fiber network. The OpenPose human posture recognition algorithm is used to process each frame of the video image, and 25 key bone points of the athlete are extracted. The accuracy of bone point detection reaches more than 98%. According to the coordinate changes of the bone points, the instantaneous speed and acceleration of the athlete are calculated, and the speed and acceleration are smoothed by the Kalman filter algorithm to eliminate noise interference. The three-dimensional human body model is used to fit the bone points, calculate the angle changes of various parts of the athlete's body, and identify key actions such as swinging, jumping, and turning. The accuracy of action recognition reaches more than 95%. Using the MTCNN face detection model, each frame of the image is scanned at multiple scales, the face area of the audience is detected, and 68 key feature points of the face are extracted. The face image is input into the EmotionNet expression recognition model to identify seven emotional states such as happiness, excitement, and disappointment, and the accuracy of emotion recognition reaches more than 90%. The atmosphere on the scene was quantitatively evaluated. The intensity was calculated based on the amplitude and frequency of the athletes' movements. An average speed greater than 2 m / s, an average acceleration greater than 1 m / s², and a key movement frequency greater than 1 time / minute were defined as highly intense. A score of 0.6 or above was set to indicate that the competition had entered a white-hot stage. The tension was calculated based on the proportion of negative emotions among the audience. Anxiety, tension, and other negative emotions exceeding 30% were defined as highly intense. A score of 0.7 or above was set to indicate that the competition had entered a critical moment. The cheering index was calculated based on the proportion of positive emotions and the volume of cheers. A proportion of positive emotions such as excitement and joy exceeding 50% and a volume of cheers exceeding 80 decibels were defined as highly cheering. A score of 0.8 or above was set to indicate the winning moment. The fuzzy comprehensive evaluation method was used to weight the three indicators of intensity, tension, and cheering index, with weights of 0.4, 0.3, and 0.3, respectively. A comprehensive score of more than 0.75 was defined as a critical scene of the competition. When a critical scene occurs, the directional angles and gain coefficients of the 100 directional microphones on site are adjusted to dynamically adjust the pickup range to within 5 meters of the event area. At the same time, the audio sampling rate is increased to 48kHz, and the sound is quantized at 32 bits to improve the saturation and dynamic range of the sound quality. Beamforming technology is used to spatially filter the sound, attenuate background noise, enhance the signal-to-noise ratio of effective sound, and improve speech clarity. 200 adjustable-focus LED lights are used to track the athletes. According to the athlete's position and speed, the angle and brightness of the lights are adjusted in real time, the light intensity is increased to 1,000 lumens, and the illumination range is locked within a 2-meter area around the athlete.500 full-color LED lights are installed in the auditorium area. The color and brightness of the lights are controlled according to the emotional state of the audience. When the audience is happy, yellow and orange lights are used, and the brightness is increased to 80%; when the audience is nervous, purple and blue lights are used, and the brightness is reduced to 30%; when the audience is disappointed, black and gray lights are used, and the brightness is reduced to 10%. The Conv-TasNet deep learning model is used to perform blind source separation on the mixed audio, extract the feature representations of different sound sources, and then use the decoder based on the attention mechanism to reconstruct each sound source, separating the athlete's action sound, the audience's cheers, and the commentary of the commentator. According to the results of semantic analysis, the energy of the cheers is increased by 5 times when a goal is scored, and the energy of the commentary of the commentator is reduced by 50%; when a foul is committed, the energy of the whistle is increased by 10 times, and the energy of the cheers is reduced by 80%. A mixing strategy optimization model based on deep reinforcement learning is adopted, with audience satisfaction as the reward function. Through end-to-end strategy learning, the mixing strategy is continuously tried and improved. After 10,000 iterations of training, the optimal mixing solution is found. The optimized control instructions are transmitted to various audio and lighting equipment through the 5G network, and the working parameters of the equipment are adjusted to control the reverberation time within 1.5 seconds, the total harmonic distortion rate within 0.3%, the frequency response range covering 20Hz-20kHz, the color rendering index of the light reaching above 90, the dynamic range reaching above 10000:1, and the color temperature range covering 2500K-8000K, ensuring high-fidelity sound and light effects and comprehensively enhancing the audience's on-site feelings and experience.
[0078] More specifically, the step S24 includes:
[0079] Obtaining the current situation of the event venue according to the crowd density, noise level and current state of the crowd in each area;
[0080] The progress of the competition at the current moment is determined according to the on-site situation.
[0081] Specifically, the hidden Markov model or dynamic time warping model is used to identify the event of the game, identify the key time periods of the current game, including the opening ceremony, the start of the game, the pause, the score, the end and the closing ceremony, and adjust the power supply of the audio and lighting equipment in different areas. For example, from the audio and video data stream of the live broadcast signal of the game, the video analysis technology is used to extract the text information, score information and scene information in the picture. OCR technology, such as Tesseract, EAST and other algorithms, is used to detect and identify the text area in the video frame, and extract key information such as the score and team name. Image classification and semantic segmentation technology, such as convolutional neural network (CNN) and full convolutional network (FCN), are used to understand the scene and recognize the content of the video frame, and determine the game stage and scene type to which the current picture belongs. Target detection and tracking algorithms, such as YOLOv5 and SiamFC, are used to detect and locate the moving targets in the picture in real time, and analyze their motion trajectory and interactive behavior to infer the progress and status of the game. Feature selection and feature fusion are performed on the extracted multi-dimensional event signal feature data. Using statistical feature selection methods, such as variance analysis and chi-square test, the key features that contribute significantly to the identification of event events are screened out according to the discrimination and correlation of the features. Unsupervised learning algorithms, such as principal component analysis (PCA) and independent component analysis (ICA), are used to reduce the dimension and compress the multidimensional feature data, remove noise and redundant information, and extract the intrinsic structure and key components of the data. Multimodal feature fusion techniques, such as decision-level fusion and feature-level fusion, are used to organically combine feature data from different sources and types, give full play to their respective advantages, and improve the accuracy and reliability of event identification. A set of key feature vectors that can reflect the progress of the event are obtained, and the feature vectors are input into the pre-trained hidden Markov model or dynamic time warping model for event event identification. The hidden Markov model defines the state transition probability matrix and observation probability matrix of the event, uses the Baum-Welch algorithm for parameter estimation and model training, and obtains the optimal state transition probability matrix and observation probability matrix through multiple rounds of iterative optimization. Then, the Viterbi algorithm is used to decode the feature sequence of the event signal, find the optimal event state sequence, and match it with the pre-defined event label to identify the current event type. The dynamic time warping model defines the reference template and distance measurement function of the event event, and uses the dynamic time warping (DTW) algorithm for template matching and similarity calculation. By adjusting the matching window and distance measurement function, the matching accuracy and efficiency are improved. The matching degree between the feature sequence and each event template is calculated, and the event type with the highest matching degree is selected as the recognition result. For the recognition results of the hidden Markov model and the dynamic time warping model, weighted voting, bagging and other integrated learning methods are used to integrate them, and the judgment results of multiple models are comprehensively utilized to improve the accuracy and robustness of event recognition.According to the fused event recognition results, the current stage and status of the event are judged, such as the opening ceremony, the game in progress, pause, score, end, closing ceremony, etc., and the event recognition results and timestamp information are sent to the venue's energy consumption management system. Based on the received event information, combined with the venue's regional division information and equipment topology information, the energy consumption management system uses time series prediction models such as ARIMA and LSTM to model and train historical energy consumption data and predict the equipment power load curve in the future. Using multi-objective optimization algorithms, such as genetic algorithms and particle swarm optimization, the optimal equipment power distribution plan and control strategy are solved by comprehensively considering multiple goals such as equipment energy consumption, power quality, and power supply reliability. Determine the power demand of audio equipment and lighting equipment in different areas, and generate equipment-level power load curves and power distribution plans. During the game, dynamically adjust the equipment power consumption strategy in the inner and outer fields. According to influencing factors such as event type, time, and number of spectators, establish a prediction model for equipment energy consumption adjustment, dynamically calculate the optimal amplitude and timing of equipment power supply adjustment, and achieve precise control and optimization of energy consumption. The power supply of the sound and lighting equipment in the inner field area is appropriately increased to ensure the sound and light effects of the event; the power supply of the equipment in the outer field area is appropriately reduced to avoid energy waste. The power supply adjustment range of the equipment is dynamically adjusted according to the calculation results of the prediction model to generate an adaptive power supply control curve.
[0082] Exemplarily, the Tesseract OCR engine is used to perform text detection and recognition on each frame of the live video stream of the event, with an average recognition accuracy of more than 95%. The convolutional neural network model based on ResNet-50 is used to classify the video frames, and the event screen is divided into 10 categories such as entry, competition, halftime, and award ceremony, with a classification accuracy of 98%. Then, the YOLOv5 target detection algorithm is used to detect key targets such as athletes, referees, and balls in the screen in real time, with an average detection accuracy of more than 90%, and the SiamFC algorithm is used to track the target and generate a continuous target trajectory. For the extracted multi-dimensional feature data, the feature selection method based on F-Score is used to screen out the top-20% key features, and the feature dimension after dimensionality reduction is reduced from 1000 dimensions to 200 dimensions. Then, a multimodal feature fusion model based on Transformer is used to deeply fuse features such as text, images, and trajectories to obtain a 128-dimensional high-level semantic feature vector. The fused feature vector was input into a three-layer hidden Markov model, with the number of states set to 20 and the number of observations set to 50. The Baum-Welch algorithm was used for training, with 100 iterations. The converged model achieved an event recognition accuracy of 95% on the test set. At the same time, the dynamic time warping (DTW) algorithm was used to match the feature sequence with 10 predefined event templates. The matching window size was 10 seconds, the distance metric function used the Euclidean distance, and the matching threshold was set to 0.8. The event recognition accuracy on the test set reached 93%. The recognition results of the two models were fused using the weighted voting method. The weight of the hidden Markov model was 0.6 and the weight of the dynamic time warping model was 0.4. The event recognition accuracy after fusion was increased to 97%. Based on the identified key events and timestamps of the event, the LSTM time series prediction model was used to predict the energy consumption of the equipment in the next hour, and the prediction error was controlled within 10%. Using a multi-objective particle swarm optimization algorithm, with the minimum energy consumption and the best power quality of the equipment as the optimization goals, the optimal equipment control strategy is solved to obtain the optimal power supply curve for each device in the next hour. During the game, according to the real-time event and the optimized control strategy, the power supply of the indoor and outdoor equipment is dynamically adjusted. Compared with the fixed power supply scheme, the average energy saving rate can reach more than 20%, and through equipment failure prediction and health management technology, the equipment failure rate is reduced to less than 0.1%, ensuring the smooth progress of the event.
[0083] Specifically, the step S3 includes:
[0084] According to the on-site situation and the progress of the event and the preset power and parameter adjustment strategies, adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue to control the sound and light;
[0085] Among them, the preset power and parameter adjustment strategy sets up several groups of corresponding relationships between the on-site conditions and the power supply of the sound and light equipment and several groups of corresponding relationships between the event progress and the power supply of the sound and light equipment, as well as sets up several groups of corresponding relationships between the on-site conditions and the control parameters of the sound and light equipment and several groups of corresponding relationships between the event progress and the control parameters of the sound and light equipment.
[0086] Exemplarily, when the event process is the opening ceremony, the corresponding adjustment strategy is found from the preset power and parameter adjustment strategy, such as increasing the power supply and adjusting the control parameters of the sound system and lighting equipment in the rostrum area to improve the sound reception power and lighting focus in the rostrum area, reducing the power supply and lowering the control parameters of the sound system and lighting equipment in the audience area to reduce the sound reception power and lighting focus in the audience area, further reducing the power supply and lowering the control parameters of the sound system and lighting equipment in the sports area to reduce the sound reception power and lighting focus in the sports area, adjusting the mixing ratio of the scene audio and lighting atmosphere of the entire event venue, adjusting the power supply of the sound and lighting equipment in different areas, reducing the output power of the sound and lighting in the corresponding area, and reducing unnecessary power consumption.
[0087] Specifically, the sound system is adjusted in combination with the noise level and crowd density. If the crowd density and the corresponding sound intensity are both lower than the preset threshold, the branch control of the sound system is triggered to reduce the output power of the sound in the corresponding area to reduce unnecessary power consumption. For example, the noise level and crowd density data in different scenarios are extracted from historical data, and their statistical characteristics, such as mean, variance, quantile, etc., are calculated as a reference for the threshold. Invite field experts to conduct subjective evaluations of the sound effects of different types of activities to obtain the optimal value range of noise level and crowd density as an empirical reference for the threshold. Through machine learning algorithms, such as decision trees and support vector machines, the threshold prediction model is trained to dynamically generate preset thresholds adapted to the current scene based on the characteristics of venue parameters, activity types, etc. For each area, the normalized noise level value and crowd density value are obtained and compared with the preset thresholds respectively. If the noise level value is lower than the threshold and the crowd density value is also lower than the threshold, it is determined that the sound equipment in the area needs to be adjusted. The comparison result can be represented by a binary value, 1 means adjustment is required, and 0 means no adjustment is required. The comparison results of all areas are combined into an adjustment vector as the basis for subsequent control. According to the regional division results and the topological structure of the sound system, determine the sound equipment and its control parameters that need to be adjusted. According to the model and specifications of the sound equipment, determine the control parameters it supports, such as volume, equalizer, delay, etc. For the areas that need to be adjusted, calculate the adjustment range of the control parameters according to the differences in their noise level and crowd density. The PID control algorithm can be used to dynamically calculate the control amount according to the size and change trend of the difference. The control parameters are encapsulated into standardized control instructions and sent to the device through the communication interface of the sound equipment (such as RS232, TCP / IP, etc.) to reduce unnecessary power consumption. After sending the instruction, listen to the feedback information of the device to ensure that the instruction has been successfully executed. If there is a communication anomaly or execution error, a corresponding exception handling mechanism is required, such as retry, alarm, etc. Continuously monitor the noise level and crowd density data of each area, and dynamically adjust the output strategy of the sound system according to the changes in real-time data to achieve a dynamic balance between sound effects and energy consumption. If the data in the area exceeds the preset threshold again, the normal output power of the sound equipment is restored.
[0088] For example, 100 data samples of different time periods and different types of activities were randomly selected from the database, and the mean, standard deviation and median of the noise level and crowd density were calculated, and the initial thresholds were 0.6 and 0.4 respectively. An expert discussion meeting was held, and the upper thresholds of the two indicators were adjusted to 0.8 and 0.7 based on the subjective evaluation results. Data from the most recent month were selected to extract attribute features such as time, venue area, and activity type. The threshold prediction model was trained using the CART decision tree algorithm, and the model performance was evaluated using 10-fold cross validation, with an average accuracy of 85%. The normalized indicators of each area were compared with the prediction threshold in real time. If they were both lower than the threshold, the adjustment flag was set to 1, otherwise it was set to 0. According to the IP address and port number of the audio equipment, a configuration file for the device control parameters was constructed, including volume gain, equalizer frequency band, and delay time. The indicator difference value was input into the PID control model, and the proportional coefficient was set to 2.0, the integral coefficient to 0.5, and the differential coefficient to 0.1. The adjustment amount of the control parameter was calculated, and the control instruction in JSONjsongrpc format was generated and sent to the corresponding audio equipment through the TCP protocol. Within 1 second after the command is sent, poll the device status register and read the return code. If the return code is 0x00, it means that the command is executed successfully, otherwise it triggers an alarm, records the device ID and exception code, and reissues the control command. Collect real-time data from each area every 5 seconds, calculate the difference with the threshold, generate trend charts and statistical reports, and form a visual display of energy consumption optimization effects. At the same time, use reinforcement learning algorithms such as Q-Learning or SARSA to adaptively adjust the sound parameters according to regional acoustic parameters, crowd characteristics and energy consumption feedback, and continuously improve the intelligence level of the system.
[0089] According to the identified key scenes, the control strategies of the sound system and lighting equipment are dynamically generated, and the equipment parameters of different areas are adjusted in real time. When the key scenes occur, for the sound receiving equipment, by adjusting the directivity and gain of the microphone, the direction and distance of the sound pickup are dynamically changed to improve the sound receiving sensitivity in the specific area. At the same time, through digital signal processing technology, such as beamforming, spatial filtering, etc., the sound is spatially positioned and noise is suppressed, the clarity and signal-to-noise ratio of the sound reception are improved, the clarity and loudness of the on-site sound are guaranteed, and a shocking sound effect atmosphere is created. For the lighting equipment, through machine vision technology, such as target detection and tracking, the position and movement trajectory of the athletes are identified in real time, and the rotation and focus of the lights are controlled so that the lights always follow the athletes, maintain the best illumination angle and range, and use high-brightness spotlights to highlight the details of the athletes' movements and enhance the visual impact. At the same time, according to the emotional response of the audience, the color and brightness of the lights in the audience area are controlled to render the on-site atmosphere, such as using bright warm-toned lights when cheering and deep cold-toned lights when disappointed. In the generation of control strategies, rule-based control, fuzzy control, adaptive control and other methods are adopted to dynamically adjust control parameters according to scene characteristics and equipment characteristics to achieve intelligent and personalized control effects.
[0090] Specifically, the radio power of the associated objects is increased according to the key scenes. The associated objects of the key scenes include commentators, athletes, referees or audiences in specific areas, so as to increase the radio power corresponding to the associated objects of the key scenes and reduce the radio power of other objects. The audio acquisition equipment in the stadium is arranged in zones. Different microphone arrays and pickups are set according to the functions and importance of different areas, and the audio data of each area is collected and processed independently. The collected audio data is analyzed in real time using artificial intelligence algorithms. Through speech recognition, speaker recognition, voiceprint recognition and other technologies, the key information in the audio is extracted and recognized, and the associated objects with different identities such as commentators, athletes, referees, etc. are accurately located. Among them, speaker recognition can use speaker verification technology based on Gaussian mixture model (GMM). By extracting the MFCC features of the audio, the GMM model of each speaker is trained, and then the log-likelihood ratio (LLR) is used for speaker judgment. Voiceprint recognition can use deep learning models, such as LSTM-based voiceprint embedding models, to convert audio into fixed-dimensional voiceprint vectors, and then use similarity metrics (such as cosine distance) for voiceprint comparison and recognition. According to the progress of the event and real-time scores, the different stages and scenes of the game are automatically identified and judged, and the current key scenes, such as goal moments, key fouls, controversial penalties, etc., are dynamically determined, and the corresponding audio control strategies are automatically triggered according to pre-set rules and thresholds. After identifying the key scenes, the pre-trained acoustic model and signal processing algorithm are called to locate and separate the key audio objects in the scene, and the beamforming and spatial filtering technology of the microphone array are used to achieve selective pickup and dynamic enhancement of different sound sources. Through adaptive filtering algorithms, such as the minimum mean square error (LMS) algorithm, the weight coefficients of the microphone array are dynamically adjusted to achieve dynamic beam steering and gain control. Use deep learning-based speech enhancement models, such as convolutional neural network (CNN)-based speech noise reduction models, to enhance and purify the target audio and improve the signal-to-noise ratio and clarity. According to the audio energy and spectrum characteristics, the gain coefficient is dynamically adjusted to appropriately amplify the low energy and high frequency parts, appropriately attenuate the high energy and low frequency parts, and balance the loudness and clarity of different frequency bands. For the audio of the commentator, the multi-channel noise reduction and echo cancellation algorithm are used to effectively remove the background noise and reverberation effect, and improve the clarity and purity of the commentary audio. At the same time, a positioning tag (such as an RFID tag) is installed near the commentator's seat to obtain the commentator's position coordinates in real time through wireless radio frequency identification technology. The commentator is tracked by the camera, and the position of the commentator in the picture is determined based on the image recognition and target detection algorithms. Using sound source localization technology, the commentator's voice is collected through a microphone array, and the commentator's spatial position is estimated based on the time difference and intensity difference of the sound reaching different microphones.According to the commentator's position information and voice characteristics, the directivity and gain of the microphone are automatically adjusted to achieve directional pickup and dynamic tracking of sound. For the audio of athletes and referees, their sound signals are tracked and extracted in real time through sound source localization and separation technology. Semantic analysis can use semantic understanding models based on deep learning, such as RNN models based on attention mechanisms, to perform semantic encoding and feature extraction on audio transcription text and output semantic vector representation. Keyword recognition can use technology based on keyword point detection (KWS) to build an acoustic model of keywords (such as HMM model) and perform sliding window detection on audio to identify the occurrence position and confidence of keywords. According to the results of semantic analysis and keyword recognition, key audio clips are automatically annotated and extracted, such as foul whistles and booing sounds, to improve the importance and recognizability of audio. For the audio of the audience seats, according to the activity level and sound energy of specific areas, the sensitivity and gain of the microphones in each area are automatically adjusted, and the most responsive and representative areas are focused on picking up and amplifying, while reducing the pickup amplitude and weight of other areas to avoid interference from noise and noise. After completing the audio pickup and processing, the mixing ratio and volume balance of each audio object are dynamically adjusted according to the characteristics and duration of the key scenes to highlight the key content and downplay the secondary information. According to the rhythm and atmosphere of the event, background music and sound effects are inserted in time to enhance the on-site atmosphere and improve the viewing experience. The enhanced audio signal is intelligently encoded and transmitted. Through adaptive bit rate control and dynamic buffering technology, the audio encoding parameters and transmission strategy are dynamically adjusted according to the real-time changes in network bandwidth and transmission quality to ensure low-latency and high-quality transmission of audio signals. At the audio playback end, the audio signal is personalized and optimized according to the audience's location and device characteristics. Through virtual surround sound, dynamic equalization and other technologies, an immersive sound experience is provided for audiences in different locations. Through interactive applications on the audience's handheld devices (such as mobile phones), the audience's subjective ratings and feedback on the audio effect are collected and quantified as satisfaction indicators. The fingerprint features of the audio played on the audience's device are extracted, and the audio quality and distortion level heard by the audience are evaluated by comparing with the original audio fingerprint. According to the audience's position distribution and feedback, the sound field parameters of the speaker array, such as delay, gain, frequency response, etc., are dynamically adjusted to optimize the sound positioning and equalization effects in different areas. Using wavefront synthesis (WFS) technology, a personalized virtual sound field is dynamically synthesized according to the audience's head position and orientation to create an immersive sound experience and achieve dynamic optimization of audio playback effects and sound field positioning; according to key scenes and events, important audio objects such as commentators, athletes, and referees are automatically identified and enhanced, and the audio of the audience seats is dynamically adjusted and optimized, which improves the clarity, importance, and sense of immersion of the on-site sound, providing the audience with a more real and vivid viewing experience.
[0091] For example, 100 high-sensitivity microphone arrays are arranged in the stadium, each array consists of 8 microphones, covering different areas of the stadium. Using the speaker recognition algorithm based on MFCC features and GMM model, the audio data collected by each microphone is analyzed in real time, 20-dimensional MFCC feature vectors are extracted, and a 64-degree mixed GMM model is trained. The speaker identity is judged by LLR score with an accuracy rate of more than 95%. Using the LSTM-based voiceprint embedding model, 128-dimensional voiceprint feature vectors are extracted, and the voiceprint comparison is performed using cosine distance to identify the speaker identity with an accuracy rate of more than 90%. Using the rule-based keyword detection algorithm, an HMM acoustic model is constructed for 20 keywords such as "goal", "foul", and "red card", and the audio data is searched for keywords, with a recall rate of more than 95%. According to the timestamp and confidence of the keywords, combined with the real-time score and progress of the game, the occurrence of key events is judged and event labels are generated. The weight coefficient of the microphone array is updated in real time using the LMS adaptive filtering algorithm, the beam pointing is adjusted dynamically, and the gain is controlled between -10dB and 20dB. The audio data is spread and filtered using a speech noise reduction model based on a convolutional neural network, which improves the signal-to-noise ratio by more than 10dB on average. The audio data is subjected to a short-time Fourier transform to extract the energy spectrum and spectrum of the speech signal. The frequency band gain is adaptively adjusted based on the morphological characteristics of the spectrum graph. The high-frequency gain adjustment range is 0-12dB, and the low-frequency gain adjustment range is -12-0dB. The RNN-based semantic understanding model is used to perform semantic analysis on the commentator's speech, extract semantic feature vectors, generate semantic understanding results through the attention mechanism and context association, and score and filter the importance of the commentary audio based on the semantic content to extract key commentary segments. Four RFID positioning tags are installed under the commentator's seat, and the commentator's location information is obtained in real time through a high-frequency RFID reader. The positioning accuracy is controlled within 50 cm. The YOLOv3 target detection algorithm based on deep learning is used to process the video frames collected by the 4K high-definition camera in real time to detect and locate the position of the commentator, with an average detection accuracy of over 92%. The sound source localization algorithm based on TDOA is used to collect the commentator's voice through 8 microphones, calculate the time difference between the sound reaching different microphones, and triangulate the spatial position of the commentator, with the positioning error controlled within 1 meter. The Kalman filter algorithm is used to integrate the positioning results of RFID, video and sound, and to fuse and track the commentator's position, generate the commentator's dynamic position information, control the pointing angle and directivity of the directional microphone array, and automatically track and pick up the commentator's voice, with the average pickup gain increased by more than 6dB.
[0092] Specifically, if a key scene is identified, the mixing ratio of the background music is lowered or the output power other than the scene audio of the key scene is reduced. For example, a machine learning algorithm is used to intelligently analyze and extract features from the collected audio data. By building an acoustic event detection model, a CNN-based acoustic event detection model, such as YAMNet, VGGish, etc., is used to extract the time-frequency features of the audio through the convolution layer, and then the event classification is performed through the fully connected layer. Use RNN-based sequence labeling models, such as Bi-LSTM, GRU, etc., to accurately label the start and end time of audio events to achieve event location and segmentation. During the model training process, data enhancement, transfer learning and other technologies are used to expand the diversity and quantity of training data, improve the generalization performance and robustness of the model, automatically identify key acoustic events, such as goals, fouls, final whistle, etc., and generate corresponding event labels and timestamps. Further scene understanding and semantic analysis are performed on the identified key acoustic events. Combined with multimodal information such as the real-time progress of the game, score changes, and player actions, a knowledge graph in the field of sports games is constructed, including game rules, player information, tactical strategies, etc. The semantic representation and understanding of the scene are achieved through entity linking and relationship reasoning. A rule-based reasoning engine is designed to formulate scene judgment rules and decision trees based on multi-source information such as acoustic events, game progress, and player actions, and realize automatic classification and labeling of scenes. Reinforcement learning algorithms such as DQN and PPO are used to autonomously learn and optimize scene judgment strategies through interaction and feedback with the environment, improve the accuracy and real-time performance of scene understanding, and generate high-level scene semantic labels. According to the scene semantic labels and acoustic event labels, the pre-set audio control strategies are dynamically matched, and personalized audio processing solutions are customized for different key scenes and events. For different types of key scenes, corresponding background music control curves are designed to dynamically adjust the attenuation rate and reduction amplitude of the background music according to the duration and intensity of the scene. Heuristic search algorithms, such as genetic algorithms and particle swarm optimization, are used to search for the optimal combination of background music control parameters, such as attenuation time, attenuation curve, reduction ratio, etc., to achieve adaptive optimization of the control strategy. A user feedback mechanism is introduced to collect user satisfaction and preferences for different control strategies through subjective scoring, sentiment analysis, etc., and to guide the dynamic adjustment and personalized customization of the control strategy. If key scenes such as goals and finals are identified, the corresponding audio control instructions are triggered, and the mixing ratio of the background music is automatically lowered by calling the parameter control interface of the audio mixer, reducing the volume of the background music to about 20% of the original, reducing the interference of the background music on the commentary audio. Using the blind source separation algorithm, for different types of audio signals, such as human voice, music, ambient sound, etc., select the appropriate blind source separation algorithm, such as ICA based on statistical independence, NMF based on sparse representation, etc.By combining simulation data with real data, we construct an evaluation set and benchmark for blind source separation, quantify the separation performance and computational efficiency of different algorithms, and provide a reference for algorithm selection. Through subjective and objective evaluation indicators of audio separation quality, such as signal-to-noise ratio, distortion, and listening quality, we evaluate the pros and cons of separation results and improve the shortcomings of the algorithm. Through adaptive decomposition and extraction, we separate different audio components such as human voice, music, and noise from the mixed signal to obtain independent audio track signals, and perform adaptive gain control and frequency band equalization on each audio track to highlight the key audio track and suppress the non-important audio track. When key scenes occur, we automatically detect and identify key areas in the video screen, such as the goal area and penalty spot, extract the audio signals of the corresponding areas, and weaken the audio signals of non-key areas. Through sound source localization algorithms, such as the GCC-PHAT algorithm based on time difference and the MUSIC algorithm based on wave direction of arrival, we estimate the spatial position and direction of the key audio area. Using beamforming technology, such as delayed sum beamforming and generalized sidelobe elimination, the weight and delay of the microphone array are adaptively adjusted according to the estimated sound source direction to form a pickup beam pointing to the target area. On the basis of beamforming, adaptive filtering and noise elimination technology, such as LMS adaptive filtering and Kalman filtering, are introduced to further improve the signal-to-noise ratio and clarity of the pickup signal and suppress interference and noise in non-critical areas. Selectively collect and enhance the audio signals in key areas to improve the clarity and loudness of key audio, while reducing the pickup sensitivity of audio in non-critical areas and weakening the impact of environmental noise and reverberation. Through dynamic mixing technology, the volume, pitch, timbre and other parameters of different audio tracks are adjusted and optimized in real time, and targeted audio output masters are adaptively generated, and the master signals are output to the on-site sound reinforcement system and off-site broadcast system respectively. According to the size of the sound reinforcement area, the number of audience members, environmental noise and other factors, the sound reinforcement power and frequency response are dynamically adjusted to ensure that audiences in different areas can get a clear, balanced and immersive sound experience. At the same time, the broadcast audio signal is adaptively encoded and optimized according to the bandwidth, coding and decoding method, terminal equipment and other parameters of the broadcast channel, to ensure that the audience can hear high-quality, low-latency live audio of the game to the greatest extent possible, thereby improving the viewing experience.
[0093] For example, 100 omnidirectional microphones and 20 directional microphones are arranged in the stadium, and the audio signals are transmitted to the audio processing server in real time in the format of 48kHz sampling rate and 24bit quantization depth through digital audio interface and optical fiber transmission line. The YAMNet convolutional neural network model is used to extract features of audio data, extract 521-dimensional Mel frequency features per frame, and fine-tune on 50,000 hours of sports event audio data through transfer learning, so as to improve the accuracy of acoustic event classification to more than 95%. The start and end time of acoustic events are sequenced using Bi-LSTM recurrent neural network, and 100,000 training samples are synthesized through data enhancement method, so as to control the time error of event detection within 0.5 seconds. Based on ontology, a knowledge graph of sports competition field is constructed, which contains 500 entity types, 1,000 relationship types and 100,000 instance data. The semantic encoding of scenes is realized through graph convolutional network and attention mechanism, and scene understanding is performed using rule-based reasoning engine, with an average reasoning time of less than 0.1 seconds. The DDPG deep reinforcement learning algorithm is used, with scene recognition accuracy and inference speed as reward functions. The optimal scene judgment strategy is obtained through 10,000 iterations of training, with an average accuracy of more than 98%. Five background music control curves are designed for different types of key scenes, and the optimal control parameter combination is searched through genetic algorithms, with an average fitness of 4.5 points (out of 5 points). Based on the subjective ratings of 1,000 viewers on the audio control effect, keywords and emotional polarity are extracted, targeted audio optimization suggestions are generated, and the control strategy is dynamically adjusted, with satisfaction increased by more than 20%. The blind source separation algorithm based on ICA is used, and variants such as FastICA and Infomax are used to test 500 mixed audios. The average signal-to-noise ratio is improved by more than 10dB, and the distortion is controlled within 3%. The sound source localization technology based on the MUSIC algorithm is used to achieve 2D positioning within a range of 5 meters through an 8-channel microphone array, with an average positioning error of less than 10 cm. The MVDR adaptive beamforming algorithm is used to adjust the weight coefficient of the microphone array in real time, increasing the directional gain by more than 6dB, and the GSC adaptive filtering algorithm is used to achieve more than 40dB of interference suppression. The intelligent mixing algorithm automatically detects the energy and spectrum characteristics of the audio track, dynamically adjusts the mixing ratio, and optimizes the frequency response curve in combination with the psychoacoustic model to ensure that more than 95% of the audience has an excellent listening experience. At the same time, the AAC-HE audio coding algorithm is used to achieve high-fidelity audio transmission at a bit rate of 128kbps, and the end-to-end delay is controlled within 100 milliseconds.
[0094] Specifically, if a key scene is identified, the light output power of the adjacent area of the key scene is lowered. Based on the video image data in the field, the video data is transmitted to the intelligent analysis server for processing and analysis. The collected video images are analyzed in real time using computer vision algorithms. Through target detection, action recognition, semantic segmentation and other technologies, key elements in the video screen, such as athletes, game balls, field signs, etc., are identified, and their spatial positions and movement trajectories are tracked in real time. Target detection can use algorithms based on deep learning, such as the YOLO series, SSD, FasterR-CNN, etc., to extract image features through convolutional neural networks, and use candidate regions or anchor frames for target positioning and classification. Action recognition can use algorithms based on spatiotemporal features, such as 3DCNN, two-stream networks, LSTM, etc., to capture the temporal and spatial characteristics of actions through spatiotemporal modeling of video sequences, and achieve action classification and recognition. Semantic segmentation can use algorithms based on fully convolutional networks, such as FCN, U-Net, DeepLab, etc., to classify images at the pixel level through the encoder-decoder structure, generate refined segmentation results, and distinguish different semantic areas such as the field, athletes, and balls. The identified key elements are matched and compared with the pre-established scene model, and the game scene to which the current video screen belongs, such as offense, defense, scoring, etc., is automatically determined through a specific machine learning algorithm, and the corresponding scene label and timestamp are generated. A rule-based scene classifier can be used to manually define a series of rules and thresholds, and the category of the current scene, such as offense, defense, conversion, etc., can be determined based on the spatial position, motion trajectory, interaction relationship and other features of the key elements. A scene recognition model based on deep learning, such as CNN, LSTM, etc., can also be used to automatically extract the spatiotemporal features of the scene through end-to-end learning and classification of video frame sequences, and map them to predefined scene labels. According to the scene labels and spatial location information, the competition venue is dynamically divided into several key areas and non-key areas. The key areas include areas where key events are taking place and adjacent areas, while non-key areas are other venue areas. A distance-based division method can be used, with the boundary of the key area as the center, and expanding outward according to a certain distance threshold (such as 1 meter, 2 meters, etc.) to form several concentric circular areas adjacent to the key area as adjacent areas. A graph-based division method can also be used to divide the venue into regular grids or irregular polygons, and determine the type of area to which the grid or polygon belongs based on the spatial relationship with the key area (such as adjacent, intersecting, containing, etc.). In the division process, the actual layout and visual effects of the venue should be fully considered, and the symmetry, balance and aesthetics of the division results should be maintained as much as possible to avoid areas that are too narrow, narrow or discontinuous.Different lighting control strategies and parameters are set for the key areas and non-key areas. For the key areas, the brightness and focus of the lights in the area are automatically increased by calling the lighting control interface, so that the visual effect of the key areas is more prominent and eye-catching. For the adjacent areas of the key areas, the output power of the lights is dynamically adjusted according to the spatial distance and correlation between them and the key areas. The closer the adjacent areas are to the key areas, the greater the reduction of the light power is, so as to avoid the visual interference of the lighting effects of the adjacent areas on the key areas. For the lighting adjustment of the adjacent areas, an attenuation coefficient can be set to indicate the proportion of the light power decrease relative to the normal value. The attenuation coefficient can change linearly or exponentially according to the distance between the adjacent areas and the key areas. The closer the distance is, the greater the attenuation is. In the actual lighting adjustment process, a gradual change method should be adopted to avoid sudden changes or flickering of the light intensity between adjacent areas. A transition time (such as 0.5 seconds to 1 second) can be set to complete the smooth transition of the light intensity within the transition time. At the same time, the lighting standards of different areas should be taken into consideration, and the consistency of the light brightness distribution in the same area should be maintained as much as possible to avoid obvious light and dark boundaries or ghosting. The parameters and control instructions for light adjustment are sent to the light control system. Through the conversion and amplification of control signals, LED lamps, floodlights and other lighting equipment are driven to achieve dynamic adjustment of the light effects in different areas. According to the changes and developments of the scene, the light control strategy is updated in real time to ensure that the visual focus is always on the key areas. When the scene changes, such as the location, size, shape, etc. of the key area change significantly, the update of the light control strategy is triggered, and the light parameters of different areas are recalculated and sent to the execution device. In the process of updating, the continuity of scene changes and the smoothness of light adjustment should be considered comprehensively to avoid frequent strategy switching or drastic parameter changes that cause visual discomfort or flickering. A threshold for update can be set to indicate the significance of scene changes. Only when the degree of change exceeds the threshold, the update of the strategy is triggered. The size of the threshold can be set according to actual needs and hardware conditions to balance the timeliness and stability of the update.
[0095] For example, 50 4K high-definition cameras are arranged in the stadium, and the video data is transmitted to the analysis server in real time through the optical fiber network. Each frame of the image is processed using the YOLOv5 target detection algorithm, and a 512-dimensional feature vector is extracted through a convolutional neural network. The target positioning and recognition are achieved using anchor frame regression and classification, and the average precision (AP) reaches more than 95%. A two-stream network is used to recognize the athlete's movements. The spatiotemporal streams use 3DResNet and 2DResNet to extract features respectively, and the action classification is achieved through late fusion, and the recognition accuracy reaches more than 90%. The U-Net semantic segmentation network is used to annotate the field at the pixel level, and feature extraction and image restoration are achieved through 5 downsampling and 5 upsampling. Skipconnection is used to retain shallow features, and meanIOU reaches more than 0.85. Based on the location, trajectory, interaction and other information of key elements, a decision tree for scene recognition is constructed, the optimal partition attribute is selected through the information gain ratio, and the model is evaluated using 10-fold cross validation, and the scene recognition accuracy reaches more than 95%. With the boundary of the key area as the center, three concentric circular areas with a radius of 2 meters are divided as adjacent areas, and the site is triangulated using the Delaunay triangulation algorithm. The area type is marked according to the positional relationship between the grid and the key area. The light brightness of the key area is increased by 20%, the focusing angle is reduced by 10 degrees, and the illumination of the key area is monitored in real time using a light intensity meter to ensure that the illumination is increased to more than 500 lux. The light power of the adjacent area is attenuated. For every 0.5 meter increase in distance from the key area, the attenuation coefficient is multiplied by 0.8, and the minimum attenuation is 50% of the normal power. The PWM signal of the LED lamp is controlled by a light regulator with an adjustment frequency of 10kHz and a duty cycle resolution of 1%. The synchronous control of multiple lamps is achieved through the RS485 bus protocol. When the light is switched, the S-curve is used to interpolate the brightness transition, and the transition time is set to 500ms. At the same time, the gradient of the illumination change is monitored to ensure that the illumination change between two adjacent samples does not exceed 20 lux to avoid visual flicker. Scene change detection calculates the motion vectors between adjacent frames based on the optical flow method, and determines the significance of scene changes through vector clustering and analysis. When the significance of the change exceeds 0.6, it triggers the lighting strategy update, recalculates the area division and lighting parameters, and sends the update command to the lighting control unit within 200ms, thereby achieving real-time and sensitive brightness adjustment.
[0096] Figure 2 1 is a schematic structural diagram of a power conservation control device for an acousto-optic device provided in an embodiment of the present invention, wherein the power conservation control device for the acousto-optic device comprises:
[0097] The data acquisition module 11 is used to acquire audio data and video data in the event venue in real time;
[0098] The data processing module 12 is used to determine the on-site situation of the event venue and the progress of the event at the current moment according to the audio data and the video data in combination with the layout information of the event venue;
[0099] The equipment adjustment module 13 is used to adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue according to the on-site situation and the progress of the event, so as to control the sound and light.
[0100] Specifically, the data processing module 12 includes:
[0101] A distribution unit 121, configured to determine the sound data and regional video data of each area in the event venue according to the audio data and the video data in combination with the layout information of the event venue;
[0102] The calculation unit 122 is used to determine the crowd distribution in the corresponding area according to the regional video data; and obtain the crowd density and noise level in each area according to the sound data and crowd distribution in each area;
[0103] An analysis unit 123, configured to analyze the sound data and the regional video data to obtain a current state of a crowd in a corresponding region;
[0104] The judgment unit 124 is used to determine the on-site situation and the progress of the event at the event venue at the current moment according to the crowd density, noise level and current state of the crowd in each area.
[0105] Specifically, obtaining the crowd density and noise level of each area according to the sound data and crowd distribution of each area includes:
[0106] According to the population distribution in each area, calculate the population density in each area;
[0107] According to the sound data and crowd density of each area, the sound intensity distribution of each area is determined, and according to the sound intensity distribution of each area, the noise level of each area is calculated.
[0108] Specifically, the analysis unit 123 is used to:
[0109] Perform semantic analysis on the sound data of each area to obtain the semantic characteristics and emotional tendencies of each person in each area;
[0110] According to the area type, video data of at least one target area is selected for motion analysis to obtain the action state of each person in the corresponding target area;
[0111] Perform face detection and expression recognition on the frequency data of each other area to obtain the expression response of each person in each other area;
[0112] The semantic features, emotional tendencies, action states and facial expressions are matched to obtain the current state of the crowd in the corresponding area.
[0113] Specifically, the judging unit 124 is used to:
[0114] Obtaining the current situation of the event venue according to the crowd density, noise level and current state of the crowd in each area;
[0115] The progress of the competition at the current moment is determined according to the on-site situation.
[0116] Specifically, the equipment adjustment module 13 is used to:
[0117] According to the on-site situation and the progress of the event and the preset power and parameter adjustment strategies, adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue to control the sound and light;
[0118] Among them, the preset power and parameter adjustment strategy sets up several groups of corresponding relationships between the on-site conditions and the power supply of the sound and light equipment and several groups of corresponding relationships between the event progress and the power supply of the sound and light equipment, as well as sets up several groups of corresponding relationships between the on-site conditions and the control parameters of the sound and light equipment and several groups of corresponding relationships between the event progress and the control parameters of the sound and light equipment.
[0119] A power protection control device for an acoustic and optical device provided in an embodiment of the present invention can implement all processes of the power protection control method for the acoustic and optical device of the above-mentioned embodiment. The functions of each module in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the power protection control method for the acoustic and optical device of the above-mentioned embodiment, and will not be repeated here.
[0120] The embodiment of the present invention provides a terminal device, which includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the embodiment of the power conservation control method of the above-mentioned sound and light device are implemented. Alternatively, when the processor executes the computer program, the functions of each module in the embodiment of the power conservation control device of the above-mentioned sound and light device are implemented.
[0121] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a network access device, a bus, etc.
[0122] The processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0123] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card, at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0124] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0125] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the power preservation control method of the acousto-optical device as described in the above embodiment.
[0126] An embodiment of the present invention further provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the power conservation control method for the acousto-optical device of the above embodiment.
[0127] In summary, the embodiment of the present invention discloses a power conservation control method, device, equipment, storage medium and product for an audio and light device, which obtains audio data and video data in a competition venue in real time; determines the on-site situation and the progress of the competition venue at the current moment according to the audio data and video data, combined with the layout information of the competition venue; and adjusts the control parameters of the sound system and lighting equipment corresponding to each area in the competition venue according to the on-site situation and the progress of the competition to control the sound and light. The real-time audio data and video data in the competition venue are analyzed, and key data such as the crowd volume, crowd density, competition stage and on-site situation in the venue are obtained in combination with the layout information of the venue, and the audio signal in the venue is analyzed in real time, and key audio sources such as commentators, referees and athletes are identified, and the audio mixing ratio and lighting brightness are dynamically adjusted to determine the real-time progress and on-site situation of the competition. At the same time, according to the characteristics and needs of different areas in the venue, the audio and lighting systems are controlled by branches, and each branch is allowed to independently adjust the volume, equalizer, brightness and effect settings, and the audio and lighting equipment are calibrated to ensure the precise matching and power efficiency of the audio and lighting configurations. It can cope with the complex and ever-changing sound environment in the venue, accurately analyze and process audio signals, and adjust the sound system and lighting equipment in the venue according to the real-time progress of the event and the on-site situation, ensuring the high consistency of the sound and lighting equipment with the on-site activities, enhancing the audience experience, and realizing intelligent control and optimization of sound and lighting to improve system adaptability and energy utilization.
[0128] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A power conservation control method for an acousto-optic device, characterized in that: include: Obtain audio and video data in the event venue in real time; Determine the sound data and regional video data of each area in the event venue according to the audio data and the video data and in combination with the layout information of the event venue; Determine the crowd distribution in the corresponding area according to the regional video data; calculate the crowd density in each area according to the crowd distribution in each area; According to the sound data and crowd density of each area, the sound intensity distribution of each area is determined, and according to the sound intensity distribution of each area, the noise level of each area is calculated; Perform semantic analysis on the sound data of each area to obtain the semantic features and emotional tendencies of each person in each area; select at least one target area for video data motion analysis according to the area type to obtain the action status of each person in the corresponding target area; Performing face detection and expression recognition on the frequency data of each other area to obtain the expression reaction of each person in each other area; matching the semantic features, emotional tendencies, action states and expression reactions to obtain the current state of the people in the corresponding area; Determine the current situation of the event venue and the progress of the event based on the crowd density, noise level and current state of the crowd in each area; According to the on-site situation and the progress of the competition, the power supply and control parameters of the sound and light equipment corresponding to each area in the competition venue are adjusted to control the sound and light.
2. The power conservation control method for the acousto-optic device according to claim 1, characterized in that: Determining the on-site situation and event progress of the event venue at the current moment according to the crowd density, noise level and current state of the crowd in each area includes: Obtaining the current situation of the event venue according to the crowd density, noise level and current state of the crowd in each area; The progress of the competition at the current moment is determined according to the on-site situation.
3. The power conservation control method for the acousto-optic device according to claim 1, characterized in that: According to the on-site situation and the progress of the competition, the power supply and control parameters of the sound and light equipment corresponding to each area in the competition venue are adjusted to control the sound and light, including: According to the on-site situation and the progress of the event and the preset power and parameter adjustment strategies, adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue to control the sound and light; Among them, the preset power and parameter adjustment strategy sets up several groups of corresponding relationships between the on-site conditions and the power supply of the sound and light equipment and several groups of corresponding relationships between the event progress and the power supply of the sound and light equipment, as well as sets up several groups of corresponding relationships between the on-site conditions and the control parameters of the sound and light equipment and several groups of corresponding relationships between the event progress and the control parameters of the sound and light equipment.
4. A power conservation control device for an acousto-optic device, characterized in that: include: Data acquisition module, used to acquire audio and video data in the event venue in real time; A data processing module, used to determine the sound data and regional video data of each area in the event venue according to the audio data and the video data in combination with the layout information of the event venue; The data processing module is used to determine the crowd distribution of the corresponding area according to the regional video data; calculate the crowd density of each area according to the crowd distribution of each area; determine the sound intensity distribution of each area according to the sound data and crowd density of each area, and calculate the noise level of each area according to the sound intensity distribution of each area; The data processing module is used to perform semantic analysis on the sound data of each area to obtain the semantic features and emotional tendencies of each person in each area; according to the area type, the video data of at least one target area is selected for motion analysis to obtain the action status of each person in the corresponding target area; Performing face detection and expression recognition on the frequency data of each other area to obtain the expression reaction of each person in each other area; matching the semantic features, emotional tendencies, action states and expression reactions to obtain the current state of the people in the corresponding area; The data processing module is further used to determine the on-site situation of the event venue and the progress of the event at the current moment according to the crowd density, noise level and current state of the crowd in each area; The equipment adjustment module is used to adjust the power supply and control parameters of the sound and light equipment corresponding to each area in the event venue according to the on-site situation and the progress of the event, so as to control the sound and light.
5. A power protection control device for an acousto-optic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the power conservation control method of the acousto-optical device as claimed in any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the power conservation control method for the acousto-optical device according to any one of claims 1 to 3.
7. A computer program product, characterized in that The computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the power conservation control method of the acousto-optical device as claimed in any one of claims 1 to 3.
