CN112214194B - Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium - Google Patents

Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112214194B
CN112214194B CN202011133285.8A CN202011133285A CN112214194B CN 112214194 B CN112214194 B CN 112214194B CN 202011133285 A CN202011133285 A CN 202011133285A CN 112214194 B CN112214194 B CN 112214194B
Authority
CN
China
Prior art keywords
volume
pressure
preset
pressure parameter
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.)
Active
Application number
CN202011133285.8A
Other languages
Chinese (zh)
Other versions
CN112214194A (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.)
Yuanxin Technology
Original Assignee
Yuanxin Technology
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 Yuanxin Technology filed Critical Yuanxin Technology
Priority to CN202011133285.8A priority Critical patent/CN112214194B/en
Publication of CN112214194A publication Critical patent/CN112214194A/en
Application granted granted Critical
Publication of CN112214194B publication Critical patent/CN112214194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application provides a volume adjustment method, a volume adjustment device, electronic equipment and a computer readable storage medium, and relates to the field of volume adjustment. The method comprises the following steps: collecting a plurality of pressure parameters of a preset position of the terminal equipment through at least one pre-configured sensor; 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 position of the equipment are collected through the preconfigured sensor, the equipment volume is automatically adjusted according to the collected pressure parameters, and the equipment volume is adjusted more timely and conveniently under special conditions.

Description

Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of volume adjustment technologies, and in particular, to a volume adjustment method, a volume adjustment device, an electronic device, and a computer readable storage medium.
Background
The existing mobile equipment volume adjustment operation is mainly realized by entity keys on a machine body, and mainly comprises volume increasing and decreasing keys and mute switches on part of machine types. Thus, in some special cases, it is inconvenient or even impossible to adjust the volume by means of a key.
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 adjusting the volume in time in special cases.
In a first aspect, there is provided a volume adjustment method, the method comprising: collecting a plurality of pressure parameters of a preset position of the terminal equipment through at least one pre-configured sensor;
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 acquired in real time at a predetermined location of the terminal device,
according to the plurality of pressure parameters that gather, adjust terminal equipment volume includes:
according to the pressure parameters, calculating a first pressure parameter variation 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;
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 the preset rules.
In another possible implementation manner, when the first pressure parameter variation and the current pressure parameter meet the preset condition, adjusting the volume of the terminal device according to the preset rule includes:
and when the first pressure parameter variation 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.
In yet another possible implementation, the method further includes:
calculating a second pressure parameter variation of the pressure parameters in a second preset time range according to the plurality of pressure parameters acquired after the equipment volume is reduced, wherein the second pressure parameter variation comprises a pressure parameter variation between the maximum value and the minimum value of the pressure parameters in the second preset time range;
and adjusting the volume of the terminal equipment according to the second pressure parameter variation.
In yet another possible implementation, adjusting the volume of the terminal device according to the second pressure parameter variation includes any one of:
when the variation of the second pressure parameter is smaller than or equal to a third preset threshold value, the volume of the terminal equipment is adjusted to be mute;
when the second pressure parameter variation is larger than a third preset threshold value and at least one pressure parameter of a plurality of pressure parameters acquired after the equipment volume is reduced reaches a fourth preset threshold value, adjusting the terminal equipment volume 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 aperture location,
the plurality of pressure parameters includes a gas pressure parameter.
In a second aspect, there is provided 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 preset sensor;
and the adjusting module is used for adjusting the volume of the terminal equipment according to the acquired pressure parameters.
In one possible implementation, the plurality of pressure parameters includes a plurality of pressure parameters acquired in real-time at a predetermined location of the device,
the adjusting module is specifically used for calculating a first pressure parameter variation 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;
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 the preset rules.
In a third aspect, an electronic device is provided, the electronic device comprising:
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 applications configured to: a volume adjustment method according to any one of claims 1 to 6 is performed.
For example, in a third aspect of the present application, there is provided a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the volume adjustment method according to the first aspect of the present application.
In a fourth aspect, a computer readable storage medium is provided, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the volume adjustment method of any of claims 1-6.
For example, in a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the volume adjustment method shown in the first aspect of the present application.
The beneficial effects that this application provided technical scheme brought are:
according to the device volume adjusting method and device, the pressure parameters of the preset position of the device are collected through the pre-configured sensor, and the device volume is automatically adjusted according to the collected pressure parameters, so that the device volume can be 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 that are required to be 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 application;
fig. 2 is a second flow chart of a volume adjustment method according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a volume adjusting device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device with volume adjustment according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present application and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. 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. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The existing mobile equipment volume adjustment operation is mainly realized by entity keys on a machine body, and mainly comprises volume increasing and decreasing keys and mute switches on part of machine types. Thus, in some special cases, it is inconvenient or even impossible to adjust the volume by means of a key.
According to the device volume adjusting method and device, the pressure parameters of the preset position of the device are collected through the pre-configured sensor, and the device volume is automatically adjusted according to the collected pressure parameters, so that the device volume can be adjusted more timely and conveniently under special conditions.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In the embodiment of the application, a volume adjusting method is provided, and an execution body of the method can be various terminals or server devices with volume adjusting capability, or can be devices or chips integrated on the devices. As shown in fig. 1, which is one of the flow charts of a volume adjustment method according to an embodiment of the present application, the method includes the following steps:
s101: a plurality of pressure parameters of a predetermined location of the terminal device are acquired by means of at least one sensor configured in advance.
Specifically, in the embodiment of the present application, the predetermined position of the terminal device may include, for example, a speaker hole location, a display screen surface of the terminal device, and the like. And the preconfigured sensor types may include pressure sensors, air pressure sensors, etc. In addition, when the pressure parameter at the predetermined position of the terminal device is acquired, the pressure parameter may be continuously acquired in real time, may be periodically acquired at predetermined time intervals, may be acquired within a predetermined time period, may be acquired at a predetermined time point, and the like.
S102: and adjusting the volume of the terminal equipment according to the collected pressure parameters.
According to the device volume adjusting method and device, the pressure parameters of the preset position of the device are collected through the pre-configured sensor, and the device volume is automatically adjusted according to the collected pressure parameters, so that the device volume can be 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 schematic flow chart of a volume adjustment method provided in the embodiment of the present application, where the method includes the following steps:
s201: a plurality of pressure parameters of a predetermined location of the terminal device are acquired by means of at least one sensor configured in advance.
Specifically, in the embodiment of the present application, a plurality of pressure parameters at a predetermined position of the terminal device may be acquired by a continuous real-time acquisition manner. For example, the predetermined location may comprise a speaker aperture location and the preconfigured sensor may comprise a gas pressure sensor.
For example, in a meeting of daily work or in a scene of a quiet place such as a library, for example, when a terminal device such as a mobile phone suddenly emits a loud sound due to an incoming call or the like, a user can immediately cover the speaker opening position of the mobile phone terminal device by hand, so that gas pressure parameters of the speaker opening position can be collected by the gas pressure sensor preset in the embodiment of the application.
In addition, in other embodiments, the predetermined location may also include, for example, a display screen surface of the terminal device, etc., and the preconfigured sensor type may also include a pressure sensor, etc. In addition, when the pressure parameter at the predetermined position of the terminal device is acquired, the periodic acquisition may be performed at predetermined time intervals, the acquisition may be performed within a predetermined period of time, the acquisition may be performed at a predetermined point of time, and the like.
S202: and calculating a first pressure parameter variation between the pressure parameter at the current moment and the pressure parameter at the moment which is a first preset time length 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 of the current time among the plurality of pressure parameters and the pressure parameter of the time before the current time, which is a first preset time length from the current time, is calculated.
Specifically, for example, in the case of the sudden sounding of the mobile phone terminal device, after the mobile phone terminal user rapidly covers the speaker opening position with his hand, the pressure parameter (for example, the air pressure value) in the speaker opening rapidly rises. Thus, in the above scenario, the first preset time period may be, for example, 0.5 seconds or the like, and the first pressure parameter variation amount of the current time air pressure value and the time air pressure value 0.5 seconds before the current time is calculated.
S203: and when the first pressure parameter variation 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.
After the first pressure parameter variation is calculated, when the first pressure parameter variation and the pressure parameter at the current moment meet the preset condition, the volume of the terminal equipment is adjusted according to the preset rule.
Specifically, when the first pressure parameter variation reaches a first preset threshold and the current pressure parameter reaches a second preset threshold, that is, in the above scenario, the variation of the air pressure value of the speaker opening position in the first preset time period reaches the first preset threshold and 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 be reduced at a preset rate.
S204: and calculating a second pressure parameter variation of the pressure parameters in a second preset time range according to the plurality of pressure parameters acquired after the equipment volume is reduced.
Specifically, the second pressure parameter variation of the pressure parameter in 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 pressure parameter variation between a maximum value and a minimum value of the pressure parameters within a second preset time range.
S205: and when the variation of the second pressure parameter is smaller than or equal to a third preset threshold value, adjusting the volume of the terminal equipment to be mute.
S206: when the second pressure parameter variation is larger than a third preset threshold value and at least one pressure parameter of a plurality of pressure parameters acquired after the equipment volume is reduced reaches a fourth preset threshold value, the terminal equipment volume is adjusted to be the preset volume.
Specifically, after the second pressure parameter variation is calculated in step S204, the volume of the terminal device may be adjusted according to the second pressure parameter variation.
Specifically, when the variation of the second pressure parameter is smaller than or equal to the third preset threshold, the volume of the terminal device can be adjusted to be mute. And the mobile phone terminal equipment can be prompted to be set to be mute by adjusting the mobile phone vibration and other modes.
Here, 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 volume with a lower decibel number set in advance, for example, a volume that can be sensed only in a small space 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 the mute effect for the environment outside the space range.
When the second pressure parameter variation is larger than the third preset threshold and at least one pressure parameter of the plurality of pressure parameters acquired after the equipment volume is reduced reaches the fourth preset threshold, the terminal equipment volume can be adjusted to be the preset volume.
The fourth preset threshold may be smaller than the first preset threshold, for example, in a scene 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. And the preset volume can be a volume value set by default by the system when the mobile phone is normally used.
According to the method and the device, the pressure parameters of the opening position of the equipment loudspeaker are collected through the pre-configured gas pressure sensor, and the equipment volume is automatically adjusted according to the collected pressure parameters, so that the equipment volume can be adjusted more timely and conveniently under special conditions.
The embodiment of the present application provides a volume adjusting device, as shown in fig. 3, which is a schematic structural diagram of the volume adjusting device provided in the embodiment of the present application, where the volume adjusting device 30 may include: the acquisition module 301, the adjustment module 302, wherein,
the acquisition module 301 is configured to acquire, by at least one sensor configured in advance, a plurality of pressure parameters of a predetermined location of the terminal device.
Specifically, in the embodiment of the present application, a plurality of pressure parameters at a predetermined position of the terminal device may be acquired by a continuous real-time acquisition manner. For example, the predetermined location may comprise a speaker aperture 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, etc., and the preconfigured sensor type may also include a pressure sensor, etc. In addition, when the pressure parameter at the predetermined position of the terminal device is acquired, the periodic acquisition may be performed at predetermined time intervals, the acquisition may be performed within a predetermined period of time, the acquisition may be performed at a predetermined point of time, and the like.
The adjusting module 302 is configured to adjust the volume of the terminal device according to the collected multiple pressure parameters.
The adjusting module is specifically configured to calculate, according to the plurality of pressure parameters, a first pressure parameter variation between a current time pressure parameter and a pressure parameter at a time of a first preset duration 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 the preset rules
Specifically, when the first pressure parameter variation reaches a first preset threshold and the pressure parameter at the current moment reaches a second preset threshold, the volume of the terminal equipment is reduced.
In addition, the adjusting module may 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 acquired after the equipment volume is reduced, and adjust the terminal equipment volume according to the second pressure parameter variation.
Specifically, when the variation of the second pressure parameter is smaller than or equal to a third preset threshold, the volume of the terminal equipment is adjusted to be mute.
When the second pressure parameter variation is greater than a third preset threshold and at least one pressure parameter of the plurality of pressure parameters acquired after the equipment volume is reduced reaches a fourth preset threshold, the terminal equipment volume is adjusted to be the preset volume, wherein the fourth preset threshold can be smaller than the first preset threshold.
The volume adjusting device of the present embodiment may execute the volume adjusting method shown in the foregoing embodiments of the present application, and the implementation principle is similar, and will not be described herein.
According to the device volume adjusting method and device, the pressure parameters of the preset position of the device are collected through the pre-configured sensor, and the device volume is automatically adjusted according to the collected pressure parameters, so that the device volume can be 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, performs: according to the device volume adjusting method and device, the pressure parameters of the preset position of the device are collected through the pre-configured sensor, and the device volume is automatically adjusted according to the collected pressure parameters, so that the device volume can be 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 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004, 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, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, 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 ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media 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.
The memory 4003 is used for storing application program codes for executing the present application, and execution is controlled by the processor 4001. The processor 4001 is configured to execute application program codes stored in the memory 4003 to realize what is shown in the foregoing method embodiment.
Among them, electronic devices include, but are not limited to: mobile phones, notebook computers, multimedia players, desktop computers, etc.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the prior art, the device volume is automatically adjusted according to the pressure parameters acquired by the preset sensor at the preset position of the device, so that the device volume can be 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, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of volume adjustment, comprising:
collecting a plurality of pressure parameters of a preset position of the terminal equipment through at least one pre-configured sensor;
according to the collected pressure parameters, adjusting the volume of the terminal equipment;
wherein the preset position comprises a loudspeaker opening position and/or a display screen surface of the terminal equipment;
wherein, according to the plurality of pressure parameters that gather, adjust terminal equipment volume includes:
calculating a first pressure parameter variation 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 pressure parameter at the current moment meet the preset conditions, adjusting the volume of the terminal equipment according to preset rules.
2. The method for adjusting volume according to claim 1, wherein,
the plurality of pressure parameters includes a plurality of pressure parameters acquired in real time at a predetermined location of the terminal device.
3. The method for adjusting the volume according to claim 1, wherein adjusting the volume of the terminal device according to a preset rule when the first pressure parameter variation and the current time pressure parameter satisfy a preset condition comprises:
and when the first pressure parameter variation 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. A method of volume adjustment according to claim 3, characterized in that the method further comprises:
calculating a second pressure parameter variation of the pressure parameters in a second preset time range according to the plurality of pressure parameters acquired after the equipment volume is reduced, wherein the second pressure parameter variation comprises a pressure parameter variation between the maximum value and the minimum value of the pressure parameters in the second preset time range;
and adjusting the volume of the terminal equipment according to the second pressure parameter variation.
5. The volume adjustment method according to claim 4, wherein adjusting the volume of the terminal device according to the second pressure parameter variation amount includes any one of:
when the second pressure parameter variation is smaller than or equal to a third preset threshold value, adjusting the volume of the terminal equipment to be mute;
when the second pressure parameter variation is larger than a third preset threshold value and at least one pressure parameter of a plurality of pressure parameters acquired after the equipment volume is reduced reaches a fourth preset threshold value, adjusting the terminal equipment volume to be the preset volume,
the fourth preset threshold is smaller than the first preset threshold.
6. The method for adjusting volume according to claim 1, wherein,
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 preset sensor;
the adjusting module is used for adjusting the volume of the terminal equipment according to the collected pressure parameters;
wherein the preset position comprises a loudspeaker opening position and/or a display screen surface of the terminal equipment;
the adjusting module is specifically configured to calculate, according to the plurality of pressure parameters, a first pressure parameter variation between a current time pressure parameter and a time pressure parameter of a first preset duration from the current time;
and when the first pressure parameter variation and the pressure parameter at the current moment meet the preset conditions, adjusting the volume of the terminal equipment according to preset rules.
8. The volume adjustment device of claim 7, wherein the plurality of pressure parameters comprises a plurality of pressure parameters acquired in real-time at a predetermined location of the terminal device.
9. An electronic device, the electronic device comprising:
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 applications configured to: a volume adjustment method according to any one of claims 1 to 6 is performed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the volume adjustment method according to any one of claims 1-6.
CN202011133285.8A 2020-10-21 2020-10-21 Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium Active CN112214194B (en)

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 CN112214194A (en) 2021-01-12
CN112214194B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114734896B (en) * 2022-04-07 2023-11-07 岚图汽车科技有限公司 Device and method for adjusting foot rest plate and vehicle

Citations (9)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059030A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Volume adjustment method and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN112214194A (en) 2021-01-12

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
CN109379678B (en) Nonlinear compensation method, nonlinear compensation device, storage medium and terminal equipment
CN106470284B (en) Method, device, system, server and communication device for eliminating acoustic echo
CN105847592B (en) Method for starting vibration mode and mobile terminal
CN112703781B (en) Wireless signal sending method, wireless signal sending device and terminal equipment
CN112214194B (en) Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium
CN112947886A (en) Method and device for protecting user hearing and electronic equipment
CN110782884B (en) Far-field pickup noise processing method, device, equipment and storage medium
CN110730946B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
TW202020652A (en) Voice processing method and apparatus
CN112261201B (en) Call method, device, mobile terminal and storage medium
CN113726940A (en) Recording method and device
CN107957687B (en) Method and device for controlling functions of interconnection equipment
US20120051551A1 (en) Electronic device and method for controlling audio output
CN105005612A (en) Music file acquisition method and mobile terminal
CN106066814B (en) A kind of application control method and mobile terminal
CN104754099A (en) Conversation volume adjusting method
CN114040319B (en) Method, device, equipment and medium for optimizing playback quality of terminal equipment
CN106293607B (en) Method and system for automatically switching audio output modes
CN104869211A (en) Information processing method and electronic device
CN109655269B (en) Motor vibration detection method and device
CN108491181B (en) Audio output device and method
CN113691677B (en) Audio output control method and device, electronic equipment and storage medium
CN108156302B (en) Control method of mobile terminal, mobile terminal and storage medium

Legal Events

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