CN112214194A - Volume adjusting method and device, electronic equipment and computer readable storage medium - Google Patents
Volume adjusting method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112214194A CN112214194A CN202011133285.8A CN202011133285A CN112214194A CN 112214194 A CN112214194 A CN 112214194A CN 202011133285 A CN202011133285 A CN 202011133285A CN 112214194 A CN112214194 A CN 112214194A
- Authority
- CN
- China
- Prior art keywords
- volume
- pressure
- pressure parameter
- preset
- adjusting
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000002829 reductive effect Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Abstract
The embodiment of the application provides a volume adjustment method and device, electronic equipment and a computer readable storage medium, and relates to the field of volume adjustment. The method comprises the following steps: acquiring a plurality of pressure parameters of a preset position of the terminal equipment through at least one sensor configured in advance; and adjusting the volume of the terminal equipment according to the collected pressure parameters. According to the embodiment of the application, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
Description
Technical Field
The present application relates to the field of volume adjustment technologies, and in particular, to a volume adjustment method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The volume adjustment operation of the existing mobile equipment is mainly realized by entity keys on the machine body, and the volume adjustment operation mainly comprises volume increasing keys, volume decreasing keys and mute switches on part of machine types. Therefore, in some special cases, it is inconvenient or even impossible to adjust the volume by pressing the keys.
Disclosure of Invention
The object of the present application is to solve at least one of the above-mentioned technical drawbacks, in particular the technical drawback of timely adjusting the volume in special situations.
In a first aspect, a volume adjustment method is provided, and the method includes: acquiring a plurality of pressure parameters of a preset position of the terminal equipment through at least one sensor configured in advance;
and adjusting the volume of the terminal equipment according to the collected pressure parameters.
In one possible implementation, the plurality of pressure parameters includes a plurality of pressure parameters of a predetermined location of the terminal device acquired in real time,
according to the plurality of collected pressure parameters, adjusting the volume of the terminal equipment comprises the following steps:
calculating a first pressure parameter variable quantity between a pressure parameter at the current moment and a pressure parameter at a moment which is a first preset time length away from the current moment according to the plurality of pressure parameters;
and when the first pressure parameter variation and the current pressure parameter meet the preset conditions, adjusting the volume of the terminal equipment according to a preset rule.
In another possible implementation manner, when the first pressure parameter variation and the current pressure parameter satisfy a preset condition, adjusting the volume of the terminal device according to a preset rule includes:
and when the first pressure parameter variation reaches a first preset threshold and the current pressure parameter reaches a second preset threshold, reducing the volume of the terminal equipment.
In yet another possible implementation, the method further includes:
calculating a second pressure parameter variation of the pressure parameters within a second preset time range according to a plurality of pressure parameters acquired after the volume of the equipment is reduced, wherein the second pressure parameter variation comprises a pressure parameter variation between a maximum value and a minimum value in the pressure parameters within the second preset time range;
and adjusting the volume of the terminal equipment according to the second pressure parameter variable quantity.
In yet another possible implementation manner, adjusting the volume of the terminal device according to the second pressure parameter variation includes any one of:
when the second pressure parameter variation is smaller than or equal to a third preset threshold, adjusting the volume of the terminal equipment to be mute;
when the second pressure parameter variation is larger than a third preset threshold and at least one of the plurality of pressure parameters collected after the volume of the terminal equipment is reduced reaches a fourth preset threshold, adjusting the volume of the terminal equipment to be the preset volume,
the fourth preset threshold is smaller than the first preset threshold.
In yet another possible implementation, the predetermined location of the terminal device is a speaker opening location,
the plurality of pressure parameters includes a gas pressure parameter.
In a second aspect, there is provided a volume adjustment device, the device comprising:
the acquisition module is used for acquiring a plurality of pressure parameters of a preset position of the terminal equipment through at least one sensor which is configured in advance;
and the adjusting module is used for adjusting the volume of the terminal equipment according to the collected pressure parameters.
In one possible implementation, the plurality of pressure parameters includes a plurality of pressure parameters of a predetermined location of the device acquired in real time,
the adjusting module is specifically used for calculating a first pressure parameter variable quantity between a current pressure parameter and a pressure parameter at a time which is a first preset time away from the current time according to the plurality of pressure parameters;
and when the first pressure parameter variation and the current pressure parameter meet the preset conditions, adjusting the volume of the terminal equipment according to a preset rule.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: executing the volume adjustment method according to any one of claims 1 to 6.
For example, in a third aspect of the present application, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the volume adjusting method as shown in the first aspect of the application.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the volume adjustment method according to any one of claims 1 to 6.
For example, in a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the volume adjustment method shown in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
according to the method and the device, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flow chart of a volume adjustment method according to an embodiment of the present disclosure;
fig. 2 is a second schematic flow chart of a volume adjustment method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device for volume adjustment according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The volume adjustment operation of the existing mobile equipment is mainly realized by entity keys on the machine body, and the volume adjustment operation mainly comprises volume increasing keys, volume decreasing keys and mute switches on part of machine types. Therefore, in some special cases, it is inconvenient or even impossible to adjust the volume by pressing the keys.
According to the method and the device, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the application provides a volume adjusting method, and the execution subject of the method can be various terminal or server devices with volume adjusting capability, and can also be devices or chips integrated on the devices. As shown in fig. 1, which is a schematic flow chart of a volume adjusting method provided in an embodiment of the present application, the method includes the following steps:
s101: a plurality of pressure parameters of a preset position of the terminal equipment are collected through at least one sensor which is configured in advance.
Specifically, in the embodiment of the present application, the predetermined position of the terminal device may include, for example, a speaker opening position, a display screen surface of the terminal device, and the like. And the preconfigured sensor types may include pressure sensors, barometric pressure sensors, and the like. In addition, when the pressure parameter at the predetermined position of the terminal device is collected, the pressure parameter may be collected continuously in real time, or may be collected periodically at predetermined time intervals, or may be collected within a predetermined time period or at a predetermined time point.
S102: and adjusting the volume of the terminal equipment according to the collected pressure parameters.
According to the method and the device, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
In an embodiment of the present application, a possible implementation manner is provided, as shown in fig. 2, which is a second flowchart of a volume adjusting method provided in the embodiment of the present application, and the method includes the following steps:
s201: a plurality of pressure parameters of a preset position of the terminal equipment are collected through at least one sensor which is configured in advance.
Specifically, in the embodiment of the present application, a plurality of pressure parameters of a predetermined position of the terminal device may be acquired in a continuous real-time acquisition manner. For example, the predetermined location may comprise a speaker vent location and the preconfigured sensor may comprise a gas pressure sensor.
For example, when a daily work is in a meeting, or in a scene in a quiet place such as a library, for example, when a terminal device such as a mobile phone suddenly makes a loud sound due to a call, the user can immediately cover the speaker opening position of the mobile phone terminal device with a hand, so that the gas pressure parameter at the speaker opening position is collected through the gas pressure sensor preset in the embodiment of the present application.
In addition, in other embodiments, the predetermined location may also include, for example, a display screen surface of the terminal device, and the like, and the preconfigured sensor type may also include a pressure sensor, and the like. In addition, when the pressure parameter at the predetermined position of the terminal device is collected, the pressure parameter may be collected periodically at predetermined time intervals, collected within a predetermined time period, collected at a predetermined time point, or the like.
S202: and calculating a first pressure parameter variable quantity between the pressure parameter at the current moment and the pressure parameter at the moment which is a first preset time length away from the current moment according to the plurality of pressure parameters.
According to the plurality of pressure parameters of the predetermined position of the terminal device acquired in real time in the step S201, a first pressure parameter variation between the pressure parameter at the current time and the pressure parameter at the time before the current time and a first preset time from the current time is calculated.
Specifically, for example, in the scenario of sudden sound generation of the mobile phone terminal device, after the mobile phone terminal user quickly covers the speaker opening with the hand, the pressure parameter (e.g., the air pressure value) in the speaker opening rapidly rises. Therefore, in the above scenario, the first preset time period may be, for example, 0.5 second, and the first pressure parameter variation amount between the air pressure value at the current time and the air pressure value at the time 0.5 second before the current time is calculated.
S203: and when the first pressure parameter variation reaches a first preset threshold and the current pressure parameter reaches a second preset threshold, reducing the volume of the terminal equipment.
After the first pressure parameter variation is calculated, when the first pressure parameter variation and the current pressure parameter meet preset conditions, the volume of the terminal equipment is adjusted according to preset rules.
Specifically, when the variation of the first pressure parameter reaches a first preset threshold and the pressure parameter at the current time reaches a second preset threshold, that is, in the above scenario, the variation of the air pressure value at the speaker opening position within a first preset time reaches the first preset threshold, and when the air pressure value at the current time rises to the second preset threshold, the volume of the terminal device is reduced.
The volume of the terminal device can be reduced to a preset volume value, and the volume of the terminal device can also be reduced at a preset rate.
S204: and calculating a second pressure parameter variation of the pressure parameters within a second preset time range according to the plurality of pressure parameters collected after the volume of the equipment is reduced.
Specifically, the second pressure parameter variation of the pressure parameter within the second preset time range may be calculated according to the plurality of pressure parameters acquired in real time after the volume of the terminal device is reduced in step S203.
The second pressure parameter variation may include a variation of the pressure parameter between a maximum value and a minimum value of the pressure parameter within a second preset time range.
S205: and when the second pressure parameter variation is smaller than or equal to a third preset threshold, adjusting the volume of the terminal equipment to be mute.
S206: and when the second pressure parameter variation is larger than a third preset threshold and at least one of the plurality of pressure parameters collected after the volume of the terminal equipment is reduced reaches a fourth preset threshold, adjusting the volume of the terminal equipment to be the preset volume.
Specifically, after the second pressure parameter variation is calculated in step S204, the terminal device volume may be adjusted according to the second pressure parameter variation.
Specifically, when the second pressure parameter variation is smaller than or equal to the third preset threshold, the volume of the terminal device may be adjusted to be silent. And the mobile phone terminal equipment can be prompted to be set to be mute by adjusting the vibration of the mobile phone and the like.
It should be noted here that the volume of the terminal device may be directly adjusted to be mute, and in addition, the volume of the terminal device may be adjusted to be a preset volume with a lower decibel number, for example, a volume that can be sensed only in a smaller spatial range preset near the device, for example, a volume that can be sensed in a range of 0.5 meter of the terminal device, so as to achieve a mute effect for an environment outside the spatial range.
When the second pressure parameter variation is larger than the third preset threshold and at least one of the plurality of pressure parameters collected after the volume of the terminal device is reduced reaches the fourth preset threshold, the volume of the terminal device can be adjusted to be the preset volume.
For example, in the scenario where the mobile phone terminal device suddenly sounds, the fourth preset threshold may be an air pressure value when the mobile phone is normally used and the speaker is not covered to open the hole. And the preset volume can be a volume value set by default when the mobile phone is normally used.
This application is through the gas pressure sensor who disposes in advance, and the pressure parameter of collection equipment speaker trompil position has realized more timely convenient adjusting device volume under the special circumstances according to the pressure parameter automatically regulated equipment volume of gathering.
An embodiment of the present application provides a volume adjustment device, as shown in fig. 3, which is a schematic structural diagram of the volume adjustment device provided in the embodiment of the present application, and the volume adjustment device 30 may include: an acquisition module 301, a conditioning module 302, wherein,
the acquisition module 301 is configured to acquire a plurality of pressure parameters of a predetermined location of the terminal device through at least one sensor configured in advance.
Specifically, in the embodiment of the present application, a plurality of pressure parameters of a predetermined position of the terminal device may be acquired in a continuous real-time acquisition manner. For example, the predetermined location may comprise a speaker vent location and the preconfigured sensor may comprise a gas pressure sensor.
In addition, in other embodiments, the predetermined location may also include, for example, a display screen surface of the terminal device, and the like, and the preconfigured sensor type may also include a pressure sensor, and the like. In addition, when the pressure parameter at the predetermined position of the terminal device is collected, the pressure parameter may be collected periodically at predetermined time intervals, collected within a predetermined time period, collected at a predetermined time point, or the like.
And the adjusting module 302 is configured to adjust the volume of the terminal device according to the collected multiple pressure parameters.
Specifically, the adjusting module is specifically configured to calculate, according to the plurality of pressure parameters, a first pressure parameter variation between the pressure parameter at the current time and the pressure parameter at a time that is a first preset time from the current time.
When the first pressure parameter variation and the current pressure parameter meet the preset conditions, the volume of the terminal equipment is adjusted according to preset rules
Specifically, when the variation of the first pressure parameter reaches a first preset threshold and the pressure parameter at the current moment reaches a second preset threshold, the volume of the terminal device is reduced.
In addition, the adjusting module can be further configured to calculate a second pressure parameter variation of the pressure parameter within a second preset time range according to the plurality of pressure parameters collected after the volume of the terminal device is reduced, and adjust the volume of the terminal device according to the second pressure parameter variation.
Specifically, when the second pressure parameter variation is smaller than or equal to a third preset threshold, the volume of the terminal device is adjusted to be mute.
And when the second pressure parameter variation is larger than a third preset threshold and at least one of the plurality of pressure parameters collected after the volume of the terminal device is reduced reaches a fourth preset threshold, adjusting the volume of the terminal device to be the preset volume, wherein the fourth preset threshold can be smaller than the first preset threshold.
The volume adjustment device of the present embodiment can perform the volume adjustment method shown in the previous embodiments of the present application, and the implementation principles thereof are similar, and are not described herein again.
According to the method and the device, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
An embodiment of the present application provides an electronic device, including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: according to the method and the device, the pressure parameters of the preset positions of the equipment are acquired through the pre-configured sensors, the volume of the equipment is automatically adjusted according to the acquired pressure parameters, and the volume of the equipment is adjusted more timely and conveniently under special conditions.
In an alternative embodiment, an electronic device is provided, as shown in fig. 4, the electronic device 4000 shown in fig. 4 comprising: a processor 4001 and a memory 4003. Processor 4001 is coupled to memory 4003, such as via bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. In addition, the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The Processor 4001 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computational function, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
The Memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 4003 is used for storing application codes for executing the scheme of the present application, and the execution is controlled by the processor 4001. Processor 4001 is configured to execute application code stored in memory 4003 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile phones, notebook computers, multimedia players, desktop computers, and the like.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, the volume adjusting device has the advantages that the pressure parameters of the preset positions of the device are acquired through the pre-configured sensors, the volume of the device is automatically adjusted according to the acquired pressure parameters, and the volume of the device is adjusted more timely and conveniently under special conditions.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method of adjusting volume, comprising:
acquiring a plurality of pressure parameters of a preset position of the terminal equipment through at least one sensor configured in advance;
and adjusting the volume of the terminal equipment according to the collected pressure parameters.
2. The volume adjustment method according to claim 1,
the plurality of pressure parameters comprise a plurality of pressure parameters of a preset position of the terminal equipment acquired in real time,
the adjusting the volume of the terminal device according to the collected pressure parameters comprises:
calculating a first pressure parameter variable quantity between the pressure parameter at the current moment and the pressure parameter at the moment which is a first preset time length away from the current moment according to the plurality of pressure parameters;
and when the first pressure parameter variation and the current pressure parameter meet preset conditions, adjusting the volume of the terminal equipment according to preset rules.
3. The volume adjustment method according to claim 2, wherein when the first pressure parameter variation and the current pressure parameter satisfy a preset condition, adjusting the volume of the terminal device according to a preset rule comprises:
and when the variable quantity of the first pressure parameter reaches a first preset threshold value and the pressure parameter at the current moment reaches a second preset threshold value, reducing the volume of the terminal equipment.
4. The volume adjustment method according to claim 3, characterized in that the method further comprises:
calculating a second pressure parameter variation of the pressure parameters within a second preset time range according to a plurality of pressure parameters acquired after the volume of the equipment is reduced, wherein the second pressure parameter variation comprises a pressure parameter variation between a maximum value and a minimum value in the pressure parameters within the second preset time range;
and adjusting the volume of the terminal equipment according to the second pressure parameter variable quantity.
5. The volume adjustment method according to claim 4, wherein the adjusting the volume of the terminal device according to the second pressure parameter variation comprises any one of:
when the second pressure parameter variation is smaller than or equal to a third preset threshold, adjusting the volume of the terminal equipment to be mute;
when the second pressure parameter variation is larger than a third preset threshold and at least one of the plurality of pressure parameters collected after the volume of the terminal equipment is reduced reaches a fourth preset threshold, adjusting the volume of the terminal equipment to be a preset volume,
the fourth preset threshold is smaller than the first preset threshold.
6. The volume adjustment method according to claim 1,
the predetermined position of the terminal device is a speaker opening position,
the plurality of pressure parameters includes a gas pressure parameter.
7. A volume adjustment device, comprising:
the acquisition module is used for acquiring a plurality of pressure parameters of a preset position of the terminal equipment through at least one sensor which is configured in advance;
and the adjusting module is used for adjusting the volume of the terminal equipment according to the collected pressure parameters.
8. The volume adjustment device according to claim 7, wherein the plurality of pressure parameters include a plurality of pressure parameters of a predetermined location of the terminal device collected in real time,
the adjusting module is specifically used for calculating a first pressure parameter variation between a pressure parameter at the current moment and a pressure parameter at a moment which is a first preset time away from the current moment according to the plurality of pressure parameters;
and when the first pressure parameter variation and the current pressure parameter meet preset conditions, adjusting the volume of the terminal equipment according to preset rules.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: executing the volume adjustment method according to any one of claims 1 to 6.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the volume adjustment method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011133285.8A CN112214194B (en) | 2020-10-21 | 2020-10-21 | Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011133285.8A CN112214194B (en) | 2020-10-21 | 2020-10-21 | Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112214194A true CN112214194A (en) | 2021-01-12 |
CN112214194B CN112214194B (en) | 2024-01-30 |
Family
ID=74056417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011133285.8A Active CN112214194B (en) | 2020-10-21 | 2020-10-21 | Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112214194B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114734896A (en) * | 2022-04-07 | 2022-07-12 | 岚图汽车科技有限公司 | Footrest adjusting device and method and vehicle |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011118822A (en) * | 2009-12-07 | 2011-06-16 | Nec Casio Mobile Communications Ltd | Electronic apparatus, speech detecting device, voice recognition operation system, and voice recognition operation method and program |
CN104917890A (en) * | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | Mobile terminal and volume adjusting method |
CN105141738A (en) * | 2015-06-26 | 2015-12-09 | 努比亚技术有限公司 | Volume adjusting method and device |
CN105554218A (en) * | 2015-10-30 | 2016-05-04 | 东莞酷派软件技术有限公司 | Receiver volume adjusting method and related equipment |
CN105791595A (en) * | 2016-04-29 | 2016-07-20 | 乐视控股(北京)有限公司 | Method of carrying out volume control based on pressure sensor and system thereof |
CN105824557A (en) * | 2016-02-19 | 2016-08-03 | 维沃移动通信有限公司 | Method for playing voice information and mobile terminal |
CN106095378A (en) * | 2016-05-31 | 2016-11-09 | 宇龙计算机通信科技(深圳)有限公司 | A kind of volume adjusting method and device |
CN108683812A (en) * | 2018-05-14 | 2018-10-19 | Oppo(重庆)智能科技有限公司 | volume adjusting method, device and mobile terminal |
CN109213264A (en) * | 2017-06-29 | 2019-01-15 | 北京小米移动软件有限公司 | Electronic equipment, volume adjusting method and device, computer readable storage medium |
US20190227767A1 (en) * | 2016-09-27 | 2019-07-25 | Huawei Technologies Co., Ltd. | Volume Adjustment Method and Terminal |
-
2020
- 2020-10-21 CN CN202011133285.8A patent/CN112214194B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011118822A (en) * | 2009-12-07 | 2011-06-16 | Nec Casio Mobile Communications Ltd | Electronic apparatus, speech detecting device, voice recognition operation system, and voice recognition operation method and program |
CN104917890A (en) * | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | Mobile terminal and volume adjusting method |
CN105141738A (en) * | 2015-06-26 | 2015-12-09 | 努比亚技术有限公司 | Volume adjusting method and device |
CN105554218A (en) * | 2015-10-30 | 2016-05-04 | 东莞酷派软件技术有限公司 | Receiver volume adjusting method and related equipment |
CN105824557A (en) * | 2016-02-19 | 2016-08-03 | 维沃移动通信有限公司 | Method for playing voice information and mobile terminal |
CN105791595A (en) * | 2016-04-29 | 2016-07-20 | 乐视控股(北京)有限公司 | Method of carrying out volume control based on pressure sensor and system thereof |
CN106095378A (en) * | 2016-05-31 | 2016-11-09 | 宇龙计算机通信科技(深圳)有限公司 | A kind of volume adjusting method and device |
US20190227767A1 (en) * | 2016-09-27 | 2019-07-25 | Huawei Technologies Co., Ltd. | Volume Adjustment Method and Terminal |
CN109213264A (en) * | 2017-06-29 | 2019-01-15 | 北京小米移动软件有限公司 | Electronic equipment, volume adjusting method and device, computer readable storage medium |
CN108683812A (en) * | 2018-05-14 | 2018-10-19 | Oppo(重庆)智能科技有限公司 | volume adjusting method, device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114734896A (en) * | 2022-04-07 | 2022-07-12 | 岚图汽车科技有限公司 | Footrest adjusting device and method and vehicle |
CN114734896B (en) * | 2022-04-07 | 2023-11-07 | 岚图汽车科技有限公司 | Device and method for adjusting foot rest plate and vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN112214194B (en) | 2024-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3416041B1 (en) | Sound effect processing method, and terminal device | |
CN110809214B (en) | Audio playing method, audio playing device and terminal equipment | |
CN109062715B (en) | Method and device for determining memory clock frequency and terminal | |
CN112703781B (en) | Wireless signal sending method, wireless signal sending device and terminal equipment | |
CN113099352B (en) | Audio signal processing method, audio signal processing device, electronic equipment and storage medium | |
TW201944251A (en) | Volume adjustment method and apparatus, electronic device and storage medium | |
CN110672325A (en) | Bearing working condition stability evaluation method and device based on probability distribution | |
CN110806826A (en) | Information display method and device and electronic equipment | |
CN104994547A (en) | Network access method and user terminal | |
CN112214194A (en) | Volume adjusting method and device, electronic equipment and computer readable storage medium | |
CN111104180B (en) | Application program optimization method and device, storage medium and electronic equipment | |
CN110782884A (en) | Far-field pickup noise processing method, device, equipment and storage medium | |
CN112400147A (en) | Algorithm configuration method, equipment and system and movable platform | |
CN106066814B (en) | A kind of application control method and mobile terminal | |
CN105005612A (en) | Music file acquisition method and mobile terminal | |
CN106527907B (en) | Screen capture processing method and device for intelligent terminal | |
CN109655269B (en) | Motor vibration detection method and device | |
CN112857613A (en) | Method and device for determining shell temperature, storage medium and electronic equipment | |
CN113031814A (en) | Touch event reporting method and device, terminal and storage medium | |
CN113691677B (en) | Audio output control method and device, electronic equipment and storage medium | |
CN110020285B (en) | Histogram processing method and device | |
CN111309224A (en) | Sound effect adjusting method and device, storage medium and mobile terminal | |
CN106341519B (en) | Audio data processing method and device | |
CN114724576B (en) | Method, device and system for updating threshold in howling detection in real time | |
CN108989964B (en) | Microphone blockage reminding method and related device |
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 |