CN108810614B - Volume adjustment method, system and readable storage medium - Google Patents

Volume adjustment method, system and readable storage medium Download PDF

Info

Publication number
CN108810614B
CN108810614B CN201810749355.9A CN201810749355A CN108810614B CN 108810614 B CN108810614 B CN 108810614B CN 201810749355 A CN201810749355 A CN 201810749355A CN 108810614 B CN108810614 B CN 108810614B
Authority
CN
China
Prior art keywords
volume
value
environment
television
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810749355.9A
Other languages
Chinese (zh)
Other versions
CN108810614A (en
Inventor
曹芝勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201810749355.9A priority Critical patent/CN108810614B/en
Publication of CN108810614A publication Critical patent/CN108810614A/en
Application granted granted Critical
Publication of CN108810614B publication Critical patent/CN108810614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • H04N5/602Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals for digital sound signals

Abstract

The invention discloses a volume adjusting method, a system and a readable storage medium, wherein the volume adjusting method comprises the following steps: when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value; calculating to obtain an environment volume difference value based on the current environment volume value and the current volume setting value, and acquiring a preset threshold value by the mobile terminal; if the absolute value of the environment volume difference is larger than the preset threshold value, the mobile terminal sends the environment volume difference to the television terminal; after receiving the environment volume difference, the television end obtains the current television volume value; and the television end adjusts and outputs the volume value according to the environment volume difference value and the current television volume value. The television end of the invention can realize automatic adjustment of the current television volume value of the television end through the environment of the user without increasing extra hardware cost by adjusting the output volume value, thereby avoiding the interference of the environment on the hearing of human ears when watching television.

Description

Volume adjustment method, system and readable storage medium
Technical Field
The invention relates to the technical field of televisions, in particular to a volume adjusting method, a volume adjusting system and a readable storage medium.
Background
Currently, when a user watches television programs in different sound environments, the user often needs to manually set the volume to meet the watching requirement. How to intelligently control the volume of a television becomes a problem which needs to be solved urgently at present.
In the prior art, an ambient volume sensor is generally added on a television to detect ambient volume, the method is influenced by the sound of a loudspeaker of the television, a user and the television have a certain watching distance, the user is also mobile, and the ambient volume is not necessarily uniformly distributed. Because of the distance factor, the ambient volume detected by this method does not accurately indicate the ambient volume heard by the user. In addition, the sensor is added on the remote controller, and the method is complex to implement, needs additional hardware cost, and cannot be widely applied to actual production.
Disclosure of Invention
The invention mainly aims to provide a volume adjustment method, a system and a readable storage medium, and aims to solve the technical problem that the volume adjustment of a television is not intelligent enough when a user watches television in the prior art.
In order to achieve the above object, the present invention provides a volume adjusting method, including the steps of:
when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value;
the mobile terminal calculates an environment volume difference value based on the current environment volume value and the current volume setting value;
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal sends the environment volume difference to the television terminal;
after receiving the environment volume difference value, the television end obtains a current television volume value;
and the television end adjusts and outputs the volume value according to the environment volume difference value and the current television volume value.
Preferably, the adjusting, by the television terminal, the output volume value according to the environment volume difference value and the current television volume value includes:
the television end calculates a target volume value according to the environment volume difference value and the current television volume value;
and the television end adjusts an output volume value based on the target volume value.
Preferably, the target volume value comprises a first target volume value and a second target volume value; the step that the television end calculates to obtain the target volume value according to the environment volume difference value and the current television volume value comprises the following steps:
the television end judges whether the environment volume difference is larger than 0;
if the environment volume difference is larger than 0, the television end raises the current television volume value to obtain a first target volume value;
and if the environment volume difference is smaller than 0, the television terminal reduces the current television volume value to obtain a second target volume value.
Preferably, if the environmental volume difference is greater than 0, the step of obtaining the first target volume value after the current television volume value is upgraded by the television end includes:
if the environment volume difference is larger than 0, the television end obtains the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
and calculating to obtain a first target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end.
Preferably, if the environmental volume difference is smaller than 0, the step of obtaining a second target volume value after the current television volume value is reduced by the television end includes:
if the environment volume difference is smaller than 0, the television end reads the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
and calculating to obtain a second target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end.
Preferably, if the absolute value of the environmental volume difference is greater than a preset threshold, the step of sending the environmental volume difference to the television terminal by the mobile terminal includes:
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal encodes the environment volume difference and the current volume setting value to obtain volume data;
and the mobile terminal sends the volume data to a television terminal through a communication protocol.
Preferably, after receiving the ambient volume difference, the step of reading, by the television terminal, the current television volume value includes:
after receiving the volume data through the communication protocol, the television analyzes the volume data to obtain the current environment volume value and the current volume setting value, and obtains the current television volume value.
Preferably, when the current environment volume value of the environment where the user is located is acquired, the step of the mobile terminal acquiring the current volume setting value includes:
the mobile terminal collects the current environment volume value of the environment where the user is located through a sound sensor, and acquires the current volume setting value.
In addition, to achieve the above object, the present invention also provides a volume adjustment system, including: a memory, a processor and a volume adjustment program stored on the memory and executable on the processor, the volume adjustment program when executed by the processor implementing the steps of the volume adjustment method of any of the above.
In addition, to achieve the above object, the present invention further provides a readable storage medium having a volume adjustment program stored thereon, where the volume adjustment program, when executed by a processor, implements the steps of the volume adjustment method according to any one of the above.
According to the invention, the current environment volume value of the environment where the user is located and the current volume setting value are acquired by the mobile terminal to calculate to obtain the environment volume difference, the absolute value of the environment volume difference is compared with the preset threshold value, when the absolute value of the environment volume difference is larger than the preset threshold value, the environment where the user is located interferes the television watching effect of the user, the current television volume value is required to be adjusted by the television terminal, the output volume value is adjusted by the television terminal through the environment volume difference and the current television volume value, the automatic adjustment of the current television volume value is realized, and the interference of the environment to the auditory sense of human ears when the user watches the television is avoided. The invention adopts the mobile terminal to match with the television terminal, solves the problem that the volume adjustment can be realized only by externally connecting additional hardware to the television, can realize the automatic adjustment of the current television volume value of the television terminal through the environment where a user is located without increasing the cost of the additional hardware, is convenient for the user to use, ensures that the effect of watching the television by the user is better, and has the characteristics of low cost, convenient realization, high intelligent degree and wide application.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a volume adjustment system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a volume adjustment method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a volume adjusting method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a volume adjusting method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a volume adjusting method according to a fourth embodiment of the present invention;
FIG. 6 is a graph illustrating a current TV volume value boost according to a fourth embodiment of the volume adjustment method of the present invention;
FIG. 7 is a flowchart illustrating a fifth embodiment of a volume adjustment method according to the present invention;
FIG. 8 is a graph illustrating a current TV volume reduction curve according to a fifth embodiment of the volume adjustment method of the present invention;
fig. 9 is a flowchart illustrating a volume adjustment method according to a sixth embodiment of the invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a volume adjustment system in a hardware operating environment according to an embodiment of the present invention.
The volume adjusting system in the embodiment of the present invention may be a PC, or may be a mobile system device having a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the volume adjustment system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory system separate from the processor 1001.
Optionally, the system may further include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, and the like. Among others, sensors such as light sensors and other sensors. In particular, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen based on the intensity of ambient light, and a proximity sensor that turns off the display screen and/or backlight when the mobile system is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile system may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein again.
Those skilled in the art will appreciate that the system architecture shown in FIG. 1 is not intended to be limiting of the system, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a volume adjustment program.
In the volume adjustment system shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the volume adjustment program stored in the memory 1005, and perform the following operations:
when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value;
calculating to obtain an environment volume difference value based on the current environment volume value and the current volume setting value, and acquiring a preset threshold value by the mobile terminal;
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal sends the environment volume difference to the television terminal;
after receiving the environment volume difference, the television end reads the current television volume value;
and the television end adjusts and outputs the volume value according to the environment volume difference value and the current television volume value.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
the television end calculates a target volume value according to the environment volume difference value and the current television volume value;
and the television end adjusts an output volume value based on the target volume value.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
the television end judges whether the environment volume difference is larger than 0;
if the environment volume difference is larger than 0, the television end raises the current television volume value to obtain a first target volume value;
and if the environment volume difference is smaller than 0, the television terminal reduces the current television volume value to obtain a second target volume value.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
if the environment volume difference is larger than 0, the television end obtains the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
and calculating to obtain a first target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
if the environment volume difference is smaller than 0, the television end reads the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
and calculating to obtain a second target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal encodes the environment volume difference to obtain volume data;
and the mobile terminal sends the volume data to a television terminal through a communication protocol.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
after receiving the volume data through the communication protocol, the television terminal analyzes the volume data to obtain the environment volume difference and obtain the current television volume value.
Further, the processor 1001 may call a volume adjustment program stored in the memory 1005, and also perform the following operations:
the mobile terminal collects the current environment volume value of the environment where the user is located through a sound sensor, and acquires the current volume setting value.
Referring to fig. 2, fig. 2 is a flowchart illustrating a volume adjusting method according to a first embodiment of the present invention.
In a first embodiment, a volume adjustment method includes:
step S10, when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value.
In this embodiment, when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value. The mobile terminal is internally provided with a sound sensor which is used as a microphone or a microphone and is used for receiving sound waves and displaying a vibration image of the sound, but the intensity of the noise cannot be measured. This voltage is then converted to a voltage of 0-5V, received by the data collector via A/D conversion, and transmitted to the computer. In the scheme, the sound sensor is arranged in the mobile terminal, and when receiving the current environment volume value of the environment where the user is located, the sound sensor sends the current environment volume value to the processor of the mobile terminal for processing; and, the mobile terminal obtains current volume setting value, installs the APP of control TV volume in the mobile terminal, realizes the control of mobile terminal to TV volume, when the user passes through APP and sets for TV volume, sets up the instruction and can send for the TV end can set up current volume setting value according to setting up the instruction, and the mobile terminal can obtain the current volume setting value of TV end, realizes the intelligent management of mobile terminal to TV end volume control.
Step S20, calculating an ambient volume difference based on the current ambient volume value and the current volume setting value, and the mobile terminal obtains a preset threshold.
In this embodiment, an environmental volume difference is calculated based on the current environmental volume value and the current volume setting value, and the mobile terminal obtains a preset threshold. The mobile terminal acquires the current environment volume of the environment where the user is located through the sound sensor, acquires the current volume setting value, and calculates the environment volume difference value according to the current environment volume value and the current volume setting value, wherein the calculation is that the current environment volume value subtracts the current environment volume valueThe value obtained from the volume setting value is set as the environment volume difference value, and the current environment volume value is assumed to be VRCurrent volume setting value is VCThe difference Δ V between the ambient sound volumes is equal to VR-VC(ii) a And the mobile terminal acquires a preset threshold value, wherein the preset threshold value is a value which is obtained by the difference between the current environment volume value and the current volume setting value but can be accepted by human ears to achieve a good watching effect.
Step S30, if the absolute value of the environmental volume difference is greater than the preset threshold, the mobile terminal sends the environmental volume difference and the current volume setting value to the television terminal.
In this embodiment, if the absolute value of the environmental volume difference is greater than the preset threshold, the mobile terminal sends the environmental volume difference and the current volume setting value to the television terminal. After the environment volume difference value is compared with a preset threshold value at the mobile terminal, judging whether the absolute value delta V is larger than the preset threshold value, wherein the preset threshold value is delta, and if the absolute value delta V is not larger than the preset threshold value delta, the front state and the rear state are almost in the same environment volume range, so that the auditory sense of human ears cannot be influenced and adjustment is not needed; if the absolute value delta V is larger than the preset threshold value delta, the current television volume value of the television end at the moment is not enough to achieve a good watching effect, so that the volume needs to be adjusted, and the mobile end sends the environment volume difference value and the current volume setting value to the television end, so that the television end can adjust automatically.
Step S40, after receiving the environment volume difference, the television terminal obtains the current television volume value.
In this embodiment, after receiving the environmental volume difference, the television end obtains the current television volume value. Because the environment of the user affects the watching of the television, the current television volume value of the television end at the moment is not enough to realize good watching effect, so that the mobile end sends the environment volume difference value to the television end, and the television end receives the environment volume difference value, reads the current television volume value and is convenient for the television end to adjust the volume.
And step S50, the television end adjusts the output volume value according to the environment volume difference value and the current television volume value.
In this embodiment, the television terminal adjusts an output volume value according to the environment volume difference value and the current television volume value. The television end judges whether the environment volume difference is larger than 0, if the environment volume difference is larger than 0, the television end promotes the current television volume value to obtain a first target volume value; if the environment volume difference is smaller than 0, the television end reduces the current television volume value to obtain a second target volume value, and after the television end obtains the output volume value, the television end controls the output volume value to output, so that the ears of people can achieve the best listening effect.
According to the invention, the current environment volume value of the environment where the user is located and the current volume setting value are acquired by the mobile terminal to calculate to obtain the environment volume difference value, the environment volume difference value is compared with the preset threshold value, when the environment volume difference value is larger than the preset threshold value, the environment where the user is located interferes the television watching effect of the user, the current television volume value is required to be adjusted by the television terminal, the output volume value is obtained and output by the television terminal through the current environment volume value, the current volume setting value and the current television volume value, the automatic adjustment of the current television volume value is realized, and the interference of the environment to the auditory sense of human ears when the television is watched is avoided. The invention adopts the mobile terminal to match with the television terminal, solves the problem that the volume adjustment can be realized only by externally connecting extra hardware to the television, can realize the automatic adjustment of the current television volume value of the television terminal through the environment where the user is located without increasing extra hardware cost, is convenient for the user to use, ensures that the television watching effect of the user is better, and has the characteristics of low cost, convenient realization, high intelligent degree and wide application.
Based on the first embodiment, a second embodiment of the volume adjusting method according to the present invention is provided, referring to fig. 3, wherein step S50 includes:
s51, the television end calculates a target volume value according to the environment volume difference value and the current television volume value;
and S52, the television terminal outputs a volume value based on the target volume value.
In this embodiment, the television end calculates a target volume value according to the environment volume difference value and the current television volume value; and the television end outputs a volume value based on the target volume value. The television end judges whether the environment volume difference is larger than 0, if the environment volume difference is larger than 0, the television end promotes the current television volume value to obtain a first target volume value; if the difference value of the environmental volumes is less than 0, the television terminal reduces the current television volume value to obtain a second target volume value; after the television end obtains the output volume value, the television end controls the output volume value to output, so that the ears of people can achieve the best listening effect.
Based on the second embodiment, a third embodiment of the volume adjusting method of the present invention is provided, referring to fig. 4, wherein the target volume value includes a first target volume value and a second target volume value, and step S51 includes:
the television end judges whether the environment volume difference is larger than 0;
s511, if the environment volume difference is larger than 0, the television end raises the current television volume value to obtain a first target volume value;
s512, if the environment volume difference is smaller than 0, the television terminal reduces the current television volume value to obtain a second target volume value.
In this embodiment, the television end determines whether the environmental volume difference is greater than 0; if the environment volume difference is larger than 0, the television end raises the current television volume value to obtain a first target volume value, and if the environment volume difference is smaller than 0, the television end lowers the current television volume value to obtain a second target volume value. If the current environment volume value is larger than the current volume setting value, VR-VCIf the value is positive and greater than 0, namely the environmental volume difference value delta V is positive, the environmental volume of the current person is larger, so that a positive adjustment method is needed to be used for increasing the volume of the television; if the current ambient volume value is less than the current volume setting value, i.e. VR-VCIf the ambient volume difference Δ V is negative, i.e. the ambient volume difference Δ V is negative and less than 0, the tv needs to use a negative adjustment method to decrease the volume of the tv.
Based on the third embodiment, a fourth embodiment of the volume adjusting method of the present invention is provided, referring to fig. 5, wherein step S511 includes:
s5111, if the environment volume difference is larger than 0, the television end obtains the maximum volume value which can be adjusted by the television end and the environment volume maximum difference which is prestored by the television end;
s5112, calculating to obtain a first target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television terminal and the environment volume maximum difference value prestored by the television terminal.
In this embodiment, if the environmental volume difference is greater than 0, the television end reads the maximum volume value that the television end can adjust to and the maximum environmental volume difference that the television end prestores; and calculating to obtain a first target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end. If the current environment volume value is larger than the current volume setting value, the current environment volume value V isR-VCIf the value is positive, that is, if the environmental volume difference Δ V is positive, the volume of the environment where the current person is located is larger, so that a forward adjustment method needs to be used to increase the volume of the television, the specific formula is as follows:
Figure BDA0001723579840000101
wherein, VOIs a first target volume value, VTFor the current television volume value, VmaxFor the maximum volume value, DeltaV, that the television end can adjust tomaxThe maximum value of the ambient volume difference. As can be seen from fig. 6, the first target volume value to be adjusted is obtained as the volume most suitable for the human ear to listen based on the current tv volume value, the ambient volume difference value, the maximum volume value that the tv end can adjust, and the maximum value of the ambient volume difference value.
Based on the third embodiment, a fifth embodiment of the volume adjusting method according to the present invention is provided, referring to fig. 7, wherein step S512 includes:
s5121, if the environment volume difference is smaller than 0, the television end obtains the maximum volume value which can be adjusted by the television end and the environment volume maximum difference which is prestored by the television end;
and S5122, calculating to obtain a second target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television terminal and the environment volume maximum difference value prestored by the television terminal.
In this embodiment, if the environmental volume difference is smaller than 0, the television end reads a maximum volume value that can be adjusted by the television end and an environmental volume maximum difference that is prestored by the television end; and calculating to obtain a second target volume value required to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value prestored by the television end. If the current ambient volume value is less than the current volume setting value, i.e. VR-VCIf the ambient volume difference Δ V is negative, the tv needs to use a negative adjustment method to decrease the volume of the tv. The concrete formula is as follows:
Figure BDA0001723579840000111
wherein a is 0.1, BOIs a second target volume value, VTFor the current television volume value, VmaxFor the maximum volume value, DeltaV, that the television end can adjust tomaxThe maximum value of the ambient volume difference. The graph shown in fig. 8 is obtained through the above formula, and it can be seen from fig. 8 that the second target volume value to be adjusted currently is obtained as the volume most suitable for human ears to listen to based on the current tv volume value, the ambient volume difference value, the maximum volume value that the tv end can adjust to, and the maximum value of the ambient volume difference value.
Based on the first embodiment, a sixth embodiment of the volume adjusting method according to the present invention is provided, referring to fig. 9, wherein step S30 includes:
s31, if the absolute value of the environment volume difference is larger than a preset threshold, the mobile terminal encodes the environment volume difference to obtain volume data;
and S32, the mobile terminal sends the volume data to the television terminal through a communication protocol.
In this embodiment, if the absolute value of the environmental volume difference is greater than a preset threshold, the mobile terminal encodes the environmental volume difference to obtain volume data; and the mobile terminal sends the volume data to a television terminal through a communication protocol. Setting the environment volume difference value delta V and the current volume setting value as VCCoding to obtain volume data, wherein the communication protocol between the mobile terminal and the television terminal is as follows:
guide code Difference of ambient volume Current volume setting Checksum
And sending the volume data to the television end through the communication protocol.
Further, step S40 includes:
after receiving the volume data through the communication protocol, the television terminal analyzes the volume data to obtain the environment volume difference and obtain the current television volume value.
In this embodiment, through a communication protocol between the mobile terminal and the television terminal, after the television terminal receives the volume data, the television terminal analyzes the volume data to obtain an environmental volume difference value, and obtains a current television volume value.
Further, step S10 includes:
the mobile terminal collects the current environment volume value of the environment where the user is located through a sound sensor, and acquires the current volume setting value.
In this embodiment, the mobile terminal acquires the current environment volume value of the environment where the user is located through the sound sensor, and the mobile terminal acquires the current volume setting value. The mobile terminal is internally provided with a sound sensor which is used as a microphone or a microphone and is used for receiving sound waves and displaying a vibration image of the sound, but the intensity of the noise cannot be measured. This voltage is then converted to a voltage of 0-5V, received by the data collector via A/D conversion, and transmitted to the computer. In the scheme, the sound sensor is arranged in the mobile terminal, and when receiving the current environment volume value of the environment where the user is located, the sound sensor sends the current environment volume value to the processor of the mobile terminal for processing; and, the mobile terminal obtains current volume setting value, installs the APP of control TV volume in the mobile terminal, realizes the control of mobile terminal to TV volume, when the user passes through APP and sets for TV volume, sets up the instruction and can send for the TV end can set up current volume setting value according to setting up the instruction, and the mobile terminal can obtain the current volume setting value of TV end, realizes the intelligent management of mobile terminal to TV end volume control.
In addition, an embodiment of the present invention further provides a readable storage medium, where a volume adjustment program is stored, and the volume adjustment program, when executed by a processor, implements the steps of the volume adjustment method described above.
The specific embodiment of the readable storage medium of the present invention is substantially the same as the embodiments of the volume adjusting method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a system device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A method for adjusting volume, the method comprising:
when the current environment volume value of the environment where the user is located is acquired, the mobile terminal acquires the current volume setting value;
the mobile terminal calculates an environment volume difference value based on the current environment volume value and the current volume setting value, wherein the environment volume difference value is the current environment volume value-the current volume setting value;
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal sends the environment volume difference to the television terminal;
after receiving the environment volume difference value, the television end obtains a current television volume value;
the television end adjusts and outputs a volume value according to the environment volume difference value and the current television volume value;
the step that the television end adjusts the output volume value according to the environment volume difference value and the current television volume value comprises the following steps:
the television end judges whether the environment volume difference is larger than 0;
if the environment volume difference is larger than 0, the television end obtains the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
calculating to obtain a first target volume value which needs to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value which is prestored by the television end, wherein the formula of the first target volume value is as follows:
Figure FDA0003385374540000011
wherein, VOIs a first target volume value, VTIs the current TV volume value, Δ V is the ambient volume difference, VmaxFor the maximum volume value, DeltaV, that the television end can adjust tomaxThe maximum difference value of the environmental sound volumes;
the television end adjusts an output volume value based on the target volume value, wherein the target volume value comprises a first target volume value;
if the environment volume difference is smaller than 0, the television end reads the maximum volume value which can be adjusted by the television end and the environment volume maximum difference pre-stored by the television end;
calculating to obtain a second target volume value which needs to be adjusted currently based on the current television volume value, the environment volume difference value, the maximum volume value which can be adjusted by the television end and the environment volume maximum difference value which is prestored by the television end, wherein the formula of the first target volume value is as follows:
Figure FDA0003385374540000021
wherein a is 0.1.
2. The volume adjustment method of claim 1, wherein if the absolute value of the ambient volume difference is greater than a preset threshold, the step of the mobile terminal sending the ambient volume difference to the television terminal comprises:
if the absolute value of the environment volume difference is larger than a preset threshold value, the mobile terminal encodes the environment volume difference to obtain volume data;
and the mobile terminal sends the volume data to a television terminal through a communication protocol.
3. The method for adjusting volume according to claim 2, wherein the step of reading the current tv volume value by the tv end after receiving the ambient volume difference comprises:
after receiving the volume data through the communication protocol, the television terminal analyzes the volume data to obtain the environment volume difference and obtain the current television volume value.
4. The volume adjustment method of claim 1, wherein the step of obtaining the current volume setting value by the mobile terminal when the current environment volume value of the environment where the user is located is collected comprises:
the mobile terminal collects the current environment volume value of the environment where the user is located through a sound sensor, and acquires the current volume setting value.
5. A volume adjustment system, comprising: memory, a processor and a volume adjustment program stored on the memory and executable on the processor, the volume adjustment program when executed by the processor implementing the steps of the volume adjustment method according to any one of claims 1 to 4.
6. A readable storage medium having stored thereon a volume adjustment program which, when executed by a processor, implements the steps of the volume adjustment method according to any one of claims 1 to 4.
CN201810749355.9A 2018-07-09 2018-07-09 Volume adjustment method, system and readable storage medium Active CN108810614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810749355.9A CN108810614B (en) 2018-07-09 2018-07-09 Volume adjustment method, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810749355.9A CN108810614B (en) 2018-07-09 2018-07-09 Volume adjustment method, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN108810614A CN108810614A (en) 2018-11-13
CN108810614B true CN108810614B (en) 2022-03-11

Family

ID=64074669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810749355.9A Active CN108810614B (en) 2018-07-09 2018-07-09 Volume adjustment method, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN108810614B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112281412A (en) * 2019-07-23 2021-01-29 青岛海尔洗衣机有限公司 Clothes treating apparatus and volume control method thereof
CN112533057A (en) * 2019-09-18 2021-03-19 深圳Tcl新技术有限公司 Method, system and storage medium for intelligently adjusting volume
CN115145527A (en) * 2021-03-31 2022-10-04 华为技术有限公司 Method and system for adjusting volume and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869218A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Information processing method and device and electronic equipment
CN106339198A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically adjusting sound volume of electronic equipment through ambient volume
CN106375809A (en) * 2016-08-31 2017-02-01 腾讯科技(深圳)有限公司 Volume adjustment method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010147B (en) * 2014-04-29 2017-11-07 京东方科技集团股份有限公司 Automatically adjust the method and audio playing apparatus of audio frequency broadcast system volume
CN107155133B (en) * 2017-06-06 2020-01-14 深圳Tcl数字技术有限公司 Volume adjusting method, audio playing terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869218A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Information processing method and device and electronic equipment
CN106339198A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically adjusting sound volume of electronic equipment through ambient volume
CN106375809A (en) * 2016-08-31 2017-02-01 腾讯科技(深圳)有限公司 Volume adjustment method and apparatus

Also Published As

Publication number Publication date
CN108810614A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN107155133B (en) Volume adjusting method, audio playing terminal and computer readable storage medium
US10791299B2 (en) Television terminal, method for converting HDR image into SDR image, and computer readable storage medium
CN108810614B (en) Volume adjustment method, system and readable storage medium
CN107562406B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN107590780B (en) Image display method, terminal and computer readable storage medium
CN110806849A (en) Intelligent device, volume adjusting method thereof and computer-readable storage medium
EP3373591B1 (en) Adaptive bluetooth volume adjustment method and apparatus
CN107421068B (en) Air conditioner control method, electronic device, and computer-readable storage medium
CN108040209B (en) Shooting method and mobile terminal
CN110213484B (en) Photographing method, terminal equipment and computer readable storage medium
CN109168108B (en) Amplitude adjusting method and device for electroacoustic device and mobile terminal
CN109785815B (en) Screen brightness adjusting method and mobile terminal
CN111131957A (en) Volume control method, terminal and readable storage medium
CN109727212B (en) Image processing method and mobile terminal
CN111163305A (en) Screen adjusting method, device and equipment and readable storage medium
CN108307123B (en) Exposure adjusting method and mobile terminal
CN113076007A (en) Display screen visual angle adjusting method and device and storage medium
CN113709629A (en) Frequency response parameter adjusting method, device, equipment and storage medium
WO2020114363A1 (en) Automatic volume control method, apparatus, terminal and readable storage medium
CN111049972B (en) Audio playing method and terminal equipment
CN110086483B (en) Communication control method and terminal
US20140093098A1 (en) Handheld device and electronic device assembly and method for adjusting volume
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN104038626B (en) The communication means of mobile computing device and accessory device
CN108377297B (en) Shooting parameter adjusting method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant