CN109086023A - Sounding control method, device, electronic equipment and storage medium - Google Patents
Sounding control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109086023A CN109086023A CN201810746934.8A CN201810746934A CN109086023A CN 109086023 A CN109086023 A CN 109086023A CN 201810746934 A CN201810746934 A CN 201810746934A CN 109086023 A CN109086023 A CN 109086023A
- Authority
- CN
- China
- Prior art keywords
- display screen
- shell
- sounding
- blocked
- dirver
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 230000015654 memory Effects 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 18
- 230000005284 excitation Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 27
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000005452 bending Methods 0.000 description 4
- 239000000919 ceramic Substances 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- 230000001413 cellular effect Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 241000208340 Araliaceae Species 0.000 description 1
- 108090000565 Capsid Proteins Proteins 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- XEGGRYVFLWGFHI-UHFFFAOYSA-N bendiocarb Chemical compound CNC(=O)OC1=CC=CC2=C1OC(C)(C)O2 XEGGRYVFLWGFHI-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 210000000689 upper leg Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1688—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being integrated loudspeakers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of sounding control method, device, electronic equipment and storage medium, the sounding control method is applied to electronic equipment, the electronic equipment include display screen, shell, at least one be used to drive the display screen sounding first dirver and at least one be used to drive the second driver of the shell sounding, the described method includes: detecting the state that is blocked of the display screen and the shell when obtaining sounding request;When the shell is blocked, the first dirver work is controlled, to drive the display screen sounding;When the display screen is blocked, the second driver work is controlled, to drive the shell sounding.Be blocked state control display screen or the shell sounding according to electronic equipment may be implemented in this method, promotes sounding effect.
Description
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of sounding control method, device, electronics
Standby and storage medium.
Background technique
Electronic equipment, such as mobile phone are by loudspeaker sounding to export voice signal in tablet computer etc..However,
The setting of loudspeaker occupies biggish design space, and the direction of slimming design is not met so as to cause electronic equipment.
Summary of the invention
In view of the above problems, present applicant proposes a kind of sounding control method, device, electronic equipment and storage medium, with
Improve drawbacks described above.
In a first aspect, the embodiment of the present application provides a kind of sounding control method, it is applied to electronic equipment, the electronics is set
It is standby including display screen, shell, at least one be used to drive the display screen sounding first dirver and at least one be used for
Drive the second driver of the shell sounding, which comprises obtain sounding request when, detect the display screen and
The state that is blocked of the shell;When the shell is blocked, the first dirver work is controlled, to drive the display
Shield sounding;When the display screen is blocked, the second driver work is controlled, to drive the shell sounding.
Second aspect, the embodiment of the present application provide a kind of sounding controller, are applied to electronic equipment, and the electronics is set
It is standby including display screen, shell, at least one be used to drive the display screen sounding first dirver and at least one be used for
The second driver of the shell sounding is driven, described device includes: occlusion detection module, the first control module and the second control
Molding block, wherein the occlusion detection module is used to detect the display screen and the shell when obtaining sounding request
Be blocked state;First control module is used for when the shell is blocked, and the first dirver work is controlled, to drive
Move the display screen sounding;Second control module is used for when the display screen is blocked, and controls second driver
Work, to drive the shell sounding.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including display screen, at least one is for driving institute
State the first dirver of display screen sounding, shell, at least one be used to drive the second driver, the memory of the shell sounding
And processor, the display screen, the first dirver, second driver and the memory are couple to the place
Device is managed, the memory store instruction, the processor executes above-mentioned first party when executed by the processor
The sounding control method that face provides.
Fourth aspect, the embodiment of the present application also provides a kind of computers of program code that can be performed with processor can
Read storage medium, which is characterized in that said program code makes the processor execute the sounding control that above-mentioned first aspect provides
Method processed.
5th aspect, this application provides a kind of electronic equipment, including display screen;At least one first dirver, is used for
Drive the display screen sounding;At least one second driver, for driving the shell sounding of the electronic equipment;Driving electricity
Road is connect with the first dirver and second driver;Processor, for detecting the display screen and the shell
The state that is blocked of body sends the first driving signal to the driving circuit, the driving circuit when the shell is blocked
First dirver work is driven, the display screen sounding is made, when the display screen is blocked, sends the second driving signal to institute
Driving circuit is stated, the driving circuit drives the work of the second driver, makes the shell sounding.
Compared with the existing technology, sounding control method, device, electronic equipment and storage medium provided by the present application, pass through
When obtaining sounding request, the state that is blocked of display screen and shell is detected, then when shell is blocked, control first swashs
Device work is encouraged, to drive display screen sounding, when display screen is blocked, control the second driver work, with drive shell sounding.
So as to realize the state that is blocked automatically according to display screen and shell, display screen or shell sounding are controlled, sounding is avoided
Face is blocked and influences sounding, promotes the sounding effect of electronic equipment.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows a kind of structural block diagram of electronic equipment provided by the embodiments of the present application;
Fig. 2 shows another structural block diagrams of electronic equipment provided by the embodiments of the present application;
Fig. 3 shows another structural block diagram of electronic equipment provided by the embodiments of the present application;
Fig. 4 shows the circuit block diagram of a kind of electronic equipment applied by a kind of sounding control method of the application proposition;
Fig. 5 shows the flow chart of the sounding control method of one embodiment of the application offer;
Fig. 6 shows the flow chart for the sounding control method that another embodiment of the application provides;
Fig. 7 shows the flow chart for the sounding control method that the another embodiment of the application provides;
Fig. 8 shows the block diagram of the sounding controller of one embodiment of the application offer;
Fig. 9 shows the block diagram for the sounding controller that another embodiment of the application provides;
Figure 10 shows the electricity for being used to execute the sounding control method according to the embodiment of the present application of one embodiment of the application
The block diagram of sub- equipment;
Figure 11 show another embodiment of the application for executing according to the sounding control method of the embodiment of the present application
The block diagram of electronic equipment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The display screen usually effect played in the electronic equipments such as mobile phone, tablet computer is display text, picture, icon
Or the contents such as video.And along with the development of touch technology, display screen set by more and more electronic equipments is touch-control
Display screen, in the case where touching display screen is arranged, when detect user pull, click, double-click on touching display screen,
When the touch control operations such as sliding, the touch control operation of user can be responded.
As clarity and fineness of the user to displayed content require higher and higher, more electronic equipments uses
Larger-size touching display screen.But during larger-size touching display screen is set, electronic equipment front end is found
Set front camera will affect the area that touching display screen can expand to close to function elements such as optical sensor, earpieces
Domain.
Usual electronic equipment includes front panel, rear cover and frame.In front plate include upper frontal region, middle part screen area and under
Portion key zone.In general, upper frontal region is provided with the function elements such as earpiece sound outlet hole and front camera, middle part screen area is provided with
Touching display screen, lower part key zone are provided with one to three physical buttons.And with the development of technology, lower part key zone is by gradually
Cancel, the physical button that lower part key zone is arranged in originally is substituted by the virtual key in touching display screen.
And earpiece sound outlet hole set by upper frontal region is more important for the function support of mobile phone, is not easy easily to cancel,
So by touching display screen can display area be extended to the upper frontal region of covering there is biggish difficulty.It is studied by some column
Afterwards, inventor's discovery can be made a sound by way of screen, frame or the rear cover vibration for controlling mobile phone, so as to
Cancel the setting of earpiece sound outlet hole.
Illustratively, Fig. 1, Fig. 2 and Fig. 3 are please referred to, a kind of electronic equipment provided by the embodiments of the present application is shown
100.Wherein, Fig. 1 is the front view of electronic equipment, and Fig. 2 is the side view of electronic equipment, and Fig. 3 is the rearview of electronic equipment.
Electronic equipment 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and is arranged in the shell
The display screen 120 of body 12, shell 12 include front panel 125, rear cover 127 and frame 126, and frame 126 is for connecting front panel
125 and rear cover 127, the setting of display screen 120 is in front on plate 125.
Electronic equipment 100 further includes first dirver 131 and the second driver 132, first dirver 131 and second
Vibration component of the driver 132 for drive electronics 100 vibrates, and specifically, vibration component is the electronic equipment 100
Display screen 120 and shell 12, that is to say, that vibration component can be display screen 120, is also possible to shell 12, can also be
The combination of display screen 120 and shell 12.Wherein, first dirver 131 is for driving display screen 120 to vibrate, the second driver 132
It is vibrated for drive shell 12.As an implementation, when vibration component is shell 12, vibration component can be shell 12
Rear cover 127.
Further, first dirver 131 is connect with display screen 120, is vibrated for driving display screen 120.Specifically, institute
It states first dirver 131 and is attached at 120 lower section of display screen, then first dirver 131 can be piezoelectric actuator or motor.Make
For a kind of embodiment, first dirver 131 is piezoelectric actuator.Piezoelectric actuator is transmitted self-deformation by moment loading
To display screen 120, thus 120 vibration sounding of display screen.Display screen 120 includes touch screen 109 and display panel 111, display surface
Plate 111 is located at the lower section of touch screen 109, and piezoelectric actuator is attached at the lower section of display panel 111, i.e., display panel 111 is remote
One side from touch screen 109.Piezoelectric actuator includes multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic piece sounding expansion and
When contraction, driving display screen 120 is occured bending and deformation, repeatedly, entire display screen 120 forms bending vibration, thus
Display screen 120 can push air and generate sound.
Second driver 132 is connect with rear cover 127, for driving rear cover 127 to vibrate.Specifically, second driver
132 are attached at 127 lower section of rear cover.Likewise, the second driver 131 can be piezoelectric actuator or motor.In the second excitation
When device 132 is piezoelectric actuator, self-deformation is passed to rear cover 127 by moment loading by piezoelectric actuator, thus rear cover 127
Vibration sounding.Piezoelectric actuator includes multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic piece sounding expands and shrinks,
Rear cover 127 will be driven to occur bending and deformation, repeatedly, entire rear cover 127 forms bending vibration, so that rear cover 127 can push away
Dynamic air simultaneously generates sound.
As an implementation, it as shown in figure 4, electronic equipment 100 includes driving circuit 210 and processor 102, drives
Dynamic circuit 210 is connect with multiple first dirvers and multiple second drivers.Processor 102 is for detecting user's opposing electronic
First driving signal occurs for the direction of equipment 100 to driving circuit 210, driving circuit 210 when user is towards display screen 120
Based on the driving first dirver work of the first driving signal, make 120 sounding of display screen;When user is towards shell 12, sounding
To driving circuit 210, driving circuit 210 is based on the second driving signal and drives the work of the second driver two driving signal, makes shell
12 sounding.
First dirver 131 (2 are only shown in Fig. 4) is connect with the driving circuit 210 of electronic equipment 100, the second excitation
Device 132 (2 are only shown in Fig. 4) is connect with the driving circuit 210 of electronic equipment 100.Driving circuit 210 is used to be joined according to vibration
Number input control signal value first dirver 131, to drive first dirver 131 to vibrate, so that driving display screen 120 is vibrated;
Driving circuit 210 is also used for according to the second driver of vibration parameters input control signal value 132, to drive the second driver 132
Vibration, so that shell 12 be driven to vibrate.Specifically, driving circuit 210 can be the processor 102 of electronic equipment 100, can also be with
It is the integrated circuit that can generate driving voltage or electric current in electronic equipment 100.The drive of the output low and high level of driving circuit 210
Signal is moved to first dirver 131 and/or the second driver 132, first dirver 131 and/or the second driver 132 are according to this
Driving signal vibration, and the electrical parameter for the driving signal that driving circuit 210 exports is different, then will lead to first dirver 131 and/
Or second driver 132 vibration parameters it is different, for example, the duty ratio of driving signal correspond to the vibration of first dirver 131 frequently
Rate, the amplitude of driving signal correspond to the Oscillation Amplitude etc. of first dirver 131.
In the embodiment of the present application, when first dirver 131 is multiple, multiple first dirvers 131 can uniformly divide
It is distributed in display screen 120, so that display screen 120 is divided into multiple independent regions for carrying out sounding.For example, the number of first dirver
It is 4, then display screen 120 can along the vertical direction and the center line of horizontal direction is divided into 4 pieces of square regions, and 4 first
Driver is set to below 4 pieces of square regions, and 4 first dirvers and 4 pieces of square regions correspond.Likewise, second
Driver 132 be it is multiple when, multiple second drivers 132 may be uniformly distributed in rear cover 127 so that rear cover 127 be divided into it is more
A independent region for carrying out sounding.For example, the number of the second driver be 4, then the second driver can along the vertical direction with
And the center line of horizontal direction is divided into 4 pieces of square regions, and 4 the second drivers are set to below 4 pieces of square regions, and 4 the
Two drivers and 4 pieces of square regions correspond.Certainly, the number of first dirver and the second driver is implemented in the application
It is not intended as limiting in example.
In the embodiment of the present application, electronic equipment 100 can also including camera etc. components etc..Camera can be with processing
Device 102 connects, and camera is used to acquire image according to the control instruction of processor 102, so that processor 102 is adopted according to camera
The image of collection judges user towards display screen 120 or rear cover 127 etc..
Therefore, aiming at the problem that component that earpiece etc. is set on display screen direction will greatly affect display effect,
Inventor by study and propose for a long time sounding control method provided by the embodiments of the present application, device, electronic equipment with
And storage medium, electronic equipment monitor the state that is blocked of electronic equipment in sounding, choose sounding according to the state that is blocked
Sounding is carried out on one side, is reduced the influence blocked to electronic equipment sounding effect, is promoted the audio experience of user.Below in conjunction with attached
Figure specifically describes each embodiment in the application.
In one embodiment, referring to Fig. 5, Fig. 5 shows the stream of sounding control method provided by the embodiments of the present application
Journey schematic diagram.The sounding control method is carried out by the one side for choosing sounding according to the state that is blocked of shell and display screen
Sounding reduces the influence blocked to electronic equipment sounding effect, promotes the audio experience of user.In the particular embodiment, institute
Sounding control method is stated applied to sounding controller 400 as shown in Figure 8 and configured with the sounding controller 400
Electronic equipment (Fig. 1).It will illustrate the detailed process of the present embodiment by taking electronic equipment as an example below, it will of course be understood that, this
Electronic equipment applied by embodiment can be smart phone, tablet computer, wearable electronic equipment etc., not do herein specific
It limits.To be explained in detail below for process shown in fig. 5, above-mentioned sounding control method specifically may include with
Lower step:
Step S110: when obtaining sounding request, the state that is blocked of the display screen and the shell is detected.
In the use of electronic devices, when needing sounding, the processor of electronic equipment can obtain sounding and ask electronic equipment
It asks, such as sounding is requested when call, the sounding request of music application, sounding request when prompt tone plays etc..Processor is obtaining
Sounding request after, can call the sound module (driver and driving circuit of i.e. above-mentioned electronic equipment) of electronic equipment with
It makes a sound.
In the embodiment of the present application, electronic equipment can drive display screen sounding by first dirver, can also pass through
The rear cover sounding of second driver drive shell.When the display screen or shell of electronic equipment are blocked, the vibration of display screen can be made
The dynamic or vibration of shell and the propagation of sound are affected, to influence the sounding effect of electronic equipment.For example, electronics
Equipment is face-up placed in desktop, utilizes the shell body rear cover sounding of electronic equipment at this time, then will affect sounding effect, and example
Such as, when electronic equipment face down prevents terminating in user's thigh, the display screen sounding of electronic equipment is utilized at this time, will affect sounding effect
Fruit.Certainly, the above scene is only for example, and does not represent the restriction to scene in the embodiment of the present application.
Since the electronic equipment in the embodiment of the present application can use display screen and shell in two opposite faces
Sounding is carried out, therefore in electronic equipment when being blocked on one side, the another side that can use electronic equipment carries out sounding.
Therefore, the state that is blocked of display screen and shell can be detected, according to display screen when obtaining sounding request
And the state of being blocked of shell determines the use of display screen sounding or carries out sounding using shell.
In the embodiment of the present application, can use proximity sensor or pressure sensor etc. to display screen and shell whether
It is blocked and is detected.Certainly, the mode of the state that is blocked of display screen and shell is specifically detected in the embodiment of the present application
It is not intended as limiting.
Step S120: when the shell is blocked, the first dirver work is controlled, to drive the display screen to send out
Sound.
When detecting that shell is blocked in step s 110, then it can use opposite with one side (i.e. the back side) where shell
The display screen of another side (i.e. positive) carries out sounding, i.e. the work of control first dirver, to drive display screen sounding.
It is understood that when detecting that shell is blocked, then it represents that carry out sounding, the screening of shell using shell at this time
Gear influences whether the vibration of shell, and the sounding effect of electronic equipment is made to be affected.Therefore it can use the display of electronic equipment
Screen carries out sounding, so that the sounding effect of electronic equipment is not blocked by shell to be influenced, keeps the good sound effect of electronic equipment.
Step S130: when the display screen is blocked, the second driver work is controlled, to drive the shell to send out
Sound.
When detecting that display screen is blocked in step s 110, then it can use and one side where display screen (i.e. positive) phase
Pair another side (i.e. the back side) shell body rear cover carry out sounding, that is, control the second driver work, with drive shell sounding.
It is understood that when detecting that display screen is blocked, then it represents that carry out sounding, display using display screen at this time
The sounding of screen influences whether the vibration of display screen, and the sounding effect of electronic equipment is made to be affected.Therefore it can use electronics to set
The rear cover of standby shell carries out sounding, so that the sounding effect of electronic equipment is not blocked by display screen to be influenced, keeps electronics
The good sound effect of equipment.
Sounding control method provided by the embodiments of the present application detects display screen and shell when obtaining sounding request
Be blocked state, and when shell is blocked, control first dirver work to drive display screen sounding, is blocked in display screen
When, control the second driver work, with drive shell sounding, so that the sounding of electronic equipment is imitated when realizing electronic equipment sounding
Fruit is not influenced by being blocked, and keeps the good sounding effect of electronic equipment.
In one embodiment, referring to Fig. 6, Fig. 6 shows the stream of sounding control method provided by the embodiments of the present application
Journey schematic diagram.To be explained in detail below for process shown in fig. 6, the sounding control method can specifically include with
Lower step:
Step S210: when obtaining sounding request, the state that is blocked of the display screen and the shell is detected.
In the embodiment of the present application, as an implementation, can use be positioned proximate to sensor in display screen and
Shell detects the state that is blocked of display screen and shell by proximity sensor.Electronic equipment may include aobvious for detecting
First proximity sensor of the proximity state of display screen, and the second proximity sensor of the proximity state for detecting shell.From
And the state that is blocked of display screen and shell is detected, may include:
When the first proximity sensor detects that display screen is approached, determine that display screen is blocked;In the second close sensing
When device detects that display screen is approached, determine that shell is blocked.
It, then can be with it is understood that detect that display screen is approached in the first proximity sensor for being set to display screen
Indicate that current display screen is approached by people or object.When display screen is approached in most cases, display screen is in the state being blocked.
Likewise, detecting that shell is approached in the second proximity sensor for being set to shell, then can indicate to work as front housing
Body is approached by people or object.When most cases lower case is approached, shell is in the state being blocked.
Therefore it can determine that display screen is blocked, second when the first proximity sensor detects that display screen is approached
When proximity sensor detects that shell is approached, determine that shell is blocked.
Alternatively, can by the setting sensors such as pressure sensor or temperature sensor in display screen and
Shell, to detect whether display screen is blocked.The state that is blocked for detecting display screen and shell may include:
When display screen is by touch-control, determine that display screen is blocked;When shell is by touch-control, determine that shell is blocked.
It is understood that can be by pressure sensor or temperature sensor senses pressure or temperature, to detect display
Whether screen and shell are by touch-control.When detecting display screen by touch-control, then it represents that current display screen is touched by user or object
Control, therefore display screen is blocked by user or object.When detecting shell by touch-control, then it represents that when procapsid is by user or object
Institute's touch-control, therefore shell is blocked by user or object.
In addition, can also detect simultaneously display screen when whether detecting display screen and shell by touch-control and shell exists
When by touch-control, display screen and shell are by the area of touch-control, to obtain the area that display screen and shell are blocked.
Step S220: when the shell is blocked, the distance of the relatively described display screen of user is detected.
In the embodiment of the present application, determining that shell is blocked, when controlling first dirver task driven display screen sounding,
The volume for needing sounding can also be determined, to promote the auditory effect of user.
Further, the position of user distance sound source is different, and the sound effect heard also can be different.Therefore, Ke Yi
After determining that shell is blocked, when using display screen sounding, distance of the user with respect to display screen is detected first.
In the embodiment of the present application, can by can ranging distance of the sensor senses user relative to display screen, inspection
It surveys user and can be proximity sensor, ultrasonic sensor, range sensor etc. relative to the sensor of the distance of display screen.When
So, it is not intended as limiting in the embodiment of the present application relative to the sensor of the distance of display screen for detecting user.
Step S230: pronunciation volume is determined based on the distance of the relatively described display screen of the user.
It is understood that the range information according to user relative to display screen, determines the sound that display screen needs to issue
Volume.Mode that specifically can be directly proportional to phonation volume relative to the distance of display screen with user, determines the hair of display screen
Amount of sound.It is understood that the distance of user distance display screen is remoter, phonation volume is higher.
In the embodiment of the present application, distance and sounding of the user relative to display screen can be previously stored in electronic equipment
The corresponding relationship of volume.For example, user can be linear function relative to the distance of display screen and the corresponding relationship of phonation volume,
Certainly, the phonation volume of display screen is with user relative to directly proportional at a distance from display screen.In another example user is relative to display screen
The corresponding relationship of distance and phonation volume is also possible to be stored in electronic device in the form of relation table, is stored in relation table
The corresponding phonation volume of each distance value.
Step S240: driving signal is sent to the first dirver, to drive the display screen with the pronunciation volume
Sounding.
After determining phonation volume, driving signal can be sent to first dirver, so that first dirver works,
Display screen is driven to carry out sounding with above-mentioned phonation volume.
It is understood that then sending driving letter to the first dirver when display screen includes a first dirver
Number.When display screen includes multiple first dirvers, then driving signal is sent to above-mentioned multiple first dirvers
Step S250: when the display screen is blocked, the second driver work is controlled, to drive the shell to send out
Sound.
It in the embodiment of the present application, can also be relatively aobvious by above-mentioned detection user when determining that display screen is blocked
Phonation volume is determined after display screen distance, then is controlled first dirver work and obtained display screen in a manner of the phonation volume sounding,
Distance of the user with respect to the rear cover of shell is determined first, determines phonation volume with respect to the distance of the rear cover of shell further according to user,
The work of the second driver is finally controlled, the rear cover of drive shell is with the phonation volume sounding.
In the embodiment of the present application, the feelings that shell and display screen are blocked may be will detect that in step S210
Condition can then take the relatively small one side of shielded area as sounding face when shell and display screen are blocked.Therefore,
The sounding control method can also include:
When shell and display screen are blocked, judge whether the area that shell is blocked is greater than what display screen was blocked
Area;If the area that shell is blocked is greater than the area that display screen is blocked, first dirver work is controlled, it is aobvious to drive
Display screen sounding;If the area that shell is blocked is not more than the area that display screen is blocked, the work of the second driver is controlled, with
Drive shell sounding.
It is understood that can use above-mentioned detection shell and display screen by the area of touch-control, obtain shell and
The mode for the area that display screen is blocked obtains the area that shell is blocked and the area that display screen is blocked.Then, judge
Whether the area that shell is blocked is greater than the area that display screen is blocked, to determine the area being blocked in display screen and shell
Smaller.When detecting that area that shell is blocked is greater than the area that display screen is blocked, then it represents that the face that display screen is blocked
Product is smaller, therefore carries out sounding using display screen and have preferable sounding effect;When the area for detecting that shell is blocked is little
In the area that display screen is blocked, then it represents that the area that shell is blocked is smaller, therefore carries out sounding using shell and have preferably
Sounding effect.
In the embodiment of the present application, the feelings that shell and display screen are not blocked may be will detect that in step S210
Condition then can choose any one in shell and display screen as sounding when shell and display screen are not blocked
On one side.Therefore, which can also include:
When shell and display screen are not blocked, control first dirver work, to drive display screen sounding.
It is understood that when shell and display screen are not blocked, then it represents that display screen or shell sounding are utilized,
Sounding effect will not be impacted, therefore, can control first dirver or the second driver work, with drive display screen or
Shell sounding, also can control first dirver and the second driver works at the same time, and drive display screen and shell sounding simultaneously.
Sounding control method provided by the embodiments of the present application, by proximity sensor detect display screen and shell whether by
It is close, or whether display screen and shell are detected by touch-control, to detect whether display screen and shell are blocked, hidden in shell
When gear, determine that user at a distance from display screen, controls display screen sounding after then determining phonation volume according to distance again, showing
When screen is blocked, shell sounding is controlled, to realize that the sounding one side of electronic equipment is corresponding by the occlusion state of electronic equipment
Meanwhile phonation volume is corresponding with respect at a distance from sounding face with user, can preferably promote the sounding effect of electronic equipment.
In one embodiment, referring to Fig. 7, Fig. 7 shows the stream of sounding control method provided by the embodiments of the present application
Journey schematic diagram.To be explained in detail below for process shown in Fig. 7, the sounding control method can specifically include with
Lower step:
Step S310: when obtaining sounding request, the state that is blocked of the display screen and the shell is detected.
Step S320: when the shell is blocked, detecting the display screen by the region of touch-control, will be in the display screen
Other regions in addition to the region by touch-control are as the first sound-emanating areas.
It is understood that multiple first dirvers can respectively correspond aobvious when the number of first dirver is multiple
The different zones of display screen.After determining that shell is blocked in step S310, the sound-emanating areas needed in display screen can be determined.
When user uses electronic equipment, if user's touching display screen, the sounding effect of display screen can be caused centainly
It influences.Therefore it can detecte region of the display screen by touch-control, other regions in display screen in addition to the region by touch-control made
For sound-emanating areas, the subsequent control sound-emanating areas carries out sounding, so that the effect of display screen sounding is not will receive user's touch-control and show
It is influenced caused by screen.
Step S330: the corresponding first dirver work in the sound-emanating areas is controlled, to drive the sound-emanating areas sounding.
After determining the sound-emanating areas of display screen, corresponding one or more first excitations in sound-emanating areas can be determined
Device, then driving signal, control first dirver work, to drive display screen are sent to the corresponding first dirver in sound-emanating areas
Above-mentioned sound-emanating areas sounding.
Step S340: when the display screen is blocked, the second driver work is controlled, to drive the shell to send out
Sound.
In the embodiment of the present application, when the second driver is multiple, multiple second drivers can also respectively correspond shell
The different zones of body.When using shell sounding, it is equally also referred to the mode of above-mentioned control display screen sounding, it will be in shell
Other regions in addition to the region that user touches carry out sounding as sound-emanating areas.
Sounding control method provided by the embodiments of the present application detects display screen and shell when electronic equipment needs sounding
The state that is blocked of body, then according to display screen and be blocked state control display screen or the shell sounding of shell, and
When controlling display screen or shell sounding, other regions other than the region that user is touched carry out sounding as sound-emanating areas, make
While electronic equipment determines sounding face according to the state of being blocked of display screen and shell, sounding effect not will receive user's touching
The influence touched can preferably promote the sounding effect of electronic equipment.
In one embodiment, referring to Fig. 8, Fig. 8 shows sounding controller 400 provided by the embodiments of the present application
Module frame chart.The acoustic control device 400 be applied to electronic equipment, be applied to electronic equipment, the electronic equipment include display screen,
Shell, at least one be used to drive the display screen sounding first dirver and at least one for driving the shell to send out
Second driver of sound.It will be illustrated below for block diagram shown in Fig. 8, the acoustic control device 400 includes: occlusion detection
Module 410, the first control module 420 and the second control module 430.Wherein, the occlusion detection module 410 is for obtaining
When sounding is requested, the state that is blocked of the display screen and the shell is detected;First control module 420 is used in institute
When stating shell and being blocked, the first dirver work is controlled, to drive the display screen sounding;Second control module
430 for when the display screen is blocked, controlling the second driver work, to drive the shell sounding.
In the embodiment of the present application, the electronic equipment can also include first for detecting the proximity state of display screen
Proximity sensor, and the second proximity sensor of the proximity state for detecting shell.Occlusion detection module 410 can be specific
For: when first proximity sensor detects that the display screen is approached, determine that the display screen is blocked;Described
When second proximity sensor detects that the shell is approached, determine that the shell is blocked.
In the embodiment of the present application, occlusion detection module 410 can be specifically used for: when the display screen is by touch-control, really
The fixed display screen is blocked;When the shell is by touch-control, determine that the shell is blocked.
In the embodiment of the present application, refer to Fig. 9, sounding controller 400 can also include: area judgment module 440,
Third control module 450 and the 4th control module 460.Area judgment module 440 is used in the shell and the display
When screen is blocked, judge whether the area that the shell is blocked is greater than the area that the display screen is blocked;Third control
If module 450 is greater than the area that the display screen is blocked for the area that the shell is blocked, described first is controlled
Driver work, to drive the display screen sounding;If the area that the 4th control module 460 is blocked for the shell is not
Greater than the area that the display screen is blocked, then the second driver work is controlled, to drive the shell sounding.
In the embodiment of the present application, Fig. 9 is referred to, sounding controller 400 can also include: the 5th control module 470.
5th control module 470 be used for when the shell and the display screen are not blocked, control the first dirver and/
Or the second driver work, to drive the display screen and/or the second driver sounding.
In the embodiment of the present application, the first control module 420 can be specifically used for: when the shell is blocked, detection
The distance of the relatively described display screen of user;Pronunciation volume is determined based on the distance of the relatively described display screen of the user;To described
First dirver sends driving signal, to drive the display screen with the pronunciation volume sounding.
In the embodiment of the present application, the number of the first dirver is multiple, and multiple first dirvers are right respectively
Answer the different zones of the display screen.First control module 420 can be specifically used for: when the shell is blocked, detect institute
Region of the display screen by touch-control is stated, using other regions in the display screen in addition to the region by touch-control as articulating region
Domain;The corresponding first dirver work in the sound-emanating areas is controlled, to drive the sound-emanating areas sounding.
In one embodiment, referring to Fig. 10, the embodiment of the present application is also based on above-mentioned sounding control method, device
The another kind of offer can execute the mobile terminal 100 of aforementioned sounding control method.Mobile terminal 100 includes one to intercouple
A or multiple (one is only shown in figure) processor 102, display screen 120, shell (not shown), for driving display screen to send out
The first dirver 131 of sound, the second driver 132 and memory 104 for drive shell sounding.In the memory 104
The corresponding program of sounding control method provided by the above embodiment can be executed by being stored with, and processor 102 can execute this
The program stored in memory 104.
In conclusion compared with the existing technology, sounding control method, device, electronic equipment and storage provided by the present application
Medium, by detecting the state that is blocked of display screen and shell when obtaining sounding request, then when shell is blocked,
First dirver work is controlled, to drive display screen sounding, when display screen is blocked, control the second driver work, to drive
Dynamic shell sounding.So as to realize the state that is blocked automatically according to display screen and shell, display screen or shell hair are controlled
Sound avoids sounding face from being blocked and influences sounding, promotes the sounding effect of electronic equipment.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is all differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality
Apply in example can no longer be repeated in Installation practice by corresponding processing modules implement one by one.
Referring to Fig. 1, based on above-mentioned sounding control method, device, the embodiment of the present invention also provides a kind of electronics
Equipment 100.
Illustratively, electronic equipment 100 can be various types of calculating that are mobile or portable and executing wireless communication
Any one of machine system equipment (only illustratively shows a kind of form) in Fig. 1.Specifically, electronic equipment 100 can be with
For mobile phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device
(such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), knee
Laptop, PDA, portable Internet appliance, music player and data storage device, other handheld devices and such as
Wrist-watch, earphone, pendant, earphone etc., electronic equipment 100 can also for other wearable devices (for example, such as electronic glasses,
Electronics clothes, electronics bracelet, electronics necklace, electronics tatoo, the headset equipment (HMD) of electronic equipment or smartwatch).
Electronic equipment 100 can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to
Cellular phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, sound
Happy logger, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, can
Program remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant
(PDA), portable media player (PMP), Motion Picture Experts Group's (MPEG-1 or MPEG-2) audio layer 3 (MP3) play
Device, portable medical device and digital camera and combinations thereof.
In some cases, electronic equipment 100 can execute multiple functions and (for example, playing music, show video, storage
Picture and send and receive call).If desired, electronic equipment 100 can be such as cellular phone, media play
The portable device of device, other handheld devices, watch equipment, pendant equipment, receiver device or other compact portable equipment.
Electronic equipment 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and is arranged in the shell
Display screen 120 on body 12.Metal can be used in the shell 12, such as steel, aluminium alloy are made.In the present embodiment, the display
Screen 120 generally includes display panel 111, may also comprise for responding the circuit for carrying out touch control operation to the display panel 111
Deng.The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD), in some realities
It applies in example, the display panel 111 is a touch screen 109 simultaneously.
Figure 11 is please referred to, in actual application scenarios, the electronic equipment 100, which can be used as intelligent mobile phone terminal, to be made
With, in this case the electronic body portion 10 also typically include one or more (one is only shown in figure) processors 102,
Memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module 118,
Power module 122.It will appreciated by the skilled person that structure shown in Figure 11 is only to illustrate, not to the electricity
The structure of sub- body part 10 causes to limit.For example, the electronic body portion 10 may also include than shown in Figure 11 more or more
Few component, or with the configuration different from shown in Fig. 1.
It will appreciated by the skilled person that every other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation: Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or the display screen 120.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication
And combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, first dirver 131, the second driver 132, sound jack 103, microphone 105 provide jointly
Audio interface between user and the electronic body portion 10 or the display screen 120.Specifically, the voicefrequency circuit 110 from
Voice data is received at the processor 102, voice data is converted into electric signal, by electric signal transmission to first excitation
Device 131 and the second driver 132.The first dirver 131 and the second driver 132, which convert electrical signals to human ear, to be heard
Sound wave.The voicefrequency circuit 110 receives electric signal also from the microphone 105, converts electrical signals to voice data, and
By data transmission in network telephony to the processor 102 to be further processed.Audio data can be from the memory 104
Or it is obtained by the wireless module 106.In addition, audio data also can store into the memory 104 or pass through
The wireless module 106 is sent.
The setting of sensor 114 is in the electronic body portion 10 or in the display screen 120, the sensor 114
Example include but is not limited to: light sensor 114F, operation sensor, pressure sensor 114G, acceleration of gravity sensing
Device and other sensors.
Wherein, pressure sensor 114G can detecte the sensor by pressing the pressure generated in electronic equipment 100.That is,
Pressure sensor 114G detection is by the contact between user and electronic equipment or presses the pressure generated, such as the ear by user
The pressure that contact or pressing between electronic equipment generate.Therefore, pressure sensor 114G may be used to determine user with
Whether contacted or pressed between electronic equipment 100 and the size of pressure.
Referring to Figure 11, specifically in the embodiment shown in fig. 11, the light sensor 114F and the pressure
Force snesor 114G is arranged adjacent to the display panel 111.The light sensor 114F can have object close to the display
When shielding 120, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of electronic equipment
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the touch screen 109 being arranged on the display screen 120,
The touch screen 109 collects the touch operation of user on it or nearby, and (for example user is suitble to using finger, stylus etc. are any
The operation on the touch screen 109 or near the touch screen 109 of object or attachment), and according to preset journey
Sequence drives corresponding attachment device.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.Wherein,
The touch orientation of the touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to described
Touch controller;The touch controller receives touch information from the touch detecting apparatus, and the touch information is converted
At contact coordinate, then the processor 102 is given, and order that the processor 102 is sent can be received and executed.This
Outside, the touch of the touch screen 109 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Detection function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include other
Input equipment, such as key 107.The key 107 for example may include the character keys for inputting character, and for triggering control
The control button of function processed.The example of the control button includes " returning to main screen " key, power on/off key etc..
The display screen 120 is used for the information and the electronics sheet for showing information input by user, being supplied to user
The various graphical user interface in body portion 10, these graphical user interface can be by figure, text, icon, number, video and Qi Ren
Meaning combination is to constitute, and in an example, the touch screen 109 may be disposed on the display panel 111 to show with described
Show that panel 111 constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and electronic body portion 10 are described aobvious
The generation, management of electric power and the relevant component of distribution in display screen 120.
The electronic equipment 100 further includes locator 119, and the locator 119 is for determining 100 institute of electronic equipment
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic equipment 100 using positioning service,
The positioning service, it should be understood that the location information of the electronic equipment 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
It should be understood that above-mentioned electronic equipment 100 is not limited to intelligent mobile phone terminal, should refer to can moved
Computer equipment used in dynamic.Specifically, electronic equipment 100, refers to the mobile computer for being equipped with intelligent operating system
Equipment, electronic equipment 100 include but is not limited to smart phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic equipment), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (11)
1. a kind of sounding control method, which is characterized in that be applied to electronic equipment, the electronic equipment include display screen, shell,
At least one be used to drive the display screen sounding first dirver and at least one for driving the shell sounding
Second driver, which comprises
When obtaining sounding request, the state that is blocked of the display screen and the shell is detected;
When the shell is blocked, the first dirver work is controlled, to drive the display screen sounding;
When the display screen is blocked, the second driver work is controlled, to drive the shell sounding.
2. the method according to claim 1, wherein the electronic equipment further includes for detecting connecing for display screen
First proximity sensor of nearly state, and the second proximity sensor of the proximity state for detecting shell, the detection institute
State the state that is blocked of display screen and the shell, comprising:
When first proximity sensor detects that the display screen is approached, determine that the display screen is blocked;
When second proximity sensor detects that the shell is approached, determine that the shell is blocked.
3. the method according to claim 1, wherein described detect being hidden for the display screen and the shell
Gear state, comprising:
When the display screen is by touch-control, determine that the display screen is blocked;
When the shell is by touch-control, determine that the shell is blocked.
4. method according to claim 1-3, which is characterized in that in the detection display screen and described
Shell is blocked after state, the method also includes:
When the shell and the display screen are blocked, judge whether the area that the shell is blocked is greater than described show
The area that display screen is blocked;
If the area that the shell is blocked is greater than the area that the display screen is blocked, the first dirver work is controlled
Make, to drive the display screen sounding;
If the area that the shell is blocked is not more than the area that the display screen is blocked, second driver is controlled
Work, to drive the shell sounding.
5. method according to claim 1-3, which is characterized in that in the detection display screen and described
Shell is blocked after state, the method also includes:
When the shell and the display screen are not blocked, the first dirver and/or second excitation are controlled
Device work, to drive the display screen and/or the second driver sounding.
6. method according to claim 1-3, which is characterized in that described when the shell is blocked, control
The first dirver work, to drive the display screen sounding, comprising:
When the shell is blocked, the distance of the relatively described display screen of user is detected;
Pronunciation volume is determined based on the distance of the relatively described display screen of the user;
Driving signal is sent to the first dirver, to drive the display screen with the pronunciation volume sounding.
7. method according to claim 1-3, which is characterized in that the number of the first dirver be it is multiple,
Multiple first dirvers respectively correspond the different zones of the display screen, described when the shell is blocked, and control institute
First dirver work is stated, to drive the display screen sounding, comprising:
When the shell is blocked, detect the display screen by the region of touch-control, by the display screen except described by touch-control
Region other than other regions as sound-emanating areas;
The corresponding first dirver work in the sound-emanating areas is controlled, to drive the sound-emanating areas sounding.
8. a kind of sounding controller, which is characterized in that be applied to electronic equipment, the electronic equipment include display screen, shell,
At least one be used to drive the display screen sounding first dirver and at least one for driving the shell sounding
Second driver, described device include: occlusion detection module, the first control module and the second control module, wherein
The occlusion detection module is used to detect the shape that is blocked of the display screen and the shell when obtaining sounding request
State;
First control module is used for when the shell is blocked, and the first dirver work is controlled, described in driving
Display screen sounding;
Second control module is used for when the display screen is blocked, and the second driver work is controlled, to drive
State shell sounding.
9. a kind of electronic equipment, which is characterized in that including display screen, at least one is for driving the first of the display screen sounding
Driver, shell, at least one be used to drive the second driver, memory and the processor of the shell sounding, it is described aobvious
Display screen, the first dirver, second driver and the memory are couple to the processor, and the memory is deposited
Storage instruction, the processor executes such as the described in any item sides of claim 1-7 when executed by the processor
Method.
10. a kind of computer-readable storage medium for the program code that can be performed with processor, which is characterized in that the journey
Sequence code makes the processor execute the method according to claim 1 to 7.
11. a kind of electronic equipment, which is characterized in that including display screen;
At least one first dirver, for driving the display screen sounding;
At least one second driver, for driving the shell sounding of the electronic equipment;
Driving circuit is connect with the first dirver and second driver;
Processor, when the shell is blocked, is sent for detecting the state that is blocked of the display screen and the shell
First driving signal to the driving circuit, the driving circuit driving first dirver work makes the display screen sounding,
When the display screen is blocked, the second driving signal is sent to the driving circuit, the driving circuit drives the second driver
Work, makes the shell sounding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810746934.8A CN109086023B (en) | 2018-07-09 | 2018-07-09 | Sound production control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810746934.8A CN109086023B (en) | 2018-07-09 | 2018-07-09 | Sound production control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109086023A true CN109086023A (en) | 2018-12-25 |
CN109086023B CN109086023B (en) | 2022-06-21 |
Family
ID=64837329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810746934.8A Expired - Fee Related CN109086023B (en) | 2018-07-09 | 2018-07-09 | Sound production control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086023B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300201A (en) * | 2019-07-29 | 2019-10-01 | Oppo广东移动通信有限公司 | Terminal device |
CN110677770A (en) * | 2019-08-30 | 2020-01-10 | 维沃移动通信有限公司 | Sound production control method, electronic device, and medium |
CN112565495A (en) * | 2019-09-26 | 2021-03-26 | Oppo广东移动通信有限公司 | Electronic device, control method, and computer-readable storage medium |
CN114157958A (en) * | 2020-09-08 | 2022-03-08 | 维沃移动通信有限公司 | Electronic equipment and control method and control device thereof |
CN114845223A (en) * | 2022-03-30 | 2022-08-02 | 联想(北京)有限公司 | Electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101253804A (en) * | 2005-11-02 | 2008-08-27 | 日本电气株式会社 | Speaker, image element protective screen, case of terminal, and terminal |
US20150193139A1 (en) * | 2013-01-03 | 2015-07-09 | Viktor Kaptelinin | Touchscreen device operation |
CN107172533A (en) * | 2017-06-01 | 2017-09-15 | 奇酷互联网络科技(深圳)有限公司 | A kind of method and apparatus and mobile terminal for selecting sound direction |
CN107343076A (en) * | 2017-08-18 | 2017-11-10 | 广东欧珀移动通信有限公司 | Volume adjusting method, device, storage medium and mobile terminal |
CN107483735A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal |
-
2018
- 2018-07-09 CN CN201810746934.8A patent/CN109086023B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101253804A (en) * | 2005-11-02 | 2008-08-27 | 日本电气株式会社 | Speaker, image element protective screen, case of terminal, and terminal |
US20150193139A1 (en) * | 2013-01-03 | 2015-07-09 | Viktor Kaptelinin | Touchscreen device operation |
CN107172533A (en) * | 2017-06-01 | 2017-09-15 | 奇酷互联网络科技(深圳)有限公司 | A kind of method and apparatus and mobile terminal for selecting sound direction |
CN107343076A (en) * | 2017-08-18 | 2017-11-10 | 广东欧珀移动通信有限公司 | Volume adjusting method, device, storage medium and mobile terminal |
CN107483735A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300201A (en) * | 2019-07-29 | 2019-10-01 | Oppo广东移动通信有限公司 | Terminal device |
CN110677770A (en) * | 2019-08-30 | 2020-01-10 | 维沃移动通信有限公司 | Sound production control method, electronic device, and medium |
CN110677770B (en) * | 2019-08-30 | 2021-01-12 | 维沃移动通信有限公司 | Sound production control method, electronic device, and medium |
CN112565495A (en) * | 2019-09-26 | 2021-03-26 | Oppo广东移动通信有限公司 | Electronic device, control method, and computer-readable storage medium |
CN114157958A (en) * | 2020-09-08 | 2022-03-08 | 维沃移动通信有限公司 | Electronic equipment and control method and control device thereof |
CN114157958B (en) * | 2020-09-08 | 2023-02-03 | 维沃移动通信有限公司 | Electronic equipment and control method and control device thereof |
CN114845223A (en) * | 2022-03-30 | 2022-08-02 | 联想(北京)有限公司 | Electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109086023B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194796A (en) | Screen vocal technique, device, electronic device and storage medium | |
CN109086023A (en) | Sounding control method, device, electronic equipment and storage medium | |
CN109189362A (en) | Sounding control method, device, electronic equipment and storage medium | |
CN108646971B (en) | Screen sounding control method and device and electronic device | |
CN108683761A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108712571A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN108881568A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN109032556B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN108958632A (en) | Sounding control method, device, electronic equipment and storage medium | |
CN108762711A (en) | Method, apparatus, electronic device and the storage medium of screen sounding | |
CN109085985A (en) | Sounding control method, device, electronic device and storage medium | |
CN108769327A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN109144460A (en) | Sounding control method, device, electronic device and storage medium | |
CN108958697A (en) | Screen sounding control method, device and electronic device | |
CN109086024A (en) | Screen vocal technique, device, electronic device and storage medium | |
CN108810198A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108900728A (en) | Based reminding method, device, electronic device and computer-readable medium | |
CN109040919A (en) | Vocal technique, device, electronic device and computer-readable medium | |
CN109144249A (en) | Screen vocal technique, device, electronic device and storage medium | |
CN109189360A (en) | Screen sounding control method, device and electronic device | |
CN109240413A (en) | Screen vocal technique, device, electronic device and storage medium | |
CN108712706A (en) | Vocal technique, device, electronic device and storage medium | |
CN109088980A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109086025B (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108900689A (en) | Sounding control method, device, electronic equipment 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220621 |