Disclosure of Invention
The invention provides a method and a system for intelligently adjusting the volume of multimedia equipment, which are used for solving the influence of sudden high volume on a user in the starting or running process of the multimedia equipment.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for intelligently adjusting the volume of a multimedia device comprises the following steps:
s10: acquiring position information of a human body in an area range;
s20: acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information, and if so, executing a step S30;
s30: acquiring the position distance between the human body and the multimedia equipment, and acquiring a volume output threshold according to the position distance;
s40: acquiring the output volume of the multimedia equipment, judging whether the output volume is greater than a volume output threshold value, and if so, adjusting the output volume to keep the output volume not greater than the volume output threshold value.
Further, the step S10 specifically includes the steps of:
s101: receiving thermal imaging data in an area range, and acquiring a thermal imaging area in the thermal imaging data within a preset temperature range;
s102: receiving face information in an area range, judging whether the thermal imaging area has the face information, and if so, acquiring a position area with the face information in the thermal imaging area as the position of a human body.
Further, the method also comprises the following steps:
a volume output threshold is calculated and,
in the above formula, XaThe sound volume is the decibel number when the sound is transmitted to the position of the human body, A is a positive integer, rho' is an energy density standard value, R is the position distance between a sound source of the multimedia equipment and the human body, and C is a multimedia volume output value.
Further, the step of judging whether the state information of the human body is matched with the preset state information specifically comprises the following steps:
s201: sending the state information of the human body to a background server for recording;
s202: and acquiring the state information of the human body in a preset time period of the background server, and comparing and matching the state information with the preset state information.
Further, the step S40 is followed by the step of:
and sending the position information and the state information of the human body to multimedia equipment and prompting through a prompting signal.
A system for intelligent volume adjustment of a multimedia device, comprising:
a position acquisition module: the system is used for acquiring the position information of a human body in an area range;
a matching judgment module: the volume threshold acquisition module is used for acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information or not, and if so, executing the volume threshold acquisition module;
a volume threshold acquisition module: the voice volume output threshold value is obtained according to the position distance;
the volume adjusting module: the volume control unit is used for obtaining the output volume of the multimedia equipment, judging whether the output volume is larger than a volume output threshold value or not, and if so, adjusting the output volume to keep the output volume not higher than the volume output threshold value.
Further, the position acquiring module specifically includes:
an area extraction unit: the thermal imaging system is used for receiving thermal imaging data in an area range and acquiring a thermal imaging area in the thermal imaging data, wherein the thermal imaging area is in a preset temperature range;
a position recognition unit: the system is used for receiving face information in an area range, judging whether the thermal imaging area has the face information or not, and if so, acquiring a position area with the face information in the thermal imaging area as the position of a human body.
Further, the volume threshold obtaining module further includes:
a calculation unit: for calculating a volume output threshold value for the volume output,
in the above formula, XaThe sound volume is the decibel number when the sound is transmitted to the position of the human body, A is a positive integer, rho' is an energy density standard value, R is the position distance between a sound source of the multimedia equipment and the human body, and C is a multimedia volume output value.
Further, the matching judgment module further includes:
an information transmitting unit: the system comprises a background server, a human body state information acquisition module and a human body state information acquisition module, wherein the background server is used for sending the state information of the human body to the background server for recording;
a time period comparison unit: and the system is used for acquiring the state information of the human body in the preset time period of the background server and comparing and matching the state information with the preset state information.
Further, the system further comprises:
the signal prompt module: and the multimedia device is used for sending the position information and the state information of the human body to the multimedia device and prompting through a prompting signal.
By adopting the method and the device, the body state is judged and recognized, the volume of the multimedia equipment is automatically controlled and adjusted, the noise of the multimedia equipment is reduced, the influence of high volume suddenly generated when the multimedia equipment is started or operated is avoided, and the user experience is improved.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
The invention relates to a multi-media device, which comprises a projection device, a television and the like, wherein the television is taken as one of the multi-media devices, and is convenient for users to obtain various voice and text information, and the common television is placed in a family living environment.
Example one
As shown in fig. 1, the present embodiment provides a method for intelligently adjusting the volume of a multimedia device, including the steps of:
s10: acquiring position information of a human body in an area range;
s20: acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information, and if so, executing a step S30;
s30: acquiring the position distance between the human body and the multimedia equipment, and acquiring a volume output threshold according to the position distance;
s40: acquiring the output volume of the multimedia equipment, judging whether the output volume is greater than a volume output threshold value, and if so, adjusting the output volume to keep the output volume not greater than the volume output threshold value.
In the step S10, camera devices are uniformly distributed in the area range, and first, the camera devices perform thermal imaging indoors through an infrared imaging function, and since the temperature of the human body is fixed, the position of the human body can be preliminarily determined, and then the camera performs face recognition in the area range to obtain face information in the area range, and the system further determines to obtain more accurate position information of the human body according to the infrared thermal imaging information and the face information.
In step S20, the preset state information is that the human body is in a sleep state or a fatigue state, for example, the eyelid of the human body is in a closed state in the sleep state, the system determines whether the human body is in the sleep state according to the eye opening and closing conditions acquired by the camera device, different people may be in different states for the case that there are multiple people in the area, and if one of the multiple people is in the preset state, the process goes to step S30.
In step S30, for the human body in the preset state, the human body will not be interfered only by adjusting the volume of the television below the volume output threshold, that is, when the sound emitted by the television reaches the human body after being transmitted for a certain distance, the sound is attenuated to a normal decibel, for example, 40 decibels, and the interference will not be generated, the volume output threshold of the television can be reversely derived by the decibel number of the sound when reaching the human body, and the volume output threshold of the television is obtained by the distance between the human body and the sound source of the television and the corresponding calculation formula.
In step S40, when the television is running or turned on, the system monitors the output volume of the television in real time, for example, when other people change the television channel or turn on the television, if someone is in a preset state, i.e., a sleep or fatigue state, within the area range, the output volume of the television is automatically controlled, and it is ensured that the output volume of the television does not exceed the volume output threshold, thereby ensuring that the people in the preset state are not interfered and influenced by the volume of the television, and improving the experience of the user.
Through judging and recognizing the state of the human body, the volume of the television can be intelligently adjusted, the influence of sound interference generated in the starting or running process of the television on the human body is avoided, and the use experience of a user is improved.
Example two
As shown in fig. 2, the present embodiment provides a method for intelligently adjusting the volume of a multimedia device, including the steps of:
s10: acquiring position information of a human body in an area range;
s20: acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information, and if so, executing a step S30;
s30: acquiring the position distance between the human body and the multimedia equipment, and acquiring a volume output threshold according to the position distance;
s40: acquiring the output volume of the multimedia equipment, judging whether the output volume is greater than a volume output threshold value, and if so, adjusting the output volume to keep the output volume not greater than the volume output threshold value;
s50: and sending the position information and the state information of the human body to multimedia equipment and prompting through a prompting signal.
The present embodiment is different from the first embodiment in that step S50 is further included.
In particular, the amount of the solvent to be used,
for the situation that a plurality of people exist in the area range, if the people are in a sleeping or fatigue state, the people watching the television need to be reminded, and the people watching the television can continuously control and adjust the volume according to the distance between the television sound source and the people in the sleeping state or avoid influencing the people in the sleeping state by wearing earphones and the like.
In this embodiment, step S10 further includes the steps of:
receiving thermal imaging data in an area range, and acquiring a thermal imaging area in the thermal imaging data within a preset temperature range;
receiving face information in an area range, judging whether the thermal imaging area has the face information, and if so, acquiring a position area with the face information in the thermal imaging area as the position of a human body.
The camera shooting equipment is arranged in the area range, thermal imaging information and face information are collected, the system further judges the position information of the human body after receiving the information, and the accuracy of judgment is improved through the common confirmation of the infrared thermal imaging and the face information.
In this embodiment, step S20 further includes the steps of:
sending the state information of the human body to a background server for recording;
and acquiring the state information of the human body in a preset time period of the background server, and comparing and matching the state information with the preset state information.
When the human body state is judged to be matched with the preset state, the state information of the human body is continuously acquired, if the state information of the human body is not changed and is matched with the preset state, the person is indicated to be in a sleeping or fatigue state within a preset time period, the background server can also count the state information of the person within the area range, subsequent inquiry and understanding are facilitated, and the accuracy of user state judgment is further improved through continuous comparison and matching within the preset time period.
In the invention, energy attenuation exists in the sound transmission process, the decibel numbers of the sound heard from different human bodies are different, particularly in the family environment, the sound attenuation is obviously increased due to the obstruction of walls and the like, the sound is an ideal quiet environment when the sound is 30 to 40 decibels, and the sound in the range can not interfere with the rest and the sleep of a user to influence the sleep state of the user. On the premise that the human body receives 30-40 decibels of sound, the output volume threshold value of the television can be reversely deduced through a formula, so that the human body is not influenced by the volume of the television
In the above formula, XaIn the invention, X is the sound decibel number transmitted to the position of human body, A is a positive integer, rho' is an energy density standard value, R is the distance between the sound source of the television and the human body, and C is the volume output value of the televisionaGenerally, in the range of 30 to 40, the value of a is set as a positive integer 10, ρ' is a constant, and it is necessary to identify a proper value according to the environment of the current region, for example, the sound energy emitted at a certain sound source point will follow ρ × 4 π r2The rule is N, where ρ is the area density of sound energy uniformly distributed on a spherical surface with radius r, N is the energy of a sound source point, and C is the output volume threshold of the television.
Through the infrared imaging function and the face recognition of the camera equipment, the position information of a human body can be acquired more accurately, the detection accuracy is improved, and the misjudgment of people in a non-sleep state is avoided by continuously comparing the state of the human body in a preset time period.
EXAMPLE III
As shown in fig. 3, the present embodiment provides a system for intelligently adjusting the volume of a multimedia device, including:
a position acquisition module: the system is used for acquiring the position information of a human body in an area range;
a matching judgment module: the volume threshold acquisition module is used for acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information or not, and if so, executing the volume threshold acquisition module;
a volume threshold acquisition module: the voice volume output threshold value is obtained according to the position distance;
the volume adjusting module: the volume control unit is used for obtaining the output volume of the multimedia equipment, judging whether the output volume is larger than a volume output threshold value or not, and if so, adjusting the output volume to keep the output volume not higher than the volume output threshold value.
It should be understood that, in the present invention, the volume adjusting system may be integrally disposed on the television, or may be disposed on other devices such as a television box, and meanwhile, the volume adjusting system may communicate with the image capturing device to obtain information collected by the image capturing device, and may correspondingly adjust the volume of the television through the control signal.
In the position acquisition module, regional within range evenly distributed has camera equipment, and at first, camera equipment carries out the thermal imaging to indoor through infrared imaging function, because human temperature is fixed, so can tentatively confirm human position, face identification is carried out to regional within range to the rethread camera, obtains regional within range face information, and the system is according to infrared thermal imaging information and face information after, further confirmation obtains more accurate human position information.
In the matching determination module, the preset state information is that the human body is in a sleep state or a fatigue state, for example, eyelids of a person in the sleep state are closed, the system determines whether the human body is in the sleep state according to the opening and closing conditions of the human eyes collected by the camera device, different persons may be in different states for the case that there are multiple persons in the area range, and if one of the multiple persons is in the preset state, the process goes to step S30.
In the volume threshold acquisition module, for a human body in a preset state, the human body cannot be interfered only by adjusting the volume of the television below the volume output threshold, namely, when the sound emitted by the television reaches the human body after being transmitted for a certain distance, the sound is attenuated to normal decibel, for example, 40 decibel, and the interference cannot be generated, the volume output threshold of the television can be reversely deduced through the decibel number of the sound when the sound reaches the human body, and the volume output threshold of the television is obtained through the distance between the human body and a sound source of the television and a corresponding calculation formula.
In the volume adjusting module, when the television is running or started, the system monitors the output volume of the television in real time, for example, when other people change television channels or turn on the television, if someone is in a preset state, namely a sleep or fatigue state, in an area range, the output volume of the television can be automatically controlled, the output volume of the television is guaranteed not to exceed a volume output threshold value, and therefore the fact that the person in the preset state cannot be influenced by the interference of the television volume is guaranteed, and the experience of a user is improved.
Through judging and recognizing the state of the human body, the volume of the multimedia equipment can be intelligently adjusted, the phenomenon that the human body is influenced by sound interference generated in the starting or running process of the multimedia equipment is avoided, and the use experience of a user is improved.
Example four
As shown in fig. 4, the present embodiment provides a system for intelligently adjusting the volume of a multimedia device, including:
a position acquisition module: the system is used for acquiring the position information of a human body in an area range;
a matching judgment module: the volume threshold acquisition module is used for acquiring the state information of the human body, judging whether the state information of the human body is matched with preset state information or not, and if so, executing the volume threshold acquisition module;
a volume threshold acquisition module: the voice volume output threshold value is obtained according to the position distance;
the volume adjusting module: the volume control unit is used for acquiring the output volume of the multimedia equipment, judging whether the output volume is greater than a volume output threshold value, and if so, adjusting the output volume to keep the output volume not higher than the volume output threshold value;
the signal prompt module: and the multimedia device is used for sending the position information and the state information of the human body to the multimedia device and prompting through a prompting signal.
The difference between the present embodiment and the first embodiment is that the present embodiment further includes a signal prompting module.
In particular, the amount of the solvent to be used,
for the situation that a plurality of people exist in the area range, if the people are in a sleeping or fatigue state, the people watching the television need to be reminded, and the people watching the television can continuously control and adjust the volume according to the distance between the television sound source and the people in the sleeping state or avoid influencing the people in the sleeping state by wearing earphones and the like.
In this embodiment, the position obtaining module further includes:
an area extraction unit: the thermal imaging system is used for receiving thermal imaging data in an area range and acquiring a thermal imaging area in the thermal imaging data, wherein the thermal imaging area is in a preset temperature range;
a position recognition unit: the system is used for receiving face information in an area range, judging whether the thermal imaging area has the face information or not, and if so, acquiring a position area with the face information in the thermal imaging area as the position of a human body.
The camera shooting equipment is arranged in the area range, thermal imaging information and face information are collected, the system further judges the position information of the human body after receiving the information, and the accuracy of judgment is improved through the common confirmation of the infrared thermal imaging and the face information.
In this embodiment, the matching determining module further includes:
an information transmitting unit: the system comprises a background server, a human body state information acquisition module and a human body state information acquisition module, wherein the background server is used for sending the state information of the human body to the background server for recording;
a time period comparison unit: and the system is used for acquiring the state information of the human body in the preset time period of the background server and comparing and matching the state information with the preset state information.
When the human body state is judged to be matched with the preset state, the state information of the human body is continuously acquired, if the state information of the human body is not changed and is matched with the preset state, the person is indicated to be in a sleeping or fatigue state within a preset time period, the background server can also count the state information of the person within the area range, subsequent inquiry and understanding are facilitated, and the accuracy of user state judgment is further improved through continuous comparison and matching within the preset time period.
In the invention, energy attenuation exists in the sound transmission process, the decibel numbers of the sound heard from different human bodies are different, particularly in the family environment, the sound attenuation is obviously increased due to the obstruction of walls and the like, the sound is an ideal quiet environment when the sound is 30 to 40 decibels, and the sound in the range can not interfere with the rest and the sleep of a user to influence the sleep state of the user. On the premise that the human body receives 30-40 decibels of sound, the calculating unit of the volume threshold value obtaining module can reversely deduce the output volume threshold value of the television through a calculating formula so as to ensure that the human body is not influenced by the volume of the television.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.