CN109040919B - Sound production method, sound production device, electronic device and computer readable medium - Google Patents

Sound production method, sound production device, electronic device and computer readable medium Download PDF

Info

Publication number
CN109040919B
CN109040919B CN201810814645.7A CN201810814645A CN109040919B CN 109040919 B CN109040919 B CN 109040919B CN 201810814645 A CN201810814645 A CN 201810814645A CN 109040919 B CN109040919 B CN 109040919B
Authority
CN
China
Prior art keywords
sound
electronic device
areas
vibration
sounding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810814645.7A
Other languages
Chinese (zh)
Other versions
CN109040919A (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 CN201810814645.7A priority Critical patent/CN109040919B/en
Publication of CN109040919A publication Critical patent/CN109040919A/en
Application granted granted Critical
Publication of CN109040919B publication Critical patent/CN109040919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/11Aspects regarding the frame of loudspeaker transducers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Abstract

The embodiment of the application provides a sound production method, a sound production device, an electronic device and a computer readable medium, and belongs to the technical field of electronic devices. The method is applied to an electronic device which comprises a vibration component capable of vibrating to generate sound, wherein the vibration component comprises a plurality of sound generation areas. The method comprises the following steps: monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal; judging whether the current electric quantity is less than or equal to a first preset threshold value; and if the current electric quantity is less than or equal to a first preset threshold value, driving the sounding areas of the first quantity of the vibration parts to vibrate and sound through the exciter. If the current electric quantity is larger than a first preset threshold value, the second number of sounding areas of the vibration component are driven by the exciter to vibrate and sound, and the second number is larger than the first number. The method not only accords with the direction of thinning design of the electronic device, but also can save the electric quantity and improve the endurance time of the electronic device when the electric quantity is lower.

Description

Sound production method, sound production device, electronic device and computer readable medium
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a method and an apparatus for generating sound, an electronic device, and a computer readable medium.
Background
Currently, electronic devices such as mobile phones, tablet computers, etc. are sounded through a speaker to output sound signals. However, the speaker arrangement occupies a large design space, resulting in the electronic device not conforming to the direction of the slim design.
Disclosure of Invention
The application provides a sound production method, a sound production device, an electronic device and a computer readable medium, so as to solve the problems.
In a first aspect, an embodiment of the present application provides a sound production method, applied to an electronic device, where the electronic device includes a vibration component capable of vibrating to produce sound and an exciter for driving the vibration component to vibrate to produce sound, the vibration component is at least one of a screen and a housing of the electronic device, the vibration component includes a plurality of sound production areas, and each sound production area is driven by a different exciter to produce sound, the method includes: monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal; judging whether the current electric quantity is smaller than or equal to a first preset threshold value or not; if current electric quantity is less than or equal to first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than all sound production regional quantity of vibration part, if current electric quantity is greater than first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and be less than or equal to all sound production regional quantity.
In a second aspect, an embodiment of the present application further provides a sound generating device applied to an electronic device, the electronic device includes a vibration component capable of vibrating and generating sound and is used for driving the vibration component vibrates the exciter of generating sound, the vibration component is the screen or at least one of the shells of the electronic device, the vibration component includes a plurality of sound generating areas, each sound generating area is driven by different exciters to generate sound, the sound generating device includes: the electric quantity monitoring module is used for monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal; the judging module is used for judging whether the current electric quantity is smaller than or equal to a first preset threshold value or not; first sound production module is used for if current electric quantity is less than or equal to first preset threshold value, according to sound signal passes through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than the regional quantity of all sound production of vibration part, second sound production module is used for if current electric quantity is greater than first preset threshold value, according to sound signal passes through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and is less than or equal to the regional quantity of all sound production.
In a third aspect, an embodiment of the present application further provides an electronic device, including a vibration component capable of generating sound by vibration, and an exciter for driving the vibration component to generate sound by vibration, a memory, and a processor, where the exciter and the memory are coupled to the processor, and the memory stores instructions, and the processor executes the above method when the instructions are executed by the processor.
In a fourth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
In a fifth aspect, an embodiment of the present application further provides an electronic apparatus, including: the vibration component is used for vibrating and sounding, and the vibration component is at least one of a screen or a shell of the electronic device; the exciter is connected with the vibration component and is used for driving the vibration component to vibrate and generate sound; the circuit is connected with the exciter and comprises a detection circuit and a driving circuit, wherein the detection circuit is used for monitoring the current electric quantity of the electronic device and judging whether the current electric quantity is less than or equal to a first preset threshold value or not under the condition of receiving a sound signal; drive circuit is used for if current electric quantity is less than or equal to first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than the regional quantity of all sound production of vibration part, if current electric quantity is greater than first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and be less than or equal to the regional quantity of all sound production.
The embodiment of the application provides a sound production method, a sound production device, an electronic device and a computer readable medium. Under the condition that the electric quantity is smaller than or equal to a first preset threshold value, driving a first number of sounding areas of the vibration component to vibrate and sound through an exciter; and under the condition that the electric quantity is greater than a first preset threshold value, driving the sounding areas of a second quantity to vibrate and sound through the exciter, wherein the second quantity is greater than the first quantity. In the scheme, the sound is generated in the sound generating area through the vibration part, when the electric quantity is less, the number of the sound generating area is reduced, the arrangement of the sound generating part needing the sound hole such as a loudspeaker can be avoided, the direction of the thin design of the electronic device is met, the electric quantity can be saved when the electric quantity is lower, and the endurance time of the electronic device is prolonged.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram illustrating a viewing angle of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram illustrating another view of an electronic device provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a division of a sound emitting area of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating another division of a sound emitting area of an electronic device according to an embodiment of the present application;
fig. 5 shows a first flowchart of a sound generation method proposed by an embodiment of the present application;
fig. 6 shows a second flowchart of a sound generation method proposed by an embodiment of the present application;
fig. 7 shows a third flowchart of a sound generation method proposed by the embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a distance calculation proposed in an embodiment of the present application;
fig. 9 is a functional block diagram of a sound generating apparatus according to an embodiment of the present application;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a block diagram showing another structure of an electronic apparatus according to an embodiment of the present application;
fig. 12 is a block diagram of an electronic device according to an embodiment of the present application for executing a sound emission method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Electronic devices often produce sound through speakers, earphones, and the like, which often require openings in the electronic devices. On one hand, the product performance is reduced due to the open pores, and in order to achieve the appearance effect, various manufacturers try to reduce the size of the open pores, but the smaller the open pores are, the more the performance is affected; on the other hand, the screen accounts for the higher full screen user experience better, but because need keep certain panel region for the receiver realizes the vocal function, at the regional trompil of panel, can't realize full screen, influence user experience.
In addition, the display screen generally plays a role in an electronic device such as a mobile phone or a tablet computer to display contents such as text, pictures, icons, or video. With the development of touch technologies, more and more display screens arranged in electronic devices are touch display screens, and when a user is detected to perform touch operations such as dragging, clicking, double clicking, sliding and the like on the touch display screen, the touch operations of the user can be responded under the condition of arranging the touch display screens.
With the increasing requirements of users on the definition and the fineness of displayed contents, more electronic devices adopt touch display screens with larger sizes to achieve the display effect of a full screen. However, in the process of setting a touch display screen with a large size, it is found that functional devices such as a front camera, a proximity optical sensor, and a receiver, which are disposed at the front end of the electronic device, affect an area that the touch display screen can extend to.
Generally, an electronic device includes a front panel, a rear cover, and a bezel. The front panel includes a forehead area, a middle screen area and a lower key area. Generally, the forehead area is provided with a sound outlet of a receiver and functional devices such as a front camera, the middle screen area is provided with a touch display screen, and the lower key area is provided with one to three physical keys. With the development of the technology, the lower key area is gradually cancelled, and the physical keys originally arranged in the lower key area are replaced by the virtual keys in the touch display screen.
The earphone sound outlet holes arranged in the forehead area are important for the function support of the mobile phone and are not easy to cancel, so that the difficulty in expanding the displayable area of the touch display screen to cover the forehead area is high. After a series of researches, the inventor finds that sound can be emitted by controlling the screen, the frame or the rear cover of the mobile phone to vibrate, so that the arrangement of sound emitting devices such as a sound outlet hole of a receiver and a loudspeaker can be omitted.
Referring to fig. 1, an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 comprises an electronic body 10, wherein the electronic body 10 comprises a housing 12 and a screen 120 arranged on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. As shown in fig. 2, the housing 12 may include a front panel 132, a rear cover 133, and a bezel 134, the bezel 134 being used to connect the front panel 132 and the rear cover 133, and the screen 120 being disposed on the front panel, as shown in fig. 2, with the front panel and the rear cover being disposed opposite to each other. In this embodiment, the screen 120 may include a display screen, which generally includes the display panel 111, and may also include a circuit and the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
The electronic device further comprises an exciter 131, wherein the exciter 131 is used for driving a vibration component of the electronic device to vibrate and sound, specifically, the vibration component is at least one of the screen 120 or the housing 12 of the electronic device, that is, the vibration component can be the screen 120, part or all of the screen, part or all of the housing 12, or a combination of the screen 120 and the housing 12. As an embodiment, when the vibration member is the housing 12, the vibration member may be a rear cover of the housing 12, may be a frame 134 of the housing, or the like.
The vibration component can comprise a plurality of sounding areas, each sounding area is driven by one or more exciters to sound, and each sounding area is driven by a different exciter to sound.
Taking the screen 120 as an example of the vibration component, the exciter 131 is connected to the screen 120 for driving the screen 120 to vibrate. In particular, the actuator 131 is attached below the screen 120, and the actuator 131 may be a piezoelectric driver or a motor. In one embodiment, actuator 131 is a piezoelectric actuator. The piezoelectric actuator transmits its own deformation to the screen 120 by a moment action, so that the screen 120 vibrates to generate sound. The screen 120 includes a touch screen and a display screen, the display screen is located below the touch screen, and the piezoelectric driver is attached below the display screen, that is, a surface of the display screen far from the touch screen. The piezoelectric driver includes a plurality of piezoelectric ceramic sheets. When the multilayer piezoelectric ceramic piece produces sound and expands and contracts, the screen is driven to bend and deform, and the whole screen forms bending vibration repeatedly, so that the screen can push air and produce sound.
As an embodiment, the electronic device 100 includes a detection circuit and a driving circuit, where the detection circuit is configured to monitor a current power amount of the electronic device when receiving a sound signal, and determine whether the current power amount is less than or equal to a first preset threshold; drive circuit is used for if current electric quantity is less than or equal to first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than the regional quantity of all sound production of vibration part, if current electric quantity is greater than first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and be less than or equal to the regional quantity of all sound production. The exciter 131 is connected to a driving circuit 135 of the electronic device, and the driving circuit 135 is configured to input a control signal value to the exciter 131 according to the vibration parameter, so as to drive the exciter 131 to vibrate, thereby driving the vibrating component to vibrate. The vibration parameter may be determined by the received sound signal, and specifically may be determined according to a vibration frequency and a vibration amplitude of the sound signal to be sounded.
In particular, the driving circuit may be a processor of the electronic device, or may be an integrated circuit capable of generating a driving voltage or current within the electronic device. The driving circuit outputs a high-low level driving signal to the exciter 131, the exciter 131 vibrates according to the driving signal, and the different electrical parameters of the driving signal output by the driving circuit may cause the different vibration parameters of the exciter 131, for example, the duty ratio of the driving signal corresponds to the vibration frequency of the exciter 131, and the amplitude of the driving signal corresponds to the vibration amplitude of the exciter 131.
In the present embodiment, there may be two or more actuators 131. As shown in fig. 1, the plurality of actuators 131 may be uniformly distributed on the screen 120, so that the screen 120 may divide different sound emission areas according to the settings of the actuators. Wherein each sound emitting area can be driven to emit sound by one or more than one actuator 131, and different sound emitting areas are driven to emit sound by different actuators. When the same sounding area is driven by a plurality of exciters to sound, the exciters can be uniformly controlled, so that the vibration of one sounding area is consistent under the driving of the exciters, and the sounding is consistent.
For example, the distribution of the drivers and the sound emitting areas may be as shown in fig. 3, and the number of the drivers is 4, then the display screen may include 4 rectangular areas a, b, c, and d, which are equally divided by the center line in the vertical direction and the horizontal direction as shown by the dashed line division in fig. 3, where the 4 drivers are disposed below the 4 rectangular areas, the 4 drivers are in one-to-one correspondence with the 4 rectangular areas, and each rectangular area may be used as one sound emitting area.
As another example, the drivers and the sound emission areas are distributed as shown in fig. 4, and the display screen includes 7 rectangular areas a1 to a7 as shown by the dashed line partitions in fig. 4, each of which serves as a sound emission area and is driven by one or more drivers. Of course, the number of the exciters is not limited in the embodiment of the present application, and the specific distribution of the exciters and the specific division of the sound emitting area are not limited in the embodiment of the present application.
When the sound is produced through the screen, the sound can be produced by one sound production area, and a plurality of sound production areas or all the sound production areas. The inventor finds that when the electronic device generates sound, the more sound generating areas generate sound, the more actuators are needed to drive the sound generating areas, and therefore, more power consumption and more electricity consumption are needed. When the electric quantity of the electronic device is too low, too many sounding areas sound, the electric quantity of the electronic device can be quickened to be exhausted, and the endurance time of the electronic device is reduced.
Therefore, the present invention provides a sound generating method, device, electronic device and computer readable medium, which divides a screen into a plurality of sound generating areas, and generates sound under the driving of corresponding actuators respectively. If the electric quantity is larger than the first preset threshold value, the sounding areas with the second quantity are used for sounding, and if the electric quantity is smaller than or equal to the first threshold value, the sounding areas with the first quantity smaller than the second quantity are used for sounding, so that the battery endurance time of the electronic device is prolonged. The sound generating method, device, electronic device and computer readable medium provided by the embodiments of the present application will be described in detail by specific embodiments with reference to the accompanying drawings.
Referring to fig. 5, an embodiment of the present application provides a sound generating method applied to an electronic device. As described above, the electronic device includes a vibration component capable of generating sound by vibration and an actuator for driving the vibration component to generate sound by vibration, the vibration component is at least one of a screen and a housing of the electronic device, the vibration component includes a plurality of sound generation areas, and each sound generation area is driven by a different actuator to generate sound. Specifically, as shown in fig. 5, the sound generating method may specifically include the following steps:
step S110: and monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal.
And monitoring the electric quantity of the electronic device under the condition of receiving the sound signal, wherein the electric quantity determined by monitoring each time is the current electric quantity at the monitoring moment.
The received sound signal is not limited, and may be a sound signal of music playing, a sound signal of incoming call reminding, a sound signal of video, game, or voice talkback, for example.
The listening may be a continuous listening of the power conservation of the electronic device upon receipt of the sound signal and for the duration of the sound signal. That is, the monitoring of the power of the electronic device may be maintained as long as sound emission through the sound emission area is required. The continuous monitoring may be real-time monitoring or periodic monitoring performed every preset time period.
In the embodiment of the periodic monitoring, if the monitored power amount changes, for example, the power amount changes from seventy percent to sixty-nine percent, the interval time of the next monitoring is a first interval time, the interval time of the next monitoring is a second interval time, the interval time of the next monitoring is a third interval time, and so on until the monitored power amount changes again. The first interval time is greater than the second interval time, which is greater than the third interval time. That is, the listening interval is long when the power change is just monitored, and the listening interval is gradually shortened when the next power change is monitored, so that a more accurate listening result is obtained with a smaller number of listening times.
In this embodiment of the present application, a specific monitoring manner for monitoring the power of the electronic device is not limited, and may include passively receiving the power of the battery and actively monitoring the power of the battery. For example, when the power of the electronic device changes, the system may automatically send a broadcast, for example, the broadcast sent by the Android system is active _ BATTERY _ CHANGED, and a broadcast receiver may receive a message of the change of the broadcasted power. For another example, the class, such as battermanager, actively acquires the power of the electronic device. For another example, for an android system, various information of the battery may be acquired through an adb (android debug bridge) command, such as an adb shell dumpsys battery, so as to obtain the electric quantity of the battery.
Step S120: and judging whether the current electric quantity is less than or equal to a first preset threshold value. If yes, go to step S130; if not, go to step S140.
And judging whether the monitored electric quantity is less than or equal to a first preset threshold value.
As an embodiment, each time the current electric quantity is monitored, the current electric quantity may be determined once.
As an embodiment, when the monitored current electric quantity is greater than the first preset threshold and the difference between the monitored current electric quantity and the first preset threshold is greater than the first preset difference, the monitored electric quantity may be determined once every interval, that is, after determining whether the monitored electric quantity is less than or equal to the first preset threshold once, and after the interval of the monitoring result of the first number of times, determining whether the monitored electric quantity is less than or equal to the first preset threshold again. And under the condition that the monitored current electric quantity is larger than the first preset threshold value and the difference value between the monitored current electric quantity and the first preset threshold value is larger than the second preset difference value, judging the monitored electric quantity for the second time at intervals. Under the condition that the monitored current electric quantity is larger than the first preset threshold value and the difference value between the monitored current electric quantity and the first preset threshold value is larger than the third preset difference value, the monitored electric quantity can be judged once every third time at intervals, and the like. The first preset difference is larger than the second preset difference, the second preset difference is larger than the third preset difference, the first times is larger than the second times, and the second times is larger than the third times. That is, the larger the difference between the monitored electric quantity and the first threshold value is, the more times the interval is, the judgment is made as to whether the electric quantity is smaller than or equal to the first preset threshold value. When the difference between the monitored electric quantity and the first preset threshold is smaller than a certain preset difference, the judgment of whether the monitored electric quantity is smaller than or equal to the first preset threshold can be performed once every time the current electric quantity is monitored.
Step S130: and driving a first number of sound production areas of the vibration component to vibrate and produce sound through an exciter according to the sound signal, wherein the first number is smaller than the number of all the sound production areas of the vibration component.
Step S140: and driving a second number of sound production areas of the vibration part to vibrate and produce sound through the exciter according to the sound signal, wherein the second number is larger than the first number and is smaller than or equal to the number of all the sound production areas.
If the current electric quantity is larger than a first preset threshold value, the sound production areas with the second quantity are used for carrying out vibration sound production, and if the current electric quantity is smaller than or equal to the first preset threshold value, the sound production areas with the first quantity are used for carrying out vibration sound production. Wherein the first number is smaller than the number of all sound emission areas of the vibration member, and the second number is larger than the first number and smaller than or equal to the number of all sound emission areas. Therefore, under the condition that the electric quantity of the electronic device is larger than the first preset threshold value, the second number of sounding areas can be used for sounding, when the electric quantity is monitored to be reduced, and the electric quantity is too low under the condition that the electric quantity is smaller than or equal to the first preset threshold value, the number of sounding areas for sounding is reduced, the number of exciters needing to be controlled is reduced, the power consumption is reduced, the consumption of the electric quantity is reduced, and the duration of the electronic device is prolonged.
The specific numerical value of the first preset threshold is not limited in the embodiment of the application, and may be an electric quantity value corresponding to the electronic device when performing low-power prompt, or an electric quantity value corresponding to a preset time duration such as 1 hour, 1.5 hours, and the like.
The second number is also not limited in the embodiment of the present application, and may be determined according to a preset setting.
As an embodiment, the second number may be the number of all sound emitting areas of the vibration member.
As an embodiment, the second number may be the number of sound emitting areas set according to the type of the sound signal, such as a second number corresponding to a music signal, a second number corresponding to a call voice signal, and so on, so that a suitable second number corresponds to different types of sound signals, and a better sound emitting effect is obtained.
As an embodiment, the second number may be set by a user.
The specific value of the first number is not limited in the embodiment of the present application, and the sound emission area of the first number may be one sound emission area or a plurality of sound emission areas. The first number is smaller than the total number of sound emission areas provided to the vibration member and smaller than the second number.
In this embodiment of the present application, the sound emitting areas may be selected from the sound emitting areas in the screen, or may be selected from the casing, or both the screen and the casing may select the first number of sound emitting areas, and the specific selection manner is not limited in this embodiment of the present application.
Optionally, in this embodiment of the application, the first number of sound emitting areas may be selected from the casing, so that if the user uses the electronic device, the casing emits sound and vibrates, and the influence of the vibration on the screen may be reduced as much as possible.
Optionally, when the sound signal is received, the attitude sensor may determine whether the rear cover of the electronic device faces downward. If the rear cover faces downwards, a first number of sound production areas are selected from the screen to produce sound, and if the screen faces downwards, a first number of sound production areas are selected from the rear cover to produce sound. Therefore, when the electronic device is arranged on objects such as a desktop, the sound production area vibrates and produces sound in the surface which is not contacted with the surface of the object upwards, the vibration of the sound production area is less affected by the outside, and the sound production effect is better. The attitude sensor may be an accelerometer, a gyroscope, or the like, and is not limited in this embodiment, and the detection of the attitude of the electronic device by the attitude sensor is also not limited in this embodiment.
Alternatively, in the case of receiving the sound signal, it may be determined whether the rear cover of the electronic apparatus is shielded, wherein the determination of whether the rear cover is shielded may be determined by a proximity light sensor, a camera, or the like. And selecting a first number of sound production areas from the sound production areas corresponding to the non-blocked side for vibration sound production. If the rear cover is not shielded, selecting a first number of sound production areas from the rear cover as sound production areas for vibration sound production; if the rear cover is shielded, the sound production areas with the first number are selected from the screen and used as sound production areas for vibration sound production. Or judging whether the screen is shielded or not through devices such as a proximity optical sensor and a camera, and if the screen is not shielded, selecting a first number of sounding areas from the screen as sounding areas for vibration sounding; if the screen is shielded, a first number of sound production areas are selected from the rear cover and used as sound production areas for vibration sound production. Or whether the rear cover and the screen are shielded or not is judged through devices such as a proximity optical sensor and a camera, and a first number of sound production areas are selected from sound production areas corresponding to the non-shielded side to produce sound in a vibration mode.
In this embodiment, the sound production is regional through the sound production of casing or screen under the drive of exciter, and, electron device's electric quantity is greater than first threshold value of predetermineeing, can carry out the sound production with second quantity sound production region, if electron device's electric quantity is less than or equal to the second and predetermines the threshold value, then will carry out the quantity in sound production region of sound production and reduce to first quantity, thereby both can avoid the setting of the sound production device that speaker etc. need go out the sound hole, accord with the direction of electron device slimming design, and can be when the electric quantity is lower, save the electric quantity, improve electron device's time of endurance.
In the embodiment of the application, the number of sounding areas for sounding can be reduced step by step according to the electric quantity of the electronic device. Specifically, referring to fig. 6, the method may include:
step S210: and monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal.
The step S110 can be referred to in this step, and is not described herein again.
Step S220: and judging whether the current electric quantity is less than or equal to a first preset threshold value. If not, go to step S230, and if so, go to step S240.
Step S230: and driving a second number of sound production areas of the vibration component to vibrate and produce sound through an exciter according to the sound signal. The second number is greater than the first number and less than or equal to the number of all sound emission areas.
Step S240: and judging whether the current electric quantity is smaller than or equal to a second preset threshold value, wherein the second preset threshold value is smaller than the first preset threshold value. If not, executing step S250; if yes, go to step S260.
If the current electric quantity is larger than the first preset threshold value, the electric quantity of the electronic device is sufficient, and more sounding areas can be driven, such as the sounding areas with the second quantity can vibrate to sound.
If the current electric quantity is less than or equal to the first preset threshold, it may be further determined whether the electric quantity is between the first threshold and the second threshold, or is already less than or equal to the second threshold.
Step S250: and driving a first number of sound production areas of the vibration component to vibrate and produce sound through an exciter according to the sound signal, wherein the first number is smaller than the number of all the sound production areas of the vibration component.
If the current electric quantity is greater than the second preset threshold, that is, the current electric quantity is less than or equal to the first preset threshold but is also greater than the second threshold, the electric quantity of the electronic device is low, but a longer service life can be supported, the first number of sound emitting areas in the vibration part can be driven by the exciter to vibrate and emit sound, and of course, the first number is less than the number of all sound emitting areas of the vibration part and is also less than the second number.
Step S260: and driving a third number of sounding areas of the vibration part to vibrate and sound according to the sound signals through the exciter, wherein the third number is smaller than the first number.
If present electric quantity is less than or equal to the second and predetermines the threshold value, the electric quantity of electron device is lower for the electric quantity that first threshold value corresponds, and the time that can use is shorter, then can reduce the vocal regional quantity of vocal again, can be through the regional vibration vocal of the third quantity of exciter drive vibration part, and the third quantity is littleer than first quantity.
Optionally, in this embodiment of the application, a third preset threshold may also be set, where the third preset threshold is smaller than the second preset threshold. When the electric quantity of the electronic device is smaller than or equal to a second preset threshold and larger than a third preset threshold, sounding with a third number of sounding areas; when the electric quantity of the electronic device is continuously reduced and is reduced to be equal to a third preset threshold value, when the electric quantity is equal to or smaller than the third threshold value, sounding with a fourth number of sounding areas, wherein the fourth number is smaller than the third number. By analogy, different and smaller preset thresholds can be set step by step, and in different threshold intervals, sounding areas with different quantities vibrate to sound, and the lower the electric quantity is, the smaller the quantity of the sounding areas is.
In this application embodiment, at electron device's electric quantity reduction in-process, can reduce the degree of difference through the different threshold value of predetermineeing, weigh the electric quantity to under the lower condition of electric quantity, through the regional vibration sound production of less sound production, reduce the electric quantity consumption, promote the duration.
In the embodiment of the present application, when the first number of sound emission areas are selected, the selection may be performed according to a position between the sound emission areas and the user. Specifically, referring to fig. 7, the method provided in the embodiment of the present application may include:
step S310: and monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal.
In the embodiment of the application, the current power of the electronic device can be monitored,
optionally, in the embodiment of the present application, the charging state of the electronic device may also be monitored, that is, whether the electronic device is being charged or uncharged is monitored.
The monitoring method for the charging state of the electronic device is not limited. For example, by broadcast transmissions from the system, or by actively acquiring the state of charge.
If the battery of the electronic device is being charged when the sound signal is received, the battery life is not worried about, and the sound can be generated in the second number of sound generation areas. If the battery of the electronic device is not in a charging state, whether the electric quantity is less than or equal to a first preset threshold value can be judged.
Step S320: and judging whether the current electric quantity is less than or equal to a first preset threshold value. If yes, go to step S330; if not, go to step S370.
Step S330: and if the current electric quantity is less than or equal to a first preset threshold value, respectively acquiring the distance between each sounding area and the user.
Step S340: and sequencing the sounding areas according to the distance from small to large.
Step S350: and selecting a first number of sounding areas closest to the sequencing result as sounding areas for vibration sounding.
Step S360: and driving a first number of sound production areas of the vibration component to vibrate and produce sound through an exciter according to the sound signal, wherein the first number is smaller than the number of all the sound production areas of the vibration component.
In the case where it is determined that the current amount of electricity is less than or equal to the first preset threshold, sound emission needs to be performed through the first number of sound emission areas, and therefore, the first number of sound emission areas can be selected from among the plurality of sound emission areas of the vibration member.
In the embodiment of the present application, the selection may be performed by selecting the sound emitting area closest to the user. Specifically, the distance between each sound emission area and the user may be obtained first. And sequencing the sounding areas according to the distance from small to large, namely sequencing the sounding areas according to the distance from small to large between the sounding areas and the user. In the sorting result, the sound emitting areas with the closest distance are selected, for example, the sound emitting areas are arranged from top to bottom according to the distance from small to large, and the sound emitting areas with the first number are selected from top to bottom.
The distance between the sounding area and the user can be obtained by detecting the distance between the user and the distance sensor through the distance sensor, and the distance sensor can be an optical displacement sensor, a linear proximity sensor, an ultrasonic displacement sensor, an infrared pulse sensor and the like. In addition, the distance of the user may be detected by another device capable of detecting the distance, such as a camera.
Optionally, when the distance sensor detects the distance, other objects except the user may be detected by mistake, such as a wall surface and a desktop close to the electronic device, and therefore, the distance between the detected object and the human body may be determined by the infrared sensor and the camera.
In the case of obtaining the distance between the distance sensor and the user, the distance between each sound emitting area in the electronic device and the user may be calculated according to the current posture of the electronic device, the position of each sound emitting area in the electronic device, the position of the distance sensor in the electronic device, and the distance between the user and the distance sensor. Specifically, after obtaining the distance between the distance sensor and the user, according to the current posture of the electronic device, such as whether the electronic device is in a landscape screen state or a portrait screen state, whether the screen is facing upwards or towards, and an included angle between the screen and a horizontal plane, by combining the position of the distance sensor in the electronic device and the position of each sound-emitting area in the electronic device, the distance between each sound-emitting area and the user and the distance difference between the distance sensor and the user may be determined, so as to obtain the distance between each sound-emitting area and the user.
For example, as shown in fig. 8, the screen of the electronic device is facing upwards, the angle is a, the distance sensor is located at a position L1, and the dotted line P indicates the position of the user. The sounding region at L2 is located at a position smaller than the distance sensor to the user by x ═ L × cos (pi-a), where L is the distance between the sounding region at L2 and the distance sensor in the electronic device. Then, in the case where it is detected that the distance between the distance sensor and the user is a, the distance between the sound emission area at the position L2 and the user is B — a-x.
Optionally, in this embodiment of the application, a correspondence table may be preset, where the correspondence table includes the number of sounding regions corresponding to different distance intervals, and the first number may be determined according to the correspondence table. Specifically, the number of sound emission areas corresponding to the distance between the user and the distance sensor may be searched from the correspondence table as the first number. That is, when the distance between the distance sensor and the user is obtained, the distance section corresponding to the distance is searched in the correspondence table, and after the distance section is determined, the number corresponding to the distance section is searched from the correspondence table as the first number.
Optionally, in the embodiment of the present application, the manner of selecting the sound emitting area may also be selected according to the posture of the electronic device. Specifically, when the included angle between the screen and the horizontal plane is smaller than 90 degrees, the upward end of the electronic device is usually closer to the user, and a sound production area is selected from the upward end of the electronic device; when the angle between the screen and the horizontal plane is greater than 90 degrees, as shown in fig. 8, the downward end of the electronic device is generally closer to the user, and the sound emitting area is selected from the downward end of the electronic device. In this selection mode, the angle between the screen and the horizontal plane is the angle between the screen and the horizontal plane on the side where the screen is located as shown in fig. 8, rather than the angle between the horizontal plane on the side where the rear cover is located.
Step S370: if the current electric quantity is larger than a first preset threshold value, according to the sound signals, the second number of sound production areas of the vibration parts are driven by the exciter to vibrate and produce sound, and the second number is larger than the first number and smaller than or equal to the number of all the sound production areas.
The step can refer to the similar steps described above, and is not described herein again.
In the embodiment of the application, under the condition that the current electric quantity is smaller than or equal to the first preset threshold value, the sounding areas of the first number close to the user are selected to sound, so that under the condition that the sounding areas are reduced, the sounding areas are close to the user, the loss of sound in the air is small, the sound heard by the user is larger than the sound far away from the user, and the influence of the sounding areas on the user is reduced as much as possible.
The embodiment of the application further provides a sound generating device 400 applied to an electronic device. The electronic device comprises a vibration part capable of vibrating to generate sound and an exciter used for driving the vibration part to vibrate to generate sound, wherein the vibration part is at least one of a screen or a shell of the electronic device, the vibration part comprises a plurality of sound generation areas, and each sound generation area is driven to generate sound by different exciters. As shown in fig. 9, the sound emitting device 400 includes: the power monitoring module 410 is configured to monitor a current power of the electronic device when the sound signal is received; a determining module 420, configured to determine whether the current electric quantity is smaller than or equal to a first preset threshold; first sound production module 430 is used for if current electric quantity is less than or equal to first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than the regional quantity of all sound production of vibration part, second sound production module 440 is used for if current electric quantity is greater than first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and is less than or equal to the regional quantity of all sound production.
Optionally, in this embodiment of the application, the determining module may be further configured to determine whether the current electric quantity is less than or equal to a second preset threshold if the current electric quantity is less than or equal to a first preset threshold, where the second preset threshold is less than the first preset threshold. And the third sounding module is used for driving the sounding areas of the third quantity of the vibration parts to vibrate and sound if the current electric quantity is smaller than or equal to a second preset threshold, and the third quantity is smaller than the first quantity. And the first sound generation module is used for driving the sound generation areas of the first quantity of the vibration parts to vibrate and generate sound through the exciter if the current electric quantity is greater than a second preset threshold value.
Optionally, in this embodiment of the present application, the method may further include: the distance module is used for respectively acquiring the distance between each sounding area and the user; the sequencing module is used for sequencing all the sounding areas according to the distance from small to large; and the selection module is used for selecting the sounding areas with the first number and the closest distances from the sequencing results as the sounding areas for the vibration sounding.
Optionally, the distance module may include a distance detection unit for detecting a distance between the user and the distance sensor through the distance sensor; the calculating unit is used for calculating the distance between each sounding area and the user in the electronic device according to the current posture of the electronic device, the position of each sounding area in the electronic device, the position of the distance sensor in the electronic device and the distance between the user and the distance sensor.
Optionally, in this embodiment of the application, a correspondence table may be preset, where the correspondence table includes the number of sounding areas corresponding to different distance intervals. The device may further include a first number determination module configured to look up, as the first number, the number of sound emission areas corresponding to the distance between the user and the distance sensor from the correspondence table.
Optionally, in this embodiment of the application, the electronic device may further include a shielding determination module, configured to determine whether a rear cover of the electronic device is shielded; the selection module is used for selecting the sounding areas with the first number from the rear cover as the sounding areas for vibration sounding if the rear cover is not shielded.
In the embodiments of the present application, reference may be made to the same or similar steps.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Based on the above sound generating method and device, the embodiment of the application provides an electronic device 100 capable of executing the sound generating method.
As an embodiment, as shown in fig. 10, the electronic device 100 may include a vibration component 141 capable of generating sound by vibration, and an actuator 131 for driving the vibration component 141 to generate sound by vibration, a memory 104 and a processor 102, where the actuator 131 and the memory 104 are coupled to the processor 102, and the memory stores instructions, and when the instructions are executed by the processor, the processor performs the method described above.
As an embodiment, as shown in fig. 11, the electronic device 100 includes a vibration component 141 for generating sound by vibration, where the vibration component 141 is at least one of a screen and a housing of the electronic device. And the exciter 131 is connected with the vibration component 141 and is used for driving the vibration component to vibrate and generate sound. The exciter may be plural (only one is shown in the figure). And a circuit 142 connected to the exciter 131, wherein the circuit includes a detection circuit 143 and a driving circuit 135, and the detection circuit 143 is configured to monitor a current power of the electronic device and determine whether the current power is less than or equal to a first preset threshold value when receiving the sound signal. Drive circuit 135 is used for if current electric quantity is less than or equal to first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the first quantity of vibration part, first quantity is less than all sound production regional quantity of vibration part, if current electric quantity is greater than first preset threshold value, according to sound signal, through the exciter drive the regional vibration sound production of the second quantity of vibration part, the second quantity is greater than first quantity and is less than or equal to all sound production regional quantity.
By way of example, the electronic device 100 may be any of various types of computer system equipment (only one modality shown in FIG. 1 by way of example) that is mobile or portable and that performs wireless communications. Specifically, the electronic apparatus 100 may be a mobile phone or a smart phone (e.g., an iPhone (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), game Advance (TM), iPhone (TM)), a laptop computer, a PDA, a Portable internet device, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, and the like, and the electronic apparatus 100 may also be other wearable devices (e.g., a head-mounted device (HMD) such as electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus 100 may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
In some cases, electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 100 may be a portable device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
The electronic device 100 shown in fig. 1 includes an electronic body 10, and the electronic body 10 includes a housing 12 and a screen 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the screen 120 generally includes a display panel 111, and may also include a circuit and the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 12, in an actual application scenario, the electronic device 100 may be used as a smartphone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 12 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body portion 10 may also include more or fewer components than shown in FIG. 12, or have a different correspondence than shown in FIG. 12.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronics body portion 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless communications, wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, microphone 103, microphone 105 together provide an audio interface between a user and the electronic body portion 10.
A sensor 114 is disposed within the electronics body portion 10, examples of the sensor 114 include, but are not limited to: acceleration sensor 114F, gyroscope 114G, magnetometer 114H, and other sensors.
In this embodiment, the input module 118 may include the touch screen 109 disposed on the display screen, and the touch screen 109 may collect a touch operation of the user (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus pen, etc.) on or near the touch screen 109, so that the touch gesture of the user may be obtained and the corresponding connection device may be driven according to a preset program, and thus, the user may select the target area through a touch operation on the display screen. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys 107. The keys 107 may include, for example, character keys for inputting characters, and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof. In one example, the touch screen 109 may be disposed on the display panel 111 so as to be integral with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power within the electronic body 10 or the screen 120.
The electronic device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the electronic device 100. In this embodiment, the locator 119 uses a positioning service to locate the electronic device 100, and the positioning service is understood to be a technology or a service for obtaining the position information (e.g. longitude and latitude coordinates) of the electronic device 100 by a specific positioning technology and marking the position of the located object on the electronic map.
It should be understood that the electronic apparatus 100 described above is not limited to the smartphone terminal, and it should refer to a computer device that can be used in a mobile. Specifically, the electronic device 100 refers to a mobile computer device equipped with an intelligent operating system, and the electronic device 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. The utility model provides a sounding method, its characterized in that is applied to electronic device, electronic device includes the vibration part that can vibrate the sound production and is used for driving the exciter that vibration part vibration sound production, vibration part is at least one of electronic device's screen or casing, the casing includes the back lid, the back lid with the screen sets up relatively, vibration part includes a plurality of vocal areas, and each vocal area is by the drive sound production of different exciters, the method includes:
monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal;
judging whether the current electric quantity is smaller than or equal to a first preset threshold value or not;
if the current electric quantity is smaller than or equal to a first preset threshold value, determining whether the rear cover is shielded;
if not, respectively acquiring the distance between each sounding area and the user from the rear cover;
sequencing the sounding areas according to the distance from small to large;
selecting a first number of sounding areas with the closest distance from the sequencing result as sounding areas for vibration sounding, wherein the first number is smaller than the number of all sounding areas of the vibration part;
driving the sound production area of the vibration sound production to vibrate and produce sound through an exciter according to the sound signal;
if the current electric quantity is larger than a first preset threshold value, according to the sound signals, the second number of sound production areas of the vibration parts are driven by the exciter to vibrate and produce sound, and the second number is larger than the first number and smaller than or equal to the number of all the sound production areas.
2. The method of claim 1, wherein before the first number of sound areas of the vibration member are driven to vibrate and emit sound by the exciter, further comprising:
if the current electric quantity is smaller than or equal to a first preset threshold, judging whether the current electric quantity is smaller than or equal to a second preset threshold, wherein the second preset threshold is smaller than the first preset threshold;
if the current electric quantity is less than or equal to a second preset threshold value, driving a third number of sounding areas of the vibration component to vibrate and sound through the exciter, wherein the third number is less than the first number,
and if the current electric quantity is larger than a second preset threshold value, driving the sounding areas of the first quantity of the vibration parts to vibrate and sound through the exciter.
3. The method of claim 1, wherein the obtaining distances between the respective sound-emanating areas and the user comprises:
detecting, by a distance sensor, a distance between a user and the distance sensor;
and calculating the distance between each sound production area in the electronic device and the user according to the current posture of the electronic device, the position of each sound production area in the electronic device, the position of the distance sensor in the electronic device and the distance between the user and the distance sensor.
4. The method according to claim 3, wherein a correspondence table is preset, the correspondence table includes the number of sound emission areas corresponding to different distance intervals, and before selecting a first number of sound emission areas closest to each other from the sorting result as the sound emission areas for vibration sound emission, the method further includes:
and searching the number of the sounding areas corresponding to the distance between the user and the distance sensor from the corresponding relation table to be used as the first number.
5. The utility model provides a sound generating mechanism, its characterized in that is applied to electronic device, electronic device is including vibrating part that can vibrate the sound production and being used for the drive vibrating part vibrates the exciter of sound production, vibrating part does electronic device's screen or at least one of casing, the casing includes the back lid, the back lid with the screen sets up relatively, vibrating part includes a plurality of vocal regions, and each vocal region is by the drive sound production of different exciters, sound generating mechanism includes:
the electric quantity monitoring module is used for monitoring the current electric quantity of the electronic device under the condition of receiving the sound signal;
the judging module is used for judging whether the current electric quantity is smaller than or equal to a first preset threshold value or not;
the first sound-emitting module is used for determining whether the rear cover is shielded or not if the current electric quantity is smaller than or equal to a first preset threshold value;
if not, respectively acquiring the distance between each sounding area and the user from the rear cover;
sequencing the sounding areas according to the distance from small to large;
selecting a first number of sounding areas with the closest distance from the sequencing result as sounding areas for vibration sounding, wherein the first number is smaller than the number of all sounding areas of the vibration part;
driving the sound production area of the vibration sound production to vibrate and produce sound through an exciter according to the sound signal;
and the second sounding module is used for driving the sounding areas of the second quantity of the vibration parts to vibrate and sound through the exciter according to the sound signals if the current electric quantity is greater than a first preset threshold value, wherein the second quantity is greater than the first quantity and is less than or equal to the quantity of all the sounding areas.
6. An electronic device comprising a vibrating component capable of vibrating to produce sound and an actuator for driving the vibrating component to vibrate to produce sound, a memory, and a processor, the actuator and the memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-4.
7. A computer-readable medium having program code executable by a processor, the program code causing the processor to perform the method of any of claims 1-4.
8. An electronic device, comprising:
the vibration component is used for vibrating and sounding, the vibration component is at least one of a screen or a shell of the electronic device, the shell comprises a rear cover, and the rear cover is arranged opposite to the screen;
the exciter is connected with the vibration component and is used for driving the vibration component to vibrate and generate sound;
the circuit is connected with the exciter and comprises a detection circuit and a driving circuit, wherein the detection circuit is used for monitoring the current electric quantity of the electronic device and judging whether the current electric quantity is less than or equal to a first preset threshold value or not under the condition of receiving a sound signal; the driving circuit is used for determining whether the rear cover is shielded or not if the current electric quantity is smaller than or equal to a first preset threshold value; if not, respectively acquiring the distance between each sounding area and the user from the rear cover; sequencing the sounding areas according to the distance from small to large; selecting a first number of sounding areas with the closest distance from the sequencing result as sounding areas for vibration sounding, wherein the first number is smaller than the number of all sounding areas of the vibration part; driving the sound production area of the vibration sound production to vibrate and produce sound through an exciter according to the sound signal; if the current electric quantity is larger than a first preset threshold value, according to the sound signals, the second number of sound production areas of the vibration parts are driven by the exciter to vibrate and produce sound, and the second number is larger than the first number and smaller than or equal to the number of all the sound production areas.
CN201810814645.7A 2018-07-23 2018-07-23 Sound production method, sound production device, electronic device and computer readable medium Active CN109040919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810814645.7A CN109040919B (en) 2018-07-23 2018-07-23 Sound production method, sound production device, electronic device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810814645.7A CN109040919B (en) 2018-07-23 2018-07-23 Sound production method, sound production device, electronic device and computer readable medium

Publications (2)

Publication Number Publication Date
CN109040919A CN109040919A (en) 2018-12-18
CN109040919B true CN109040919B (en) 2021-03-02

Family

ID=64645223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810814645.7A Active CN109040919B (en) 2018-07-23 2018-07-23 Sound production method, sound production device, electronic device and computer readable medium

Country Status (1)

Country Link
CN (1) CN109040919B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300201A (en) * 2019-07-29 2019-10-01 Oppo广东移动通信有限公司 Terminal device
CN110677770B (en) * 2019-08-30 2021-01-12 维沃移动通信有限公司 Sound production control method, electronic device, and medium
CN111262982A (en) * 2020-01-15 2020-06-09 Oppo广东移动通信有限公司 Electronic device
CN114157958B (en) * 2020-09-08 2023-02-03 维沃移动通信有限公司 Electronic equipment and control method and control device thereof
CN113347297A (en) * 2021-04-25 2021-09-03 瑞声光电科技(常州)有限公司 Mobile terminal, stereo control method, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969312A (en) * 2010-08-20 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Power management and control method for electronic terminal and electronic terminal
CN102034434A (en) * 2009-09-30 2011-04-27 宏碁股份有限公司 Electronic device and method
CN106658288A (en) * 2016-11-29 2017-05-10 努比亚技术有限公司 Method for controlling playing of loudspeaker, and mobile terminal
CN107949816A (en) * 2015-09-09 2018-04-20 高通股份有限公司 Circuit and the method that voltage is adjusted are provided when processor core becomes active
CN108124224A (en) * 2016-11-30 2018-06-05 乐金显示有限公司 Panel vibration type sounding display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102496410B1 (en) * 2016-03-25 2023-02-06 삼성전자 주식회사 Electronic apparatus and method for outputting sound thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034434A (en) * 2009-09-30 2011-04-27 宏碁股份有限公司 Electronic device and method
CN101969312A (en) * 2010-08-20 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Power management and control method for electronic terminal and electronic terminal
CN107949816A (en) * 2015-09-09 2018-04-20 高通股份有限公司 Circuit and the method that voltage is adjusted are provided when processor core becomes active
CN106658288A (en) * 2016-11-29 2017-05-10 努比亚技术有限公司 Method for controlling playing of loudspeaker, and mobile terminal
CN108124224A (en) * 2016-11-30 2018-06-05 乐金显示有限公司 Panel vibration type sounding display device

Also Published As

Publication number Publication date
CN109040919A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109194796B (en) Screen sounding method and device, electronic device and storage medium
CN108833638B (en) Sound production method, sound production device, electronic device and storage medium
CN108646971B (en) Screen sounding control method and device and electronic device
CN109040919B (en) Sound production method, sound production device, electronic device and computer readable medium
CN108881568B (en) Method and device for sounding display screen, electronic device and storage medium
CN109032558B (en) Sound production control method and device, electronic device and computer readable medium
CN108683761B (en) Sound production control method and device, electronic device and computer readable medium
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
CN109032556B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108900728B (en) Reminding method, reminding device, electronic device and computer readable 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
CN109086024B (en) Screen sounding method and device, electronic device and storage medium
CN108958697B (en) Screen sounding control method and device and electronic device
CN109144460B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108810198B (en) Sound production control method and device, electronic device and computer readable medium
CN109144249B (en) Screen sounding method and device, electronic device and storage medium
CN109240413B (en) Screen sounding method and device, electronic device and storage medium
CN109062535B (en) Sound production control method and device, electronic device and computer readable medium
CN108712706B (en) Sound production method, sound production device, electronic device and storage medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN109085985B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108810764B (en) Sound production control method and device and electronic device
CN109189360B (en) Screen sounding control method and device and electronic device
CN108712571A (en) Method, apparatus, electronic device and the storage medium of display screen sounding

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