[go: up one dir, main page]

CN109085985A - Sounding control method, device, electronic device and storage medium - Google Patents

Sounding control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN109085985A
CN109085985A CN201810745807.6A CN201810745807A CN109085985A CN 109085985 A CN109085985 A CN 109085985A CN 201810745807 A CN201810745807 A CN 201810745807A CN 109085985 A CN109085985 A CN 109085985A
Authority
CN
China
Prior art keywords
screen
current
electronic device
sound
volume value
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
Application number
CN201810745807.6A
Other languages
Chinese (zh)
Other versions
CN109085985B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810745807.6A priority Critical patent/CN109085985B/en
Publication of CN109085985A publication Critical patent/CN109085985A/en
Application granted granted Critical
Publication of CN109085985B publication Critical patent/CN109085985B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R17/00Piezoelectric transducers; Electrostrictive transducers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种发声控制方法、装置、电子装置以及存储介质,涉及电子装置技术领域。该方法应用于电子装置,电子装置包括能够振动发声的屏幕、用于驱动屏幕发声的激励器以及用于检测作用于屏幕上的压力的压力传感器。所述方法包括:在电子装置处于屏幕发声模式下,检测作用于屏幕上的触控操作,其中,在屏幕发声模式下,由激励器驱动屏幕振动发声,获取该触控操作的当前压力值,并基于当前压力值获得电子装置的当前音量值,根据当前音量值控制激励器驱动屏幕振动发声。本申请通过检测作用于屏幕上的压力值,并根据压力值自动调整屏幕发声的音量,以提升音量调节的便捷性以及降低对音量键的损耗。

The embodiment of the present application discloses a voice control method, device, electronic device and storage medium, and relates to the technical field of electronic devices. The method is applied to an electronic device, and the electronic device includes a screen capable of vibrating and sounding, an actuator for driving the screen to make sound, and a pressure sensor for detecting the pressure acting on the screen. The method includes: when the electronic device is in the screen sound mode, detecting a touch operation acting on the screen, wherein, in the screen sound mode, the exciter drives the screen to vibrate and sound, and obtains the current pressure value of the touch operation, The current volume value of the electronic device is obtained based on the current pressure value, and the exciter is controlled to drive the screen to vibrate and produce sound according to the current volume value. This application detects the pressure value acting on the screen, and automatically adjusts the volume of the screen sound according to the pressure value, so as to improve the convenience of volume adjustment and reduce the loss of volume keys.

Description

Sounding control method, device, electronic device and storage medium
Technical field
This application involves technical field of electronic device, fill more particularly, to a kind of sounding control method, device, electronics It sets and storage medium.
Background technique
Currently, electronic device, mobile phone, tablet computer etc. are by loudspeaker sounding to export voice signal.So And the setting of loudspeaker occupies biggish design space, and the direction of slimming design is not met so as to cause electronic device.
Summary of the invention
In view of the above problems, present applicant proposes a kind of sounding control method, device, electronic device and storage medium, To 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 device, the electronics dress It sets the screen including capableing of vibration sounding, the driver for driving the screen sounding and acts on the screen for detecting The pressure sensor of pressure on curtain, which comprises when the electronic device is in screen beep pattern, detection effect Touch control operation on the screen, wherein under the screen beep pattern, drive the screen to vibrate by the driver Sounding;The current pressure values of the touch control operation are obtained, and obtain the current of the electronic device based on the current pressure values Volume value;The driver, which is controlled, according to the current volume value drives the screen vibration sounding.
Second aspect, the embodiment of the present application provide a kind of sounding controller, are applied to electronic device, the electronics dress It sets the screen including capableing of vibration sounding, the driver for driving the screen sounding and acts on the screen for detecting The pressure sensor of pressure on curtain, the sounding controller include: touch control operation detection module, for filling in the electronics When setting in screen beep pattern, detection acts on the touch control operation on the screen, wherein in the screen beep pattern Under, the screen vibration sounding is driven by the driver;Pressure value obtains module, for obtaining the current of the touch control operation Pressure value, and obtain based on the current pressure values current volume value of the electronic device;Sounding control module is used for basis The current volume value controls the driver and drives the screen vibration sounding.
The third aspect, the embodiment of the present application provide a kind of electronic device, including capableing of the screen of vibration sounding, for driving Move the driver of the screen sounding, for detecting the pressure sensor for acting on the pressure on screen, memory and processing Device, the screen, the driver, the pressure sensor and the memory are couple to the processor, the storage Device store instruction, the processor executes the above method when executed by the processor.
Fourth aspect, the embodiment of the present application provide it is a kind of with processor can be performed program code it is computer-readable Storage medium is taken, said program code makes the processor execute the above method.
5th aspect, the embodiment of the present application provide a kind of electronic device, the screen including capableing of vibration sounding;Excitation Device is connect with the screen, and the driver is for driving the screen vibration sounding;Circuit is connect with the driver, institute Stating circuit includes detection circuit and driving circuit, and the detection circuit is used to be in screen beep pattern in the electronic device When, detection acts on the touch control operation on the screen, wherein under the screen beep pattern, is driven by the driver The screen vibration sounding obtains the current pressure values of the touch control operation, and obtains the electricity based on the current pressure values The current volume value of sub-device, the driving circuit, which is used to control the driver according to the current volume value, drives the screen Curtain vibration sounding.
A kind of sounding control method, device, electronic device and storage medium provided by the embodiments of the present application, first in electricity Sub-device is under screen beep pattern, and detection acts on the touch control operation on screen, wherein under screen beep pattern, by Driver drives screen vibration sounding, then obtains the current pressure values of the touch control operation, and obtain electricity based on current pressure values The current volume value of sub-device finally controls driver according to current volume value and drives screen vibration sounding, to pass through detection The pressure value on screen is acted on, and according to the volume of pressure value adjust automatically screen sounding, to promote the convenient of volume adjustment Property and reduce loss to volume key.
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 the structural schematic diagram at the first visual angle of electronic device provided by the embodiments of the present application;
Fig. 2 shows the structural schematic diagrams at the second visual angle of electronic device provided by the embodiments of the present application;
Fig. 3 shows a kind of structural block diagram of electronic device provided by the embodiments of the present application;
Fig. 4 shows the flow diagram of the first sounding control method provided by the embodiments of the present application;
Fig. 5 shows the flow diagram of second of sounding control method provided by the embodiments of the present application;
Fig. 6 shows the flow diagram of the third sounding control method provided by the embodiments of the present application;
Fig. 7 shows a kind of interface schematic diagram of electronic device provided by the embodiments of the present application;
Fig. 8 shows the module frame chart of sounding controller provided by the embodiments of the present application;
Fig. 9 shows a kind of block diagram of electronic device for executing the sounding control method according to the embodiment of the present application;
Figure 10 shows the frame of another electronic device for executing the sounding control method according to the embodiment of the present application Figure.
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 all other Embodiment shall fall in the protection scope of this application.
The display screen usually effect played in the electronic devices 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 devices 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 devices uses Larger-size touching display screen.But during larger-size touching display screen is set, electronic device 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 device 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 and Fig. 2 are please referred to, a kind of electronic device 100 provided by the embodiments of the present application is shown.Wherein, Fig. 1 is the front view of electronic device, and Fig. 2 is the side view of electronic device.
Electronic device 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and is arranged in the shell The 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 With rear cover 127, the setting of screen 120 is in front on plate 125.
Electronic device 100 further includes driver 131, and vibration component of the driver 131 for drive electronics vibrates Sounding, specifically, vibration component be the electronic device screen 120 or shell 12 at least one, that is to say, that vibration section Part can be screen 120, be also possible to some or all of of shell 12, can also be the combination of screen 120 and shell 12.Make For a kind of embodiment, when vibration component is shell 12, vibration component can be the rear cover of shell 12.
Electronic device 100 further includes pressure sensor 114G (Figure 10).Wherein, pressure sensor 114G makees for detecting Pressure value on screen, specifically, pressure sensor 114G can detecte by pressing the pressure generated in electronic device 100 Sensor.That is, pressure of the pressure sensor 114G detection by contact or pressing generation between user and electronic device, such as By the pressure of contact or pressing generation between the ear or finger and electronic device of user.Therefore, pressure sensor 114G can Whether to be contacted or be pressed between user and electronic device 100 for determination, and the size of the pressure pressed.
In the embodiment of the present application, if vibration component is screen 120, driver 131 is connect with screen 120, is used for band Dynamic screen 120 vibrates.Specifically, driver 131 is attached at the lower section of screen 120, then driver 131 can be piezoelectric actuator or Person's motor.As an implementation, driver 131 is piezoelectric actuator.Piezoelectric actuator will be from figure by moment loading Change passes to screen 120, thus 120 vibration sounding of screen.Screen 120 includes touch screen and display screen, and display location is in touch The lower section of screen, piezoelectric actuator are attached at the lower section of display screen, the i.e. one side of the separate touch screen of display screen.Piezoelectric actuator packet Include multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic piece sounding expands and shrinks, screen will be driven to bend change Shape, repeatedly, entire screen form bending vibration, so that screen can push air and generate sound.
As an implementation, as shown in figure 3, electronic device 100 further includes circuit 200, circuit 200 and driver 131 connections.Circuit 200 includes detection circuit 210 and driving circuit 211, and the detection circuit 210 is used to fill in the electronics When setting in screen beep pattern, the touch control operation acted on the screen is detected, wherein in the screen beep pattern Under, the screen vibration sounding is driven by the driver, obtains the current pressure values of the touch control operation, and work as based on described Preceding pressure value obtains the current volume value of the electronic device, and the driving circuit 211 is used for according to the current volume value control It makes the driver and drives the screen vibration sounding.Driver 131 is connect with the driving circuit 211 of electronic device 100, driving Circuit 211 is used for according to volume value input control signal to driver 131, to drive driver 131 to vibrate, to drive screen 120.Specifically, driving circuit 211 can be the processor of electronic device 100, be also possible to can produce in electronic device 100 The integrated circuit of raw driving voltage or electric current.Driving circuit exports the driving signal of low and high level to driver 131, driver 131 vibrate according to the driving signal, and the electrical parameter of the driving signal of driving circuit output is different, then will lead to driver 131 Parameter it is different, for example, the duty ratio of driving signal corresponds to the vibration frequency of driver 131, the amplitude of driving signal is to stress Encourage the Oscillation Amplitude etc. of device 131.
Driver 131 may be uniformly distributed in screen 120 in the embodiment of the present application so that screen 120 be divided into it is multiple Individually carry out the region of sounding.For example, the number of driver 131 is 4, then screen 120 can be along the vertical direction and horizontal The center line in direction is divided into 4 pieces of square regions, and 4 drivers 131 are set to below 4 pieces of square regions, 4 drivers 131 It is corresponded with 4 pieces of square regions.Certainly, the number of driver 131 is not intended as limiting in the embodiment of the present application.
Therefore, aiming at the problem that component that earpiece etc. is set on display screen direction will greatly affect display effect, Inventor has found by long-term research and proposes sounding control method provided by the embodiments of the present application, device, electronic device And storage medium, pressure value on screen is acted on by detecting, and according to the volume of pressure value adjust automatically screen sounding, To promote the convenience of volume adjustment and reduce the loss to volume key.Wherein, specific sounding control method is subsequent It is described in detail in embodiment.
Embodiment
Referring to Fig. 4, Fig. 4 shows the flow diagram of the first sounding control method provided by the embodiments of the present application. The sounding control method is used for the pressure value acted on screen by detection, and according to pressure value adjust automatically screen sounding Volume, to promote the convenience of volume adjustment and reduce loss to volume key.In the particular embodiment, the sounding Control method is applied to sounding controller 300 as shown in Figure 8 and the electronics dress configured with the sounding controller 300 Set 100 (Fig. 1 and Fig. 2).It will illustrate the detailed process of the present embodiment by taking electronic device as an example below, it will of course be understood that, this Electronic device applied by embodiment can be smart phone, tablet computer, wearable electronic equipment etc., not do herein specific It limits.It will be explained in detail below for process shown in Fig. 4, the sounding control method can specifically include following step It is rapid:
Step S110: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
In the present embodiment, the screen of electronic device can be used for vibration sounding, and be suitable for the non-earphone of electronic device Call mode, wherein non-earphone call mode includes hands-free mode and handset mode, is conversing, is broadcasting for playing electronic device Put the voice signal issued when video.Wherein, in the present embodiment, when the electronic device is in non-headset mode When, it can default and set screen beep pattern for the electronic device, can also voluntarily be chosen whether to be set as screen by user Beep pattern does not do specific restriction herein.It should be understood that the electronic device can also include in addition to screen beep pattern Speaker mode etc., wherein in loudspeaker mode, by loudspeaker vibration sounding.
As a kind of mode, whether screen sounding mould can be in when conversing or playing video to electronic device Formula is detected, and specifically, can first determine whether electronic device is connected with earphone, wherein can be by checking that electronics fills The state for the earphone connecting hole set judges, for example, returning to first state when the earphone connecting hole of electronic device connects earphone Value returns to the second state value when the earphone in connecting hole is pulled out, can by detection first state value and the second state value To determine whether Current electronic device is connected with earphone.As a kind of mode, android system is in earphone into and out connection Broadcast can be all sent when hole, so, electronic device can determine whether to be connected with by way of monitoring the broadcast Earphone, thus, it is possible to determine whether electronic device is in earphone call mode.Further, when determining that the electronic device is in When non-earphone call mode, then the electronic device is in handset mode or hands-free mode, it is therefore contemplated that the electricity at this time Sub-device is in screen beep pattern.
Alternatively, due to driving screen sounding therefore can by the driver under screen beep pattern To judge whether the electronic device is in screen beep pattern by the state for detecting driver.Specifically, to the shape of driver State is detected, wherein when detecting in running order driver and driving screen vibration, it is believed that the electronics dress It sets in screen beep pattern.
Further, when the electronic device is in screen beep pattern, to the touch control operation acted on the screen It is detected, wherein the touch control operation may include that single give directions hits, gives more directions and hit, singly refer to long-pressing, refer to long-pressing, weight, repeatedly more Click, slide, duplication operation etc., wherein single give directions hits the operation for referring to and singly referring to and being clicked on the screen;Refer to more Click the operation for referring to and referring to more and on the screen while being clicked;Singly refer to that long-pressing refers to and singly refers to that pressing on the screen is more than when presetting It is long;Refer to that long-pressing refers to that referring to more while pressing on the screen is more than preset duration more;Weight refers to that pressing dynamics are more than on the screen Default dynamics;It repeatedly clicks and refers to that number of clicks is more than preset times within a preset time;Slide refer on the screen into Row sliding;Duplication operation refers to the operation that text information is copied to pasting boards in screen.
Step S120: the current pressure values of the touch control operation are obtained, and obtain the electricity based on the current pressure values The current volume value of sub-device.
In the present embodiment, it when detecting the touch control operation acted on screen, is acted on screen for example, detecting When pressing dynamics are more than default dynamics, the current of the touch control operation can be detected by being set to the pressure sensor below screen Pressure value, it is possible to understand that, due to touch control operation current pressure values may real-time change, the pressure sensor is real-time The current pressure values of the touch control operation are detected, to promote the accuracy of current pressure values acquisition.
Further, after obtaining the current pressure values, the electronic device and current is obtained based on the current pressure values The corresponding current volume value of pressure value, wherein current volume value can be calculated by current pressure values in real time according to preset algorithm, The corresponding relationship of multiple pressure values and multiple volume values can also be preset, and lookup and current pressure values from corresponding relationship Corresponding current volume value etc..Specifically, the volume value that according to current pressure values, can adjust electronic device previous moment obtains The current volume value, wherein the volume value of the previous moment can be the electronic device before obtaining current volume value Volume value, wherein as a kind of mode, which is positively correlated with current volume value, i.e., current pressure values are bigger, then The current volume value is bigger;Current pressure values are smaller, then the current volume value is smaller.
Step S130: the driver is controlled according to the current volume value and drives the screen vibration sounding.
In the present embodiment, after determining current volume value, driver driving screen vibration is controlled according to current volume value Dynamic sounding.Specifically, when the current volume value is greater than the volume value of previous moment, then electronic device control driver increases The volume of screen sounding, when the current volume value is equal to the volume value of previous moment, then electronic device control driver is protected The volume for holding screen sounding, when the current volume value is less than the volume value of previous moment, then the electronic device controls driver The volume for reducing screen sounding, so that the volume of electronic device is adjusted according to the touch control operation acted on screen, to promote sound It measures the convenience adjusted and reduces the loss to volume key.
The first sounding control method provided by the embodiments of the present application, in the case where electronic device is in screen beep pattern, inspection Survey the touch control operation acted on screen, wherein under screen beep pattern, screen vibration sounding is driven by driver, is obtained The current pressure values of the touch control operation, and the current volume value based on current pressure values acquisition electronic device, according to current volume It is worth control driver and drives screen vibration sounding, to acts on the pressure value on screen by detection, and certainly according to pressure value The volume of dynamic adjustment screen sounding, to promote the convenience of volume adjustment and reduce the loss to volume key.
Referring to Fig. 5, Fig. 5 shows the flow diagram of second of sounding control method provided by the embodiments of the present application. It will be explained in detail below for process shown in fig. 5, the method can specifically include following steps:
Step S210: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
Step S220: the current pressure values of the touch control operation are obtained.
Step S230: according to default mapping table, determine that the corresponding volume value of the current pressure values is target volume Value, wherein include the corresponding relationship of pressure value and volume value in the default mapping table.
In the present embodiment, it is stored with default mapping table, includes pressure value and sound in the default mapping table The corresponding relationship of magnitude, that is to say, that be included under different pressures value in mapping table, the different volumes of the electronic device Value.
Specifically, according to the current pressure values, it is corresponding current pressure values can be found in default mapping table Volume value, using the volume value found as target sound magnitude.
Step S240: using the target sound magnitude as the current volume value.
Further, using the target sound magnitude as current volume value, to obtain the corresponding current sound of the current pressure values Magnitude.
Step S250: the driver is controlled according to the current volume value and drives the screen vibration sounding.
Second of sounding control method provided by the embodiments of the present application, when electronic device is in screen beep pattern, inspection The touch control operation acted on screen is surveyed, the current pressure values of the touch control operation are obtained, according to default mapping relations, is determined current The corresponding volume value of pressure value is target sound magnitude, wherein includes pair of pressure value and volume value in the default mapping table It should be related to, using the target sound magnitude as current volume value, driver be controlled according to current volume value and drives screen vibration sounding, Compared to the first sounding control method, present aspect can also preset and store the corresponding relationship of pressure value and volume value simultaneously It saves, promotes the acquisition speed of volume value.
Referring to Fig. 6, Fig. 6 shows the flow diagram of the third sounding control method provided by the embodiments of the present application. It will be explained in detail below for process shown in fig. 6, the method can specifically include following steps:
Step S310: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
Step S320: obtaining the current pressure values of the touch control operation, and detects the current touch-control position of the touch control operation It sets.
Referring to Fig. 7, in the present embodiment, the screen includes the first sound-emanating areas A and the second sound-emanating areas B, wherein The size relation and positional relationship of the first sound-emanating areas A and the second sound-emanating areas B it is not limited here, for example, this first hair Sound area domain A can be located at the top of the second sound-emanating areas B, the lower section that can be located at the second sound-emanating areas B, can be located at the second hair The left of sound area domain B can also be located at the lower section etc. of the second sound-emanating areas, meanwhile, the size of the first sound-emanating areas A can be with Greater than the second sound-emanating areas B, the second sound-emanating areas B can be equal to, might be less that the second sound-emanating areas B, it is not limited here. Meanwhile the driver has and the first vibration unit that the first sound-emanating areas is correspondingly arranged and corresponding with the second sound-emanating areas sets The second vibration unit set, wherein the quantity of the first vibration unit and the second vibration unit is in the present embodiment without limitation.
Further, obtain the touch control operation pressure value when, while to the current position of touch of the touch control operation into Row detection, it is possible to understand that, since the screen of the electronic device is touching display screen, which, which can detecte, acts on Touch control operation on each position of screen, and the corresponding current position of touch for obtaining the touch control operation can as a kind of mode To obtain the co-ordinate position information of each touch point of the touch control operation.
It should be understood that since screen includes the first sound-emanating areas and the second sound-emanating areas, the current touch-control position It sets and is likely located at the first sound-emanating areas, is likely located at the second sound-emanating areas, it is also possible to while being located at the first sound-emanating areas and second Sound-emanating areas etc., wherein as a kind of mode, obtain the co-ordinate position information of each touch point of the touch control operation first, so The seat for the enclosing region for afterwards forming the co-ordinate position information of each touch point and the first sound-emanating areas and the second sound-emanating areas Cursor position information compares, to obtain the enclosing region where each touch point, so as to obtain the current touch-control position Set corresponding sound-emanating areas.
Further, as a kind of mode, when judging the current position of touch while being located at the first sound-emanating areas and second When sound-emanating areas, the touch-control enclosing region of the available current touch control operation is calculated based on the touch-control enclosing region, is obtained Take the center of the touch-control enclosing region, wherein the center is the touch-control center of current position of touch, then passes through The mode that the touch-control center is overlapped with the co-ordinate position information of the first sound-emanating areas or the second sound-emanating areas is judged, to judge The touch-control center is located at the first sound-emanating areas or the second sound-emanating areas.
Step S330: when the current position of touch is located at first sound-emanating areas, the current pressure values are based on The volume value for increasing the electronic device obtains the current volume value.
As a kind of mode, when the current position of touch is located at first sound-emanating areas or current touch control operation Touch-control center when being located at the first sound-emanating areas, then the volume value for increasing the electronic device based on the current pressure values obtains Obtain current volume value, it is possible to understand that, in the present embodiment, first sound-emanating areas can be regarded as the key of " volume+", because This, the touch control operation for acting on the first sound-emanating areas can be regarded as the volume that instruction increases the electronic device, then electronic device Increase the volume of the electronic device according to the current volume value in response.
Further, as a kind of mode, when the current position of touch is located at the first sound-emanating areas or current touch-control When the touch-control center of operation is located at the first sound-emanating areas, then increase first sound-emanating areas based on the current pressure values Volume value obtains the current volume value, it is possible to understand that, at this point, the volume value of first sound-emanating areas increases, the second articulating region The volume value in domain remains unchanged, and is changed with controlling the volume of corresponding sound-emanating areas according to the user's choice.
Step S340: when the current position of touch is located at second sound-emanating areas, the current pressure values are based on The volume value for reducing the electronic device obtains the current volume value.
Alternatively, when the current position of touch is located at second sound-emanating areas, or current touch-control behaviour When the touch-control center of work is located at second sound-emanating areas, then reduce the volume value of the electronic device based on the current pressure values Obtain current volume value, it is possible to understand that, in the present embodiment, second sound-emanating areas can be regarded as the key of " volume-", Therefore, the touch control operation for acting on the second sound-emanating areas can be regarded as the volume that instruction reduces the electronic device, then electronics fills Set the volume for reducing the electronic device according to the current volume value in response.
Further, alternatively, when the current position of touch is located at the second sound-emanating areas, or current touching When the touch-control center of control operation is located at the second sound-emanating areas, then reduce first sound-emanating areas based on the current pressure values Volume value obtain current volume value, it is possible to understand that, at this point, the volume value of second sound-emanating areas reduces, the first articulating region The volume value in domain remains unchanged, and is changed with controlling the volume of corresponding sound-emanating areas according to the user's choice.
Step S350: the driver is controlled according to the current volume value and drives the screen vibration sounding.
The third sounding control method provided by the embodiments of the present application, when electronic device is in screen beep pattern, inspection The touch control operation acted on screen is surveyed, obtains the current pressure values of the touch control operation, and detect the current touching of the touch control operation Position is controlled, when current position of touch is located at the first sound-emanating areas, the volume value for increasing electronic device based on current pressure values is obtained Current volume value is obtained, when current position of touch is located at the second sound-emanating areas, reduces the sound of electronic device based on current pressure values Magnitude obtains current volume value, controls driver according to current volume value and drives screen vibration sounding, thus compared to the first Screen can also be divided into different sound-emanating areas and control to adjust volume respectively by sounding control method, this method, promoted and adjusted The convenience of section.
Referring to Fig. 8, Fig. 8 shows the module frame chart of sounding controller 300 provided by the embodiments of the present application.The sounding 300 be applied to electronic device, the electronic device include the screen for capableing of vibration sounding, for drive the driver of screen sounding with And the pressure sensor for detecting the pressure acted on the screen.It will be illustrated below for block diagram shown in Fig. 8, institute Stating sounding controller 300 includes: touch control operation detection module 310, pressure value acquisition module 320 and sounding control module 330, in which:
Touch control operation detection module 310, for when the electronic device is in screen beep pattern, detection to act on institute State the touch control operation on screen, wherein under the screen beep pattern, the screen vibration hair is driven by the driver Sound.
Pressure value obtains module 320, for obtaining the current pressure values of the touch control operation, and is based on the current pressure Value obtains the current volume value of the electronic device.Further, it includes: that pressure value obtains that the pressure value, which obtains module 320, Submodule, target sound magnitude determine submodule and current volume value acquisition submodule, in which:
Pressure value acquisition submodule, for obtaining the current pressure values of the touch control operation.
Target sound magnitude determines submodule, for determining that the current pressure values are corresponding according to mapping table is preset Volume value is target sound magnitude, wherein includes the corresponding relationship of pressure value and volume value in the default mapping table.
Current volume value acquisition submodule, for using the target sound magnitude as the current volume value.
Further, the screen include the first sound-emanating areas and the second sound-emanating areas, the driver have with it is described The first vibration unit that first sound-emanating areas is correspondingly arranged and the second vibration unit being correspondingly arranged with the second sound-emanating areas, institute It states pressure value and obtains module 320, further includes: position of touch detection module, touch-control center obtain module, touch-control center Judgment module and current volume value obtain module, in which:
Position of touch detection module, for detecting the current position of touch of the touch control operation.
Touch-control center obtain module, for when the current position of touch simultaneously be located at first sound-emanating areas and When second sound-emanating areas, the touch-control center of the current position of touch is obtained.
Touch-control center judgment module, for judging that the touch-control center is located at first sound-emanating areas or institute State the second sound-emanating areas.
Current volume value obtains module, for being based on when the current position of touch is located at first sound-emanating areas The volume value that the current pressure values increase the electronic device obtains the current volume value.
Current volume value obtains module, is also used to when the current position of touch is located at second sound-emanating areas, base The current volume value is obtained in the volume value that the current pressure values reduce the electronic device.
Sounding control module 330 drives the screen to vibrate for controlling the driver according to the current volume value Sounding.
In conclusion sounding control method, device, electronic device and storage medium provided by the embodiments of the present application, first First in the case where electronic device is in screen beep pattern, detection acts on the touch control operation on screen, wherein in screen beep pattern Under, screen vibration sounding is driven by driver, then obtains the current pressure values of the touch control operation, and obtain based on current pressure values The current volume value of electronic device is obtained, driver is finally controlled according to current volume value and drives screen vibration sounding, to pass through Detection acts on the pressure value on screen, and according to the volume of pressure value adjust automatically screen sounding, to promote volume adjustment The loss of convenience and reduction to volume key.
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.
A kind of electronic device provided by the present application is illustrated below in conjunction with Fig. 9.
Fig. 1, Fig. 2 and Fig. 9 are please referred to, is based on above-mentioned sounding control method, device, the embodiment of the present application provides one kind can Execute the electronic device 100 of aforementioned sounding control method.Electronic device 100 includes capableing of the screen 120 of vibration sounding, for driving Move the driver 131 of screen sounding, for detecting the pressure sensor 114G acted on screen, memory 104 and processing Device 102, the screen 120, driver 131, pressure sensor 114G and memory 104 are couple to the processor 102.Wherein, Memory 104 is stored with the program that can execute content in previous embodiment, and processor 102 can execute the memory 104 The program of storage.
Another electronic device provided by the present application is illustrated below in conjunction with Figure 10.
Fig. 1, Fig. 2 and Figure 10 are please referred to, based on above-mentioned sounding control method, device, the embodiment of the present application is also provided A kind of electronic device 100.
Illustratively, electronic device 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 device 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 device 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 device 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 device 100 can execute multiple functions and (for example, playing music, show video, storage Picture and send and receive call).If desired, electronic device 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.
Please continue to refer to Fig. 1, electronic device 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 And the screen 120 on the shell 12 is set.Metal can be used in the shell 12, such as steel, aluminium alloy are made.The present embodiment In, the screen 120 generally includes display panel 111, may also comprise and carries out touch-control behaviour to the display panel 111 for responding The circuit etc. of work.The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD), In some embodiments, the display panel 111 is a screen 109 simultaneously.
Please refer to Figure 10, in actual application scenarios, the electronic device 100 can be used as intelligent mobile phone terminal into It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case 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 Fig. 10 is only to illustrate, not to institute The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 10 or The less component of person, or with the configuration different from shown in Figure 10.
It will appreciated by the skilled person that all 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.For example, memory The corresponding software program of 104 storage sounding control methods provided by the above embodiment and module, processor 102 are operationally stated When the corresponding software program of sounding control method and module that embodiment provides, sounding controlling party provided by the above embodiment is executed Method.The memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, the memory 104 can be further Including the memory remotely located relative to the processor 102, these remote memories can be by being connected to the network to described Electronic body portion 10 or the screen 120.The example of above-mentioned network include 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 It is (Worldwide Interoperability for Microwave Access, Wi-Max), other 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, earpiece 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly Audio interface between 10 or the screen 120.Specifically, the voicefrequency circuit 110 receives sound from the processor 102 Voice data is converted to electric signal by data, by electric signal transmission to the earpiece 101.The earpiece 101 converts electric signal The sound wave that can be heard for human ear.The voicefrequency circuit 110 receives electric signal also from the microphone 105, and electric signal is converted For voice data, and by data transmission in network telephony to the processor 102 to be further processed.Audio data can be from institute It states at memory 104 or is obtained by the RF module 106.In addition, audio data also can store to the memory 104 In or sent by the RF module 106.
The sensor 114 is arranged in the electronic body portion 10 or in the screen 120, the sensor 114 Example includes but is not limited to: optical sensor, operation sensor, pressure sensor, gravity accelerometer and other biographies Sensor.
Specifically, the sensor 114 can also include light sensor 114F, referring to Figure 10, in Figure 10 institute In the embodiment shown, the light sensor 114F and the pressure sensor 114G are arranged adjacent to the display panel 111.Institute State light sensor 114F can when there is object close to the screen 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 device (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 other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer It repeats,
In the present embodiment, the input module 118 may include the screen 109 being arranged on the screen 120, described Screen 109 collects the touch operation of user on it or nearby, and (for example user uses any suitable object such as finger, stylus Or operation of the attachment on the screen 109 or near the screen 109), and driving is corresponding according to a pre-set procedure Attachment device.Optionally, the screen 109 may include touch detecting apparatus and touch controller.Wherein, the touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to the touch controller;Institute It states touch controller and receives touch information from the touch detecting apparatus, and the touch information is converted into contact coordinate, then The processor 102 is given, and order that the processor 102 is sent can be received and executed.Furthermore, it is possible to using resistance The multiple types such as formula, condenser type, infrared ray and surface acoustic wave realize the touch detection function of the screen 109.In addition to described Screen 109, in other change embodiments, the input module 118 can also include other input equipments, such as key 107. The key 107 for example may include the character keys for inputting character, and the control button for triggering control function.Institute The example for stating control button includes " returning to main screen " key, power on/off key etc..
The information and the electronic body that the screen 120 is used to show information input by user, is supplied to user The various graphical user interface in portion 10, these graphical user interface can be by figure, text, icon, number, video and it is any Combination is to constitute, and in an example, the screen 109 may be disposed on the display panel 111 thus with the display surface Plate 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 it is other arbitrarily with the electronic body portion 10 or the screen The generation, management of electric power and the relevant component of distribution in curtain 120.
The electronic device 100 further includes locator 119, and the locator 119 is for determining 100 institute of electronic device The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 100 using positioning service, The positioning service, it should be understood that the location information of the electronic device 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 device 100 is not limited to intelligent mobile phone terminal, should refer to can moved Computer equipment used in dynamic.Specifically, electronic device 100, refers to the mobile computer for being equipped with intelligent operating system Equipment, electronic device 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 or the method description described in other ways in flow chart or herein is construed as, 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.
The logic and/or step for indicating or describing in other ways 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 (such as computer based system, the system including processor other can be held from instruction for instruction execution system, device or equipment 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 device), 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 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 Its 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 (10)

1. a kind of sounding control method, which is characterized in that be applied to electronic device, the electronic device includes being capable of vibration sounding Screen, the driver for driving the screen sounding and the pressure for detecting the pressure acted on the screen passes Sensor, which comprises
When the electronic device is in screen beep pattern, detection acts on the touch control operation on the screen, wherein in institute It states under screen beep pattern, the screen vibration sounding is driven by the driver;
The current pressure values of the touch control operation are obtained, and obtain the current sound of the electronic device based on the current pressure values Magnitude;
The driver, which is controlled, according to the current volume value drives the screen vibration sounding.
2. the method according to claim 1, wherein the current pressure values for obtaining the touch control operation, and The current volume value of the electronic device is obtained based on the current pressure values, comprising:
Obtain the current pressure values of the touch control operation;
According to default mapping table, determine that the corresponding volume value of the current pressure values is target sound magnitude, wherein described pre- If in mapping table including the corresponding relationship of pressure value and volume value.
Using the target sound magnitude as the current volume value.
3. method according to claim 1 or 2, which is characterized in that the current pressure values and the current volume value at It is positively correlated.
4. method according to claim 1 or 2, which is characterized in that the screen includes the first sound-emanating areas and the second hair Sound area domain, the driver have the first vibration unit being correspondingly arranged with first sound-emanating areas and send out with described second The second vibration unit that sound area domain is correspondingly arranged, the current volume that the electronic device is obtained based on the current pressure values Value, comprising:
Detect the current position of touch of the touch control operation;
When the current position of touch is located at first sound-emanating areas, increase the electronics dress based on the current pressure values The volume value set obtains the current volume value;Or
When the current position of touch is located at second sound-emanating areas, reduce the electronics dress based on the current pressure values The volume value set obtains the current volume value.
5. according to the method described in claim 4, it is characterized in that, the current position of touch of the detection touch control operation it Afterwards, further includes:
When the current position of touch is located at first sound-emanating areas and second sound-emanating areas simultaneously, work as described in acquisition The touch-control center of preceding position of touch;
Judge that the touch-control center is located at first sound-emanating areas or second sound-emanating areas.
6. according to the method described in claim 5, it is characterized in that, described when the current position of touch is located at first hair When the domain of sound area, the volume value for increasing the electronic device based on the current pressure values obtains the current volume value, comprising:
When the current position of touch is located at first sound-emanating areas, increase first hair based on the current pressure values The volume value in sound area domain obtains the current volume value;
It is described when the current position of touch is located at second sound-emanating areas, reduce the electricity based on the current pressure values The volume value of sub-device obtains the current volume value, comprising:
When the current position of touch is located at second sound-emanating areas, reduce second hair based on the current pressure values The volume value in sound area domain obtains the current volume value.
7. a kind of sounding controller, which is characterized in that be applied to electronic device, the electronic device includes being capable of vibration sounding Screen, the driver for driving the screen sounding and the pressure for detecting the pressure acted on the screen passes Sensor, the sounding controller include:
Touch control operation detection module, for when the electronic device is in screen beep pattern, detection to act on the screen On touch control operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver;
Pressure value obtains module, obtains for obtaining the current pressure values of the touch control operation, and based on the current pressure values The current volume value of the electronic device;
Sounding control module drives the screen vibration sounding for controlling the driver according to the current volume value.
8. a kind of electronic device, which is characterized in that including capableing of the screen of vibration sounding, for driving swashing for the screen sounding Encourage device, for detecting the pressure sensor for acting on the pressure on screen, memory and processor, the screen described swashs It encourages device, the pressure sensor and the memory and is couple to the processor, the memory store instruction, when the finger Processor when being executed by the processor is enabled to execute as the method according to claim 1 to 6.
9. 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 as the method according to claim 1 to 6.
10. a kind of electronic device, which is characterized in that the screen including capableing of vibration sounding;
Driver is connect with the screen, and the driver is for driving the screen vibration sounding;
Circuit is connect with the driver, and the circuit includes detection circuit and driving circuit, and the detection circuit is used in institute When stating electronic device and being in screen beep pattern, detection acts on the touch control operation on the screen, wherein sends out in the screen Under sound pattern, the screen vibration sounding is driven by the driver, obtains the current pressure values of the touch control operation, and be based on The current pressure values obtain the current volume value of the electronic device, and the driving circuit is used for according to the current volume value It controls the driver and drives the screen vibration sounding.
CN201810745807.6A 2018-07-09 2018-07-09 Sound production control method, sound production control device, electronic device, and storage medium Expired - Fee Related CN109085985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810745807.6A CN109085985B (en) 2018-07-09 2018-07-09 Sound production control method, sound production control device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810745807.6A CN109085985B (en) 2018-07-09 2018-07-09 Sound production control method, sound production control device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109085985A true CN109085985A (en) 2018-12-25
CN109085985B CN109085985B (en) 2021-01-26

Family

ID=64837323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810745807.6A Expired - Fee Related CN109085985B (en) 2018-07-09 2018-07-09 Sound production control method, sound production control device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109085985B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889640A (en) * 2019-02-28 2019-06-14 维沃移动通信有限公司 A screen sounding device, method and mobile terminal
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sounding control method and device and electronic equipment
WO2021104450A1 (en) * 2019-11-29 2021-06-03 维沃移动通信有限公司 Electronic device and volume adjustment method therefor
CN114739542A (en) * 2022-04-28 2022-07-12 东莞市恒速发电子有限公司 Point-press sounding device
CN115379347A (en) * 2022-08-16 2022-11-22 Oppo广东移动通信有限公司 Audio output method, electronic device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013164977A1 (en) * 2012-05-02 2013-11-07 京セラ株式会社 Electronic apparatus, control method, and control program
CN103778909A (en) * 2014-01-10 2014-05-07 瑞声科技(南京)有限公司 Screen sounding system and control method thereof
CN104469632A (en) * 2014-11-28 2015-03-25 上海华勤通讯技术有限公司 Sound production method and sound production device
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method
CN107592592A (en) * 2017-07-28 2018-01-16 捷开通讯(深圳)有限公司 Display panel, mobile terminal and screen sounding control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013164977A1 (en) * 2012-05-02 2013-11-07 京セラ株式会社 Electronic apparatus, control method, and control program
CN103778909A (en) * 2014-01-10 2014-05-07 瑞声科技(南京)有限公司 Screen sounding system and control method thereof
CN104469632A (en) * 2014-11-28 2015-03-25 上海华勤通讯技术有限公司 Sound production method and sound production device
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method
CN107592592A (en) * 2017-07-28 2018-01-16 捷开通讯(深圳)有限公司 Display panel, mobile terminal and screen sounding control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889640A (en) * 2019-02-28 2019-06-14 维沃移动通信有限公司 A screen sounding device, method and mobile terminal
WO2021104450A1 (en) * 2019-11-29 2021-06-03 维沃移动通信有限公司 Electronic device and volume adjustment method therefor
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sounding control method and device and electronic equipment
CN114739542A (en) * 2022-04-28 2022-07-12 东莞市恒速发电子有限公司 Point-press sounding device
CN115379347A (en) * 2022-08-16 2022-11-22 Oppo广东移动通信有限公司 Audio output method, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN109085985B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN109194796A (en) Screen vocal technique, device, electronic device and storage medium
CN109085985A (en) Sounding control method, device, electronic device and storage medium
CN108646971B (en) Screen sound control method, device and electronic device
CN109144460A (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108881568B (en) Method, device, electronic device and storage medium for sound from display screen
CN109032556B (en) Voice control method, device, electronic device, and storage medium
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
CN108958632B (en) Sound production control method and device, electronic equipment and storage medium
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
CN109086024A (en) Screen sounding method and device, electronic device and storage medium
CN108958697B (en) Screen sound control method, device and electronic device
CN108712571A (en) Method and device for sounding display screen, electronic device and storage medium
CN109062535A (en) Sound production control method and device, electronic device and computer readable medium
CN108762711A (en) Method, device, electronic device and storage medium for screen sound generation
CN108769327A (en) Method and device for sounding display screen, electronic device and storage medium
CN109189360A (en) Screen sounding control method and device and electronic device
CN108810764B (en) Sound production control method and device and electronic device
CN109240413A (en) Screen sounding method and device, electronic device and storage medium
CN109144249A (en) Screen sounding method and device, electronic device and storage medium
CN109144459A (en) Sounding control method, device, electronic device and storage medium
CN109088980A (en) Sound production control method and device, electronic device and computer readable medium
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN108900689B (en) Sound production control method and device, electronic equipment and storage medium
CN109086025B (en) Sounding control method, device, electronic device and computer-readable medium
CN108958631B (en) Screen sound control method, device and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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: 20210126