Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The embodiment of the invention provides a mobile phone ring volume adjusting device. The present invention will be described in detail below with reference to the accompanying drawings.
Fig. 3 is a block diagram of a mobile communication terminal equipped with the ring volume adjusting device of the present invention. As shown in fig. 3, wherein the mobile communication includes: MCU control circuit, baseband circuit, keyboard, FLASH, SIM, LCD display and cell phone ringvolume adjusting device 300. The mobile phone ring volume adjustingdevice 300 is used for detecting the noise of the surrounding environment of the mobile phone and generating an environment volume signal; acquiring an environment volume value according to the environment volume signal; when the mobile phone rings, the ambient volume value is used as the volume of the mobile phone ring; detecting the ringing time of the mobile phone; and judging whether the ringing time exceeds a preset time threshold value, and if so, increasing the volume of the current mobile phone ring.
Fig. 4 is a block diagram of a mobile phone ring volume adjustment device according to a first embodiment of the present invention. As shown in fig. 4, the ringtone adjusting apparatus 300 includes: the environment signal detection unit 301 is configured to detect noise in the surrounding environment of the mobile phone and generate an environment volume signal. A volume value obtaining unit 302, configured to obtain an ambient volume value according to the ambient volume signal; a ring driving unit 303, configured to use the ambient volume value as the volume of the mobile phone ring; the ringing time detection unit 304 is used for detecting the ringing time of the handset. A threshold setting unit 306, configured to set a first time threshold, a second time threshold, and a third time threshold, where the first time threshold is smaller than the second time threshold and smaller than the third time threshold; and a ringing volume adjusting unit 305, configured to determine whether the ringing time exceeds a first time threshold, if so, use the sum of the ambient volume value and the first volume increase value as the volume of the mobile phone ring and continue to determine whether the ringing time exceeds a second time threshold, if so, use the sum of the ambient volume value and the second volume increase value as the volume of the mobile phone ring and continue to determine whether the ringing time exceeds a third time threshold, and if so, use the sum of the ambient volume value and the third volume increase value as the volume of the mobile phone ring and start the mobile phone vibration alert function.
The method has the advantages that the volume of the mobile phone ring is adjusted according to the volume of the surrounding environment of the mobile phone, the current ring volume of the mobile phone is increased when the ringing time of the mobile phone exceeds a set time threshold, and the vibration reminding function of the mobile phone is started while the mobile phone rings after the current ring volume of the mobile phone is increased for a certain number of times.
Fig. 5 is a block diagram of a second embodiment of the device for adjusting the volume of a ring tone of a mobile phone according to the present invention. As shown in figure 5 of the drawings,
the ringtone adjusting apparatus 300 includes: the environment signal detection unit 301 is configured to detect noise in the surrounding environment of the mobile phone and generate an environment volume signal. A volume value obtaining unit 302, configured to obtain an ambient volume value according to the ambient volume signal; a ring driving unit 303, configured to use the ambient volume value as the volume of the mobile phone ring; the ringing time detection unit 304 is used for detecting the ringing time of the handset. A threshold setting unit 306, configured to set a first time threshold, a second time threshold, and a third time threshold, where the first time threshold is smaller than the second time threshold and smaller than the third time threshold; a ringing volume adjusting unit 305, configured to determine whether the ringing time exceeds a first time threshold, if yes, use the sum of the ambient volume value and the first volume increase value as the volume of the mobile phone ring and continue to determine whether the ringing time exceeds a second time threshold, if yes, use the sum of the ambient volume value and the second volume increase value as the volume of the mobile phone ring and continue to determine whether the ringing time exceeds a third time threshold, if yes, use the sum of the ambient volume value and the third volume increase value as the volume of the mobile phone ring, and start the mobile phone vibration alert function; an ambient audio acquiring unit 307 that acquires ambient audio data from the ambient volume signal; the environmental audio comparison unit 308 compares the environmental audio data with the preset snore audio data in a consistent manner; and if the two signals are consistent, the radio frequency of the mobile phone is closed.
The method and the device have the advantages that whether the user is in the sleep state or not can be judged according to the detected noise of the surrounding environment of the mobile phone, if the user is judged to be in the sleep state, the radio frequency of the mobile phone is turned off, and the incoming call is prevented from disturbing the rest of the user. If the user is not in the sleep state, the volume of the mobile phone ring is adjusted according to the detected noise of the surrounding environment of the mobile phone, the current ring volume of the mobile phone is increased when the ringing time of the mobile phone exceeds a set time threshold, and the vibration reminding function of the mobile phone is started while the mobile phone rings after the current ring volume of the mobile phone is increased for a certain number of times.
A first embodiment of the method for adjusting the ring volume of a mobile phone according to the present invention will be described with reference to fig. 6. The embodiment comprises the following steps:
s601, detecting the noise of the surrounding environment of the mobile phone to generate an environment volume signal;
s602, acquiring an environment volume value according to the environment volume signal;
s603, when the mobile phone rings, the environmental volume value is used as the volume of the mobile phone ring;
s604, detecting the ringing time of the mobile phone and judging whether the ringing time exceeds a preset time threshold, if so, entering the step S605;
and S605, increasing the volume of the current mobile phone ring.
The embodiment has the advantages that the volume of the mobile phone ring is adjusted according to the volume of the surrounding environment of the mobile phone, and the current ring volume of the mobile phone is increased when the ringing time of the mobile phone exceeds the set time threshold.
The following describes a second embodiment of the method for adjusting ring volume of a mobile phone according to the present invention with reference to fig. 7, where the embodiment includes the following steps:
s701, detecting the noise of the surrounding environment of the mobile phone to generate an environment volume signal;
s702, acquiring an environment volume value according to the environment volume signal;
s703, when the mobile phone rings, taking the environmental volume value as the volume of the mobile phone ring;
s704, detecting the ringing time of the mobile phone and judging whether the ringing time exceeds a first time threshold value; if yes, the process goes to step S705, and if not, the process waits for connection;
s705, taking the sum of the ambient volume value and the first volume increasing value as the mobile phone ring, and entering the step S706;
s706, judging whether the ringing time exceeds a second time threshold value; if yes, go to step 707, if no, wait for connection;
s707, taking the sum of the ambient volume value and the second volume increasing value as the volume of the mobile phone ring;
s708, judging whether the ringing time exceeds a third time threshold, if so, enteringstep 709, and if not, waiting to be switched on;
s709, the sum of the environmental volume value and the third volume added value is used as the volume of the mobile phone ring, and the mobile phone vibration reminding function is started.
In this embodiment, the first time threshold is less than the second time threshold is less than the third time threshold; the first volume increase value is less than the second volume increase value is less than the third volume increase value.
The method has the advantages that the volume of the mobile phone ring is adjusted according to the volume of the surrounding environment of the mobile phone, the current ring volume of the mobile phone is increased when the ringing time of the mobile phone exceeds a set time threshold, and the vibration reminding function of the mobile phone is started while the mobile phone rings after the current ring volume of the mobile phone is increased for a certain number of times.
A third embodiment of the method for adjusting the ring volume of a mobile phone according to the present invention will be described with reference to fig. 8, where the third embodiment includes the following steps:
s801, detecting noise of the surrounding environment of the mobile phone to generate an environment volume signal;
s802, acquiring environmental audio data according to the environmental volume signal;
s803, comparing the consistency of the environmental audio data with the preset snore audio data, and judging whether the environmental audio data is consistent with the preset snore audio data;
s804, if the mobile phone radio frequency is consistent, the mobile phone radio frequency is closed;
s805, if the environmental volume value is inconsistent, acquiring an environmental volume value according to the environmental volume signal;
s806, when the mobile phone rings, the ambient volume value is used as the volume of the mobile phone ring;
s807, detecting the ringing time of the mobile phone and judging whether the ringing time exceeds a preset time threshold, if so, entering the step S808, and if not, waiting to be connected;
and S808, increasing the volume of the current mobile phone ring.
The method and the device have the advantages that whether the user is in the sleep state or not can be judged according to the detected noise of the surrounding environment of the mobile phone, if the user is judged to be in the sleep state, the radio frequency of the mobile phone is turned off, and the incoming call is prevented from disturbing the rest of the user. If the user is not in the sleep state, the volume of the mobile phone ring is adjusted according to the detected noise of the surrounding environment of the mobile phone, the current ring volume of the mobile phone is increased when the ringing time of the mobile phone exceeds a set time threshold, and the vibration reminding function of the mobile phone is started while the mobile phone rings after the current ring volume of the mobile phone is increased for a certain number of times.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.