Intelligent distribution method and system for hotel regionalization background music

By using volume sensors and thermal sensing sensors in the hotel area, real-time detection of noise and traffic and dynamically adjusting background music, the problem that intelligent background music system is difficult to quickly respond to changes in traffic is solved, the coordination between music and the environment is achieved, and the quality of the hotel atmosphere is improved.

CN119724134AActive Publication Date: 2025-03-28JIANGXI MOSS RICE MEDICAL TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510217511.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-03-28
Estimated Expiration
2045-02-26

AI Technical Summary

Technical Problem

The intelligent background music system is difficult to respond quickly to real-time changes in traffic, which affects the music quality and the overall atmosphere of the hotel.

Method used

By deploying volume sensors and thermal sensing sensors in the hotel area, we detect noise intensity and flow information in real time, identify background noise changes, and dynamically adjust the music rhythm and volume of background music based on this data to ensure that the music is in harmony with the environment.

Benefits of technology

It achieves a rapid response to changes in traffic and noise, reduces fluctuations in music quality, ensures the consistency and comfort of the hotel atmosphere, and improves the consistency of music quality and overall atmosphere.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119724134A_ABST
    Figure CN119724134A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent distribution method and system for hotel regionalization background music, and is applied to the field of data processing. The noise intensity in the hotel area is detected in real time through the volume sensor, the dynamic change of the environment can be accurately sensed in combination with the real-time visitor flow rate data collected by the thermal induction sensor, and the cooperative work can ensure that the system quickly adjusts and responds when the visitor flow rate changes, so that the fluctuation of the music quality is reduced, and the quality of the hotel is improved. And meanwhile, when the background noise type and intensity of the hotel area change, the music rhythm is automatically adjusted according to the generated sound spectrum, so that the background music is more matched with the surrounding environment, music incoordination caused by noise interference is avoided, and the experience of the hotel is improved. Therefore, the consistency of the music quality and the hotel atmosphere is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of data processing, and in particular to an intelligent distribution method and system for regionalized background music of a hotel. Background Art

[0002] With the advancement of technology, hotels and other commercial places have begun to introduce intelligent systems to automatically adjust background music. Early background music systems were generally timed or preset, but with the development of environmental perception technology, modern background music systems are gradually moving towards automation and intelligence.

[0003] However, the performance of music in different environments is multi-dimensional, and the flow of people will directly affect the atmosphere and needs of the environment. For example, areas with large flow of visitors (such as hotel lobbies, restaurants, etc.) usually require higher volume and more lively music to enhance the atmosphere, while in areas with sparse flow of people (such as corridors, rest areas, etc.), the volume should be appropriately reduced and the music style should be quiet and soft to maintain a comfortable atmosphere. At present, the hotel's intelligent background music system is difficult to respond quickly to real-time changes in the flow of people, and cannot ensure whether the quality of the music and the overall atmosphere of the hotel will be affected. Summary of the invention

[0004] The present invention aims to solve the problem that the intelligent background music system is difficult to quickly respond to the real-time changes in the flow of people, which affects the quality of music and the overall atmosphere of the hotel, and provides an intelligent distribution method and system for regionalized background music in hotels.

[0005] The present invention adopts the following technical means to solve the technical problem: The present invention provides an intelligent distribution method for regionalized background music of a hotel, comprising: Based on a volume sensor preset in the hotel area, detecting the coverage decibel data of the hotel area within a preset distance; Determining whether the coverage decibel data reaches a preset decibel threshold of the hotel area; If not, activate the thermal induction sensor preset in the hotel area, collect the flow of people information in the hotel area, identify the background noise change in the hotel area according to the flow of people information, generate the sound spectrum of the hotel area according to the background noise change, and classify the corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice related noise, mechanical equipment noise and environmental external noise; Determining whether the noise type exceeds a preset upper limit of the type; If it does not exceed the limit, the music rhythm of the background music is dynamically adjusted based on the preset music style template of the hotel area, and the regional coordination of the music rhythm is detected. According to the regional coordination, the preset resampling is applied to smoothly transition the background music, and the delayed transition duration between different areas is adaptively adjusted, wherein the music style template specifically includes activity area, leisure area and meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

[0006] Furthermore, before the step of collecting the flow of people information of the hotel area and identifying the change of background noise in the hotel area according to the flow of people information, the method further includes: Based on the mobile personnel in the hotel area, a preset Kalman filter is applied to track the moving trajectory of the mobile personnel; Determining whether the movement trajectory leaves the hotel area; If not, then count the number of people in the hotel area based on the location information of the mobile personnel, calculate the population density in the hotel area based on the number of people, identify the activity pattern of the population density, and dynamically adjust the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area to reduce the density calculation deviation of the hotel area.

[0007] Furthermore, the step of adaptively adjusting the delay transition duration between different areas further includes: Identify the temporary division area of ​​the hotel area, and collect the external music type played in the adjacent area from the temporary division area; Determining whether the external music type matches the temporary purpose of the temporarily divided area; If not, the fluctuating decibel value of the external music in the temporarily divided area is collected, and based on the fluctuating decibel value, the music gradient effect in the temporarily divided area is dynamically adjusted, and according to the music gradient effect, the interference decibel of the external music in the temporarily divided area is balanced.

[0008] Furthermore, the step of generating a sound spectrum of the hotel area according to the change of the background noise and classifying corresponding noise types from the sound spectrum further includes: Dividing the continuous audio signal with background noise changes into a number of small segments of frames, acquiring frequency domain information of the number of small segments of frames based on preset durations of the number of small segments of frames, and extracting corresponding spectrum features from the frequency domain information; Determining whether the frequency spectrum characteristics match the noise type; If yes, then the noise intensity of the spectrum feature in different frequency bands is calculated, and according to the noise intensity, energy distribution data of the signal frequency region is generated, and according to the energy distribution data, the dominant frequency of the noise intensity is identified.

[0009] Further, the step of determining whether the coverage decibel data reaches a preset decibel threshold of the hotel area further includes: Based on the microphone array preset in the hotel area, calculate the real-time decibel value in each time window, wherein the real-time decibel value specifically includes the average decibel, the maximum decibel and the minimum decibel; Determine whether the duration of the real-time decibel value reaches a preset period; If not, the instantaneous decibel of the real-time decibel value is collected through the time window, and the preset noise exceeding event is triggered according to the instantaneous decibel, and the corresponding exceeding attributes are marked from the noise exceeding event, wherein the exceeding attributes specifically include the exceeding time period, duration and exceeding amplitude.

[0010] Furthermore, the step of determining whether the noise type exceeds a preset upper limit of the type further includes: Based on a directional sensor preset in the hotel area, identifying the direction source of the noise type in the hotel area; Determining whether the direction source is within a preset range of the hotel; If not, a corresponding noise source is generated from the hotel terminal, and the noise signal strength calculated by the directional sensor is calculated according to the noise source. The upper limit of the volume of the background music is dynamically adjusted according to the noise signal strength and the area size of the hotel area.

[0011] Furthermore, the step of detecting the coverage decibel data of the hotel area within a preset distance based on the volume sensor preset in the hotel area further includes: Based on the pre-collected decibel data of the hotel area, distinguishing corresponding noise data from the decibel data; Determine whether the noise data is synchronously collected to the hotel terminal; If not, the preset non-target noise is filtered out from the noise data according to the frequency range preset by the hotel terminal to generate a noise intensity distribution map of the hotel area, wherein the non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise.

[0012] The present invention also provides an intelligent distribution system for hotel regional background music, comprising: A detection module, used to detect the coverage decibel data of the hotel area within a preset distance based on a volume sensor preset in the hotel area; A judgment module, used to judge whether the coverage decibel data reaches a preset decibel threshold of the hotel area; an execution module, configured to, if not, activate a preset thermal induction sensor in the hotel area, collect information on the flow of people in the hotel area, identify changes in background noise in the hotel area according to the flow of people information, generate a sound spectrum in the hotel area according to the background noise changes, and classify corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice-related noise, mechanical equipment noise, and external environmental noise; A second judgment module is used to judge whether the noise type exceeds a preset type upper limit; The second execution module is used to dynamically adjust the music rhythm of the background music based on the preset music style template of the hotel area if it has not been exceeded, detect the regional coordination of the music rhythm, apply preset resampling to smoothly transition the background music according to the regional coordination, and adaptively adjust the delayed transition duration between different areas, wherein the music style template specifically includes activity area, leisure area and meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

[0013] Furthermore, it also includes: A tracking module, used for tracking the moving trajectory of the moving personnel in the hotel area by applying a preset Kalman filter; A third judgment module is used to judge whether the movement track leaves the hotel area; The third execution module is used for, if not, counting the number of people in the hotel area according to the location information of the mobile personnel, calculating the population density in the hotel area based on the number of people, identifying the activity pattern of the population density, and dynamically adjusting the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area, so as to reduce the density calculation deviation of the hotel area.

[0014] Furthermore, the second execution module also includes: An identification unit, used for identifying the temporary division area of ​​the hotel area, and collecting the type of external music played in the adjacent area from the temporary division area; A judging unit, used for judging whether the external music type matches the temporary purpose of the temporarily divided area; The execution unit is used to collect the fluctuating decibel value of the external music in the temporarily divided area if not, dynamically adjust the music gradient effect in the temporarily divided area based on the fluctuating decibel value, and balance the interference decibel of the external music in the temporarily divided area according to the music gradient effect.

[0015] The present invention provides an intelligent distribution method and system for regionalized background music in a hotel, which has the following beneficial effects: The present invention detects the noise intensity in the hotel area in real time through the volume sensor, and combined with the real-time traffic data collected by the thermal sensing sensor, it can accurately perceive the dynamic changes of the environment. This collaborative work can ensure that the system can quickly adjust and respond when the traffic changes, thereby reducing the fluctuation of music quality and ensuring the continuity and comfort of the overall atmosphere. At the same time, when the background noise type and intensity in the hotel area changes, the music rhythm is automatically adjusted according to the generated sound spectrum, which not only makes the background music more consistent with the surrounding environment, but also avoids the music incoordination caused by noise interference, thereby improving the consistency of music quality and hotel atmosphere. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flow chart of an embodiment of a method for intelligently distributing regionalized background music for a hotel according to the present invention; Figure 2 The present invention is a structural block diagram of an embodiment of the intelligent distribution system for hotel regional background music. DETAILED DESCRIPTION

[0017] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The implementation of the objectives, functional features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

[0018] 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.

[0019] Reference Figure 1 , is an intelligent distribution method for hotel regional background music in one embodiment of the present invention, comprising: S1: Based on a volume sensor preset in the hotel area, detecting the coverage decibel data of the hotel area within a preset distance; S2: Determine whether the coverage decibel data reaches a preset decibel threshold of the hotel area; S3: If not, activate the thermal induction sensor preset in the hotel area, collect the flow of people information in the hotel area, identify the background noise change in the hotel area according to the flow of people information, generate the sound spectrum of the hotel area according to the background noise change, and classify the corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice related noise, mechanical equipment noise and environmental external noise; S4: Determine whether the noise type exceeds a preset upper limit of the type; S5: If it does not exceed the limit, dynamically adjust the music rhythm of the background music based on the preset music style template of the hotel area, detect the regional coordination of the music rhythm, apply the preset resampling to smoothly transition the background music according to the regional coordination, and adaptively adjust the delayed transition duration between different areas, wherein the music style template specifically includes activity area, leisure area and meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

[0020] In this embodiment, the system detects the covered decibel data in the hotel area within a preset distance based on the volume sensor pre-installed in the hotel area, and then the system determines whether these covered decibel data reach the pre-set decibel threshold of the hotel area to execute the corresponding steps; for example, when the system determines that the covered decibel data in the hotel area has reached the pre-set decibel threshold, the system will believe that the background music currently played in the hotel area has been able to spread to every corner of the hotel area. The system can adjust the style of the background music according to the current environment and area usage. For example, if the area is in a leisure state, the system can switch to soft or romantic music, and if it is in an activity area, the system can adjust to dynamic or fast-paced music. Music can be adjusted to suit the atmosphere requirements of different environments, and at the same time, check whether the noise in the surrounding environment will affect the music experience. If the environmental noise (such as human voice, mechanical equipment, etc.) is more significant, the system will further adjust the volume or music type to avoid affecting the clarity of the background music, and real-time monitoring and feedback will be provided to continuously track the volume and noise data of the hotel area. If there is a sudden change in the environment, the system will be able to respond in time and readjust the volume or music style to ensure that the music is always in harmony with the environment. For example, when the system determines that the covered decibel data in the hotel area does not reach the preset decibel threshold, the system will believe that the background music currently played in the hotel area cannot be played in every corner of the hotel area, and the system will activate the hotel The thermal induction sensors pre-set in the hotel area collect the flow of people in the hotel area, and identify the changes in the background noise in the hotel area based on this flow of people information. According to the different changes in background noise, the sound spectrum of the hotel area is generated, and the corresponding noise types are divided from the sound spectrum. The noise types specifically include human voice-related noise, mechanical equipment noise and environmental external noise; the system can identify and classify background noise by analyzing different types of noise (such as human voice-related noise, mechanical equipment noise and external noise) to avoid the influence of noise interfering with music playback. Each noise type will have a different processing method, which helps to adjust the appropriate volume or music style in high-noise areas to maintain the clarity and comfort of background music, and at the same time, according to the detected The system generates a sound spectrum and classifies the noise according to the noise changes, which helps to understand the audio conditions of the current environment in more detail. This information can provide more accurate data support for subsequent background music adjustments. For example, when the noise is too loud, the system can automatically increase the volume of the music or select a more penetrating type of music. Based on the real-time traffic data, the system can determine whether a certain area needs to adjust the volume or rhythm of the music due to changes in traffic. For example, when the traffic is dense, the volume can be appropriately increased, otherwise it can be appropriately reduced to ensure that the music can meet the passenger flow needs of different time periods and maintain the music atmosphere in the hotel. Then the system determines whether the noise types in the sound spectrum exceed the preset upper limit of the types to execute the corresponding steps.For example, when the system determines that the types of noise in the sound spectrum exceed the preset upper limit, the system will consider that the noise in the current hotel area will affect the normal playback of background music. The system will confirm the types of noise that exceed the sound spectrum and determine whether these noises are "interfering noises", such as excessive mechanical noise, external noise or excessive human voice interference. If multiple noise types exceed the threshold at the same time, the system will determine the intensity of each noise and the degree of interference to the background music respectively. Noise types with higher intensity or frequent occurrence should be processed first. At the same time, it will analyze whether the noise exceeding the threshold will affect the playback quality of the background music. For example, excessive mechanical noise may cause distortion of the low-frequency part of the music, and too many human voices may cover up the melody of the background music. When the noise type exceeds the threshold, the system will first consider increasing the volume of the background music, especially in areas with strong noise interference. By increasing the volume, the background music can offset some of the interference and ensure that the music can be clearly transmitted to the audience. All areas, and in areas with obvious noise interference, the system can dynamically adjust the style of music according to the type of noise. For example, if there is a large human voice noise, the system can automatically select more penetrating dynamic music. If it is mechanical noise or external noise, the system can select music with more bass or low-frequency volume to enhance the penetration of sound effects. For example, when the system determines that the type of noise in the sound spectrum does not exceed the preset type upper limit, the system will consider that the noise in the current hotel area will not affect the normal playback of background music. The system will dynamically adjust the music rhythm of the background music based on the music style templates pre-set in the hotel area. The music style templates specifically include activity areas, leisure areas and meeting areas. The music rhythm specifically includes dynamic music, soft music and romantic music. The regional coordination of the music rhythm is detected. According to the coordination of different regions, the pre-set resampling is applied to smoothly transition the background music, and the delay transition duration between different areas is adaptively adjusted.The system automatically selects the corresponding music style according to the different functions of the hotel area (activity area, leisure area, conference area). This matching of functional areas and music styles ensures that the background music can be coordinated with the actual use of the area and create an atmosphere that meets the needs of the area. For example, the activity area can play dynamic music to stimulate vitality, the leisure area plays soft music to create a relaxing atmosphere, and the conference area chooses romantic or neutral music to help focus. At the same time, it can dynamically detect environmental changes in the current area, including the flow of people and noise level, and automatically adjust the music rhythm. For example, if the flow of people in the activity area is dense and active, the system automatically switches to a more dynamic music rhythm. On the contrary, if the flow of people decreases, the system can choose a soft rhythm to keep the music consistent with the actual environmental state. In addition, by detecting the coordination of music rhythms in different areas and applying smooth transition technology based on its feedback, seamless sound effect transition between areas is achieved. For example, the system can adaptively adjust the rhythm and style of background music between the activity area and the leisure area to ensure that the sound effects in different areas will not produce abrupt feelings. Through resampling, the sound quality and rhythm of music in different areas are coordinated to avoid breaks or unnatural sound effect changes during music transition. ;

[0021] It should be noted that the regional coordination of the music rhythm is detected, and according to the regional coordination, the background music is smoothly transitioned by applying a preset resampling, and the delay transition duration between different regions is adaptively adjusted. The specific examples are as follows: Assume that there is a large transition area between the hotel lobby (activity area) and the leisure area. The background music in the lobby is fast and dynamic electronic dance music (BPM 130), while the background music in the leisure area is soft jazz (BPM 70). When customers enter the leisure area from the lobby, the change in music rhythm is very obvious. In order to avoid an abrupt feeling, the system needs to achieve a smooth transition through resampling. Analyzing the audio features, the system first detects the electronic dance music in the hall, which has a BPM of 130, high pitch and spectrum, giving people a strong sense of rhythm; the background music in the leisure area is jazz with a BPM of 70, which has a softer tone and a slower rhythm, and the overall atmosphere is more relaxed and quiet; Calculating adjustment parameters, the system determines that the BPM of the hall music needs to be slowed down from 130 to 70 during the transition to fit the atmosphere of the leisure area. At the same time, the system needs to adjust the rhythm through the time stretching algorithm, but ensure that the pitch remains unchanged, so that the high energy of the music gradually weakens. Then resampling is applied, using a time-stretching algorithm to adjust the electronic dance music in the lobby from BPM 130 to BPM 100, so that the tempo of the music gradually slows down, but the pitch remains the same; then, the system further adjusts it from BPM 100 to BPM 70 to adapt to the music style of the lounge area; the system keeps the pitch consistent during the process to avoid unnatural changes caused by too low or too high pitch; Transition effect: In the transition part of the audio, the system uses gradient technology to gradually reduce the volume of the electronic dance music in the hall and introduce the soft jazz music in the leisure area. Through resampling, the transition part of the audio can maintain a smooth transition of rhythm without making customers feel that the music is suddenly interrupted or the sound quality is distorted. When customers enter the leisure area from the lobby, the rhythm of the initial electronic dance music begins to slow down gradually. After a few seconds of transition, the rhythm of the music drops steadily from 130BPM to 70BPM, and finally enters the soft jazz music in the leisure area. The whole process sounds smooth and natural, without obvious rhythm jumps or musical inconsistency. Customers can hardly notice the transition. In summary, the system plays a vital role in the transition of background music through the resampling algorithm. It can smoothly adjust the rhythm and pitch of the music to avoid the discomfort caused by differences in music style or rhythm. By combining time stretching and pitch shifting, the hotel can automatically adjust the background music according to the needs of different areas to enhance the customer's music experience while ensuring the consistency of the overall atmosphere.

[0022] In this embodiment, before collecting the flow of people information of the hotel area and identifying the background noise change of the hotel area according to the flow of people information, the step S3 further includes: S301: Based on the mobile personnel in the hotel area, a preset Kalman filter is applied to track the moving trajectory of the mobile personnel; S302: Determine whether the moving track leaves the hotel area; S303: If not, then count the number of people in the hotel area according to the location information of the mobile personnel, calculate the population density in the hotel area based on the number of people, identify the activity pattern of the population density, and dynamically adjust the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area to reduce the density calculation deviation of the hotel area.

[0023] In this embodiment, the system tracks the movement trajectory of the mobile personnel based on the mobile personnel in the hotel area by applying a pre-set Kalman filter, and then the system determines whether these movement trajectories leave the hotel area to execute corresponding steps; for example, when the system determines that the movement trajectory of the mobile personnel has left the hotel area, the system will consider that the person is no longer in the area where background music adjustment is required, and the system should make corresponding adjustments. The system will synchronously update the real-time personnel in the hotel area. According to the reduction in real-time personnel, it indicates that the demand for background music playback in this area has decreased or disappeared. The system will appropriately adjust the music playback strategy of the area. At the same time, if there are still a small number of people in the area For example, when a person leaves a meeting area, the system may not stop playing the music completely, but may lower the volume. For example, when a person leaves the meeting area, the system may lower the volume according to the needs of the remaining people to maintain the adaptability of the ambient music. When the person leaves, the system may smoothly adjust the music through audio buffering or gradient technology to avoid abrupt sound effect switching. For example, when the background music switches from dynamic electronic music to relaxing jazz, a smooth transition (gradual volume and rhythm) is used so that the customer hardly notices the change. For example, when the system determines that the moving trajectory of the moving person has not left the hotel area, the system will consider that the person is still in the area where the background music is adjusted, but has changed its own Based on the location of the mobile personnel, the system will count the number of people in the hotel area in real time according to the location information of the mobile personnel, calculate the population density in the hotel area based on the number of people, identify the activity pattern of the population density, and dynamically adjust the pre-set compensation algorithm for the population density based on the pre-set obstacle positions and activity patterns of different personnel in the hotel area to reduce the density calculation deviation of the hotel area; the system can dynamically adjust the volume and rhythm of the background music according to actual needs based on the calculated population density. For example, areas with a large population density (such as meeting areas or halls) can play higher volume and more dynamic music, while areas with a small population density (such as rest areas or walkways) can play lower volume and more dynamic music. At the same time, by combining the density of people and activity patterns in different areas, the background music can better meet customer needs. For example, when a large number of guests suddenly flock to an area (such as a restaurant), the system will automatically increase the volume and rhythm according to the density to enhance the atmosphere. When the people leave, the volume will be appropriately reduced to avoid the music being too noisy. In addition, due to the mobility of people, the environment of the hotel area will continue to change. By tracking the activities of people in real time and combining the obstacle data and changes in the density of people in the environment, the system can flexibly respond to each change and optimize the playback of music to ensure that the quality of music remains consistent regardless of how the personnel change.

[0024] It should be noted that based on the mobile personnel in the hotel area, a preset Kalman filter is applied to track the moving trajectory of the mobile personnel. The specific example is as follows: Suppose a large meeting is being held in the lobby of a hotel. The system needs to use Kalman filtering to track the movement of participants in real time. In order to ensure that the volume of the background music can be adjusted to the density and distribution of people in the lobby, the system needs to accurately understand the location and movement of each participant. Initialization,At the beginning of the meeting, the thermal sensor detects the entry of participants and confirms their location through video surveillance;,for example, when a participant enters the hall, the system records his initial location,assuming that his location is , the speed is 0; at this time, the Kalman filter initializes its state (position, speed) through this data and starts working; In the prediction phase, assuming that the conference hall is large and participants walk roughly along a fixed route in the hall, the system uses Kalman filtering to predict its current state based on the state at the previous moment (such as the previous position and speed); for example, assuming that the estimated position at the previous moment is , the speed is v, the system will predict the position of the person at the next moment ; Observation update: Through real-time sensor data (such as thermal sensing or video surveillance), the system will obtain the new location of the person; for example, the sensor shows that the current actual observation value is ; Since sensor data may contain errors (e.g. due to temporary occlusion or viewing angle issues), the actual position With predicted position There may be deviations; Filter update: The Kalman filter calculates the error between the predicted position and the actual observed position (called "innovation"), and then feeds this error back to the prediction model to correct the actual position of the person. The Kalman filter adjusts the current predicted position and speed according to the size of the error, and finally outputs a more accurate position of the person. Trajectory tracking: As a person moves, the system continuously updates their location based on predictions and observations; for example, as a person continues to move, the system continues to track their movement trajectory and updates their specific location; In the final application, by accurately tracking the location of people, the system can calculate the density of people in the hall in real time, and dynamically adjust the volume and rhythm of the background music accordingly; for example, when the density of people in a certain area increases, the system can automatically increase the volume of music in that area; when the flow of people is relatively sparse, the music volume will automatically decrease.

[0025] It should be supplemented that the activity pattern of the personnel density is identified, and based on the preset obstacle positions and the activity pattern in the hotel area, the preset compensation algorithm for the personnel density is dynamically adjusted to reduce the density calculation deviation of the hotel area. The specific examples are as follows: An international conference was held in a hotel's conference hall. Participants needed to stay and interact in the hall, which was designed with large conference tables, display boards, and other obstacles (such as pillars, temporary display boards, etc.). To ensure that the volume and rhythm of the background music matched the activities of people in the hall, the system needed to accurately estimate the density of people. Identification of personnel activity patterns. Through thermal sensors and video surveillance, the system detects the activity patterns of personnel in the hall: some areas (such as in front of the podium) are densely populated and static, while other areas (such as the interactive area for participants) show a flow pattern, with people moving frequently and at a faster speed; Consider obstacles. There are many large tables and display boards in the conference hall. These obstacles will hinder the flow of people. The system can identify these obstacles and adjust the density calculation according to the location of the obstacles. For example, in areas with more obstacles, the system will think that the actual range of people is smaller, thereby improving the density estimate of the area. Dynamic adjustment of the compensation algorithm. In dense areas (such as front seats), the system uses a lower density calculation weight because most people are stationary and the dynamic density is low. In flow areas (such as corridors and rest areas), the system uses a higher density calculation weight because although the number of people is small, they are moving frequently, so the dynamic density is high. The system also adjusts the density calculation weights of different areas according to the layout of obstacles. For example, in an area with a large table, people will be confined around the table, and the system increases the "density attenuation coefficient" of the area. The density calculation results are optimized. After dynamic compensation, the system accurately estimates the actual density of people in different areas of the conference hall, avoiding deviations caused by obstacles or different activity patterns. For example, the system avoids misjudging areas with few but frequent people as low density, and also avoids misjudging areas with many stationary people as too high density. Background music adjustment: Based on these precise crowd density data, the background music system can automatically adjust the volume and rhythm of the music. For example, in a mobile area, the system may increase the volume of the background music to cover more people; while in a dense area, it may reduce the volume or change the rhythm to avoid the music being too noisy and affecting communication. In summary, the system can eliminate the calculation deviation caused by activity patterns and obstacles by dynamically adjusting the compensation algorithm, thereby ensuring a more accurate estimation of the population density in the hotel area. In this way, the background music system can better adapt to changes in the actual environment and provide guests with a more comfortable listening experience.

[0026] In this embodiment, the step S5 of adaptively adjusting the delay transition duration between different areas further includes: S51: Identify the temporary division area of ​​the hotel area, and collect the external music types played in the adjacent area from the temporary division area; S52: Determine whether the external music type matches the temporary purpose of the temporary divided area; S53: If not, then collect the fluctuating decibel value of the external music in the temporarily divided area, and dynamically adjust the music gradient effect in the temporarily divided area based on the fluctuating decibel value, and balance the interference decibel of the external music in the temporarily divided area according to the music gradient effect.

[0027] In this embodiment, the system identifies the temporarily divided areas of the hotel area, collects the type of external music played in the adjacent areas from the temporarily divided areas, and then the system determines whether the external music type matches the temporary use of the temporarily divided areas to execute the corresponding steps; for example, when the system determines that the type of external music played in the adjacent areas can match the temporary use of the temporarily divided areas, the system will consider that the music requirements of the current temporarily divided areas are consistent with the music types of the adjacent areas, and can meet the atmosphere and functional requirements of the area. The system will continue to ensure the coordination and smooth transition of music styles between different areas to avoid the destruction of the environmental atmosphere due to music mismatch, because if the external music types match, the system avoids unnecessary music switching operations, which can save energy and improve system efficiency. At the same time, it ensures the coordination of the volume of adjacent areas to avoid conflicts in background music in different areas. For example, the volume switching between activity areas with faster music rhythms and leisure areas that require a quiet atmosphere should be as smooth as possible, and the effect of music playback in the area and the feedback from guests are monitored in real time. If the background music in the temporary area is found to be inappropriate (for example, the guest does not like the current music style or the environment is too noisy), the system should automatically adjust the music type, rhythm and volume based on data analysis; for example, when the system determines that the type of external music played in the adjacent area cannot match the temporary purpose of the temporarily divided area, the system will consider that the music demand of the current temporarily divided area is inconsistent with that of the adjacent area, and the system will collect the fluctuating decibel values ​​of the external music in the temporarily divided area, and dynamically adjust the music gradient effect in the temporarily divided area based on different fluctuating decibel values, and balance the interference decibels of the external music in the temporarily divided area according to the music gradient effect; the system can effectively balance the noise interference between different areas by collecting the fluctuating decibel values ​​in real time and automatically adjusting the gradient effect according to the changes in the music, thereby reducing the interference of background music on guests and improving the user experience. At the same time, through smooth transition and volume gradient, the system can keep the music in the temporarily divided area consistent with that in the area. The functional requirements of the domain are consistent, while reducing the inharmonious feeling of music in adjacent areas, maintaining the continuity of sound effects and consistency of atmosphere in the hotel area. Even if the external music does not completely match the needs of the temporary area, the gradual transition of music can make the guest experience more comfortable, avoid abrupt volume changes, and can be adjusted according to the real-time fluctuating decibel value. The music can also be dynamically adjusted according to other changing factors in the environment (such as traffic flow, personnel activities, etc.). By real-time analysis and feedback of music fluctuations in different areas, the system can flexibly optimize the background music playback strategy according to the environmental changes of the temporary area and adjacent areas, and avoid music conflicts between areas to the greatest extent. Through precise volume adjustment, the system can dynamically adjust the intensity of music playback in different areas to avoid unnecessary waste of music playback. Especially in temporary areas, the system can make fine adjustments according to the needs of different volumes and rhythms to achieve the best music playback effect and avoid energy waste.

[0028] It should be noted that the fluctuating decibel value of the external music in the temporary divided area is collected, and based on the fluctuating decibel value, the music gradient effect in the temporary divided area is dynamically adjusted. According to the music gradient effect, the interference decibel of the external music in the temporary divided area is balanced. The specific examples are as follows: Suppose that on the first floor of a hotel, there is a banquet area with cheerful and dynamic background music playing; on the other side adjacent to it is a temporarily divided conference area, where an important business meeting is currently taking place; The problem is that the dynamic music in the banquet area outside is loud and fast, which may make the guests in the conference area feel uncomfortable and unable to concentrate on discussing matters. The system needs to improve the environment of the conference area by balancing the interference. First, the system collects the fluctuating decibel values ​​of the external music. The system monitors the music volume in the banquet area in real time through the volume sensors set up in the conference area. By analyzing these data, the system finds that the music volume in the banquet area suddenly increases, especially in the bass frequency part during a certain period of time, causing obvious interference. The music gradient effect is dynamically adjusted based on the fluctuating decibel value. Once the music volume in the banquet area is detected to exceed the preset threshold, the system will start the gradient adjustment mechanism; the specific adjustments include: Volume attenuation: The system automatically reduces the low-frequency part of the banquet area volume to reduce the influence of bass, which can reduce vibration and sound penetration; Spectrum adjustment: enhance the high frequency part and reduce the output of the low frequency part to prevent the sound from penetrating the wall to the meeting area; Rhythm change: When the music in the banquet area is too fast, the system will slightly slow down the rhythm to avoid the overly noisy sound rhythm affecting the atmosphere of the meeting; Balance the decibel level of external music interference. After these adjustments, the volume in the banquet area will become more moderate, and interference will be reduced; the impact of music in the meeting area is minimized, and when the meeting continues, guests are no longer disturbed by external music, and a better environment atmosphere can be maintained; In summary, through real-time collection and dynamic adjustment of the decibel fluctuations of external music, the system has effectively balanced the sound effects in the conference area and optimized the guest experience. At the same time, the dynamic music in the banquet area has not been completely stopped, but has been adjusted according to the surrounding environment, so that the needs of the two areas have been coordinated.

[0029] In this embodiment, according to the change of the background noise, the sound spectrum of the hotel area is generated, and the step S3 of classifying the corresponding noise types from the sound spectrum further includes: S31: dividing the continuous audio signal with background noise changes into a number of small frames, acquiring frequency domain information of the number of small frames based on preset durations of the number of small frames, and extracting corresponding spectrum features from the frequency domain information; S32: Determine whether the frequency spectrum feature matches the noise type; S33: If yes, then calculate the noise intensity of the spectrum feature in different frequency bands, generate energy distribution data of the signal frequency region according to the noise intensity, and identify the dominant frequency of the noise intensity according to the energy distribution data.

[0030] In this embodiment, the system divides the continuous audio signal of the background noise change into a number of small frames, obtains the frequency domain information of these several small frames based on the preset time length of the several small frames, extracts the corresponding spectral features from the frequency domain information, and then the system determines whether the spectral features match the noise type to execute the corresponding steps; for example, when the system determines that the spectral features corresponding to the frequency domain information cannot match the noise type, the system will consider that the characteristics of the current noise are inconsistent with the preset noise type. This situation may mean that the system is facing a new noise source, or the noise type exceeds the preset classification range. The system will automatically update or expand the noise type classification based on the continuously monitored spectral features, add the new noise pattern to the noise library of the system, and enable the anomaly detection module at the same time to compare the known noise type with the current spectral features. If there is a significant difference, it can be marked as abnormal noise. The system detects and processes the sound, and temporarily adjusts the volume or music style of the background music to a neutral or gentle mode to avoid further interference with the environment. For example, when the system determines that the spectrum characteristics corresponding to the frequency domain information can match the noise type, the system will consider that the characteristics of the current noise are consistent with the preset noise type. The system will calculate the noise intensity of the spectrum characteristics in different frequency bands, and generate energy distribution data in the signal frequency area according to the different noise intensities. Based on these energy distribution data, the dominant frequency of the noise intensity is identified. The system calculates the noise intensity of the spectrum characteristics in different frequency bands and generates energy distribution data, so as to understand the distribution characteristics of the noise more accurately. Each type of noise (such as human voice, mechanical equipment noise, external environmental noise, etc.) usually has different intensity and frequency characteristics in a specific frequency band. For example, human voice may be more prominent in the mid-frequency band, while mechanical noise may be more significant in the low-frequency band. By identifying the dominant frequency of noise intensity, the system can clearly understand the source and impact of the noise. At the same time, by identifying the dominant frequency of noise, the system can adjust the spectrum of background music in a targeted manner. For example, if the system recognizes that the mechanical noise in the hotel area is stronger in the low-frequency band, the system can effectively avoid the overlap of the frequency bands of noise and music by adjusting the low-frequency part of the background music (for example, reducing the volume of the low-frequency part or enhancing the high-frequency part), thereby ensuring the comfort and clarity of the background music. After identifying the dominant frequency of noise intensity, the system can dynamically adjust the rhythm, volume or sound quality of the music, especially for areas overlapping with the noise frequency band, to reduce the interference of noise to guests. This can effectively improve the comfort of the hotel environment and ensure the coordination of background music and ambient noise.

[0031] It should be noted that the noise intensity of the spectrum feature in different frequency bands is calculated, and energy distribution data of the signal frequency region is generated according to the noise intensity. Based on the energy distribution data, the dominant frequency of the noise intensity is identified. The specific examples are as follows: Assume that the system captures a 10-second background noise signal from a noise sensor in the restaurant area of ​​a hotel. This noise signal is a mixed signal that contains multiple noise sources. The system will analyze this noise in real time. First, the noise signal is converted into frequency domain information. The system converts the collected 10-second time domain noise signal into frequency domain information through Fourier transform. At this time, the system can obtain a series of frequency data points, which represent the intensity of noise in different frequency bands. Low frequency band (20Hz-500Hz): This frequency band mainly contains lower frequency noise, usually from low-frequency noise in kitchen operations (such as the knocking of pots, machine bass, etc.); Mid-frequency band (500Hz-2000Hz): This frequency band usually contains human voice frequencies, and the conversations between customers will be concentrated in this frequency band; High frequency band (2000Hz-5000Hz): This frequency band may include the sound of tableware colliding, the sound of glasses colliding, etc. Then the noise intensity is calculated. The system calculates the noise intensity of each frequency band based on the spectrum data obtained by Fourier transform and obtains the amplitude value of each frequency band. By integrating the amplitude values ​​of each frequency band, the system can calculate the noise intensity of each frequency band. Assume that the noise intensity of the system is calculated as follows: Low-frequency noise intensity: -30 dB (low-frequency noise from the kitchen) Mid-band noise level: -25 dB (from customer conversation) High-frequency noise intensity: -40 dB (from tableware collision) Then, the energy distribution data is generated. According to the noise intensity of each frequency band, the system will generate an energy distribution diagram to reflect the noise energy of each frequency band. Since the mid-frequency band (500Hz-2000Hz) has a higher noise intensity, the system will identify this frequency band as the dominant frequency band of noise. The energy distribution data generated by the system is as follows: Low frequency energy distribution: 30% of the total energy Mid-frequency energy distribution: 50% of the total energy High frequency energy distribution: 20% of the total energy Then the dominant frequency of the noise is identified. By analyzing the spectrum, the system finds that the mid-frequency band (500Hz-2000Hz) has the maximum energy and identifies it as the dominant frequency. The system will classify the noise source in this frequency band as "human voice-related noise" and generate the corresponding dominant frequency data in this frequency band. After knowing that the dominant frequency is the noise in the mid-frequency band, the system will take adjustment measures. In order to cover up the human voice noise and create a more comfortable atmosphere, the system can enhance the mid-frequency band of the background music and adjust the rhythm of the background music. For example, Increase the volume of the mid-frequency band: By adjusting the equalizer of the audio equipment, the volume of the mid-frequency band can be increased to balance the human voice noise in the restaurant; Change the type of music: If the background music in the restaurant is soft, the system may switch to playing slightly more dynamic music to fill in the mid-range noise; Finally, the system dynamically balances the interference of noise and music. It can also gradually transition the music according to the balance between noise intensity and background music. For example, when the noise of tableware collision suddenly increases, the system can quickly automatically increase the high frequency band of the background music to reduce the interference of tableware collision sound and ensure that customers are not affected by noise. In summary, the system can perform feedback adjustments through the above process and can accurately identify the main noise sources and their frequency characteristics in the restaurant. At the same time, by analyzing the spectral characteristics, the system identifies the main noise frequency bands (such as conversation sounds in the mid-frequency band), and according to the dominant frequency of the noise, the system automatically adjusts the background music and enhances certain frequency bands to cover up the noise and create a more harmonious environment.

[0032] In this embodiment, the step S2 of determining whether the coverage decibel data reaches the preset decibel threshold of the hotel area further includes: S21: Calculate the real-time decibel value in each time window based on the preset microphone array in the hotel area, wherein the real-time decibel value specifically includes the average decibel, the maximum decibel and the minimum decibel; S22: Determine whether the duration of the real-time decibel value reaches a preset period; S23: If not, then collect the instantaneous decibel of the real-time decibel value through the time window, trigger a preset noise exceeding event based on the instantaneous decibel, and mark the corresponding exceeding attributes from the noise exceeding event, wherein the exceeding attributes specifically include the exceeding time period, duration and exceeding amplitude.

[0033] In this embodiment, the system calculates the real-time decibel value in each time window based on the microphone array pre-installed in the hotel area. The real-time decibel value specifically includes the average decibel, the maximum decibel and the minimum decibel. Then the system determines whether the duration of these real-time decibel values ​​reaches a preset time period to execute the corresponding steps; for example, when the system determines that the duration of the real-time decibel value in a certain time window can reach the preset time period, the system will consider that the background music in the hotel area can be played continuously, and the system will continue to monitor the real-time decibel value to prevent the noise from changing in the subsequent time window. If the noise value exceeds the predetermined range or continues to increase, the system will monitor the real-time decibel value. The system can adjust the background music playback strategy in time and adjust the background music to a stable mode to maintain a consistent volume, style and rhythm. For example, in the restaurant area, the volume of the background music can be set to a moderate level to ensure that the music covers all areas and is coordinated with the environment. The volume of the background music can be dynamically adjusted according to the average decibel value calculated in real time. For example, when the decibel value is low, the system can appropriately increase the volume of the background music to cover the entire area, while when the noise level is high, the system may appropriately reduce the volume to avoid the music being too abrupt or conflicting with the environment. For example, when the system determines that the real-time decibel value within a certain time window is If the duration of the value does not reach the preset time period, the system will think that the background music in the hotel area is difficult to play continuously and there is noise affecting the normal playback of the background music. The system will collect the instantaneous decibel of the real-time decibel value through the time window, and trigger the preset noise exceeding event according to the different instantaneous decibels. The corresponding exceeding attribute is marked from the noise exceeding event. The exceeding attribute specifically includes the exceeding time period, duration and exceeding amplitude. By collecting real-time decibel values ​​and analyzing their instantaneous changes, the system can promptly identify the sudden increase or abnormal fluctuation of the noise level, and mark and record the noise exceeding event (such as exceeding time period, duration and exceeding amplitude). degree), can help hotel managers track and locate noise interference sources, provide more accurate noise data, and by timely identifying noise interference, the system can optimize the background music playback effect to make it more in line with customer needs and environmental conditions. Continuous background music will not affect the customer experience due to sudden noise interference, thereby improving the overall atmosphere of the hotel and enhancing customer comfort. In addition, by collecting relevant data on noise exceeding the standard over a long period of time, the system can generate a trend analysis report on noise management to help hotel managers better understand the source of noise and changing trends, which will help to make better facility planning, environmental design and sound system optimization in the future.

[0034] It should be noted that, through the time window, the instantaneous decibel of the real-time decibel value is collected, and according to the instantaneous decibel, a preset noise exceeding standard event is triggered, and the corresponding exceeding standard attribute is marked from the noise exceeding standard event. The specific examples are as follows: Assume that in a hotel's conference room area, the background music is disturbed by external noise (such as noise from kitchen equipment, external traffic noise, etc.) during a certain period of time. The hotel system sets a noise threshold of 70 decibels. When the noise exceeds this value, the system will automatically record and process it. Assume that the system collects real-time decibel data every 10 seconds and calculates the instantaneous decibel value; for example, within a certain period of time, the system collects the following decibel data (unit: dB): 12:00:00: 68 dB; 12:00:10: 72 dB; 12:00:20: 74 dB; 12:00:30: 75 dB; 12:00:40: 76 dB; 12:00:50: 73 dB; Trigger a noise exceeding standard event. Within the time window (every 10 seconds), if the instantaneous decibel exceeds the set noise threshold (assuming the threshold is 70 dB), the system will automatically trigger a noise exceeding standard event. In the time period from 12:00:10 to 12:00:50, all decibel values ​​exceeded 70 dB, so the system considered that the noise level exceeded the standard during this period and marked the exceeding standard attribute; Exceeding time period: The system will record the specific time period when the noise exceeds the standard, such as "12:00:10 to 12:00:50"; Duration: The system will calculate and record the duration of the exceeding event, for example: "40 seconds"; Exceeding standard range: The system calculates the difference between each instantaneous decibel value and the threshold. For example, at 12:00:10, the instantaneous decibel is 72dB, which exceeds the threshold by 70dB, and the exceeding standard range is 2dB; at 12:00:20, the instantaneous decibel is 74dB, and the exceeding standard range is 4dB, and so on; Based on the recorded exceeding attributes, the system can trigger corresponding response measures during the noise exceeding period; for example, the system may adjust the volume of background music, pause music playback, or adjust the type of background music to reduce the impact of noise on customers; the system will also generate a noise interference report for hotel management to review, which may include the exceeding period, duration, exceeding range, and possible interference sources (such as kitchen, traffic, etc.); In summary, the system can help hotels identify noise problems in real time through instantaneous decibel collection based on time windows, triggering of noise exceeding standard events and marking of exceeding standard attributes, and respond through detailed noise data. This can not only optimize the playback effect of background music, but also improve the accuracy of environmental management, provide hotels with scientific noise control solutions, and enhance customer comfort and satisfaction.

[0035] In this embodiment, the step S4 of determining whether the noise type exceeds a preset upper limit of the type further includes: S41: identifying the direction source of the noise type in the hotel area based on a directional sensor preset in the hotel area; S42: Determine whether the direction source is within a preset range of the hotel; S43: If not, a corresponding noise source is generated from the hotel terminal, and the noise signal strength calculated by the directional sensor is calculated according to the noise source. The upper limit of the volume of the background music is dynamically adjusted according to the noise signal strength and the size of the hotel area.

[0036] In this embodiment, the system identifies the direction source of the noise type in the hotel area based on the directional sensor pre-set in the hotel area, and then the system determines whether the direction source is within the preset range of the hotel to execute the corresponding steps; for example, when the system determines that the direction source of the noise type in the hotel area is not within the preset range of the hotel, the system will consider that the noise source comes from outside the hotel area, or exceeds the effective monitoring range set in the hotel area. The system will combine the direction of the noise source with its source to further optimize the noise control strategy of the hotel. If it is found that the noise control system in the hotel area often captures noise sources that do not belong to the hotel, it is necessary to re-evaluate the coverage of the directional sensor, adjust the configuration of the sensor, so that it can more accurately identify and filter out external noise, and automatically generate a noise report to record the direction source, intensity, duration of the noise, and whether it has an impact on the internal environment of the hotel. The hotel management team can analyze the noise impact of the external environment through the report and adjust or optimize the hotel's operations as needed; for example, when the system determines that the direction source of the noise type in the hotel area is within the preset range of the hotel, the system will consider that the noise source comes from the hotel area, and the system will generate a corresponding noise source at the hotel terminal, and calculate the noise signal strength calculated by the directional sensor according to the noise source. The system can dynamically adjust the upper limit of the background music volume according to the different noise signal strengths and the size of the hotel area; the system can identify the noise source in the hotel area through directional sensors, and judge whether it needs to affect the volume adjustment of the background music according to the strength of the noise source. If the noise source comes from a specific area in the hotel (such as the kitchen, laundry room, etc.), the system can accurately judge and automatically adjust the background music volume in the nearby area to avoid excessive noise affecting the customer experience. At the same time, considering the size of different hotel areas, the system can dynamically adjust the upper limit of the volume according to the relationship between the noise signal strength and the area size. For example, in a smaller area (such as a small meeting room or a private space), the noise is relatively When the noise level is low, the background music volume will be low. In a larger area (such as a lobby or banquet hall) when the noise is strong, the system will increase the volume appropriately to ensure that the music covers the entire area and prevent external noise from interfering with the customer experience. The system will also perform personalized music adjustments by detecting the noise source and its intensity. The background music playback modes in different areas and environments will better meet customer needs. For example, in quiet areas (such as the hotel's quiet corridors or study rooms), the background music will remain at a low volume, while in some activity areas (such as the hotel's dance floor, banquet hall, etc.), the volume will increase appropriately with changes in the noise source, ensuring that every customer can get the best background music experience in different areas.

[0037] In this embodiment, based on the volume sensor preset in the hotel area, the step S1 of detecting the coverage decibel data of the hotel area within a preset distance further includes: S11: Based on the decibel data pre-collected in the hotel area, distinguishing corresponding noise data from the decibel data; S12: Determine whether the noise data is synchronously collected to the hotel terminal; S13: If not, filtering out preset non-target noise from the noise data according to a frequency range preset by the hotel terminal, and generating a noise intensity distribution map of the hotel area, wherein the non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise.

[0038] In this embodiment, the system distinguishes the corresponding noise data from the decibel data pre-collected in the hotel area, and then the system determines whether the noise data is synchronously collected to the hotel terminal to execute the corresponding steps; for example, when the system determines that the noise data in the decibel data can be synchronously collected to the hotel terminal, the system will consider that the noise information has been accurately captured and successfully transmitted to the hotel terminal for processing. The system will analyze whether the noise will affect the hotel environment. If the noise exceeds the preset noise threshold, the system will start the automatic noise management mechanism, such as adjusting the background music volume, starting noise suppression measures, etc. For example, when the noise comes from the guest room corridor or conference room, the system may automatically increase the volume of the background music, or start the environmental noise isolation device. At the same time, based on the synchronous update of the noise data, the background music of each area of ​​the hotel is adjusted. For example, if the noise in a certain area reaches a certain intensity, the system can automatically increase the background music volume of the area to balance the impact of the environmental noise on the customers. On the contrary, if the noise is low, the background music volume can be lowered to maintain a quiet and comfortable environment, and respond when the noise data is initially identified and synchronized. It can also continuously monitor the noise changes and optimize according to the change trend. For example, the noise in an area The sound intensity fluctuates in different time periods, and the system can automatically adjust the noise management strategy to ensure long-term comfort and environmental quality. For example, when the system determines that the noise data in the decibel data cannot be synchronously collected to the hotel terminal, the system will think that the noise information cannot be captured. The system will filter out the pre-set non-target noise from the noise data according to the pre-set frequency range of the hotel terminal. The non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise, and generate a noise intensity distribution map of the hotel area. By filtering out long-distance noise, reflection noise and electrical interference noise, the system can ensure that only noise data related to the hotel area is processed, which helps to eliminate unnecessary noise interference and avoid misjudgment or erroneous noise source analysis, thereby improving data accuracy and noise analysis accuracy. At the same time, when the noise information cannot be fully synchronized, the system can still obtain a rough noise distribution through filtering and data processing, which allows the system to continuously monitor the hotel environment and respond in the absence of complete noise data, such as dynamically adjusting the volume of background music or turning on noise suppression equipment, thereby ensuring that the customer's comfort is not affected, and by filtering out unnecessary noise types, the system can reduce the amount of data that needs to be processed. This not only reduces the burden of computing and storage, but also increases the speed of data processing, ensuring the efficiency of real-time monitoring and adjustment, especially in a multi-zone, multi-sensor hotel environment, reducing the interference of non-target noise, and helping to make decisions more quickly and accurately.

[0039] Reference Figure 2 , is an intelligent distribution system for hotel regional background music in one embodiment of the present invention, comprising: The detection module 10 is used to detect the coverage decibel data of the hotel area within a preset distance based on the volume sensor preset in the hotel area; A determination module 20, configured to determine whether the coverage decibel data reaches a preset decibel threshold of the hotel area; The execution module 30 is used to activate the thermal induction sensor preset in the hotel area if no, collect the flow of people information in the hotel area, identify the background noise change in the hotel area according to the flow of people information, generate the sound spectrum of the hotel area according to the background noise change, and classify the corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice related noise, mechanical equipment noise and external environmental noise; A second judgment module 40 is used to judge whether the noise type exceeds a preset type upper limit; The second execution module 50 is used to dynamically adjust the music rhythm of the background music based on the preset music style template of the hotel area if it has not been exceeded, detect the regional coordination of the music rhythm, apply preset resampling to smoothly transition the background music according to the regional coordination, and adaptively adjust the delayed transition duration between different areas, wherein the music style template specifically includes an activity area, a leisure area and a meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

[0040] In this embodiment, the detection module 10 detects the covered decibel data in the hotel area within a preset distance based on the volume sensor pre-installed in the hotel area, and then the judgment module 20 judges whether these covered decibel data reach the pre-set decibel threshold of the hotel area to execute the corresponding steps; for example, when the system determines that the covered decibel data in the hotel area has reached the pre-set decibel threshold, the system will believe that the background music currently played in the hotel area has been able to spread to every corner of the hotel area, and the system can adjust the style of the background music according to the current environment and regional use. For example, if the area is in a leisure state, the system can switch to soft or romantic music, and if it is in an activity area, the system can be adjusted to dynamic or rhythmic music. Play faster music to adapt to the atmosphere requirements of different environments, and check whether the noise in the surrounding environment will affect the music experience. If the environmental noise (such as human voice, mechanical equipment, etc.) is more significant, the system will further adjust the volume or music type to avoid affecting the clarity of the background music, and monitor and feedback in real time, continuously track the volume and noise data of the hotel area. If there is a sudden change in the environment, the system can respond in time and readjust the volume or music style to ensure that the music is always coordinated with the environment; for example, when the system determines that the covered decibel data in the hotel area does not reach the preset decibel threshold, the execution module 30 will think that the background music currently played in the hotel area cannot be spread throughout the hotel area, and the system will Activate the pre-set thermal induction sensors in the hotel area to collect the flow of people in the hotel area. According to the flow of people information, identify the changes in the background noise in the hotel area. According to the different changes in background noise, generate the sound spectrum of the hotel area, and divide the corresponding noise types from the sound spectrum. The noise types specifically include human voice-related noise, mechanical equipment noise and environmental external noise. The system can identify and classify background noise by analyzing different types of noise (such as human voice-related noise, mechanical equipment noise and external noise) to avoid the influence of noise interfering with music playback. Each noise type will have a different processing method, which helps to adjust the appropriate volume or music style in high-noise areas to maintain the clarity and comfort of background music. At the same time, according to the detected noise The system generates a sound spectrum and classifies the noise, which helps to understand the audio conditions of the current environment in more detail. This information can provide more accurate data support for subsequent background music adjustments. For example, when the noise is too loud, the system can automatically increase the volume of the music or select a more penetrating type of music. Based on the real-time pedestrian flow data, the system can determine whether a certain area needs to adjust the volume or rhythm of the music due to changes in pedestrian flow. For example, when the flow of people is dense, the volume can be appropriately increased, otherwise it can be appropriately reduced to ensure that the music can meet the passenger flow needs of different time periods and maintain the music atmosphere in the hotel. Then the second judgment module 40 determines whether the noise type in the sound spectrum exceeds the preset type upper limit to execute the corresponding steps;For example, when the system determines that the types of noise in the sound spectrum exceed the preset upper limit, the system will consider that the noise in the current hotel area will affect the normal playback of background music. The system will confirm the types of noise that exceed the sound spectrum and determine whether these noises are "interfering noises", such as excessive mechanical noise, external noise or excessive human voice interference. If multiple noise types exceed the threshold at the same time, the system will determine the intensity of each noise and the degree of interference to the background music respectively. Noise types with higher intensity or frequent occurrence should be processed first. At the same time, it will analyze whether the noise exceeding the threshold will affect the playback quality of the background music. For example, excessive mechanical noise may cause distortion of the low-frequency part of the music, and too many human voices may cover up the melody of the background music. When the noise type exceeds the threshold, the system will first consider increasing the volume of the background music, especially in areas with strong noise interference. By increasing the volume, the background music can offset some of the interference and ensure that the music can be clearly transmitted to all areas. domain, and in areas with obvious noise interference, the system can dynamically adjust the style of music according to the type of noise. For example, if there is a large human voice noise, the system can automatically select more penetrating dynamic music. If it is mechanical noise or external noise, the system can select music with more bass or low-frequency volume to enhance the penetration of sound effects. For example, when the system determines that the type of noise in the sound spectrum does not exceed the preset type upper limit, the second execution module 50 will think that the noise in the current hotel area will not affect the normal playback of background music. The system will dynamically adjust the music rhythm of the background music based on the music style template pre-set in the hotel area, which specifically includes the activity area, the leisure area and the meeting area. The music rhythm specifically includes dynamic music, soft music and romantic music, detect the regional coordination of the music rhythm, and apply the pre-set resampling according to the different regional coordination to smoothly transition the background music, and adaptively adjust the delay transition time between different areas.The system automatically selects the corresponding music style according to the different functions of the hotel area (activity area, leisure area, conference area). This matching of functional areas and music styles ensures that the background music can be coordinated with the actual use of the area and create an atmosphere that meets the needs of the area. For example, the activity area can play dynamic music to stimulate vitality, the leisure area plays soft music to create a relaxing atmosphere, and the conference area chooses romantic or neutral music to help focus. At the same time, it can dynamically detect environmental changes in the current area, including the flow of people and noise level, and automatically adjust the music rhythm. For example, if the flow of people in the activity area is dense and active, the system automatically switches to a more dynamic music rhythm. On the contrary, if the flow of people decreases, the system can choose a soft rhythm to keep the music consistent with the actual environmental state. In addition, by detecting the coordination of music rhythms in different areas and applying smooth transition technology based on its feedback, seamless sound effect transition between areas is achieved. For example, the system can adaptively adjust the rhythm and style of background music between the activity area and the leisure area to ensure that the sound effects in different areas will not produce abrupt feelings. Through resampling, the sound quality and rhythm of music in different areas are coordinated to avoid breaks or unnatural sound effect changes during music transition. ;

[0041] In this embodiment, it also includes: A tracking module, used for tracking the moving trajectory of the moving personnel in the hotel area by applying a preset Kalman filter; A third judgment module is used to judge whether the movement track leaves the hotel area; The third execution module is used for, if not, counting the number of people in the hotel area according to the location information of the mobile personnel, calculating the population density in the hotel area based on the number of people, identifying the activity pattern of the population density, and dynamically adjusting the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area, so as to reduce the density calculation deviation of the hotel area.

[0042] In this embodiment, the system tracks the movement trajectory of the mobile personnel based on the mobile personnel in the hotel area by applying a pre-set Kalman filter, and then the system determines whether these movement trajectories leave the hotel area to execute corresponding steps; for example, when the system determines that the movement trajectory of the mobile personnel has left the hotel area, the system will consider that the person is no longer in the area where background music adjustment is required, and the system should make corresponding adjustments. The system will synchronously update the real-time personnel in the hotel area. According to the reduction in real-time personnel, it indicates that the demand for background music playback in this area has decreased or disappeared. The system will appropriately adjust the music playback strategy of the area. At the same time, if there are still a small number of people in the area For example, when a person leaves a meeting area, the system may not stop playing the music completely, but may lower the volume. For example, when a person leaves the meeting area, the system may lower the volume according to the needs of the remaining people to maintain the adaptability of the ambient music. When the person leaves, the system may smoothly adjust the music through audio buffering or gradient technology to avoid abrupt sound effect switching. For example, when the background music switches from dynamic electronic music to relaxing jazz, a smooth transition (gradual volume and rhythm) is used so that the customer hardly notices the change. For example, when the system determines that the moving trajectory of the moving person has not left the hotel area, the system will consider that the person is still in the area where the background music is adjusted, but has changed its own Based on the location of the mobile personnel, the system will count the number of people in the hotel area in real time according to the location information of the mobile personnel, calculate the population density in the hotel area based on the number of people, identify the activity pattern of the population density, and dynamically adjust the pre-set compensation algorithm for the population density based on the pre-set obstacle positions and activity patterns of different personnel in the hotel area to reduce the density calculation deviation of the hotel area; the system can dynamically adjust the volume and rhythm of the background music according to actual needs based on the calculated population density. For example, areas with a large population density (such as meeting areas or halls) can play higher volume and more dynamic music, while areas with a small population density (such as rest areas or walkways) can play lower volume and more dynamic music. At the same time, by combining the density of people and activity patterns in different areas, the background music can better meet customer needs. For example, when a large number of guests suddenly flock to an area (such as a restaurant), the system will automatically increase the volume and rhythm according to the density to enhance the atmosphere. When the people leave, the volume will be appropriately reduced to avoid the music being too noisy. In addition, due to the mobility of people, the environment of the hotel area will continue to change. By tracking the activities of people in real time and combining the obstacle data and changes in the density of people in the environment, the system can flexibly respond to each change and optimize the playback of music to ensure that the quality of music remains consistent regardless of how the personnel change.

[0043] In this embodiment, the second execution module further includes: An identification unit, used for identifying the temporary division area of ​​the hotel area, and collecting the type of external music played in the adjacent area from the temporary division area; A judging unit, used for judging whether the external music type matches the temporary purpose of the temporarily divided area; The execution unit is used to collect the fluctuating decibel value of the external music in the temporarily divided area if not, dynamically adjust the music gradient effect in the temporarily divided area based on the fluctuating decibel value, and balance the interference decibel of the external music in the temporarily divided area according to the music gradient effect.

[0044] In this embodiment, the system identifies the temporarily divided areas of the hotel area, collects the type of external music played in the adjacent areas from the temporarily divided areas, and then the system determines whether the external music type matches the temporary use of the temporarily divided areas to execute the corresponding steps; for example, when the system determines that the type of external music played in the adjacent areas can match the temporary use of the temporarily divided areas, the system will consider that the music requirements of the current temporarily divided areas are consistent with the music types of the adjacent areas, and can meet the atmosphere and functional requirements of the area. The system will continue to ensure the coordination and smooth transition of music styles between different areas to avoid the destruction of the environmental atmosphere due to music mismatch, because if the external music types match, the system avoids unnecessary music switching operations, which can save energy and improve system efficiency. At the same time, it ensures the coordination of the volume of adjacent areas to avoid conflicts in background music in different areas. For example, the volume switching between activity areas with faster music rhythms and leisure areas that require a quiet atmosphere should be as smooth as possible, and the effect of music playback in the area and the feedback from guests are monitored in real time. If the background music in the temporary area is found to be inappropriate (for example, the guest does not like the current music style or the environment is too noisy), the system should automatically adjust the music type, rhythm and volume based on data analysis; for example, when the system determines that the type of external music played in the adjacent area cannot match the temporary purpose of the temporarily divided area, the system will consider that the music demand of the current temporarily divided area is inconsistent with that of the adjacent area, and the system will collect the fluctuating decibel values ​​of the external music in the temporarily divided area, and dynamically adjust the music gradient effect in the temporarily divided area based on different fluctuating decibel values, and balance the interference decibels of the external music in the temporarily divided area according to the music gradient effect; the system can effectively balance the noise interference between different areas by collecting the fluctuating decibel values ​​in real time and automatically adjusting the gradient effect according to the changes in the music, thereby reducing the interference of background music on guests and improving the user experience. At the same time, through smooth transition and volume gradient, the system can keep the music in the temporarily divided area consistent with that in the area. The functional requirements of the domain are consistent, while reducing the inharmonious feeling of music in adjacent areas, maintaining the continuity of sound effects and consistency of atmosphere in the hotel area. Even if the external music does not completely match the needs of the temporary area, the gradual transition of music can make the guest experience more comfortable, avoid abrupt volume changes, and can be adjusted according to the real-time fluctuating decibel value. The music can also be dynamically adjusted according to other changing factors in the environment (such as traffic flow, personnel activities, etc.). By real-time analysis and feedback of music fluctuations in different areas, the system can flexibly optimize the background music playback strategy according to the environmental changes of the temporary area and adjacent areas, and avoid music conflicts between areas to the greatest extent. Through precise volume adjustment, the system can dynamically adjust the intensity of music playback in different areas to avoid unnecessary waste of music playback. Especially in temporary areas, the system can make fine adjustments according to the needs of different volumes and rhythms to achieve the best music playback effect and avoid energy waste.

[0045] In this embodiment, the execution module further includes: An extraction unit, configured to divide the continuous audio signal with the background noise changing into a plurality of small segments of frames, obtain frequency domain information of the plurality of small segments of frames based on a preset duration of the plurality of small segments of frames, and extract corresponding spectrum features from the frequency domain information; A second judgment unit, used to judge whether the frequency spectrum feature matches the noise type; The second execution unit is used to calculate the noise intensity of the spectrum feature in different frequency bands, generate energy distribution data of the signal frequency region according to the noise intensity, and identify the dominant frequency of the noise intensity according to the energy distribution data.

[0046] In this embodiment, the system divides the continuous audio signal of the background noise change into a number of small frames, obtains the frequency domain information of these several small frames based on the preset time length of the several small frames, extracts the corresponding spectral features from the frequency domain information, and then the system determines whether the spectral features match the noise type to execute the corresponding steps; for example, when the system determines that the spectral features corresponding to the frequency domain information cannot match the noise type, the system will consider that the characteristics of the current noise are inconsistent with the preset noise type. This situation may mean that the system is facing a new noise source, or the noise type exceeds the preset classification range. The system will automatically update or expand the noise type classification based on the continuously monitored spectral features, add the new noise pattern to the noise library of the system, and enable the anomaly detection module at the same time to compare the known noise type with the current spectral features. If there is a significant difference, it can be marked as abnormal noise. The system detects and processes the sound, and temporarily adjusts the volume or music style of the background music to a neutral or gentle mode to avoid further interference with the environment. For example, when the system determines that the spectrum characteristics corresponding to the frequency domain information can match the noise type, the system will consider that the characteristics of the current noise are consistent with the preset noise type. The system will calculate the noise intensity of the spectrum characteristics in different frequency bands, and generate energy distribution data in the signal frequency area according to the different noise intensities. Based on these energy distribution data, the dominant frequency of the noise intensity is identified. The system calculates the noise intensity of the spectrum characteristics in different frequency bands and generates energy distribution data, so as to understand the distribution characteristics of the noise more accurately. Each type of noise (such as human voice, mechanical equipment noise, external environmental noise, etc.) usually has different intensity and frequency characteristics in a specific frequency band. For example, human voice may be more prominent in the mid-frequency band, while mechanical noise may be more significant in the low-frequency band. By identifying the dominant frequency of noise intensity, the system can clearly understand the source and impact of the noise. At the same time, by identifying the dominant frequency of noise, the system can adjust the spectrum of background music in a targeted manner. For example, if the system recognizes that the mechanical noise in the hotel area is stronger in the low-frequency band, the system can effectively avoid the overlap of the frequency bands of noise and music by adjusting the low-frequency part of the background music (for example, reducing the volume of the low-frequency part or enhancing the high-frequency part), thereby ensuring the comfort and clarity of the background music. After identifying the dominant frequency of noise intensity, the system can dynamically adjust the rhythm, volume or sound quality of the music, especially for areas overlapping with the noise frequency band, to reduce the interference of noise to guests. This can effectively improve the comfort of the hotel environment and ensure the coordination of background music and ambient noise.

[0047] In this embodiment, the judgment module further includes: A calculation unit, used for calculating the real-time decibel value in each time window based on a microphone array preset in the hotel area, wherein the real-time decibel value specifically includes an average decibel, a maximum decibel and a minimum decibel; A third judging unit, used to judge whether the duration of the real-time decibel value reaches a preset period; The third execution unit is used to collect the instantaneous decibel of the real-time decibel value through the time window if not, trigger a preset noise exceeding event according to the instantaneous decibel, and mark the corresponding exceeding attributes from the noise exceeding event, wherein the exceeding attributes specifically include the exceeding time period, duration and exceeding amplitude.

[0048] In this embodiment, the system calculates the real-time decibel value in each time window based on the microphone array pre-installed in the hotel area. The real-time decibel value specifically includes the average decibel, the maximum decibel and the minimum decibel. Then the system determines whether the duration of these real-time decibel values ​​reaches a preset time period to execute the corresponding steps; for example, when the system determines that the duration of the real-time decibel value in a certain time window can reach the preset time period, the system will consider that the background music in the hotel area can be played continuously, and the system will continue to monitor the real-time decibel value to prevent the noise from changing in the subsequent time window. If the noise value exceeds the predetermined range or continues to increase, the system will monitor the real-time decibel value. The system can adjust the background music playback strategy in time and adjust the background music to a stable mode to maintain a consistent volume, style and rhythm. For example, in the restaurant area, the volume of the background music can be set to a moderate level to ensure that the music covers all areas and is coordinated with the environment. The volume of the background music can be dynamically adjusted according to the average decibel value calculated in real time. For example, when the decibel value is low, the system can appropriately increase the volume of the background music to cover the entire area, while when the noise level is high, the system may appropriately reduce the volume to avoid the music being too abrupt or conflicting with the environment. For example, when the system determines that the real-time decibel value within a certain time window is If the duration of the value does not reach the preset time period, the system will think that the background music in the hotel area is difficult to play continuously and there is noise affecting the normal playback of the background music. The system will collect the instantaneous decibel of the real-time decibel value through the time window, and trigger the preset noise exceeding event according to the different instantaneous decibels. The corresponding exceeding attribute is marked from the noise exceeding event. The exceeding attribute specifically includes the exceeding time period, duration and exceeding amplitude. By collecting real-time decibel values ​​and analyzing their instantaneous changes, the system can promptly identify the sudden increase or abnormal fluctuation of the noise level, and mark and record the noise exceeding event (such as exceeding time period, duration and exceeding amplitude). degree), can help hotel managers track and locate noise interference sources, provide more accurate noise data, and by timely identifying noise interference, the system can optimize the background music playback effect to make it more in line with customer needs and environmental conditions. Continuous background music will not affect the customer experience due to sudden noise interference, thereby improving the overall atmosphere of the hotel and enhancing customer comfort. In addition, by collecting relevant data on noise exceeding the standard over a long period of time, the system can generate a trend analysis report on noise management to help hotel managers better understand the source of noise and changing trends, which will help to make better facility planning, environmental design and sound system optimization in the future.

[0049] In this embodiment, the second determination module further includes: A second identification unit is used to identify the direction source of the noise type in the hotel area based on a directional sensor preset in the hotel area; A fourth determination unit, used to determine whether the direction source is within a preset range of the hotel; The fourth execution unit is used to generate a corresponding noise source from the hotel terminal if not, calculate the noise signal strength calculated by the directional sensor according to the noise source, and dynamically adjust the upper limit of the volume of the background music according to the noise signal strength and the area size of the hotel area.

[0050] In this embodiment, the system identifies the direction source of the noise type in the hotel area based on the directional sensor pre-set in the hotel area, and then the system determines whether the direction source is within the preset range of the hotel to execute the corresponding steps; for example, when the system determines that the direction source of the noise type in the hotel area is not within the preset range of the hotel, the system will consider that the noise source comes from outside the hotel area, or exceeds the effective monitoring range set in the hotel area. The system will combine the direction of the noise source with its source to further optimize the noise control strategy of the hotel. If it is found that the noise control system in the hotel area often captures noise sources that do not belong to the hotel, it is necessary to re-evaluate the coverage of the directional sensor, adjust the configuration of the sensor, so that it can more accurately identify and filter out external noise, and automatically generate a noise report to record the direction source, intensity, duration of the noise, and whether it has an impact on the internal environment of the hotel. The hotel management team can analyze the noise impact of the external environment through the report and adjust or optimize the hotel's operations as needed; for example, when the system determines that the direction source of the noise type in the hotel area is within the preset range of the hotel, the system will consider that the noise source comes from the hotel area, and the system will generate a corresponding noise source at the hotel terminal, and calculate the noise signal strength calculated by the directional sensor according to the noise source. The system can dynamically adjust the upper limit of the background music volume according to the different noise signal strengths and the size of the hotel area; the system can identify the noise source in the hotel area through directional sensors, and judge whether it needs to affect the volume adjustment of the background music according to the strength of the noise source. If the noise source comes from a specific area in the hotel (such as the kitchen, laundry room, etc.), the system can accurately judge and automatically adjust the background music volume in the nearby area to avoid excessive noise affecting the customer experience. At the same time, considering the size of different hotel areas, the system can dynamically adjust the upper limit of the volume according to the relationship between the noise signal strength and the area size. For example, in a smaller area (such as a small meeting room or a private space), the noise is relatively When the noise level is low, the background music volume will be low. In a larger area (such as a lobby or banquet hall) when the noise is strong, the system will increase the volume appropriately to ensure that the music covers the entire area and prevent external noise from interfering with the customer experience. The system will also perform personalized music adjustments by detecting the noise source and its intensity. The background music playback modes in different areas and environments will better meet customer needs. For example, in quiet areas (such as the hotel's quiet corridors or study rooms), the background music will remain at a low volume, while in some activity areas (such as the hotel's dance floor, banquet hall, etc.), the volume will increase appropriately with changes in the noise source, ensuring that every customer can get the best background music experience in different areas.

[0051] In this embodiment, the detection module further includes: A distinguishing unit, configured to distinguish corresponding noise data from the decibel data based on the decibel data pre-collected in the hotel area; A fifth judgment unit, used for judging whether the noise data is synchronously collected to the hotel terminal; The fifth execution unit is used to filter out the preset non-target noise from the noise data according to the frequency range preset by the hotel terminal, and generate a noise intensity distribution map of the hotel area, wherein the non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise.

[0052] In this embodiment, the system distinguishes the corresponding noise data from the decibel data pre-collected in the hotel area, and then the system determines whether the noise data is synchronously collected to the hotel terminal to execute the corresponding steps; for example, when the system determines that the noise data in the decibel data can be synchronously collected to the hotel terminal, the system will consider that the noise information has been accurately captured and successfully transmitted to the hotel terminal for processing. The system will analyze whether the noise will affect the hotel environment. If the noise exceeds the preset noise threshold, the system will start the automatic noise management mechanism, such as adjusting the background music volume, starting noise suppression measures, etc. For example, when the noise comes from the guest room corridor or conference room, the system may automatically increase the volume of the background music, or start the environmental noise isolation device. At the same time, based on the synchronous update of the noise data, the background music of each area of ​​the hotel is adjusted. For example, if the noise in a certain area reaches a certain intensity, the system can automatically increase the background music volume of the area to balance the impact of the environmental noise on the customers. On the contrary, if the noise is low, the background music volume can be lowered to maintain a quiet and comfortable environment, and respond when the noise data is initially identified and synchronized. It can also continuously monitor the noise changes and optimize according to the change trend. For example, the noise in an area The sound intensity fluctuates in different time periods, and the system can automatically adjust the noise management strategy to ensure long-term comfort and environmental quality. For example, when the system determines that the noise data in the decibel data cannot be synchronously collected to the hotel terminal, the system will think that the noise information cannot be captured. The system will filter out the pre-set non-target noise from the noise data according to the pre-set frequency range of the hotel terminal. The non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise, and generate a noise intensity distribution map of the hotel area. By filtering out long-distance noise, reflection noise and electrical interference noise, the system can ensure that only noise data related to the hotel area is processed, which helps to eliminate unnecessary noise interference and avoid misjudgment or erroneous noise source analysis, thereby improving data accuracy and noise analysis accuracy. At the same time, when the noise information cannot be fully synchronized, the system can still obtain a rough noise distribution through filtering and data processing, which allows the system to continuously monitor the hotel environment and respond in the absence of complete noise data, such as dynamically adjusting the volume of background music or turning on noise suppression equipment, thereby ensuring that the customer's comfort is not affected, and by filtering out unnecessary noise types, the system can reduce the amount of data that needs to be processed. This not only reduces the burden of computing and storage, but also increases the speed of data processing, ensuring the efficiency of real-time monitoring and adjustment, especially in a multi-zone, multi-sensor hotel environment, reducing the interference of non-target noise, and helping to make decisions more quickly and accurately.

[0053] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for intelligently distributing regional background music in a hotel, characterized in that: The following steps are involved: Based on a volume sensor preset in the hotel area, detecting the coverage decibel data of the hotel area within a preset distance; Determining whether the coverage decibel data reaches a preset decibel threshold of the hotel area; If not, activate the thermal induction sensor preset in the hotel area, collect the flow of people information in the hotel area, identify the background noise change in the hotel area according to the flow of people information, generate the sound spectrum of the hotel area according to the background noise change, and classify the corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice related noise, mechanical equipment noise and environmental external noise; Determining whether the noise type exceeds a preset upper limit of the type; If it does not exceed the limit, the music rhythm of the background music is dynamically adjusted based on the preset music style template of the hotel area, and the regional coordination of the music rhythm is detected. According to the regional coordination, the preset resampling is applied to smoothly transition the background music, and the delayed transition duration between different areas is adaptively adjusted, wherein the music style template specifically includes activity area, leisure area and meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

2. The intelligent distribution method of hotel regional background music according to claim 1, characterized in that: Before the step of collecting the flow of people information of the hotel area and identifying the change of background noise in the hotel area according to the flow of people information, the method further includes: Based on the mobile personnel in the hotel area, a preset Kalman filter is applied to track the moving trajectory of the mobile personnel; Determining whether the movement trajectory leaves the hotel area; If not, then count the number of people in the hotel area based on the location information of the mobile personnel, calculate the population density in the hotel area based on the number of people, identify the activity pattern of the population density, and dynamically adjust the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area to reduce the density calculation deviation of the hotel area.

3. The intelligent distribution method of hotel regional background music according to claim 1, characterized in that: The step of adaptively adjusting the delay transition duration between different areas also includes: Identify the temporary division area of ​​the hotel area, and collect the external music type played in the adjacent area from the temporary division area; Determining whether the external music type matches the temporary purpose of the temporarily divided area; If not, the fluctuating decibel value of the external music in the temporarily divided area is collected, and based on the fluctuating decibel value, the music gradient effect in the temporarily divided area is dynamically adjusted, and according to the music gradient effect, the interference decibel of the external music in the temporarily divided area is balanced.

4. The intelligent distribution method of hotel regional background music according to claim 1 is characterized in that: The step of generating a sound spectrum of the hotel area according to the background noise change and classifying corresponding noise types from the sound spectrum further includes: Dividing the continuous audio signal with background noise changes into a number of small segments of frames, acquiring frequency domain information of the number of small segments of frames based on preset durations of the number of small segments of frames, and extracting corresponding spectrum features from the frequency domain information; Determining whether the frequency spectrum characteristics match the noise type; If yes, then the noise intensity of the spectrum feature in different frequency bands is calculated, and according to the noise intensity, energy distribution data of the signal frequency region is generated, and according to the energy distribution data, the dominant frequency of the noise intensity is identified.

5. The intelligent distribution method of hotel regional background music according to claim 1 is characterized in that: The step of determining whether the coverage decibel data reaches the preset decibel threshold of the hotel area also includes: Based on the microphone array preset in the hotel area, calculate the real-time decibel value in each time window, wherein the real-time decibel value specifically includes the average decibel, the maximum decibel and the minimum decibel; Determine whether the duration of the real-time decibel value reaches a preset period; If not, the instantaneous decibel of the real-time decibel value is collected through the time window, and the preset noise exceeding event is triggered according to the instantaneous decibel, and the corresponding exceeding attributes are marked from the noise exceeding event, wherein the exceeding attributes specifically include the exceeding time period, duration and exceeding amplitude.

6. The intelligent distribution method of hotel regional background music according to claim 1 is characterized in that: The step of determining whether the noise type exceeds a preset upper limit of the type further includes: Based on a directional sensor preset in the hotel area, identifying the direction source of the noise type in the hotel area; Determining whether the direction source is within a preset range of the hotel; If not, a corresponding noise source is generated from the hotel terminal, and the noise signal strength calculated by the directional sensor is calculated according to the noise source. The upper limit of the volume of the background music is dynamically adjusted according to the noise signal strength and the area size of the hotel area.

7. The intelligent distribution method of hotel regional background music according to claim 1 is characterized in that: The step of detecting the coverage decibel data of the hotel area within a preset distance based on the volume sensor preset in the hotel area also includes: Based on the pre-collected decibel data of the hotel area, distinguishing corresponding noise data from the decibel data; Determine whether the noise data is synchronously collected to the hotel terminal; If not, the preset non-target noise is filtered out from the noise data according to the frequency range preset by the hotel terminal to generate a noise intensity distribution map of the hotel area, wherein the non-target noise specifically includes long-distance noise, reflection noise and electrical interference noise.

8. An intelligent distribution system for regional background music in a hotel, characterized in that: include: A detection module, used to detect the coverage decibel data of the hotel area within a preset distance based on a volume sensor preset in the hotel area; A judgment module, used to judge whether the coverage decibel data reaches a preset decibel threshold of the hotel area; an execution module, configured to, if not, activate a preset thermal induction sensor in the hotel area, collect information on the flow of people in the hotel area, identify changes in background noise in the hotel area according to the flow of people information, generate a sound spectrum in the hotel area according to the background noise changes, and classify corresponding noise types from the sound spectrum, wherein the noise types specifically include human voice-related noise, mechanical equipment noise, and external environmental noise; A second judgment module is used to judge whether the noise type exceeds a preset type upper limit; The second execution module is used to dynamically adjust the music rhythm of the background music based on the preset music style template of the hotel area if it has not been exceeded, detect the regional coordination of the music rhythm, apply preset resampling to smoothly transition the background music according to the regional coordination, and adaptively adjust the delayed transition duration between different areas, wherein the music style template specifically includes activity area, leisure area and meeting area, and the music rhythm specifically includes dynamic music, soft music and romantic music.

9. The intelligent distribution system for hotel regional background music according to claim 8, characterized in that: Also includes: A tracking module, used for tracking the moving trajectory of the moving personnel in the hotel area by applying a preset Kalman filter; A third judgment module is used to judge whether the movement track leaves the hotel area; The third execution module is used for, if not, counting the number of people in the hotel area according to the location information of the mobile personnel, calculating the population density in the hotel area based on the number of people, identifying the activity pattern of the population density, and dynamically adjusting the preset compensation algorithm for the population density based on the preset obstacle positions and the activity pattern in the hotel area, so as to reduce the density calculation deviation of the hotel area.

10. The intelligent distribution system for hotel regional background music according to claim 8, characterized in that: The second execution module also includes: An identification unit, used for identifying the temporary division area of ​​the hotel area, and collecting the type of external music played in the adjacent area from the temporary division area; A judging unit, used for judging whether the external music type matches the temporary purpose of the temporarily divided area; The execution unit is used to collect the fluctuating decibel value of the external music in the temporarily divided area if not, dynamically adjust the music gradient effect in the temporarily divided area based on the fluctuating decibel value, and balance the interference decibel of the external music in the temporarily divided area according to the music gradient effect.

Citation Information

Patent Citations

  • Method and system for automatically adjusting multimedia volume according to different scene modes

    CN104135705A

  • Method and device for adjusting music volume

    CN109147816A

  • Sound effect control method and device and computing equipment

    CN119520893A

  • Audio control system

    US20200083856A1