CN109194808B - Volume adjusting method and device - Google Patents

Volume adjusting method and device Download PDF

Info

Publication number
CN109194808B
CN109194808B CN201811075381.4A CN201811075381A CN109194808B CN 109194808 B CN109194808 B CN 109194808B CN 201811075381 A CN201811075381 A CN 201811075381A CN 109194808 B CN109194808 B CN 109194808B
Authority
CN
China
Prior art keywords
volume
controlled device
output
controlled
tuning instruction
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
CN201811075381.4A
Other languages
Chinese (zh)
Other versions
CN109194808A (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.)
Xi'an Fengyu Information Technology Co ltd
Original Assignee
Xi'an Fengyu Information 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 Xi'an Fengyu Information Technology Co ltd filed Critical Xi'an Fengyu Information Technology Co ltd
Priority to CN201811075381.4A priority Critical patent/CN109194808B/en
Publication of CN109194808A publication Critical patent/CN109194808A/en
Application granted granted Critical
Publication of CN109194808B publication Critical patent/CN109194808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a volume adjustment method and device. The method comprises the following steps: detecting the volume of environmental noise; determining the volume to be output of each controlled device according to the volume of the environmental noise; for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device; and sending a tuning instruction to the controlled equipment, wherein the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient. According to the technical scheme, the volume of the controlled devices can be automatically controlled and adjusted at the same time, a user does not need to pay attention to the change of the volume of external noise, the adjustment is intelligent, the real-time performance is high, and the efficiency is higher.

Description

Volume adjusting method and device
Technical Field
The disclosure relates to the technical field of terminals, in particular to a volume adjusting method and device.
Background
At present, the volume adjusting method of the device mainly adjusts the volume by manually operating a volume button of the device by a user, but when the user manually adjusts the volume, the user is strongly dependent on the volume adjusting method, and the user needs to pay attention to the change of external noise at any time, which is inconvenient for the user to use.
Disclosure of Invention
The embodiment of the disclosure provides a volume adjusting method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a volume adjustment method, including:
detecting the volume of environmental noise;
determining the volume to be output of each controlled device according to the volume of the environmental noise;
for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device;
and sending a tuning instruction to the controlled equipment, wherein the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
In one embodiment, the sending of the tuning instruction to the controlled device includes:
and when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled equipment, sending the tuning instruction to the controlled equipment.
In one embodiment, the determining the volume to be output of each controlled device according to the volume of the ambient noise includes:
and determining the volume to be output of each controlled device according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise.
In one embodiment, the method further comprises:
and counting the historical output volume of each controlled device and the corresponding ambient noise volume of each controlled device, and determining the corresponding relation between the volume to be output of each controlled device and the ambient noise volume.
In one embodiment, the method further comprises:
and acquiring the corresponding relation between the volume to be output of each type of input controlled equipment and the volume of the ambient noise.
In one embodiment, the method further comprises:
establishing a communication connection with each controlled device;
the sending of the tuning instruction to the controlled device includes:
and sending a tuning instruction to the controlled equipment through the communication connection.
In one embodiment, the establishing of the communication connection with each of the controlled devices includes:
and establishing communication connection with each controlled device through a local area network.
According to a second aspect of the embodiments of the present disclosure, there is provided a volume adjustment device including:
the detection module is used for detecting the volume of the environmental noise;
the first determining module is used for determining the volume to be output of each controlled device according to the volume of the environmental noise;
a second determining module, configured to determine, for each controlled device, a volume gain coefficient corresponding to the controlled device according to a volume to be output and a current volume of the controlled device;
and the sending module is used for sending a tuning instruction to the controlled equipment, and the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
In one embodiment, the sending module comprises:
and the first sending submodule is used for sending the tuning instruction to the controlled equipment when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled equipment.
In one embodiment, the first determining module comprises:
and the determining submodule is used for determining the volume to be output of each controlled device according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise and according to the volume of the ambient noise.
In one embodiment, the apparatus further comprises:
and the third determining module is used for counting the historical output volume of each controlled device and the corresponding ambient noise volume thereof and determining the corresponding relation between the volume to be output of each controlled device and the ambient noise volume.
In one embodiment, the apparatus further comprises:
and the fourth determining module is used for acquiring the corresponding relation between the volume to be output of each type of input controlled equipment and the volume of the ambient noise.
In one embodiment, the apparatus further comprises:
the establishing module is used for establishing communication connection with each controlled device;
the sending module comprises:
and the second sending submodule is used for sending a tuning instruction to the controlled equipment through the communication connection.
In one embodiment, the establishing module comprises:
and the establishing submodule is used for establishing communication connection with each controlled device through a local area network.
According to a third aspect of the embodiments of the present disclosure, there is provided a volume adjustment device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the above method.
According to a third aspect of the embodiments of the present disclosure, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps in the above method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment can detect the volume of the environmental noise; determining the volume to be output of each controlled device according to the volume of the environmental noise; for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device; sending a tuning instruction to the controlled equipment, and indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient; so can come the output volume of a plurality of controled device according to the ambient noise volume, need not the change that the user followed external noise volume to but a plurality of controled device's of automatic control regulation volume simultaneously, adjust intelligence, the real-time is high, and efficiency is higher.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a volume adjustment method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a volume adjustment method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a volume adjustment method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a volume adjustment apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a volume adjustment device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a volume adjusting method according to an exemplary embodiment, where the volume adjusting method is used in a terminal, as shown in fig. 1, and includes the following steps 101 and 104:
in step 101, ambient noise volume is detected.
In step 102, a volume to be output of each of the controlled devices is determined according to the volume of the ambient noise.
In step 103, for each of the controlled devices, a volume gain coefficient corresponding to the controlled device is determined according to the volume to be output and the current volume of the controlled device.
In step 104, a tuning instruction is sent to the controlled device, where the tuning instruction is used to instruct the controlled device to adjust the volume according to the corresponding volume gain factor.
Here, the terminal may collect ambient noise in the surrounding environment through the microphone and then determine the volume of the ambient noise according to the collected ambient noise. After the terminal acquires the volume of the environmental noise, the volume to be output of each controlled device can be determined. The controlled device can send the changed volume to the terminal when the volume is changed, so that the current volume of the controlled device can be prestored in the terminal. The terminal can determine a volume gain coefficient corresponding to the controlled device according to the current volume and the volume to be output of the controlled device, wherein the volume gain coefficient is the volume to be output/the current volume. For example, assuming that the ambient noise volume obtained by the terminal is 40 db, the current volume obtained by the terminal is 60 db, and the volume to be output of the controlled device can be adjusted to 40 db more than the ambient noise volume by default in the terminal, the terminal can determine that the volume to be output of the controlled device is 80 db, so that the volume gain coefficient corresponding to the controlled device is 80/60-4/3.
Here, after determining the volume gain coefficient corresponding to each controlled device, the terminal may send a corresponding tuning instruction to each controlled device, where the tuning instruction carries the volume gain coefficient corresponding to the controlled device, and thus, after receiving the tuning instruction sent by the terminal, each control device may adjust the output volume of the controlled device according to the volume gain coefficient corresponding to the controlled device.
Here, the terminal may control the volume adjustment of at least one controlled device, and the controlled device may also include the terminal.
It should be noted that, after the terminal sends the tuning instruction to the controlled device, the current volume of the controlled device may be updated to the volume to be output.
The embodiment can detect the volume of the environmental noise; determining the volume to be output of each controlled device according to the volume of the environmental noise; for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the current volume of the volume to be output of the controlled device; sending a tuning instruction to the controlled equipment, and indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient; so can come the output volume of a plurality of controled device according to the ambient noise volume, need not the change that the user followed external noise volume to but a plurality of controled device's of automatic control regulation volume simultaneously, adjust intelligence, the real-time is high, and efficiency is higher.
In a possible implementation manner, the step 104 in the volume adjustment method can be implemented as the following step a 1.
In step a1, when the volume gain factor is within the factor range corresponding to the controlled device, the tuning instruction is sent to the controlled device.
Here, the coefficient range corresponding to each controlled device may be prestored in the terminal, and the coefficient range corresponding to each controlled device may be the same or different, may be input by the user, or may be default in the terminal, which is not limited herein.
Here, the terminal may send the tuning instruction to the controlled device only when the volume gain coefficient is within the coefficient range corresponding to the controlled device, and thus, the terminal may send the tuning instruction to the controlled device only when the adjustment range required by the volume of the controlled device is large, so as to control the controlled device to adjust the volume.
For example, assuming that a coefficient range corresponding to a certain controlled device is less than 0.8 or greater than 1.2, if it is determined that a volume gain coefficient corresponding to the controlled device is 1.1, it indicates that an adjustment range that the controlled device needs to adjust is small, and the user use is not affected even if the adjustment is not performed, at this time, in order to reduce consumption of transmission resources, the terminal does not send the tuning instruction to the controlled device, if it is determined that the volume gain coefficient corresponding to the controlled device is 4/3, it indicates that the adjustment range that the controlled device needs to adjust is large, and if the user use is not possibly affected by the adjustment, the terminal may send the tuning instruction to the controlled device, and control the controlled device to adjust the volume.
In this embodiment, the volume gain coefficient may be sent to the controlled device only when the volume gain coefficient is within a pre-stored coefficient range corresponding to the controlled device, so as to reduce the adjustment frequency and reduce the consumption of transmission resources.
In a possible implementation manner, the step 102 in the volume adjustment method may be implemented as the following step B1.
In step B1, according to a preset corresponding relationship between the volume to be output of each controlled device and the volume of ambient noise, determining the volume to be output of each controlled device according to the volume of ambient noise.
Here, the terminal may preset a corresponding relationship between the volume to be output of each controlled device and the volume of the ambient noise, for example, the corresponding relationship may be that the volume to be output of the first controlled device is higher than the volume of the ambient noise by 40 db, and the volume to be output of the second controlled device is higher than the volume of the ambient noise by 30 db, or when the volume of the ambient noise is within a range of [ a db, b db ], the volume to be output of the first controlled device is c db, and the volume to be output of the second controlled device is d db, and so on. Therefore, after the terminal detects the volume of the ambient noise, the volume to be output of each controlled device can be determined directly according to the corresponding relation.
According to the embodiment, the volume to be output of each controlled device can be determined according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise, and the determination mode is accurate and rapid.
In a possible implementation, the volume adjustment method may further include the following step B2.
In step B2, the historical output volume of each controlled device and the corresponding ambient noise volume are counted, and the corresponding relationship between the volume to be output of each controlled device and the ambient noise volume is determined.
Here, the terminal can perform mass statistics on the historical output volume of each controlled device and the corresponding ambient noise volume thereof, so that the historical habit of the user is analyzed, and the corresponding relation between the volume to be output and the ambient noise volume of the habit of the user is determined.
The embodiment can count the historical output volume of each controlled device and the corresponding ambient noise volume, and determine the corresponding relation between the volume to be output of each controlled device and the ambient noise volume, so that the volume of each controlled device can be adjusted according to the habit of a user, and the user experience is better.
In a possible implementation, the volume adjustment method may further include the following step B3.
In step B3, the correspondence between the volume to be output and the volume of the ambient noise of each type of the input controlled device is obtained.
Here, the corresponding relationship may also be input by a user, a setting page may be set on the terminal, and the user may input the corresponding relationship between the volume to be output and the volume of the ambient noise of each type of controlled device on the setting page.
The embodiment can acquire the corresponding relation between the volume to be output and the ambient noise volume of each type of input controlled equipment, and the acquisition mode is quick and convenient.
In a possible implementation manner, the volume adjustment method may further include the following step C1, and the step 104 may also be implemented as the following step C2.
In step C1, a communication connection with each of the controlled devices is established.
In step C2, a tuning instruction is sent to the controlled device through the communication connection.
Here, the terminal may establish a communication connection with each of the controlled devices, where the communication connection may be a short-range communication connection such as a bluetooth connection or an infrared connection, and the terminal may transmit the tuning instruction to the controlled device through the short-range connection.
The embodiment can establish a communication connection with each controlled device; therefore, the tuning instruction can be sent to the controlled equipment through the communication connection, and the implementation is simple.
In a possible implementation manner, the step C1 in the volume adjustment method can be further implemented as the following step C11.
In step C11, a communication connection with each of the controlled devices is established via the local area network.
Here, the terminal may also establish a communication connection with each of the controlled devices through a local area network, where the local area network is a closed type, and in this embodiment, the terminal and the other controlled devices may form a local area network, so that the terminal may establish a communication connection with each of the controlled devices through the local area network.
The embodiment can establish the communication connection with each controlled device through the local area network, and the communication connection establishment mode is convenient and fast.
The implementation is described in detail below by way of several embodiments.
Fig. 2 is a flowchart illustrating a volume adjusting method according to an exemplary embodiment, where the volume adjusting method may be implemented by a terminal or the like, as shown in fig. 2, and includes steps 201 and 206.
In step 201, the historical output volume of each controlled device and the corresponding ambient noise volume are counted, and the corresponding relationship between the volume to be output of each controlled device and the ambient noise volume is determined.
In step 202, a communication connection with each of the controlled devices is established.
In step 203, the ambient noise volume is detected.
In step 204, according to a preset corresponding relationship between the volume to be output of each controlled device and the volume of ambient noise, determining the volume to be output of each controlled device according to the volume of ambient noise.
In step 205, for each of the controlled devices, a volume gain coefficient corresponding to the controlled device is determined according to the volume to be output and the current volume of the controlled device.
In step 206, when the volume gain coefficient is within a pre-stored coefficient range corresponding to the controlled device, a tuning instruction is sent to the controlled device through the communication connection.
And the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
Fig. 3 is a flowchart illustrating a volume adjusting method according to an exemplary embodiment, where the volume adjusting method may be implemented by a terminal or the like, including step 301 and step 306, as shown in fig. 3.
In step 301, the corresponding relationship between the volume to be output and the volume of the ambient noise of each type of the input controlled device is obtained.
In step 302, a communication connection with each of the controlled devices is established through a local area network.
In step 303, the ambient noise volume is detected.
In step 304, according to a preset corresponding relationship between the volume to be output of each controlled device and the volume of ambient noise, determining the volume to be output of each controlled device according to the volume of ambient noise.
In step 305, for each of the controlled devices, a volume gain coefficient corresponding to the controlled device is determined according to the volume to be output and the current volume of the controlled device.
In step 306, when the volume gain coefficient is within a pre-stored coefficient range corresponding to the controlled device, a tuning instruction is sent to the controlled device through the communication connection.
And the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4 is a block diagram illustrating a volume adjustment apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 4, the volume adjusting apparatus includes:
a detection module 401, configured to detect an ambient noise volume;
a first determining module 402, configured to determine, according to the ambient noise volume, a volume to be output of each of the controlled devices;
a second determining module 403, configured to determine, for each controlled device, a volume gain coefficient corresponding to the controlled device according to a volume to be output and a current volume of the controlled device;
a sending module 404, configured to send a tuning instruction to the controlled device, where the tuning instruction is used to instruct the controlled device to adjust a volume according to a corresponding volume gain coefficient.
As a possible embodiment, fig. 5 is a block diagram illustrating a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 5, the volume adjusting apparatus disclosed above may further configure the transmitting module 404 to include a first transmitting sub-module 4041, where:
the first sending sub-module 4041 is configured to send the tuning instruction to the controlled device when the volume gain coefficient is within a pre-stored coefficient range corresponding to the controlled device.
As a possible embodiment, fig. 6 is a block diagram of a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 6, the volume adjusting apparatus disclosed above may further configure the first determining module 402 to include a determining sub-module 4021, where:
the determining submodule 4021 is configured to determine, according to a preset correspondence between a volume to be output of each controlled device and an ambient noise volume, a volume to be output of each controlled device according to the ambient noise volume.
As a possible embodiment, fig. 7 is a block diagram illustrating a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 7, the volume adjusting apparatus disclosed above may be further configured to include a third determining module 405, wherein:
the third determining module 405 is configured to count the historical output volume of each controlled device and the ambient noise volume corresponding to the historical output volume, and determine a corresponding relationship between the volume to be output of each controlled device and the ambient noise volume.
As a possible embodiment, fig. 8 is a block diagram illustrating a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 8, the volume adjusting apparatus disclosed above may be further configured to include a fourth determining module 406, wherein:
the fourth determining module 406 is configured to obtain a corresponding relationship between the volume to be output of each type of input controlled device and the volume of the ambient noise.
As a possible embodiment, fig. 9 is a block diagram of a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 9, the volume adjusting apparatus disclosed above may be further configured to include a building module 407, and the transmitting module 404 may be further configured to include a second transmitting submodule 4042, where:
an establishing module 407, configured to establish a communication connection with each of the controlled devices;
a second sending submodule 4042, configured to send a tuning instruction to the controlled device through the communication connection.
In one embodiment, fig. 10 is a block diagram illustrating a volume adjusting apparatus according to an exemplary embodiment, and as shown in fig. 10, the volume adjusting apparatus disclosed above may further configure the establishing module 407 to include an establishing sub-module 4071, where:
an establishing submodule 4071 is configured to establish a communication connection with each of the controlled devices through a local area network.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating a volume adjustment apparatus adapted to a terminal device according to an exemplary embodiment. For example, the apparatus 1100 may be a mobile phone, a game console, a computer, a tablet device, a personal digital assistant, and the like.
The apparatus 1100 may include one or more of the following components: processing component 1101, memory 1102, power component 1103, multimedia component 1104, audio component 1105, input/output (I/O) interface 1106, sensor component 1107, and communications component 1108.
The processing component 1101 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1101 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1101 can include one or more modules that facilitate interaction between the processing component 1101 and other components. For example, the processing component 1101 can include a multimedia module to facilitate interaction between the multimedia component 1104 and the processing component 1101.
The memory 1102 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1102 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1103 provides power to the various components of the device 1100. The power components 1103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1104 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1104 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1105 is configured to output and/or input audio signals. For example, audio component 1105 may include a Microphone (MIC) configured to receive external audio signals when apparatus 1100 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signals may further be stored in memory 1102 or transmitted via communications component 1108. In some embodiments, audio component 1105 further includes a speaker for outputting audio signals.
The I/O interface 1106 provides an interface between the processing component 1101 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 1107 includes one or more sensors to provide various aspects of state estimation for device 1100. For example, sensor component 1107 may detect the open/closed state of device 1100, the relative positioning of components, such as a display and keypad of device 1100, sensor component 1107 may also detect a change in the position of device 1100 or a component of device 1100, the presence or absence of user contact with device 1100, changes in the orientation or acceleration/deceleration of device 1100, and changes in the temperature of device 1100. Sensor assembly 1107 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. Sensor assembly 1107 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1107 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1108 is configured to facilitate communications between the apparatus 1100 and other devices in a wired or wireless manner. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1108 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1108 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1102 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus 1100, enable the apparatus 1100 to perform the above-described volume adjustment method, the method comprising:
detecting the volume of environmental noise;
determining the volume to be output of each controlled device according to the volume of the environmental noise;
for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device;
and sending a tuning instruction to the controlled equipment, wherein the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
In one embodiment, the sending of the tuning instruction to the controlled device includes:
and when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled equipment, sending the tuning instruction to the controlled equipment.
In one embodiment, the determining the volume to be output of each controlled device according to the volume of the ambient noise includes:
and determining the volume to be output of each controlled device according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise.
In one embodiment, the method further comprises:
and counting the historical output volume of each controlled device and the corresponding ambient noise volume of each controlled device, and determining the corresponding relation between the volume to be output of each controlled device and the ambient noise volume.
In one embodiment, the method further comprises:
and acquiring the corresponding relation between the volume to be output of each type of input controlled equipment and the volume of the ambient noise.
In one embodiment, the method further comprises:
establishing a communication connection with each controlled device;
the sending of the tuning instruction to the controlled device includes:
and sending a tuning instruction to the controlled equipment through the communication connection.
In one embodiment, the establishing of the communication connection with each of the controlled devices includes:
and establishing communication connection with each controlled device through a local area network.
The present embodiment also provides a volume adjustment device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting the volume of environmental noise;
determining the volume to be output of each controlled device according to the volume of the environmental noise;
for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device;
and sending a tuning instruction to the controlled equipment, wherein the tuning instruction is used for indicating the controlled equipment to adjust the volume according to the corresponding volume gain coefficient.
In one embodiment, the processor may be further configured to:
the sending of the tuning instruction to the controlled device includes:
and when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled equipment, sending the tuning instruction to the controlled equipment.
In one embodiment, the processor may be further configured to:
the determining the volume to be output of each controlled device according to the volume of the environmental noise comprises:
and determining the volume to be output of each controlled device according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise.
In one embodiment, the processor may be further configured to:
the method further comprises the following steps:
and counting the historical output volume of each controlled device and the corresponding ambient noise volume of each controlled device, and determining the corresponding relation between the volume to be output of each controlled device and the ambient noise volume.
In one embodiment, the processor may be further configured to:
the method further comprises the following steps:
and acquiring the corresponding relation between the volume to be output of each type of input controlled equipment and the volume of the ambient noise.
In one embodiment, the processor may be further configured to:
the method further comprises the following steps:
establishing a communication connection with each controlled device;
the sending of the tuning instruction to the controlled device includes:
and sending a tuning instruction to the controlled equipment through the communication connection.
In one embodiment, the processor may be further configured to:
the establishing of the communication connection with each controlled device comprises:
and establishing communication connection with each controlled device through a local area network.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of adjusting volume, comprising:
detecting the volume of environmental noise;
determining the volume to be output of each controlled device according to the volume of the environmental noise;
for each controlled device, determining a volume gain coefficient corresponding to the controlled device according to the volume to be output and the current volume of the controlled device;
sending a tuning instruction to the controlled device, where the tuning instruction is used to instruct the controlled device to adjust the volume according to the corresponding volume gain coefficient, and sending the tuning instruction to the controlled device includes: and when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled device, sending the tuning instruction to the controlled device, wherein the volume gain coefficient indicates that the adjustment amplitude required by the volume of the controlled device is larger in the prestored coefficient range corresponding to the controlled device.
2. The method of claim 1, wherein determining the volume to be output for each controlled device based on the ambient noise volume comprises:
and determining the volume to be output of each controlled device according to the preset corresponding relation between the volume to be output of each controlled device and the volume of the ambient noise.
3. The method of claim 2, further comprising:
and counting the historical output volume of each controlled device and the corresponding ambient noise volume of each controlled device, and determining the corresponding relation between the volume to be output of each controlled device and the ambient noise volume.
4. The method of claim 2, further comprising:
and acquiring the corresponding relation between the volume to be output of each type of input controlled equipment and the volume of the ambient noise.
5. The method of claim 1, further comprising:
establishing a communication connection with each controlled device;
the sending of the tuning instruction to the controlled device includes:
and sending a tuning instruction to the controlled equipment through the communication connection.
6. The method according to claim 5, wherein the establishing of the communication connection with each of the controlled devices comprises:
and establishing communication connection with each controlled device through a local area network.
7. A volume adjustment device, comprising:
the detection module is used for detecting the volume of the environmental noise;
the first determining module is used for determining the volume to be output of each controlled device according to the volume of the environmental noise;
a second determining module, configured to determine, for each controlled device, a volume gain coefficient corresponding to the controlled device according to a volume to be output and a current volume of the controlled device;
a sending module, configured to send a tuning instruction to the controlled device, where the tuning instruction is used to instruct the controlled device to adjust a volume according to a corresponding volume gain coefficient, and the sending of the tuning instruction to the controlled device includes: and when the volume gain coefficient is in a prestored coefficient range corresponding to the controlled device, sending the tuning instruction to the controlled device, wherein the volume gain coefficient indicates that the adjustment amplitude required by the volume of the controlled device is larger in the prestored coefficient range corresponding to the controlled device.
8. A volume adjustment device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps in the method of any one of claims 1 to 6.
9. A computer readable storage medium storing computer instructions, wherein the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
CN201811075381.4A 2018-09-14 2018-09-14 Volume adjusting method and device Active CN109194808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811075381.4A CN109194808B (en) 2018-09-14 2018-09-14 Volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811075381.4A CN109194808B (en) 2018-09-14 2018-09-14 Volume adjusting method and device

Publications (2)

Publication Number Publication Date
CN109194808A CN109194808A (en) 2019-01-11
CN109194808B true CN109194808B (en) 2021-07-02

Family

ID=64911358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811075381.4A Active CN109194808B (en) 2018-09-14 2018-09-14 Volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN109194808B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134361B (en) * 2019-05-06 2022-08-19 上海幻电信息科技有限公司 Volume adjusting method of device, computer device and computer-readable storage medium
CN113010137B (en) * 2019-12-19 2024-01-09 宏碁股份有限公司 Electronic device and automatic volume adjusting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634168A (en) * 2012-08-20 2014-03-12 海尔集团公司 A volume adjusting method for a household electrical appliance in an intelligent household and a system
CN107786751A (en) * 2017-10-31 2018-03-09 维沃移动通信有限公司 A kind of method for broadcasting multimedia file and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999492A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for adjusting volume of media file
WO2013134929A1 (en) * 2012-03-13 2013-09-19 Motorola Solutions, Inc. Method and apparatus for multi-stage adaptive volume control
CN104184426A (en) * 2014-08-06 2014-12-03 深圳市同洲电子股份有限公司 Volume adjusting method and apparatus
CN105099386A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Control system and control method for household appliances
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN105808205A (en) * 2016-04-01 2016-07-27 中车青岛四方机车车辆股份有限公司 Audio volume control method, device and system, loudspeaker and rail vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634168A (en) * 2012-08-20 2014-03-12 海尔集团公司 A volume adjusting method for a household electrical appliance in an intelligent household and a system
CN107786751A (en) * 2017-10-31 2018-03-09 维沃移动通信有限公司 A kind of method for broadcasting multimedia file and mobile terminal

Also Published As

Publication number Publication date
CN109194808A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
EP2991336A1 (en) Image capturing method and apparatus
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN113055966B (en) Frequency band switching method, frequency band switching device and storage medium
US20240063980A1 (en) System information reception method and apparatus, and system information transmission method and apparatus
US20210307104A1 (en) Method and apparatus for controlling intelligent voice control device and storage medium
CN109040651B (en) Video communication method and device
CN109194808B (en) Volume adjusting method and device
CN111277984A (en) Wireless local area network access method and device
CN110868561A (en) Video call method, video call device and computer readable storage medium
CN111123716A (en) Remote control method, remote control apparatus, and computer-readable storage medium
CN105227426B (en) Application interface switching method and device and terminal equipment
CN111654354B (en) Method and device for detecting maximum transmission unit MTU and storage medium
CN110933773B (en) Link monitoring method and device
CN110121148B (en) Interphone team method and device
US11812386B2 (en) Configuration adjustment methods, apparatuses, electronic device and computer readable storage medium
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN109922203B (en) Terminal, screen off method and device
CN111025921A (en) Local automation control method, local automation control device and electronic equipment
CN107682101B (en) Noise detection method and device and electronic equipment
CN108401518B (en) Channel coordination method and device
CN106775246B (en) Screen brightness adjusting method and device
CN110868495A (en) Message display method and device
CN106161808B (en) Method and device for updating information of telephone number, terminal equipment and server
CN109982307B (en) Data transmission method and device
CN112099364A (en) Intelligent interaction method for Internet of things household equipment

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