CN111176606B - Electronic equipment and volume adjusting method thereof - Google Patents

Electronic equipment and volume adjusting method thereof Download PDF

Info

Publication number
CN111176606B
CN111176606B CN201911214150.1A CN201911214150A CN111176606B CN 111176606 B CN111176606 B CN 111176606B CN 201911214150 A CN201911214150 A CN 201911214150A CN 111176606 B CN111176606 B CN 111176606B
Authority
CN
China
Prior art keywords
ceramic
speaker driver
capacitance
electronic device
driver
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
CN201911214150.1A
Other languages
Chinese (zh)
Other versions
CN111176606A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911214150.1A priority Critical patent/CN111176606B/en
Publication of CN111176606A publication Critical patent/CN111176606A/en
Priority to PCT/CN2020/133257 priority patent/WO2021110015A1/en
Application granted granted Critical
Publication of CN111176606B publication Critical patent/CN111176606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention discloses electronic equipment and a volume adjusting method thereof, which are used for solving the problem that the volume of the electronic equipment is weakened because a user grips the electronic equipment in the prior art. The method comprises the following steps: determining a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor in a case where the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position; adjusting a volume of the electronic device based on the target ceramic speaker driver and a ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module.

Description

Electronic equipment and volume adjusting method thereof
Technical Field
The invention relates to the technical field of electronic equipment, in particular to electronic equipment and a volume adjusting method thereof.
Background
With the rapid development of electronic devices, in order to satisfy the hearing enjoyment of users, many electronic devices are provided with speakers to provide users with a function of playing audio.
Most of the existing speakers of electronic devices are moving-coil speakers, and sound holes need to be designed on the electronic devices so as to ensure that the sound of the moving-coil speakers can be radiated. However, the design of the sound outlet hole not only affects the appearance of the electronic device, but also increases the risk of water entering the speaker, thereby increasing the risk of electrostatic damage to the speaker, and further seriously affecting the function of the speaker.
At present, piezoelectric ceramic speakers are also used as speakers of some electronic devices, but single-product piezoelectric ceramic speakers are generally used. When a user grips the vibration sound production part of the loudspeaker tightly, the vibration of the loudspeaker is blocked, so that the volume of sound produced by the loudspeaker is weakened, and the hearing enjoyment of the user is affected. Therefore, how to avoid the problem of the user's hand weakening the volume when gripping the electronic device still needs a further solution.
Disclosure of Invention
The embodiment of the invention provides electronic equipment and a volume adjusting method thereof, and aims to solve the problem that in the prior art, the volume of the electronic equipment is weakened because a user grips the electronic equipment tightly.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, including a central processing unit, a first ceramic speaker driver, a second ceramic speaker driver, a housing, a capacitance detector sensor, and a dual-channel ceramic speaker driver module, where:
the first ceramic loudspeaker driver is arranged in the shell and connected with the shell;
the second ceramic loudspeaker driver is arranged in the shell, the second ceramic loudspeaker driver is connected with the shell, and the second ceramic loudspeaker driver and the first ceramic loudspeaker driver are arranged at intervals;
the capacitance detector sensor comprises a first detection piece and a second detection piece, the first detection piece is used for acquiring first capacitance information of the shell at a position corresponding to the first ceramic loudspeaker exciter, and the second detection piece is used for acquiring second capacitance information of the shell at a position corresponding to the second ceramic loudspeaker exciter;
the dual-channel ceramic speaker driver module for driving the first ceramic speaker driver and the second ceramic speaker driver;
central processing unit respectively with the electric capacity detects the meter sensor with the binary channels ceramic loudspeaker drive module is connected, central processing unit is based on first electric capacity information with second electric capacity information control binary channels ceramic loudspeaker drive module, with pass through first ceramic loudspeaker exciter with at least one sound production in the second ceramic loudspeaker exciter.
In a second aspect, an embodiment of the present invention provides a volume adjustment method for an electronic device, where the method is applied to the electronic device in the first aspect, and includes:
determining a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor in a case where the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position;
adjusting a volume of the electronic device based on the target ceramic speaker driver and a ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes the electronic device of the first aspect, and includes:
a determination unit configured to determine a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor in a case where the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position;
and the adjusting unit is used for adjusting the volume of the electronic equipment based on the target ceramic loudspeaker exciter and the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the volume adjustment method of an electronic device according to the second aspect.
In a fifth aspect, the embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the volume adjustment method of the electronic device according to the second aspect.
The electronic equipment provided by the embodiment of the invention comprises a central processing unit, a first ceramic loudspeaker exciter, a second ceramic loudspeaker exciter, a shell, a capacitance detection meter sensor and a dual-channel ceramic loudspeaker driving module, wherein the central processing unit is connected with the capacitance detection meter sensor; the first ceramic loudspeaker driver and the second ceramic loudspeaker driver are arranged in the shell at intervals; a first detection sheet of a capacitance detection meter sensor is arranged between the first ceramic loudspeaker exciter and the shell; a second detection sheet of a capacitance detection meter sensor is arranged between the second ceramic loudspeaker exciter and the shell; the dual channel ceramic loudspeaker driver module is used for driving a first ceramic loudspeaker driver and/or a second ceramic loudspeaker driver.
Therefore, when the user grasps the shell provided with the first ceramic loudspeaker exciter or the second ceramic loudspeaker exciter by hand to cause the ceramic loudspeaker exciter to be blocked from vibrating, the capacitance detection meter sensor arranged in the shell can detect capacitance change caused by the grasping of the hand and can send interruption and capacitance change signals to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment according to the ceramic loudspeaker exciter driven by the current dual-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter corresponding to the grasped position. For example, the dual-channel ceramic speaker driver module stops driving the corresponding ceramic speaker driver at the gripping position and drives other ceramic speaker drivers, or increases the volume of the electronic device to ensure that the volume of the electronic device heard by the user does not change, thereby avoiding affecting the hearing experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a housing of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a volume adjustment method for an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a method for adjusting a volume of an electronic device according to an embodiment of the present invention applied in an actual scene;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the above problems in the prior art, embodiments of the present invention provide an electronic device and a volume adjustment method thereof, where a capacitance detector in the electronic device includes a first detection sheet and a second detection sheet, the first detection sheet is used to obtain first capacitance information of a housing pair at a position corresponding to a first ceramic speaker exciter, and the second detection sheet is used to obtain second capacitance information of the housing pair at a position corresponding to a second ceramic speaker exciter.
This capacitance detection meter sensor is connected with central processing unit, capacitance detection meter sensor is used for detecting the capacitance change of piece based on first detection piece or second, send the capacitance change signal to central processing unit, central processing unit can be based on the capacitance change signal of capacitance detection meter sensor, confirm the ceramic speaker exciter that the casing is held the position and corresponds, thus, when user's hand is held the casing department that is provided with first ceramic speaker exciter or second ceramic speaker exciter, cause this ceramic speaker exciter vibration when being obstructed, the capacitance detection meter sensor that sets up at the casing inboard alright detect the capacitance change that the staff gripped and arouses, and can send interrupt and capacitance change signal to central processing unit.
The central processing unit can adjust the volume of the electronic equipment according to the ceramic loudspeaker exciter driven by the current double-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter corresponding to the gripped position, so that the volume of the electronic equipment heard by the user is not changed, and the auditory experience of the user is prevented from being influenced.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device includes a central processor 105, a first ceramic speaker driver 1071, a second ceramic speaker driver 1072, a housing 201, a capacitance detector sensor 106, and a dual channel ceramic speaker driver module 103, wherein:
first ceramic speaker driver 1071 is disposed within housing 201, first ceramic speaker driver 1071 being connected to housing 201;
second ceramic speaker driver 1072 is disposed within housing 201, second ceramic speaker driver 1072 is connected to housing 201, and second ceramic speaker driver 1072 and first ceramic speaker driver 1071 are disposed at an interval;
the capacitance detection sensor 106 includes a first detection piece 1061 and a second detection piece 1062, the first detection piece 1061 is configured to acquire first capacitance information of the housing 201 at a position corresponding to the first ceramic speaker exciter 1071, and the second detection piece 1062 is configured to acquire second capacitance information of the housing 201 at a position corresponding to the second ceramic speaker exciter 1072;
a dual channel ceramic speaker driver module 103 for driving a first ceramic speaker driver and a second ceramic speaker driver;
central processor 105 is connected to capacitance detector sensor 106 and dual-channel ceramic speaker driver module 103, respectively, and central processor 105 controls dual-channel ceramic speaker driver module 103 based on the first capacitance information and the second capacitance information to emit sound through at least one of first ceramic speaker driver 1071 and second ceramic speaker driver 1072.
Specifically, as shown in fig. 2, a schematic view of a housing structure of an electronic device according to an embodiment of the present invention is provided. In order to determine which of the ceramic speaker drivers 1071 and 1072 the gripped position corresponds to in order to adjust the volume of the electronic device, the embodiment of the present invention provides a first detection piece 1061 of the capacitance meter sensor 106 between the first ceramic speaker driver 1071 and the case 201, and a second detection piece 1062 of the capacitance meter sensor 106 between the second ceramic speaker driver 1072 and the case 201.
And the first ceramic speaker exciter 1071 is tightly attached to the first detecting piece 1061 of the capacitance detecting meter sensor 106, the second ceramic speaker exciter 1072 is tightly attached to the second detecting piece 1062 of the capacitance detecting meter sensor 106, and both the first detecting piece 1061 and the second detecting piece 1062 of the capacitance detecting meter sensor 106 are tightly attached to the housing 201, so as to more timely and accurately detect whether the ceramic speaker exciter 107 is gripped.
In order to facilitate the capacitance detection sensor 106 to detect the first capacitance information of the first detection piece 1061 and the second capacitance information of the second detection piece 1062 every time a preset time period passes, wherein the preset time period may be a short time period, such as 1 ms or 3 ms. The capacitance detector sensor 1061 may be connected to the first and second detection pads 1061, 1602 of the capacitance detector sensor 106 via a feed point 104, where the feed point 104 may be used to transmit audio signals between the dual-channel ceramic speaker driver module 103 and the ceramic speaker driver 107 and to transmit capacitance information between the capacitance detector sensor 106 and the detection pads of the capacitance detector sensor.
In order to ensure that the phases of signals transmitted from feed point 104 to first ceramic speaker driver 1071 and second ceramic speaker driver 1072 coincide, feed point 104 is disposed at a position in close contact with case 201 at the midpoint between first ceramic speaker driver 1071 and second ceramic speaker driver 1072.
It should be understood that, when detecting the capacitance change of the detection piece of the capacitance detection meter sensor 106, in order to determine the ceramic speaker exciter corresponding to the detection piece of the capacitance detection meter sensor 106 with the capacitance change, the central processing unit 105 may be connected with the capacitance detection meter sensor 106, so that the capacitance detection meter sensor 106 can timely transmit the capacitance signal to the central processing unit 105. The central processing unit 105 is connected to the dual-channel ceramic speaker driving module 103, so that the central processing unit 105 can acquire the ceramic speaker driver currently driven by the dual-channel ceramic speaker driving module 103, and adjust the volume of the electronic device according to the capacitance information corresponding to the acquired capacitance change signal and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driving module 103.
Specifically, the audio processor module 101 can output audio signals, and the audio bus 102 can transfer the audio signals output by the audio processor module 101 to the two-channel ceramic speaker driver module 103. Two-channel ceramic speaker drive module 103 can drive first ceramic speaker driver 1071 and/or second ceramic speaker driver 1072, and two-channel ceramic speaker drive module 103 output voltage signal along with the sound signal changes promptly for first ceramic speaker driver 1071 and/or second ceramic speaker driver 1072 take place deformation along with the voltage, promote the vibration of casing vibrating diaphragm, and then promote the air vibration, sound. And the dual channel ceramic speaker driver module 103 may specifically drive which of the first ceramic speaker drivers 1071 and 1072 is driven, as determined by receiving instructions from the central processor 105.
Feed point 104 enables signal transfer between dual-channel ceramic speaker driver module 103 and first ceramic speaker driver 1071 and/or second ceramic speaker driver 1072, and also enables signal transfer between capacitance detector sensor 106 and first and second detection pads 1061 and 1062. Furthermore, feedpoint 104 may be disposed substantially midway between first ceramic loudspeaker driver 1071 and second ceramic loudspeaker driver 1072 to ensure that the signals transmitted by feedpoint 104 to first ceramic loudspeaker driver 1071 and second ceramic loudspeaker driver 1072 are in phase.
The capacitance sensor 106 includes a first detection piece 1061 and a second detection piece 1062, and the capacitance sensor 106 can detect a change in capacitance when vibration of the first ceramic speaker driver 1071 corresponding to the first detection piece 1061 and the second ceramic speaker driver 1072 corresponding to the second detection piece 1062 is blocked.
A signal line connecting the capacitance detection sensor 106 and the first detection piece 1061 and the second detection piece 1062, and capable of transmitting capacitance change information of the first detection piece 1061 and/or the second detection piece 1062 to the capacitance detection sensor 106;
the signal line connecting dual-channel ceramic speaker driver module 103 and first ceramic speaker drivers 1071 and 1072 can transmit the voltage signal, which is transmitted by dual-channel ceramic speaker driver module 103 and varies with the sound signal, to first ceramic speaker drivers 1071 and/or 1072.
The electronic equipment provided by the embodiment of the invention comprises a central processing unit, a first ceramic loudspeaker exciter, a second ceramic loudspeaker exciter, a shell, a capacitance detection meter sensor and a dual-channel ceramic loudspeaker driving module, wherein the central processing unit is connected with the capacitance detection meter sensor; the first ceramic loudspeaker driver and the second ceramic loudspeaker driver are arranged in the shell at intervals; a first detection sheet of a capacitance detection meter sensor is arranged between the first ceramic loudspeaker exciter and the shell; a second detection sheet of a capacitance detection meter sensor is arranged between the second ceramic loudspeaker exciter and the shell; the dual channel ceramic loudspeaker driver module is used for driving a first ceramic loudspeaker driver and/or a second ceramic loudspeaker driver.
Therefore, when the user grasps the shell provided with the first ceramic loudspeaker exciter or the second ceramic loudspeaker exciter by hand to cause the vibration of the ceramic loudspeaker exciter to be blocked, the capacitance detection meter sensor arranged in the shell can detect a capacitance change signal caused by the grasping of the hand and can send an interruption and capacitance change signal to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment according to the ceramic loudspeaker exciter driven by the current dual-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter corresponding to the grasped position. For example, the dual-channel ceramic speaker driver module stops driving the corresponding ceramic speaker driver at the gripping position and drives other ceramic speaker drivers, or increases the volume of the electronic device to ensure that the volume of the electronic device heard by the user does not change, thereby avoiding affecting the hearing experience of the user.
In order to solve the problem that the volume of the electronic device is weakened due to the fact that a user grips the electronic device tightly in the prior art, the invention further provides a volume adjusting method of the electronic device, and an execution main body of the method, which can be but is not limited to a mobile phone, a tablet computer, a wearable device and the like, can be configured to execute at least one of the user terminals of the method provided by the embodiment of the invention, or the execution main body of the method, and can also be a client itself capable of executing the method.
For convenience of description, the following description will be made on embodiments of the method, taking an execution subject of the method as an example of an electronic device capable of executing the method. It is to be understood that the implementation of the method as an electronic device is merely an exemplary illustration and should not be construed as a limitation of the method.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
As shown in fig. 3, a schematic view of a specific implementation flow of a volume adjustment method for an electronic device according to an embodiment of the present invention is provided, and the method is applied to the electronic device described above.
The following describes in detail an implementation process of the method with reference to a schematic flow chart of a specific implementation of the volume adjustment method of the electronic device shown in fig. 3, and includes:
step 301, under the condition that the capacitance detection meter sensor detects that the target position of the shell is grasped, determining a target ceramic loudspeaker exciter corresponding to the target position on the shell based on capacitance information of the capacitance detection meter sensor;
optionally, when the target position of the housing is grasped, in order to avoid that the vibration of the ceramic speaker exciter arranged at the target position is blocked, and thus the output volume of the electronic device is affected, the embodiment of the invention may determine the target ceramic speaker exciter corresponding to the target position in the electronic device based on the capacitance change of the first detection sheet or the second detection sheet arranged at the target position. That is, it is determined which ceramic speaker actuator is affected by the grasping of the target position by the capacitance change signal of the capacitance detection meter sensor.
Optionally, when the capacitance detector sensor detects that the capacitance of the detection piece of the capacitance detector sensor changes, in order to enable the central processing unit to adjust the volume of the electronic device in time and shorten the time of influencing the hearing experience of a user due to the fact that the user grasps the shell of the electronic device as much as possible, the capacitance detector sensor in the embodiment of the invention sends a capacitance change signal to the central processing unit and simultaneously sends an interrupt for the central processing unit to suspend processing of the current running process, so that the target ceramic speaker exciter arranged at the target position is determined as soon as possible based on the capacitance change signal.
Specifically, in an embodiment of the present invention, determining a target ceramic speaker exciter corresponding to a target location in an electronic device based on capacitance information of a capacitance detector sensor includes:
based on the capacitance change of the detection sheet of the capacitance detection meter sensor, sending an interruption signal and a capacitance change signal to the central processing unit through the capacitance detection meter sensor;
determining, by the central processor, a target ceramic speaker exciter in the electronic device corresponding to the target location based on the interrupt and the capacitance change signal.
The interruption can enable the central processing unit to firstly suspend the current program with lower priority in all the parallel programs and start processing the process corresponding to the capacitance change signal of the capacitance detection meter sensor.
Optionally, when the central processing unit receives an interrupt and a capacitance change signal sent by the capacitance detector sensor, in order to enable the central processing unit to quickly and effectively adjust the volume of the electronic device and switch the driven ceramic speaker driver, the central processing unit in the embodiment of the present invention may obtain, in advance, first capacitance information of the first detection piece, second capacitance information of the second detection piece, a correspondence relationship between the first detection piece and the first ceramic speaker driver, and a correspondence relationship between the second detection piece and the second ceramic speaker driver.
Specifically, determining, by a central processor, a target ceramic speaker exciter in an electronic device corresponding to a target location based on an interrupt and a capacitance change signal, comprises:
suspending, by the central processor, processing a currently running process based on the interrupt;
acquiring capacitance information corresponding to the capacitance change signal through a central processing unit;
and determining a target ceramic loudspeaker exciter corresponding to the target position in the electronic equipment by the central processing unit based on the capacitance information corresponding to the capacitance change signal, the first capacitance information of the first detection sheet, the second capacitance information of the second detection sheet and the corresponding relation between the detection sheet of the capacitance detection meter sensor and the ceramic loudspeaker exciter.
Specifically, after receiving the interrupt and the capacitance change signal of the sensor of the capacitance detector, the central processing unit may suspend the task with the lower priority in the current process, start to process the task of adjusting the volume of the electronic device in the embodiment of the present invention, and then acquire capacitance information corresponding to the capacitance change signal, where the capacitance information corresponding to the capacitance change signal may include characteristics such as a capacitance change amount.
Then, the cpu may determine which capacitance information corresponding to the capacitance change of the detection piece matches the capacitance information based on the first capacitance information of the first detection piece, the second capacitance information of the second detection piece, the capacitance information corresponding to the capacitance change signal, and the correspondence between the detection piece of the capacitance detection meter sensor and the ceramic speaker exciter. Assuming that the capacitance information matches the first capacitance information of the first detection piece, the ceramic speaker exciter corresponding to the position gripped by the human hand may be determined as the first ceramic speaker exciter based on the correspondence relationship between the detection piece of the capacitance detection meter sensor and the ceramic speaker exciter.
Step 302, adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module;
alternatively, if the electronic device is currently dual-channel outputting, that is, the dual-channel ceramic speaker driver module drives the first ceramic speaker driver and the second ceramic speaker driver simultaneously, and it is detected that one of the ceramic speaker drivers (assumed as the first ceramic speaker driver) is gripped at the corresponding position on the housing, in order to avoid the sound heard by the user from being attenuated due to the vibration of the ceramic speaker driver being blocked, the embodiment of the invention may double the sound volume of the electronic device and cause the dual-channel ceramic speaker driver module to stop driving the first ceramic speaker driver.
Specifically, when the target ceramic speaker driver is the first ceramic speaker driver and the two-channel ceramic speaker driver module is currently driving the ceramic speaker driver, the method comprises: first ceramic loudspeaker driver and second ceramic loudspeaker driver,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module, comprising:
acquiring the initial volume of the electronic equipment when the target position of the shell of the electronic equipment is grasped;
the volume of the electronic device is adjusted to twice the original volume and the dual channel ceramic speaker driver module is caused to cease driving the first ceramic speaker driver.
At this moment, first ceramic speaker driver has stopped work, stops promptly to be driven by dual-channel ceramic speaker driver module, and dual-channel ceramic speaker driver module driven only has second ceramic speaker driver, adjusts the volume of electronic equipment for the casing of electronic equipment by the twice before being held, then can make the volume of electronic equipment that the user heard not change to influence user's hearing experience has been avoided.
Alternatively, if the electronic device is currently mono-output, i.e. the dual-channel ceramic speaker driver module drives only one of the first ceramic speaker driver or the second ceramic speaker driver, and it is detected that the currently driven ceramic speaker driver (assumed to be the first ceramic speaker driver) is gripped at the corresponding position on the housing, in order to avoid that the sound heard by the user is greatly reduced due to the obstructed vibration of the ceramic speaker driver, the embodiment of the present invention may adjust the ceramic speaker driver driven by the dual-channel ceramic speaker driver module to be the second ceramic speaker driver, and cause the dual-channel ceramic speaker driver module to stop driving the first ceramic speaker driver.
In particular, when the target ceramic speaker driver is the first ceramic speaker driver and the ceramic speaker driver currently being driven by the dual channel ceramic speaker driver module comprises the first ceramic speaker driver,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module, comprising:
the ceramic speaker driver driven by the dual channel ceramic speaker driver module is adjusted to be the second ceramic speaker driver and the dual channel ceramic speaker driver module is caused to cease driving the first ceramic speaker driver.
Alternatively, when only the second ceramic speaker driver is currently driven by the dual channel electronic device driver module and it is detected that the second ceramic speaker driver is gripped at the corresponding position of the housing, in order to avoid that the sound heard by the user is greatly attenuated due to the obstructed vibration of the ceramic speaker driver, the dual channel ceramic speaker driver module may be caused to drive the first ceramic speaker driver and simultaneously stop driving the second ceramic speaker driver.
If it is detected that the dual-channel ceramic speaker driver module is currently driving only the second ceramic speaker driver and it is detected that the first ceramic speaker driver is gripped at a position corresponding to the housing, the electronic device may not make an adjustment, i.e., maintain the current driving state, to ensure that the volume heard by the user is not changed.
Optionally, when the dual-channel ceramic speaker driver module is currently driving a device including a first ceramic speaker driver and a second ceramic speaker driver and it is detected that both the first ceramic speaker driver and the second ceramic speaker driver are gripped at corresponding positions of the housing, the volume of the electronic device may be increased in order to avoid a significant reduction in the sound heard by the user due to the obstructed vibration of the ceramic speaker drivers.
In particular, when the target ceramic loudspeaker driver comprises a first ceramic loudspeaker driver and a second ceramic loudspeaker driver and the ceramic loudspeaker driver currently being driven by the dual channel ceramic loudspeaker drive module comprises a first ceramic loudspeaker driver and a second ceramic loudspeaker driver,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module, comprising:
acquiring the initial volume of the electronic equipment when the target position of the shell of the electronic equipment is grasped;
and adjusting the volume of the electronic equipment to a preset volume, wherein the preset volume is greater than the initial volume.
For example, if the electronic device is currently in a dual output channel, and it is detected that the corresponding positions of the first ceramic speaker driver and the second ceramic speaker driver of the electronic device on the housing are both grasped, first, an initial volume when the electronic device is grasped may be obtained, and then the volume of the electronic device is adjusted to a preset multiple of the initial volume, where the preset multiple may be determined according to the situation in practical application, such as 1.25 times or 1.5 times. At this time, the overall volume of the electronic device is increased to avoid the volume output by the electronic device from being attenuated by the user.
Specifically, as shown in fig. 4, a flow chart of the method for adjusting the volume of the electronic device provided in the embodiment of the present invention applied in an actual scene includes:
s41, the user' S hand grasping the housing of the electronic device;
s42, detecting the capacitance change of the detection piece of the capacitance sensor by the capacitance detection meter sensor;
s43, the capacitance detecting meter sensor sends interrupt and capacitance change signals to the central processing unit;
s44, the central processing unit suspends the current running process based on the interruption sent by the capacitance detection meter sensor, and obtains the initial volume of the ceramic loudspeaker exciter and the electronic equipment corresponding to the gripped position of the shell based on the capacitance change signal sent by the capacitance detection meter sensor;
s45, the central processing unit obtains the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module to determine whether the current output is dual-channel output, namely, the first ceramic loudspeaker exciter and the second ceramic loudspeaker exciter are both driven by the dual-channel ceramic loudspeaker driving module;
s46, if the current is dual-channel output and the gripped position corresponds to only one ceramic loudspeaker exciter, adjusting the volume of the electronic equipment to be twice of the initial volume when the electronic equipment is gripped, and simultaneously enabling the dual-channel ceramic loudspeaker driving module to stop driving the ceramic loudspeaker exciter corresponding to the gripped position;
s47, if the dual-channel ceramic loudspeaker driving module only drives one ceramic loudspeaker exciter currently, namely single-channel output is obtained, judging whether the ceramic loudspeaker exciter corresponding to the gripped position is consistent with the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module;
s48, if the ceramic loudspeaker exciter corresponding to the grasped position is not consistent with the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module, keeping normal audio output of the electronic equipment without adjustment;
and S49, if the ceramic loudspeaker exciter corresponding to the grasped position is consistent with the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module, the central processing unit sends a control instruction to the dual-channel ceramic loudspeaker driving module, so that the dual-channel ceramic loudspeaker driving module adjusts the currently driven ceramic loudspeaker exciter to be another ceramic loudspeaker exciter.
The electronic equipment in the volume adjusting method of the electronic equipment comprises a central processing unit, a first ceramic loudspeaker exciter, a second ceramic loudspeaker exciter, a shell, a capacitance detection meter sensor and a dual-channel ceramic loudspeaker driving module, wherein the central processing unit is connected with the capacitance detection meter sensor; the first ceramic loudspeaker driver and the second ceramic loudspeaker driver are arranged in the shell at intervals; a first detection sheet of a capacitance detection meter sensor is arranged between the first ceramic loudspeaker exciter and the shell; a second detection sheet of a capacitance detection meter sensor is arranged between the second ceramic loudspeaker exciter and the shell; the dual channel ceramic loudspeaker driver module is used for driving a first ceramic loudspeaker driver and/or a second ceramic loudspeaker driver.
Therefore, when the user grasps the shell provided with the first ceramic loudspeaker exciter or the second ceramic loudspeaker exciter by hand to cause the vibration of the ceramic loudspeaker exciter to be blocked, the capacitance detection meter sensor arranged in the shell can detect a capacitance change signal caused by the grasping of the hand and can send an interruption and capacitance change signal to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment according to the ceramic loudspeaker exciter driven by the current dual-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter corresponding to the grasped position. For example, the dual-channel ceramic speaker driver module stops driving the corresponding ceramic speaker driver at the gripping position and drives other ceramic speaker drivers, or increases the volume of the electronic device to ensure that the volume of the electronic device heard by the user does not change, thereby avoiding affecting the hearing experience of the user.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including:
a determination unit 501 configured to determine a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor when the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position;
an adjusting unit 502, configured to adjust a volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module.
Optionally, in an embodiment, the determining unit 501 is configured to:
sending an interrupt and the capacitance change signal to the central processing unit through the capacitance detection meter sensor based on the capacitance change of a detection piece of the capacitance detection meter sensor;
determining, by the central processor, a target ceramic speaker driver in the electronic device corresponding to the target location based on the interrupt and the capacitance change signal.
Optionally, in an embodiment, the determining unit 501 is configured to:
suspending, by the central processor, processing of a currently running process based on the interrupt;
acquiring capacitance information corresponding to the capacitance change signal through the central processing unit;
and determining a target ceramic loudspeaker exciter corresponding to the target position in the electronic equipment by the central processing unit based on the capacitance information corresponding to the capacitance change signal, the first capacitance information of the first detection sheet, the second capacitance information of the second detection sheet and the corresponding relation between the detection sheet of the capacitance detection meter sensor and the ceramic loudspeaker exciter.
Optionally, in one embodiment, when the target ceramic speaker driver is the first ceramic speaker driver and the ceramic speaker driver currently driven by the dual channel ceramic speaker driver module comprises: said adjusting unit 502, when said first ceramic loudspeaker driver and said second ceramic loudspeaker driver are used for:
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
acquiring an initial volume of the electronic device when a target position of a shell of the electronic device is grasped;
adjusting a volume of the electronic device to twice the initial volume and causing the dual channel ceramic speaker driver module to cease driving the first ceramic speaker driver.
Optionally, in an embodiment, when the target ceramic speaker driver is the first ceramic speaker driver and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module comprises the first ceramic speaker driver, the adjusting unit 502 is configured to:
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
adjusting the ceramic speaker driver driven by the dual-channel ceramic speaker driver module to the second ceramic speaker driver and causing the dual-channel ceramic speaker driver module to cease driving the first ceramic speaker driver.
Optionally, in an embodiment, when the target ceramic speaker driver comprises the first ceramic speaker driver and the second ceramic speaker driver, and the ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module comprises the first ceramic speaker driver and the second ceramic speaker driver, the adjusting unit 502 is configured to:
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
acquiring an initial volume of the electronic device when a target position of a shell of the electronic device is grasped;
and adjusting the volume of the electronic equipment to a preset volume, wherein the preset volume is greater than the initial volume.
The electronic device 500 can implement the method of the embodiment of the method shown in fig. 1 to 4, and specifically refer to the method for adjusting the volume of the electronic device shown in the embodiment shown in fig. 1 to 4, which is not described again.
Figure 6 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 305, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 610 is configured to determine a target ceramic speaker exciter corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor when the capacitance detection meter sensor detects that the target position of the housing is grasped; a first detection sheet or a second detection sheet is arranged at the target position; the volume of the electronic device is adjusted based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module.
The electronic equipment in the volume adjusting method of the electronic equipment comprises a central processing unit, a first ceramic loudspeaker exciter, a second ceramic loudspeaker exciter, a shell, a capacitance detection meter sensor and a dual-channel ceramic loudspeaker driving module, wherein the central processing unit is connected with the capacitance detection meter sensor; the first ceramic loudspeaker driver and the second ceramic loudspeaker driver are arranged in the shell at intervals; a first detection sheet of a capacitance detection meter sensor is arranged between the first ceramic loudspeaker exciter and the shell; a second detection sheet of a capacitance detection meter sensor is arranged between the second ceramic loudspeaker exciter and the shell; the dual channel ceramic loudspeaker driver module is used for driving a first ceramic loudspeaker driver and/or a second ceramic loudspeaker driver.
Therefore, when the user grasps the shell provided with the first ceramic loudspeaker exciter or the second ceramic loudspeaker exciter by hand to cause the vibration of the ceramic loudspeaker exciter to be blocked, the capacitance detection meter sensor arranged in the shell can detect a capacitance change signal caused by the grasping of the hand and can send an interruption and capacitance change signal to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment according to the ceramic loudspeaker exciter driven by the current dual-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter corresponding to the grasped position. For example, the dual-channel ceramic speaker driver module stops driving the corresponding ceramic speaker driver at the gripping position and drives other ceramic speaker drivers, or increases the volume of the electronic device to ensure that the volume of the electronic device heard by the user does not change, thereby avoiding affecting the hearing experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the embodiment of the volume adjustment method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the volume adjustment method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An electronic device comprising a central processing unit, a first ceramic speaker driver, a second ceramic speaker driver, a housing, a capacitance detector sensor, and a dual channel ceramic speaker driver module, wherein:
the first ceramic loudspeaker driver is arranged in the shell and connected with the shell;
the second ceramic loudspeaker driver is arranged in the shell, the second ceramic loudspeaker driver is connected with the shell, and the second ceramic loudspeaker driver and the first ceramic loudspeaker driver are arranged at intervals;
the capacitance detector sensor comprises a first detection piece and a second detection piece, the first detection piece is used for acquiring first capacitance information of the shell at a position corresponding to the first ceramic loudspeaker exciter, and the second detection piece is used for acquiring second capacitance information of the shell at a position corresponding to the second ceramic loudspeaker exciter;
the dual-channel ceramic speaker driver module for driving the first ceramic speaker driver and the second ceramic speaker driver;
central processing unit respectively with the electric capacity detects the meter sensor with the binary channels ceramic loudspeaker drive module is connected, central processing unit is based on first electric capacity information with second electric capacity information control binary channels ceramic loudspeaker drive module, with pass through first ceramic loudspeaker exciter with at least one sound production in the second ceramic loudspeaker exciter.
2. The electronic device of claim 1, wherein the first detection patch is coupled between the first ceramic speaker driver and the housing, and wherein the second detection patch is coupled between the second ceramic speaker driver and the housing.
3. A method of volume adjustment of an electronic device, the method being for use in the electronic device of claim 1, the method comprising:
determining a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor in a case where the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position;
adjusting a volume of the electronic device based on the target ceramic speaker driver and a ceramic speaker driver currently driven by the dual-channel ceramic speaker driver module.
4. The method of claim 3, wherein determining a target ceramic speaker driver in the electronic device corresponding to the target location based on capacitance information of the capacitance detector sensor comprises:
sending an interrupt and the capacitance change signal to the central processing unit through the capacitance detection meter sensor based on the capacitance change of a detection piece of the capacitance detection meter sensor;
determining, by the central processor, a target ceramic speaker driver in the electronic device corresponding to the target location based on the interrupt and the capacitance change signal.
5. The method of claim 4, wherein determining, by the central processor, a target ceramic speaker driver in the electronic device corresponding to the target location based on the interrupt and the capacitance change signal comprises:
suspending, by the central processor, processing of a currently running process based on the interrupt;
acquiring capacitance information corresponding to the capacitance change signal through the central processing unit;
and determining a target ceramic loudspeaker exciter corresponding to the target position in the electronic equipment by the central processing unit based on the capacitance information corresponding to the capacitance change signal, the first capacitance information of the first detection sheet, the second capacitance information of the second detection sheet and the corresponding relation between the detection sheet of the capacitance detection meter sensor and the ceramic loudspeaker exciter.
6. A method according to any of claims 3 to 5, wherein when the target ceramic loudspeaker driver is the first ceramic loudspeaker driver and the two-channel ceramic loudspeaker drive module is currently driving a ceramic loudspeaker driver, comprising: said first ceramic loudspeaker driver and said second ceramic loudspeaker driver,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
acquiring an initial volume of the electronic device when a target position of a shell of the electronic device is grasped;
adjusting a volume of the electronic device to twice the initial volume and causing the dual channel ceramic speaker driver module to cease driving the first ceramic speaker driver.
7. A method according to any of claims 3 to 5 wherein, when the target ceramic loudspeaker driver is the first ceramic loudspeaker driver and the ceramic loudspeaker driver currently driven by the two-channel ceramic loudspeaker drive module comprises the first ceramic loudspeaker driver,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
adjusting the ceramic speaker driver driven by the dual-channel ceramic speaker driver module to the second ceramic speaker driver and causing the dual-channel ceramic speaker driver module to cease driving the first ceramic speaker driver.
8. A method according to any of claims 3 to 5 wherein, when the target ceramic loudspeaker driver comprises the first and second ceramic loudspeaker drivers and the ceramic loudspeaker driver currently being driven by the dual channel ceramic loudspeaker drive module comprises the first and second ceramic loudspeaker drivers,
adjusting the volume of the electronic device based on the target ceramic speaker driver and the ceramic speaker driver currently being driven by the dual-channel ceramic speaker driver module, comprising:
acquiring an initial volume of the electronic device when a target position of a shell of the electronic device is grasped;
and adjusting the volume of the electronic equipment to a preset volume, wherein the preset volume is greater than the initial volume.
9. A volume adjustment apparatus comprising the electronic device according to claim 1, characterized by comprising:
a determination unit configured to determine a target ceramic speaker exciter on the housing corresponding to a target position on the housing based on capacitance information of the capacitance detection meter sensor in a case where the capacitance detection meter sensor detects that the target position of the housing is grasped; the first detection piece or the second detection piece is arranged at the target position;
and the adjusting unit is used for adjusting the volume of the electronic equipment based on the target ceramic loudspeaker exciter and the ceramic loudspeaker exciter currently driven by the dual-channel ceramic loudspeaker driving module.
10. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the volume adjustment method of an electronic device according to any of claims 3 to 8.
CN201911214150.1A 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof Active CN111176606B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911214150.1A CN111176606B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof
PCT/CN2020/133257 WO2021110015A1 (en) 2019-12-02 2020-12-02 Electronic device and volume adjustment method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911214150.1A CN111176606B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof

Publications (2)

Publication Number Publication Date
CN111176606A CN111176606A (en) 2020-05-19
CN111176606B true CN111176606B (en) 2021-04-02

Family

ID=70624093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911214150.1A Active CN111176606B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof

Country Status (2)

Country Link
CN (1) CN111176606B (en)
WO (1) WO2021110015A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176606B (en) * 2019-12-02 2021-04-02 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9124970B2 (en) * 2013-07-22 2015-09-01 Qualcomm Incorporated System and method for using a headset jack to control electronic device functions
CN108762711A (en) * 2018-05-17 2018-11-06 Oppo广东移动通信有限公司 Method, apparatus, electronic device and the storage medium of screen sounding
CN108958632A (en) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122451B2 (en) * 2013-09-30 2015-09-01 Sonos, Inc. Capacitive proximity sensor configuration including a speaker grille
CN104185125A (en) * 2014-08-14 2014-12-03 瑞声声学科技(深圳)有限公司 Loudspeaker system and driving method thereof
US20180173339A1 (en) * 2015-06-19 2018-06-21 Huawei Technologies Co., Ltd. User Equipment
CN106850966A (en) * 2016-12-28 2017-06-13 努比亚技术有限公司 A kind of method for realizing volume control, device and mobile terminal
US10780896B2 (en) * 2017-01-04 2020-09-22 Joyson Safety Systems Acquisition Llc Systems and methods of providing haptic feedback
CN109088980A (en) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 Sounding control method, device, electronic device and computer-readable medium
CN109062535B (en) * 2018-07-23 2021-07-13 Oppo广东移动通信有限公司 Sound production control method and device, electronic device and computer readable medium
CN109600463A (en) * 2018-11-23 2019-04-09 维沃移动通信有限公司 A kind of mobile terminal
CN110300201A (en) * 2019-07-29 2019-10-01 Oppo广东移动通信有限公司 Terminal device
CN111176606B (en) * 2019-12-02 2021-04-02 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9124970B2 (en) * 2013-07-22 2015-09-01 Qualcomm Incorporated System and method for using a headset jack to control electronic device functions
CN108762711A (en) * 2018-05-17 2018-11-06 Oppo广东移动通信有限公司 Method, apparatus, electronic device and the storage medium of screen sounding
CN108958632A (en) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021110015A1 (en) 2021-06-10
CN111176606A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
US11635939B2 (en) Prompting method and mobile terminal
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN110891217B (en) Earphone, earphone control method and electronic equipment
CN108196753B (en) Interface switching method and mobile terminal
CN109888928B (en) Terminal and wireless charging control method
CN109710130B (en) Display method and terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN108681413B (en) Control method of display module and mobile terminal
US20230037238A1 (en) Audio output mode switching method and electronic device
CN110933494A (en) Picture sharing method and electronic equipment
CN107749306B (en) Vibration optimization method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109005297B (en) Display method of navigation application and mobile terminal
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN111176606B (en) Electronic equipment and volume adjusting method thereof
CN111352566B (en) Parameter adjusting method and electronic equipment
CN110677770B (en) Sound production control method, electronic device, and medium
CN111026482B (en) Application program control method and electronic equipment
CN109194793B (en) Screen adjusting method and mobile terminal
CN109067429B (en) Control method and terminal equipment
WO2021110016A1 (en) Electronic device and sound volume adjustment method therefor
CN111031173B (en) Incoming call processing method and electronic 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