CN109032556A - 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
CN109032556A
CN109032556A CN201810747478.9A CN201810747478A CN109032556A CN 109032556 A CN109032556 A CN 109032556A CN 201810747478 A CN201810747478 A CN 201810747478A CN 109032556 A CN109032556 A CN 109032556A
Authority
CN
China
Prior art keywords
screen
sounding
electronic device
status information
loudspeaker
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
CN201810747478.9A
Other languages
Chinese (zh)
Other versions
CN109032556B (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 CN201810747478.9A priority Critical patent/CN109032556B/en
Publication of CN109032556A publication Critical patent/CN109032556A/en
Application granted granted Critical
Publication of CN109032556B publication Critical patent/CN109032556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1688Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being integrated loudspeakers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware

Abstract

The embodiment of the present application discloses a kind of sounding control method, device, electronic device and storage medium, is related to technical field of electronic device.This method is applied to electronic device, and electronic device includes the screen for capableing of vibration sounding, at least one driver and loudspeaker for driving screen sounding.The described method includes: when electronic device is in screen beep pattern, detect the status information of screen, wherein, under screen beep pattern, screen sounding is driven by the driver, judge whether the status information of screen is abnormal, when the status information exception of screen, electronic device is controlled by screen beep pattern and switches to loudspeaker beep pattern, wherein, under loudspeaker beep pattern, by the loudspeaker vibration sounding.The application is by carrying out sounding using loudspeaker, while promoting electronic device screen accounting, promoting the fault-tolerance of electronic device in screen heterophonia.

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 earpiece sounding to export voice signal.However, The setting of earpiece 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 The screen including capableing of vibration sounding, at least one driver and loudspeaker for driving the screen sounding are set, it is described Method includes: to detect the status information of the screen, wherein described when the electronic device is in screen beep pattern Under screen beep pattern, the screen sounding is driven by the driver;Judge whether the status information of the screen is abnormal;When When the status information exception of the screen, the electronic device is controlled by screen beep pattern and switches to loudspeaker beep pattern, Wherein, under the loudspeaker beep pattern, by the loudspeaker vibration sounding.
Second aspect, the embodiment of the present application provide a kind of sounding controller, are applied to electronic device, the electronics dress The screen including capableing of vibration sounding, at least one driver and loudspeaker for driving the screen sounding are set, it is described Sounding controller includes: status information detection module, for detecting institute when the electronic device is in screen beep pattern State the status information of screen, wherein under the screen beep pattern, the screen sounding is driven by the driver;State Whether signal judgement module, the status information for judging the screen are abnormal;Beep pattern switching module, for working as the screen When the status information exception of curtain, the electronic device is controlled by screen beep pattern and switches to loudspeaker beep pattern, wherein Under the loudspeaker beep pattern, by the loudspeaker 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 at least one driver, loudspeaker, memory and the processor of the screen sounding, the screen, the driver, institute It states loudspeaker and the memory is couple to the processor, the memory store instruction, when described instruction is by described The processor executes above-mentioned method when reason device execution.
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, screen, loudspeaking including capableing of vibration sounding Device;At least one driver is connect with the screen, and the driver is for driving the screen sounding;Circuit, respectively with institute It states driver to connect with the loudspeaker, the circuit includes detection circuit, decision circuitry and driving circuit, the detection electricity Road is used for when the electronic device is in screen beep pattern, detects the status information of the screen, wherein in the screen Under beep pattern, the screen sounding is driven by the driver, the decision circuitry is used to judge the state letter of the screen Whether breath is abnormal, and the driving circuit is used for when the status information exception of the screen, controls the electronic device by screen Beep pattern switches to loudspeaker beep pattern, wherein under the loudspeaker beep pattern, is sent out by the loudspeaker vibration Sound.
A kind of sounding control method, device, electronic device and storage medium provided by the embodiments of the present application, work as electricity first When sub-device is in screen beep pattern, the status information of screen is detected, wherein under screen beep pattern, by the driver Screen sounding is driven, then judges whether the status information of screen is abnormal, finally when the status information exception of screen, control electricity Sub-device switches to loudspeaker beep pattern by screen beep pattern, wherein under loudspeaker beep pattern, is shaken by the loudspeaker Dynamic sounding, so that sounding is carried out using loudspeaker by screen heterophonia, while promoting electronic device screen accounting, Promote the fault-tolerance of electronic device.
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 the structural schematic diagram at the third visual angle of electronic device provided by the embodiments of the present application;
Fig. 4 shows a kind of structural block diagram of electronic device provided by the embodiments of the present application;
Fig. 5 shows the flow diagram of the first sounding control method provided by the embodiments of the present application;
Fig. 6 shows the flow diagram of second of 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 flow diagram of the step S240 of second of sounding control method provided by the embodiments of the present application;
Fig. 9 shows the module frame chart of sounding controller provided by the embodiments of the present application;
Figure 10 shows a kind of block diagram of electronic device for executing the sounding control method according to the embodiment of the present application;
Figure 11 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, Fig. 2 and Fig. 3 are please referred to, a kind of electronic device provided by the embodiments of the present application is shown 100.Wherein, Fig. 1 is the front view of electronic device, and Fig. 2 is the side view of electronic device, and Fig. 3 is the bottom 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 100 shakes Dynamic sounding, specifically, vibration component be the electronic device screen 120 or shell 12 at least one, that is to say, that vibration Component 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. As an implementation, when vibration component is shell 12, vibration component can be the rear cover of shell 12.
Further, electronic device 100 further includes loudspeaker 130, which is used for vibration sounding, specifically, should Loudspeaker 130 can be set in the inside in electronic body portion 10, and the sound outlet hole by being set to 100 bottom of electronic device issues Sound, as shown in Figure 3.
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, driver 131 can be piezoelectric actuator or Motor.As an implementation, driver 131 is piezoelectric actuator.Piezoelectric actuator passes through moment loading for self-deformation Screen 120 is passed to, thus 120 vibration sounding of screen.Screen 120 includes touch screen and display screen, and display location is in touch screen Lower section, piezoelectric actuator is attached at the lower section of display screen, the i.e. one side of the separate touch screen of display screen.Piezoelectric actuator includes Multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic piece sounding expands and shrinks, screen will be driven to occur bending and deformation, Repeatedly, entire screen forms bending vibration, so that screen can push air and generate sound.
As an implementation, as shown in figure 4, electronic device 100 further includes circuit 200, circuit 200 and driver 131 connections.Circuit 200 includes detection circuit 210, decision circuitry 211 and driving circuit 212, and the detection circuit 210 works as institute When stating electronic device and being in screen beep pattern, the status information of the screen is detected, wherein in the screen beep pattern Under, the screen sounding is driven by the driver;The decision circuitry 211 be used for judge the screen status information whether Abnormal, the driving circuit 212 switches to loudspeaker beep pattern by screen beep pattern for controlling the electronic device, In, under the loudspeaker beep pattern, by the loudspeaker vibration sounding.The driving electricity of driver 131 and electronic device 100 Road 212 connects, and driving circuit 212 is used for according to vibration parameters input control signal to driver 131, to drive driver 131 Vibration, to drive screen 120.Specifically, driving circuit 212 can be the processor of electronic device 100, be also possible to electronics The integrated circuit that can generate driving voltage or electric current in device 100.Driving circuit exports the driving signal of low and high level extremely Driver 131, driver 131 are vibrated according to the driving signal, and the electrical parameter of the driving signal of driving circuit output is different, then The vibration parameters that will lead to driver 131 are different, for example, the duty ratio of driving signal corresponds to the vibration frequency of driver 131, drive The amplitude of dynamic signal corresponds to the Oscillation Amplitude etc. of driver 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 prolonged research and proposes sounding control method provided by the embodiments of the present application, device, mobile electricity Sub-device and storage medium, by carrying out sounding using loudspeaker, promoting electronic device screen accounting in screen heterophonia While, promote the fault-tolerance of electronic device.Wherein, specific sounding control method carries out detailed in subsequent embodiment Explanation.
Embodiment
Referring to Fig. 5, Fig. 5 shows the flow diagram of the first sounding control method provided by the embodiments of the present application. The sounding control method is used in screen heterophonia, is carried out sounding using loudspeaker, is promoted electronic device screen accounting Meanwhile promoting the fault-tolerance of electronic device.In the particular embodiment, the sounding control method is applied to as shown in Figure 9 Sounding controller 300 and electronic device 100 (Fig. 1, Fig. 2 and Fig. 3) configured with the sounding controller 300.Under Face will illustrate the detailed process of the present embodiment by taking electronic device as an example, it will of course be understood that, electronics applied by the present embodiment Device can be smart phone, tablet computer, wearable electronic equipment etc., not do specific restriction herein.It will be directed to Fig. 5 below Shown in process be explained in detail, the sounding control method can specifically include following steps:
Step S110: when the electronic device is in screen beep pattern, detecting the status information of the screen, In, under the screen beep pattern, the screen 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.
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, the status information of screen is detected, In, which at least may include fragmentation degree and amplitude.Specifically, the detection of the fragmentation degree of screen can be passed through Collector acquires inductance capacitance data, specifically, acquisition inductance capacitance can be acquired by the collector built in capacitance plate Data can also couple collector in processor, and connect with capacitance plate and induction electrode signal, directly be adopted by processor Collection obtains inductance capacitance data, wherein since induction electrode is arranged along capacitance plate, when capacitance plate fragmentation, can make along capacitor Being broken to electric line for screen arrangement, so that inductance capacitance changes, according to the size variation of the inductance capacitance, can sentence It is disconnected go out capacitance plate whether fragmentation and its fragmentation degree.
Further, the detection of the amplitude of screen can be detected by laser displacement sensor etc., specifically, is swashed Optical displacement sensor detects the moving distance of the screen, and the moving distance of the screen is sent to processor and is handled, with Obtain the amplitude of the screen.
Step S120: judge whether the status information of the screen is abnormal.
In the present embodiment, after the status information for obtaining screen, whether the status information of the screen is sentenced extremely It is disconnected.Specifically, when the status information of the screen is the fragmentation degree of screen, the electronic device presets and is stored with pre- If fragmentation degree, the default fragmentation degree is for the judgment basis as the fragmentation degree detected, it is possible to understand that, by the inspection The fragmentation degree and default fragmentation degree measured is compared, to judge whether the fragmentation degree reaches default fragmentation degree, In, when the fragmentation degree that this is detected reaches the default fragmentation degree, characterizes the fragmentation degree detected and have reached The degree for influencing screen sounding can then determine that the status information of the screen is abnormal;When the fragmentation degree detected does not reach When to the default fragmentation degree, characterizes the fragmentation degree detected and do not reach the degree for influencing screen sounding, then it can be with Determine that the status information of the screen is normal.
Further, when the status information of the screen is the amplitude of screen, the electronic device presets and stores There is default amplitude, the default amplitude is for the judgment basis as the amplitude detected, it is possible to understand that, the vibration that this is detected Width and default amplitude are compared, to judge whether the amplitude detected reaches default amplitude, wherein when the vibration detected When width reaches default amplitude, the amplitude requirement that the amplitude detected meets screen sounding is characterized, then can determine the screen Status information is normal;When the amplitude detected does not reach default amplitude, characterizes the amplitude detected and be unsatisfactory for shielding The amplitude requirement of curtain sounding can then determine that the status information of the screen is abnormal.For example, the screen when the electronic device is outer When power weight, the amplitude of the screen cannot reach default amplitude, it is believed that the status information of the screen is abnormal.
Step S130: it when the status information exception of the screen, controls the electronic device and is cut by screen beep pattern Shift to loudspeaker beep pattern, wherein under the loudspeaker beep pattern, by the loudspeaker vibration sounding.
In the present embodiment, the loudspeaker of electronic device can be used for vibration sounding, and specifically, which passes through production Raw mechanical oscillation push the air of surrounding, and air dielectric is made to generate fluctuation to realize the conversion of " electricity-power-sound ".Wherein, in electricity Sub-device detects the status information exception of the screen when being in screen beep pattern when, then the loudspeaker of the electronic device is controlled Vibration sounding thereby may be ensured that electronic device, still can be by the normal sounding of loudspeaker, to enhance the electricity in screen exception The fault-tolerance of sub-device.
The first sounding control method provided by the embodiments of the present application, when electronic device is in screen beep pattern, inspection Survey the status information of screen, wherein under screen beep pattern, screen sounding is driven by the driver, judges the state of screen Whether information is abnormal, and when the status information exception of screen, control electronic device switches to loudspeaker hair by screen beep pattern Sound pattern, wherein under loudspeaker beep pattern, by the loudspeaker vibration sounding, to make by screen heterophonia Sounding is carried out with loudspeaker, while promoting electronic device screen accounting, promotes the fault-tolerance of electronic device.
Referring to Fig. 6, Fig. 6 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. 6, the method can specifically include following steps:
Step S210: when the electronic device is in screen beep pattern, detecting the status information of the screen, In, under the screen beep pattern, the screen sounding is driven by the driver.
Step S220: judge whether the status information of first sound-emanating areas is abnormal.
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.
Wherein, it can be first articulating region when the electronic device is in screen beep pattern as a kind of mode Domain vibration sounding and second sound-emanating areas is static, is also possible in the second sound-emanating areas town east wind sounding and first articulating region Domain is static, optionally, in the present embodiment, with when electronic device is in screen beep pattern, which vibrates Sounding and the second sound-emanating areas it is static for, at this point it is possible to the status information of the first sound-emanating areas is detected and judge be No exception, the status information of first sound-emanating areas at least may include the fragmentation degree and amplitude of the first sound-emanating areas.
Step S230: when the status information exception of first sound-emanating areas, the shape of second sound-emanating areas is detected State information.
As a kind of mode, broken screen degree or the first sound-emanating areas are preset when the broken screen degree of the first sound-emanating areas reaches Amplitude when not reaching default amplitude, can determine that the status information of first sound-emanating areas is abnormal.At this point, electronic device is first First detect the status information of second sound-emanating areas, likewise, can fragmentation degree to second sound-emanating areas and amplitude into Row detection, to judge whether second sound-emanating areas is in abnormality.
Step S240: when the status information of second sound-emanating areas is normal, the second sound-emanating areas vibration is controlled Sounding and first sound-emanating areas is static.
As a kind of mode, if the status information of the second sound-emanating areas is normal, i.e. the fragmentation degree of the second sound-emanating areas does not have Have and reach default fragmentation degree, and when the amplitude of the second sound-emanating areas reaches default amplitude, can using the second sound-emanating areas as Target utterance region, therefore, the electronic device can control the second sound-emanating areas vibration sounding and control first articulating region Domain is static, and specifically, it is in running order to can control driver corresponding with the second sound-emanating areas, drives the second sound-emanating areas Vibration sounding, and control driver corresponding with the first sound-emanating areas and be in off working state, so that the first sound-emanating areas is static.
Referring to Fig. 8, Fig. 8 shows the stream of the step S240 of second of sounding control method provided by the embodiments of the present application Journey schematic diagram.It will be explained in detail below for process shown in Fig. 8, the method can specifically include following steps:
Step S241: when the status information of second sound-emanating areas is normal, selection control is shown simultaneously in the screen Detection acts on the touch control operation on the selection control, and the selection control includes at least the second sound-emanating areas sounding and loudspeaking The option of device sounding.
As a kind of mode, when the status information of the second sound-emanating areas is normal, selection control can be shown in screen, In, the two options for user selections of the second sound-emanating areas sounding and loudspeaker sounding are included at least on the selection control, further The touch control operation acted on the selection control is detected on ground, wherein the touch control operation may include it is single give directions hit, It gives more directions and hits, singly refers to pressing, mostly finger pressing, pressing area, compressing time etc., it is not limited here.
Step S242: when the touch control operation indicates the second sound-emanating areas sounding, second articulating region is controlled Domain vibration sounding and first sound-emanating areas is static.,
Further, when the touch control operation indicates the second sound-emanating areas sounding, i.e., in touch control operation touch-control selection control The second sound-emanating areas sounding when, then control the second sound-emanating areas vibration sounding and the first sound-emanating areas be static;When the touch-control is grasped Make instruction loudspeaker sounding and then controls loudspeaker sounding when that is, the touch control operation touch-control selects the loudspeaker sounding in control, from And can according to the demand of user or hobby selects different device to carry out sounding, enhance the operability of electronic equipment.
Step S250: when the status information exception of second sound-emanating areas, the electronic device is controlled by the screen Curtain beep pattern switches to the loudspeaker beep pattern.
Alternatively, if the status information of the second sound-emanating areas is abnormal, the i.e. fragmentation journey of the second sound-emanating areas When the amplitude that degree reaches default fragmentation degree or the second sound-emanating areas does not reach default amplitude, it is believed that the electronic device The status information of screen be in exception, then can control electronic device by screen beep pattern and switch to loudspeaker sounding mould Formula.
Step S260: the status information of the loudspeaker is detected.
Further, when electronic device is in loudspeaker beep pattern, the status information of the loudspeaker can be carried out Detection, as a kind of mode, can detecte the functional parameter of the loudspeaker, for example, can dynamic scope to the loudspeaker, resistance Anti-, pure tone, distortion, nominal power and frequency response etc., wherein dynamic scope refers under the situation of the undistorted index of rule, The acoustic pressure of most forte and most off beat that loudspeaker issues is very poor;Impedance refers in a certain particular job frequency, floating in its voice coil Existing impedance value, loudspeaker can obtain maximum power when running on this impedance value;Pure tone refer in excess power and In extra frequency scope, the signal that just drips of a certain frequency is added to loudspeaker, loudspeaker should touch circle sound and rubbish without mechanical hum Sound;Distortion refers to non-linear distortion;Nominal power refers to loudspeaker normal operating power, as long as loudspeaker is long-term under this condition Work is just unlikely to be damaged;Frequency response refers to when the input terminal of loudspeaker is coupled with a constant voltage, the axial direction of loudspeaker Sound pressure level of certain point will the variation of broken frequency relationship.
It should be understood that being detected after the status information for obtaining loudspeaker to the status information of loudspeaker, with judgement Whether the status information of the loudspeaker is abnormal, for example, judging whether the functional parameter of loudspeaker meets preset condition, works as loudspeaker Functional parameter when meeting preset condition, the status information for characterizing the loudspeaker is normal, when the functional parameter of the loudspeaker is discontented When sufficient preset condition, the status information for characterizing the loudspeaker is abnormal.
Step S270: when the status information exception of the loudspeaker, alarm prompt sound or display alarm prompt letter are issued Breath.
Further, when the status information exception of the loudspeaker, characterize the screen of the electronic device vibration sounding and The vibration sounding of loudspeaker is abnormal, at this point, the vocal function damage or abnormal of the electronic device, therefore, which can To issue alarm prompt sound or display alarm prompt information, to prompt the heterophonia of user's electronic device, so that user is most It is handled fastly for the exception.
Second of sounding control method provided by the embodiments of the present application, the screen of electronic device include the first sound-emanating areas and The status information of screen is detected, whether judges status information when electronic device is in screen beep pattern in the second sound-emanating areas It is abnormal, when the status information exception of the first sound-emanating areas, the status information of the second sound-emanating areas is detected, when the second sound-emanating areas Status information it is normal when, control the second sound-emanating areas vibration sounding and the first sound-emanating areas it is static, when the second sound-emanating areas When status information exception, electronic device is controlled by screen beep pattern and switches to loudspeaker beep pattern, detects the shape of loudspeaker State information issues alarm prompt sound or display alarm prompt information, compared to first when the status information exception of the loudspeaker Kind sounding control method, this method can also control the second sound-emanating areas sounding in the first sound-emanating areas exception of screen, into The fault-tolerance of one step increase electronic device.
Referring to Fig. 9, Fig. 9 shows the module frame chart of sounding controller 300 provided by the embodiments of the present application.The sounding Control device 300 is applied to electronic device, and the electronic device includes the screen for capableing of vibration sounding, for driving the screen The driver of sounding and be used for loudspeaker.It will be illustrated below for block diagram shown in Fig. 9, the sounding controller 300 include: status information detection module 310, status information judgment module 320 and beep pattern switching module 330, in which:
Status information detection module 310, for detecting the screen when the electronic device is in screen beep pattern Status information, wherein under the screen beep pattern, the screen sounding is driven by the driver.
Whether status information judgment module 320, the status information for judging the screen are abnormal.Further, described Status information may include fragmentation degree and amplitude, and the status information judgment module 320 may include: judging submodule and shape State information determines submodule, in which:
Judging submodule, for judging whether the fragmentation degree of the screen reaches default fragmentation degree.
Status information determines submodule, for when the fragmentation degree of the screen reaches the default fragmentation degree, really The status information of the fixed screen is abnormal.
Judging submodule, is also used to judge whether the amplitude of the screen reaches default amplitude.
Status information determines submodule, is also used to when the amplitude of the screen does not reach the default amplitude, determines The status information of the screen is abnormal.
Beep pattern switching module 330, for when the status information exception of the screen, control the electronic device by Screen beep pattern switches to loudspeaker beep pattern, wherein under the loudspeaker beep pattern, by the loudspeaker vibration Sounding.Further, the screen includes the first sound-emanating areas and the second sound-emanating areas, vibrates and sends out in first sound-emanating areas When sound and static the second sound-emanating areas, the beep pattern switching module 330 includes: status information detection sub-module, sounding mould Formula switching submodule and sounding control submodule, in which:
Status information detection sub-module detects described for when the status information exception of first sound-emanating areas The status information of two sound-emanating areas.
Beep pattern switching submodule, for controlling the electricity when the status information exception of second sound-emanating areas Sub-device switches to the loudspeaker beep pattern by the screen beep pattern.
Sounding control submodule, for when the status information of second sound-emanating areas is normal, controlling second hair Sound area domain vibration sounding and first sound-emanating areas is static.Further, the sounding control submodule includes: touch control operation Detection unit and sounding control unit, in which:
Touch control operation detection unit, for being shown in the screen when the status information of second sound-emanating areas is normal Show selection control and detect the touch control operation acted on the selection control, the selection control includes at least the second articulating region The option of domain sounding and loudspeaker sounding.
Sounding control unit, for controlling described the when the touch control operation indicates the second sound-emanating areas sounding Two sound-emanating areas vibration soundings and first sound-emanating areas is static.
Further, the sounding controller 300 can also include: status information detection module and prompt information exhibition Show module, in which:
Status information detection module, for detecting the status information of the loudspeaker.
Prompt information display module, for when the status information exception of the loudspeaker, issuing alarm prompt sound or showing Show alarm prompt.
It is situated between in conclusion the embodiment of the present application provides a kind of sounding control method, device, electronic device and storage Matter detects the status information of screen first when electronic device is in screen beep pattern, wherein under screen beep pattern, Screen sounding is driven by the driver, then judges whether the status information of screen is abnormal, finally when the status information of screen is different Chang Shi controls electronic device by screen beep pattern and switches to loudspeaker beep pattern, wherein under loudspeaker beep pattern, By the loudspeaker vibration sounding, to carry out sounding by screen heterophonia using loudspeaker, promote electronic device screen While accounting, the fault-tolerance of electronic device is promoted.
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 Figure 10.
Fig. 1, Fig. 2, Fig. 3 and Figure 10 are please referred to, above-mentioned sounding control method, device are based on, the embodiment of the present application provides A kind of electronic device 100 that aforementioned sounding control method can be performed.Electronic device 100 include be capable of vibration sounding screen 120, For driving at least one driver 131, loudspeaker 130, memory 104 and the processor 102 of screen sounding, the screen 120, driver 131, loudspeaker 130 and memory 104 are couple to the processor 102.Wherein, be stored with can for memory 104 To execute the program of content in previous embodiment, and processor 102 can execute the program of the memory 104 storage.
Another electronic device provided by the present application is illustrated below in conjunction with Figure 11.
Fig. 1, Fig. 2, Fig. 3 and Figure 11 are please referred to, based on above-mentioned sounding control method, device, the embodiment of the present application is also A kind of electronic device 100 is provided.
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 can also include electronic body portion 10, and the electronic body portion 10 includes Shell 12 and the main display 120 being arranged on the shell 12.Metal, such as steel, aluminium alloy system can be used in the shell 12 At.In the present embodiment, the main display 120 generally includes display panel 111, may also comprise for responding to the display surface The circuit etc. of the progress touch control operation of plate 111.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 11, 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 Figure 11 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 11 or The less component of person, or with the configuration different from shown in Figure 11.
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 main display 120.The example of above-mentioned network includes but is not limited to internet, intranet, office Domain net, 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 main display 120.Specifically, the voicefrequency circuit 110 receives from the processor 102 Voice data is converted to electric signal by voice data, by electric signal transmission to the earpiece 101.The earpiece 101 is by electric signal Be converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also from the microphone 105, by electric signal Voice data is converted to, and gives the processor 102 to be further processed data transmission in network telephony.Audio data can be with It is obtained from the memory 104 or through the RF module 106.In addition, audio data also can store to the storage It is sent in device 104 or by the RF module 106.
The setting of sensor 114 is in the electronic body portion 10 or in the main display 120, the sensor 114 example includes but is not limited to: optical sensor, operation sensor, pressure sensor, gravity accelerometer and Other sensors.
Specifically, the sensor 114 may include light sensor 114F, pressure sensor 114G.Wherein, pressure sensing Device 114G can detecte the sensor by pressing the pressure generated in electronic device 100.That is, pressure sensor 114G detection by with The pressure that contact between family and electronic device or pressing generate, for example, by between the ear and electronic device of user contact or Press the pressure generated.Therefore, whether pressure sensor 114G may be used to determine occurs between user and electronic device 100 The size of contact or pressing and 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 aobvious close to the master When display 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 main display 120, The screen 109 collects the touch operation of user on it or nearby, and (for example user is any suitable using finger, stylus etc. The operation of object or attachment on the screen 109 or near the screen 109), and drive according to a pre-set procedure Corresponding 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 control Device;The touch controller receives touch information from the touch detecting apparatus, and the touch information is converted into contact and is sat Mark, then gives the processor 102, and can receive order that the processor 102 is sent and be executed.Furthermore, it is possible to adopt The touch detection function of the screen 109 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.It removes The screen 109, in other change embodiments, the input module 118 can also include other input equipments, such as press Key 107.The key 107 for example may include the character keys for inputting character, and the control for triggering control function Key.The example of the control button includes " returning to main screen " key, power on/off key etc..
The information and the electronics that the main display 120 is used to show information input by user, is supplied to user The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its Any combination is constituted, in an example, the screen 109 may be disposed on the display panel 111 to it is described aobvious 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 it is other arbitrarily with the electronic body portion 10 or the master The generation, management of electric power and the relevant component of distribution in display screen 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 (11)

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, at least one driver and loudspeaker for driving the screen sounding, which comprises
When the electronic device is in screen beep pattern, the status information of the screen is detected, wherein send out in the screen Under sound pattern, the screen sounding is driven by the driver;
Judge whether the status information of the screen is abnormal;
When the status information exception of the screen, the electronic device is controlled by screen beep pattern and switches to loudspeaker sounding Mode, wherein under the loudspeaker beep pattern, by the loudspeaker vibration sounding.
2. the method according to claim 1, wherein the status information includes fragmentation degree, the judgement institute Whether the status information for stating screen is abnormal, comprising:
Judge whether the fragmentation degree of the screen reaches default fragmentation degree;
When the fragmentation degree of the screen reaches the default fragmentation degree, determine that the status information of the screen is abnormal.
3. the method according to claim 1, wherein the status information further includes amplitude, described in the judgement Whether the status information of screen is abnormal, comprising:
Judge whether the amplitude of the screen reaches default amplitude;
When the amplitude of the screen does not reach the default amplitude, determine that the status information of the screen is abnormal.
4. method according to claim 1-3, which is characterized in that the screen includes the first sound-emanating areas and the Two sound-emanating areas, it is described to work as the screen in first sound-emanating areas vibration sounding and static second sound-emanating areas Status information exception when, control the electronic device by screen beep pattern and switch to loudspeaker beep pattern, comprising:
When the status information exception of first sound-emanating areas, the status information of second sound-emanating areas is detected;
When the status information exception of second sound-emanating areas, controls the electronic device and switched by the screen beep pattern To the loudspeaker beep pattern.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When the status information of second sound-emanating areas is normal, second sound-emanating areas vibration sounding and described first is controlled Sound-emanating areas is static.
6. according to the method described in claim 5, it is characterized in that, described when the status information of second sound-emanating areas is normal When, it controls second sound-emanating areas vibration sounding and first sound-emanating areas is static, comprising:
When the status information of second sound-emanating areas is normal, it is described to show that selection control and detecting acts in the screen The touch control operation on control is selected, the selection control includes at least the option of the second sound-emanating areas sounding and loudspeaker sounding;
When the touch control operation indicates the second sound-emanating areas sounding, second sound-emanating areas vibration sounding and institute are controlled It is static to state the first sound-emanating areas.
7. the method according to claim 1, wherein described when the status information exception of the screen, control The electronic device is switched to after the loudspeaker sounding by screen beep pattern, further includes:
Detect the status information of the loudspeaker;
When the status information exception of the loudspeaker, alarm prompt sound or display alarm prompt information are issued.
8. 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, at least one driver and loudspeaker for driving the screen sounding, the sounding controller includes:
Status information detection module, for detecting the state of the screen when the electronic device is in screen beep pattern Information, wherein under the screen beep pattern, the screen sounding is driven by the driver;
Whether status information judgment module, the status information for judging the screen are abnormal;
Beep pattern switching module, for controlling the electronic device and being sent out by screen when the status information exception of the screen Sound pattern switches to loudspeaker beep pattern, wherein under the loudspeaker beep pattern, by the loudspeaker vibration sounding.
9. a kind of electronic device, which is characterized in that including capableing of the screen of vibration sounding, for driving the screen sounding extremely A few driver, loudspeaker, memory and processor, the screen, the driver, the loudspeaker and described are deposited Reservoir is couple to the processor, the memory store instruction, the when executed by the processor processing Device executes the method according to claim 1 to 7.
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 device, which is characterized in that screen, loudspeaker including capableing of vibration sounding;
At least one driver is connect with the screen, and the driver is for driving the screen sounding;
Circuit is connect with the driver and the loudspeaker respectively, and the circuit includes detection circuit, decision circuitry and drive Dynamic circuit, the detection circuit are used for when the electronic device is in screen beep pattern, detect the state letter of the screen Breath, wherein under the screen beep pattern, the screen sounding is driven by the driver, the decision circuitry is for sentencing Break the screen status information it is whether abnormal, the driving circuit is used for when the status information exception of the screen, control The electronic device switches to loudspeaker beep pattern by screen beep pattern, wherein under the loudspeaker beep pattern, by The loudspeaker vibration sounding.
CN201810747478.9A 2018-07-09 2018-07-09 Sound production control method, sound production control device, electronic device, and storage medium Active CN109032556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810747478.9A CN109032556B (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
CN201810747478.9A CN109032556B (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
CN109032556A true CN109032556A (en) 2018-12-18
CN109032556B CN109032556B (en) 2021-08-17

Family

ID=64641817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810747478.9A Active CN109032556B (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) CN109032556B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769175A (en) * 2019-02-25 2019-05-17 维沃移动通信有限公司 A kind of audio-frequency processing method and electronic equipment
CN110049421A (en) * 2018-12-29 2019-07-23 瑞声科技(新加坡)有限公司 The test method of screen sounding device audio distortion
CN111614823A (en) * 2020-05-19 2020-09-01 深圳传音控股股份有限公司 Screen sounding and external sounding compatible method, device, equipment and storage medium
CN113286230A (en) * 2020-02-20 2021-08-20 华为技术有限公司 Sound production circuit and terminal
CN114594600A (en) * 2020-12-03 2022-06-07 中移(成都)信息通信科技有限公司 Near-eye display system, fixing device, signal processing method, signal processing apparatus, and signal processing medium
WO2023000795A1 (en) * 2021-07-23 2023-01-26 北京荣耀终端有限公司 Audio playing method, failure detection method for screen sound-production device, and electronic apparatus
WO2023160168A1 (en) * 2022-02-24 2023-08-31 荣耀终端有限公司 Device test method and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819598B (en) * 2004-12-13 2010-12-22 Lg电子株式会社 Method for switching incoming call signal output mode and mobile communication terminal
JP2013162167A (en) * 2012-02-01 2013-08-19 Sharp Corp Input/output device, input/output method, and input/output program
CN203416413U (en) * 2013-07-22 2014-01-29 瑞声科技(南京)有限公司 Flat plate sounding device
CN203747995U (en) * 2014-01-10 2014-07-30 瑞声科技(南京)有限公司 Flat plate sound production device
CN203896474U (en) * 2014-01-10 2014-10-22 瑞声科技(南京)有限公司 Sounding device
CN107561753A (en) * 2016-06-30 2018-01-09 乐金显示有限公司 Panel vibration type sounding display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819598B (en) * 2004-12-13 2010-12-22 Lg电子株式会社 Method for switching incoming call signal output mode and mobile communication terminal
JP2013162167A (en) * 2012-02-01 2013-08-19 Sharp Corp Input/output device, input/output method, and input/output program
CN203416413U (en) * 2013-07-22 2014-01-29 瑞声科技(南京)有限公司 Flat plate sounding device
CN203747995U (en) * 2014-01-10 2014-07-30 瑞声科技(南京)有限公司 Flat plate sound production device
CN203896474U (en) * 2014-01-10 2014-10-22 瑞声科技(南京)有限公司 Sounding device
CN107561753A (en) * 2016-06-30 2018-01-09 乐金显示有限公司 Panel vibration type sounding display device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049421A (en) * 2018-12-29 2019-07-23 瑞声科技(新加坡)有限公司 The test method of screen sounding device audio distortion
CN109769175A (en) * 2019-02-25 2019-05-17 维沃移动通信有限公司 A kind of audio-frequency processing method and electronic equipment
CN113286230A (en) * 2020-02-20 2021-08-20 华为技术有限公司 Sound production circuit and terminal
CN113286230B (en) * 2020-02-20 2022-06-14 华为技术有限公司 Sound production circuit and terminal
CN111614823A (en) * 2020-05-19 2020-09-01 深圳传音控股股份有限公司 Screen sounding and external sounding compatible method, device, equipment and storage medium
CN111614823B (en) * 2020-05-19 2022-02-25 深圳传音控股股份有限公司 Screen sounding and external sounding compatible method, device, equipment and storage medium
CN114594600A (en) * 2020-12-03 2022-06-07 中移(成都)信息通信科技有限公司 Near-eye display system, fixing device, signal processing method, signal processing apparatus, and signal processing medium
CN114594600B (en) * 2020-12-03 2023-08-15 中移(成都)信息通信科技有限公司 Near-eye display system, fixing device, signal processing method, device and medium thereof
WO2023000795A1 (en) * 2021-07-23 2023-01-26 北京荣耀终端有限公司 Audio playing method, failure detection method for screen sound-production device, and electronic apparatus
WO2023160168A1 (en) * 2022-02-24 2023-08-31 荣耀终端有限公司 Device test method and terminal

Also Published As

Publication number Publication date
CN109032556B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109032556A (en) Sounding control method, device, electronic device and storage medium
CN109194796A (en) Screen vocal technique, device, electronic device and storage medium
CN108833638A (en) Vocal technique, device, electronic device and storage medium
CN108646971B (en) Screen sounding control method and device and electronic device
CN108881568A (en) Method, apparatus, electronic device and the storage medium of display screen sounding
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
CN108958697A (en) Screen sounding control method, device and electronic device
CN109144460A (en) Sounding control method, device, electronic device and storage medium
CN108762711A (en) Method, apparatus, electronic device and the storage medium of screen sounding
CN108769327A (en) Method, apparatus, electronic device and the storage medium of display screen sounding
CN109086024A (en) Screen vocal technique, device, electronic device and storage medium
CN108958632B (en) Sound production control method and device, electronic equipment 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
CN108810198A (en) Sounding control method, device, electronic device and computer-readable medium
CN109085985A (en) Sounding control method, device, electronic device and storage medium
CN109040919A (en) Vocal technique, device, electronic device and computer-readable medium
CN109240413A (en) Screen vocal technique, device, electronic device and storage medium
CN109144249A (en) Screen vocal technique, device, electronic device and storage medium
CN109189360A (en) Screen sounding control method, device and electronic device
CN108712706A (en) Vocal technique, device, electronic device and storage medium
CN108810764A (en) Sounding control method, device and electronic device
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN109086025B (en) Sounding control method, device, electronic device and computer-readable 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