CN108769871B - Sound production method, sound production device, electronic device and storage medium - Google Patents
Sound production method, sound production device, electronic device and storage medium Download PDFInfo
- Publication number
- CN108769871B CN108769871B CN201810475454.2A CN201810475454A CN108769871B CN 108769871 B CN108769871 B CN 108769871B CN 201810475454 A CN201810475454 A CN 201810475454A CN 108769871 B CN108769871 B CN 108769871B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- vibration
- preset
- motion
- parameter
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a sound production method, a sound production device, an electronic device and a storage medium, and relates to the technical field of electronic devices. Wherein the electronic device comprises a vibration component capable of generating sound by vibration and an exciter used for driving the vibration component to generate sound, and the vibration component is at least one of a screen or a shell of the electronic device, and the method comprises the following steps: acquiring a motion parameter of the electronic device; judging whether the motion parameter is larger than a preset parameter value; if yes, the exciter drives the vibration component to sound under the condition that prompt is needed. In the scheme, the user can be reminded through sounding of the vibration component, and the reminding effect is improved.
Description
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a sound generating method, a sound generating device, an electronic device, and a storage medium.
Background
Currently, in electronic devices, such as mobile phones, tablet computers, and the like, sound is generated through a speaker to output a sound signal. 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
In view of the above problems, the present application provides a sound generating method, device, electronic device and storage medium, wherein if a motion parameter of the electronic device is greater than a preset parameter value, the electronic device drives a vibration component to generate sound to remind a user through an exciter in a case that a prompt is required, so as to improve a reminding effect.
In a first aspect, an embodiment of the present application provides a sound generating method, which is applied to an electronic device including a vibration component capable of vibrating to generate sound and an exciter for driving the vibration component to generate sound, where the vibration component is at least one of a screen or a housing of the electronic device, and the method includes: acquiring a motion parameter of the electronic device; judging whether the motion parameter is larger than a preset parameter value; if yes, the exciter drives the vibration component to sound under the condition that prompt is needed.
In a second aspect, an embodiment of the present application provides a sound generating device applied to an electronic device, where the electronic device includes a vibration component capable of vibrating to generate sound and an exciter for driving the vibration component to generate sound, the vibration component is at least one of a screen and a housing of the electronic device, and the device includes: the parameter acquisition module is used for acquiring the motion parameters of the electronic device; the parameter judging module is used for judging whether the motion parameter is larger than a preset parameter value; and the sounding module is used for driving the vibration component to sound through the exciter under the condition of prompting requirement if the motion parameter is greater than a preset parameter value.
In a third aspect, an embodiment of the present application provides an electronic device, including a vibration component, an actuator for driving the vibration component to generate sound, a memory, and a processor, where the vibration component, the actuator, and the memory are coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor performs the above-mentioned method.
In a fourth aspect, the present application provides a computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the above-mentioned method.
In a fifth aspect, an embodiment of the present application provides an electronic apparatus, including: a vibrating member; 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 detecting the motion parameters of the electronic device, and the driving circuit drives the vibration component to sound through the exciter under the condition that prompt is needed according to the motion parameters.
According to the sound production method, the sound production device, the electronic device and the storage medium, the electronic device comprises the vibration display component and the exciter used for driving the vibration component to produce sound, and if the motion parameter of the electronic device is larger than the preset parameter value, the exciter is used for driving the vibration component to produce sound under the condition that prompt is needed. Therefore, when the user carrying the electronic device is difficult to notice the prompt in the moving process, the vibration component can sound to remind the user, and the reminding effect is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
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 of an electronic device according to an embodiment of the present application;
FIG. 2 is a side view of an electronic device provided by an embodiment of the present application;
fig. 3 shows a flow chart of a sound production method proposed in the first embodiment of the present application;
fig. 4 shows a flow chart of a sound emitting method proposed by the second embodiment of the present application;
fig. 5 is a functional block diagram of a sound generating apparatus according to an embodiment of the present application;
fig. 6 is a block diagram illustrating a structure of an electronic device according to an embodiment of the present application;
fig. 7 shows 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The electronic device can remind various items needing reminding, wherein if the reminding mode is vibration or only bright screen, the user may not perceive the vibration reminding when the user is in a motion state. Therefore, when the user carrying the electronic device is in a motion state, in order to enhance the reminding effect and achieve a good reminding purpose, the user can be reminded through sound.
In addition, the electronic device usually produces sound through a speaker, a receiver, and the like, and the speaker, the receiver, and the like usually need to have a hole in the electronic device. 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.
Specifically, 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 videos. 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 the sound outlet hole of the receiver can be eliminated.
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 for connecting the front panel and the rear cover, on which the screen 120 is disposed. In this embodiment, the screen 120 includes a display screen, and the display screen 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, and the exciter 131 is used for driving a vibration component of the electronic device to vibrate, 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 may be the screen 120, or may be a part or all of the housing 12, or may be 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.
In the embodiment of the present application, if the vibration component is the screen 120, 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 away 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, the detection circuit is configured to detect a motion parameter of the electronic device, and the driving circuit drives the vibration component to sound through the exciter according to the motion parameter in case of prompting. 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. 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 one or more actuators 131. As shown in fig. 1, if there are multiple actuators, the multiple actuators 131 may be uniformly distributed on the screen 120, so that the screen 120 is divided into multiple areas for emitting sound individually. For example, as shown in fig. 1, if the number of the actuators is 4, the display screen may be divided into 4 square areas a1, a2, A3, and a4 along the center line in the vertical direction and the horizontal direction, the 4 actuators are disposed below the 4 square areas, and the 4 actuators correspond to the 4 square areas one by one. Of course, the number of actuators is not limited in the embodiments of the present application.
If the electronic device produces sound through the vibration component, the arrangement of the opening of the sound producing component such as a loudspeaker, a receiver and the like can be cancelled. Therefore, when the alarm is sounded under certain conditions, the alarm can be sounded through the vibration part.
The embodiments of the present application provide a sound generating method, a sound generating apparatus, an electronic apparatus, and a storage medium, and the sound generating method, the sound generating apparatus, the electronic apparatus, and the storage medium provided in the embodiments of the present application will be described below with reference to the accompanying drawings and specific embodiments.
First embodiment
Referring to fig. 3, a first embodiment of the present application provides a sound generating method applied to an electronic device. As described above, the electronic device includes a vibration member capable of generating sound by vibration, and an actuator for driving the vibration member to generate sound, the vibration member being at least one of a screen and a housing of the electronic device. The control of the exciter can enable the vibration component to emit corresponding sound under the driving of the exciter. In a specific embodiment, the sound generating method is applied to a sound generating device as shown in fig. 5 and an electronic device corresponding to the sound generating device 300. The sound production method specifically comprises the following steps:
step S110: and acquiring the motion parameters of the electronic device.
The method includes acquiring a current motion parameter of the electronic device, where the motion parameter may be acquired by real-time monitoring or periodically, and is not limited in this embodiment. In addition, the motion parameter may also be obtained in a specific contextual model, such as a non-conference mode.
The acquired motion parameters are parameters representing the motion state of the electronic device, such as whether the electronic device is in motion or at rest, what the motion speed of the electronic device is, what the motion acceleration of the electronic device is, what the motion posture of the electronic device is, and the like. The obtaining of the motion parameters may be implemented by corresponding sensors in the electronic device, such as an accelerometer and a gyroscope, and the obtaining of the motion parameters by which sensors are implemented is not limited in the embodiment of the present application.
Step S120: and judging whether the motion parameter is larger than a preset parameter value.
And judging whether the motion parameter of the electronic device is larger than a preset parameter value. The preset parameter value is a value indicating that the electronic device reaches a certain motion state, and if the preset parameter value is 1 meter per second, the motion speed of the electronic device reaches 1 meter per second.
The acquired motion parameters are different, and the corresponding preset parameter values can be different. For example, the acquired motion parameter is an acceleration value, and the corresponding preset parameter value is an acceleration value representing that the acceleration has a certain magnitude; the obtained motion parameters are speed, the corresponding operation parameter values are speed values which indicate that the speed reaches a certain magnitude, and the numerical values and the acceleration values are different.
Step S130: if yes, the exciter drives the vibration component to sound under the condition that prompt is needed.
When the motion parameter is greater than the preset parameter value, it can be indicated to a certain extent that the user carrying the electronic device is in a motion state corresponding to the preset parameter value, and if the user needs to prompt, the user may not be able to perceive the motion state due to the motion of the user if the user only needs to be reminded silently by vibration of the electronic device itself, and the purpose of prompting cannot be achieved.
Therefore, when the motion parameter of the electronic device is larger than the preset parameter value, if prompting is needed, the exciter drives the vibration component to sound, and the vibration component is driven to sound to prompt a user.
In the embodiment of the present application, the vibration member may emit sound under the driving of the exciter. When the motion parameter of the electronic device is larger than the preset parameter value, the electronic device is in a certain motion state, the exciter can drive the vibration component to sound, and therefore prompting is achieved for a user under the condition that prompting is needed.
Second embodiment
The embodiment of the application provides a sound production method, and specifically, the method comprises the following steps:
step S210: and acquiring the motion parameters of the electronic device.
The motion parameter is a parameter representing the motion state of the electronic device. Since the acceleration may indicate how fast the movement speed of the electronic device changes, for example, the start-stop change of the body corresponds to the acceleration change during the walking process of the user, the movement parameter may be the acceleration as an embodiment.
In addition, if the electronic device is in a motion state, the electronic device should have a certain speed, and therefore, as an embodiment, the motion parameter may be a speed.
Of course, in the embodiment of the present application, the motion parameters may also include others, such as a change in posture and the like.
Step S220: and judging whether the motion parameter is larger than a preset parameter value.
And judging whether the vibration component needs to be driven to sound through the exciter or not by judging whether the motion parameters meet the preset conditions or not. The preset condition may be that the motion parameter is greater than a preset parameter value.
If the acquired motion parameter is a speed, judging whether the speed value is greater than a preset parameter value corresponding to the speed; and if the acquired motion parameter is the acceleration, judging whether the acceleration is greater than a preset parameter value corresponding to the acceleration.
Optionally, as to whether the motion parameter is greater than the preset parameter value, the size of the motion parameter value may be directly compared with the preset parameter value, and the direction of the motion parameter may not be considered.
Alternatively, the acceleration has a direction, since some motion parameters relate to direction, e.g. speed has a direction and acceleration has a direction. Therefore, the direction of the motion parameter is taken into account in the determination. For example, a standard direction is set corresponding to a preset parameter value, and the acquired motion parameter is converted into the standard direction and then compared with the preset parameter value in terms of magnitude.
Further, in some cases, the motion parameter of the electronic device may be changed accidentally, and the default alert for the user is not affected, for example, the corresponding motion parameter when the user picks up the electronic device is not carried by the user, which may affect the user to perceive the motion state of the electronic device. Therefore, in the embodiment of the present application, it is determined whether the motion parameter is greater than a preset parameter value, which may be determined whether the motion parameter is greater than the preset parameter value within a preset time period. For example, it is determined whether the speeds of the electronic device within a preset time period are all greater than a preset parameter value, and it is determined whether the accelerations of the electronic device within the preset time period are all greater than the preset parameter value. Of course, the preset time length is not limited in the embodiment of the present application, and may be 30 seconds, one minute, five minutes, or the like.
In addition, in the embodiment of the present application, it is determined whether the motion parameter is greater than a preset parameter value, or whether a motion parameter with a preset number of times is greater than a preset parameter value within a preset time length. For example, when a user walks with the electronic device, the step-by-step pause or speed slow-down exists, so that the motion parameter of the electronic device is not greater than the preset parameter value, but in this case, the user may still be hard to perceive silent prompt of the electronic device, and therefore, whether the electronic device meets the prompt condition that the vibration component needs to sound can be determined by judging the number of times that the motion parameter is greater than the preset parameter value. The time from the value greater than the preset parameter to the value less than the preset parameter may be defined as one time, or the time from the value greater than the preset parameter within a certain time period may be defined as one time.
Step S230: if yes, the exciter drives the vibration component to sound under the condition that prompt is needed.
If the judgment result is yes, if the user needs to be prompted, the exciter can drive the vibration component to sound, and the prompting purpose is achieved.
The prompt may be a preset prompt message, and the condition that the prompt is required may be that the preset prompt message is received. The preset prompting message can include instant message prompting, such as WeChat prompting, short message prompting and the like, and can also include a telephone, an alarm clock and the like. The preset prompt information in the embodiment of the application is not limited, and may be set according to the actual situation of the electronic device or set by the user.
Optionally, if the user holds the electronic device, the reminder for the electronic device is easier to perceive, and if the electronic device is placed in the pocket, the perceptibility of the reminder may be reduced, so in this embodiment of the present application, before the vibration component is driven to sound by the exciter, as shown in fig. 4, step S221 may be further included: whether the electronic device is in the pocket mode is judged. If the mobile phone is in the pocket mode, step S230 may be performed to drive the vibration component to sound through the exciter. If the mobile phone is not in the pocket mode, prompting can be performed in a default prompting mode, such as vibration, screen lighting and the like. The pocket mode is a mode in which the electronic device is located when the electronic device is determined to be located in the pocket. The specific determination of whether the electronic device is in the pocket mode is not limited in the embodiment of the present application, for example, the distance sensor of the electronic device is shielded, the camera is shielded, the electronic device is in the upright state, and the like.
Furthermore, after the vibration component is driven by the exciter to sound, if the processing of the user for the sound-producing prompt, such as the prompt when the call comes, is not received all the time, the user does not have the call or hangs up the call, the sound-producing loudness can be increased or the sound-producing frequency can be improved to improve the prompt effect. Specifically, the exciter may be configured to drive the vibration component to vibrate and generate sound, and the sound generation loudness may be increased by increasing the vibration amplitude of the vibration component by the exciter, or the sound generation frequency may be increased by increasing the vibration frequency of the vibration component by the exciter. Therefore, in this embodiment, if the processing operation for the prompt is not received within the preset time range, the vibration amplitude or the vibration frequency of the vibration component may be increased by the exciter. The specific time length of the preset time range is not limited, the time length ranges of multiple layers can be set, the time lengths of different layer length ranges are different, and in the time length ranges of different layers, if processing operation aiming at prompting is not received, the vibration amplitude or the vibration frequency of the vibration component is sequentially enhanced, and the prompting force is increased.
In the embodiment of the application, the motion parameter of the electronic device is obtained, and the motion parameter is compared with a preset parameter value to judge whether the motion parameter is greater than a preset value. During comparison, the comparison can be directly carried out through numerical values, and the directions of the motion parameters and preset parameter values can be unified and then compared. If the motion parameter is larger than the preset parameter value, the exciter drives the vibration part to sound under the condition that prompt is needed.
Third embodiment
The embodiment provides a sound generating device 300 applied to an electronic device, wherein the electronic device comprises a vibration component capable of vibrating to generate sound and an exciter used for driving the vibration component to generate sound, and the vibration component is at least one of a screen or a shell of the electronic device. Specifically, referring to fig. 5, the apparatus 300 includes:
a parameter obtaining module 310, configured to obtain a motion parameter of the electronic device. The parameter determining module 320 is configured to determine whether the motion parameter is greater than a preset parameter value. And the sounding module 330 is configured to drive the vibration component to sound through the exciter under the condition that prompting is required if the motion parameter is greater than a preset parameter value.
Optionally, the parameter determining module 320 may determine whether the motion parameter is greater than a preset parameter value within a preset time period.
Optionally, the apparatus 300 may further include a mode determining module, configured to determine whether the electronic apparatus is in the pocket mode. If the electronic device is determined to be in the pocket mode, the sounding module 330 drives the vibration component to sound through the exciter.
Further, in this embodiment of the application, the sound module 330 may further increase the vibration amplitude or the vibration frequency of the vibration component through the exciter to increase the strength of the prompt when the processing operation for the prompt is not received within a preset time range.
In summary, in the embodiment of the present application, the vibration component of the electronic device may be a screen or a housing, and the vibration component may be driven by the exciter to generate sound. The motion parameters of the electronic device are acquired, when the acquired motion parameters are larger than preset parameter values, and under the condition of prompting required, the vibration component is driven to vibrate and sound to remind, so that the opening is reduced, the screen is enabled to be as large as possible, and the sounding reminding can be also met.
An electronic device provided by the present application will be described with reference to the accompanying drawings.
Referring to fig. 1, based on the above-mentioned sound generating method and apparatus, an electronic apparatus 100 capable of executing the sound generating method is provided in the embodiment of the present application.
As shown in fig. 6, the electronic device 100 includes a vibration member 141, and an exciter 131 connected to the vibration member 141, wherein the exciter 131 is configured to drive the vibration member 141 to generate sound. The circuit 142 is connected with the exciter 131, the circuit 142 comprises a detection circuit 143 and a driving circuit 135, the detection circuit 143 is used for detecting the motion parameter of the electronic device, and the driving circuit 135 drives the vibration component to sound through the exciter under the condition that prompt is needed according to the motion parameter.
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. 7, 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. 7 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 7, or have a different correspondence than shown in FIG. 7.
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., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (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.
The sensor 114 is disposed in 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 (10)
1. The sounding method is applied to an electronic device, the electronic device comprises a vibration component capable of vibrating to sound and an exciter used for driving the vibration component to sound, the vibration component is at least one of a screen or a shell of the electronic device, the electronic device is in a vibration reminding state, and a vibration piece corresponding to the vibration reminding state is different from the vibration component, and the method comprises the following steps:
acquiring a motion parameter of the electronic device, wherein the motion parameter is a parameter representing a motion state of the electronic device;
judging whether the motion parameter with preset times is larger than a preset parameter value within a preset time length, wherein the preset parameter value represents a value of the electronic device reaching a certain motion state, and the motion parameter is defined as one time in the preset times from the motion parameter being larger than the preset parameter value to the motion parameter being smaller than the preset parameter value;
if yes, driving the vibration component to sound through the exciter under the condition that prompt is needed;
if the processing operation aiming at the prompt is not received within a preset time range, the vibration amplitude or the vibration frequency of the vibration component is increased through the exciter, wherein the preset time range comprises a plurality of levels of time length ranges, the time lengths corresponding to the time length ranges of different levels are different, and in the time length ranges of different levels, if the processing operation aiming at the prompt is not received, the vibration amplitude or the vibration frequency of the vibration component is sequentially increased.
2. The method of claim 1, wherein the motion parameters comprise acceleration and/or velocity.
3. The method of claim 1, wherein the determining whether the motion parameter is greater than a preset parameter value comprises:
and judging whether the motion parameter is greater than a preset parameter value within a preset time length.
4. The method of claim 1, wherein before driving the vibration member to emit sound by the exciter, further comprising:
judging whether the electronic device is in a pocket mode or not;
and if so, executing the step of driving the vibration component to sound through the exciter.
5. The method of claim 1, wherein the condition requiring prompting comprises:
and receiving preset prompt information.
6. The utility model provides a sound generating mechanism, its characterized in that is applied to electronic device, electronic device is including the vibrating part that can vibrate the sound production and being used for the drive the exciter of vibrating part sound production, vibrating part does at least one of electronic device's screen or casing, electronic device is in the vibration state of reminding, the vibration that the state corresponds is reminded in the vibration with vibrating part is different, the device includes:
the parameter acquisition module is used for acquiring a motion parameter of the electronic device, wherein the motion parameter is a parameter representing the motion state of the electronic device;
the parameter judging module is used for judging whether the motion parameter with preset times is greater than a preset parameter value within a preset time length, wherein the preset parameter value represents a value of the electronic device reaching a certain motion state, and the motion parameter from the motion parameter greater than the preset parameter value to the motion parameter smaller than the preset parameter value is defined as one time of the preset times;
the sounding module is used for driving the vibration component to sound through the exciter under the condition that prompting is needed if the motion parameters with preset times are larger than preset parameter values within the preset time length; if the processing operation aiming at the prompt is not received within a preset time range, the vibration amplitude or the vibration frequency of the vibration component is increased through the exciter, wherein the preset time range comprises a plurality of levels of time length ranges, the time lengths corresponding to the time length ranges of different levels are different, and in the time length ranges of different levels, if the processing operation aiming at the prompt is not received, the vibration amplitude or the vibration frequency of the vibration component is sequentially increased.
7. The apparatus of claim 6, wherein the motion parameters comprise acceleration and/or velocity.
8. An electronic device comprising a vibration member, an actuator for driving the vibration member to emit sound, a memory, and a processor, the vibration member, actuator, and memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-5.
9. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any of claims 1 to 5.
10. An electronic device, comprising:
the electronic device is in a vibration reminding state, and a vibration piece corresponding to the vibration reminding state is different from the vibration part;
the exciter is connected with the vibration component and is used for driving the vibration component to generate sound;
a circuit connected to the exciter, the circuit including a detection circuit and a driving circuit, the detection circuit being configured to detect a motion parameter of the electronic device and determine whether the motion parameter is greater than a preset parameter value within a preset time period, the motion parameter being a parameter representing a motion state of the electronic device, the preset parameter value representing a value at which the electronic device reaches a certain motion state, wherein the motion parameter is defined as one of the preset times from when the motion parameter is greater than the preset parameter value to when the motion parameter is less than the preset parameter value; in the preset time span, there is the preset number of times motion parameter is greater than the preset parameter value and under the condition that needs the suggestion, drive circuit passes through the exciter drive vibration part sound production, if not receiving in the preset time span to the processing operation of suggestion, through the exciter increases vibration amplitude or the vibration frequency of vibration part, wherein, the preset time span includes the time length range of a plurality of levels, and the time length that the time length range of different levels corresponds is different, and in the time length range of different levels, if not receiving to the processing operation of suggestion, vibration amplitude or the vibration frequency of vibration part strengthen in proper order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475454.2A CN108769871B (en) | 2018-05-17 | 2018-05-17 | Sound production method, sound production device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475454.2A CN108769871B (en) | 2018-05-17 | 2018-05-17 | Sound production method, sound production device, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108769871A CN108769871A (en) | 2018-11-06 |
CN108769871B true CN108769871B (en) | 2021-07-13 |
Family
ID=64007043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810475454.2A Active CN108769871B (en) | 2018-05-17 | 2018-05-17 | Sound production method, sound production device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769871B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763652A (en) * | 2020-05-18 | 2021-12-07 | 北京小米移动软件有限公司 | Mobile terminal, charging prompting method, charging prompting device and storage medium |
CN113968295B (en) * | 2021-10-28 | 2023-06-06 | 歌尔科技有限公司 | Sound generating device and scooter |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660827A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Method and terminal for message reminding |
CN105376418A (en) * | 2015-12-16 | 2016-03-02 | 广东欧珀移动通信有限公司 | Incoming call information processing method, device and system |
CN106658318A (en) * | 2017-01-20 | 2017-05-10 | 瑞声科技(南京)有限公司 | Vibration sound production system |
CN108021242A (en) * | 2017-12-06 | 2018-05-11 | 广东欧珀移动通信有限公司 | Gyro data processing method, mobile terminal and computer-readable recording medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618832B (en) * | 2013-11-29 | 2016-06-22 | 广东欧珀移动通信有限公司 | A kind of information cuing method for mobile terminal and terminal |
US9888452B2 (en) * | 2014-04-10 | 2018-02-06 | Twin Harbor Labs Llc | Methods and apparatus notifying a user of the operating condition of a household appliance |
JP6511355B2 (en) * | 2015-07-08 | 2019-05-15 | クラリオン株式会社 | Informing apparatus and informing method |
US20170245200A1 (en) * | 2016-02-18 | 2017-08-24 | Michael Langley | Vehicle safety system |
CN107395910B (en) * | 2016-09-29 | 2020-09-01 | 维沃移动通信有限公司 | Incoming call notification method and mobile terminal |
US20170173262A1 (en) * | 2017-03-01 | 2017-06-22 | François Paul VELTZ | Medical systems, devices and methods |
-
2018
- 2018-05-17 CN CN201810475454.2A patent/CN108769871B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660827A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Method and terminal for message reminding |
CN105376418A (en) * | 2015-12-16 | 2016-03-02 | 广东欧珀移动通信有限公司 | Incoming call information processing method, device and system |
CN106658318A (en) * | 2017-01-20 | 2017-05-10 | 瑞声科技(南京)有限公司 | Vibration sound production system |
CN108021242A (en) * | 2017-12-06 | 2018-05-11 | 广东欧珀移动通信有限公司 | Gyro data processing method, mobile terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN108769871A (en) | 2018-11-06 |
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 | |
CN108683761B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108646971B (en) | Screen sounding control method and device and electronic device | |
CN108900728B (en) | Reminding method, reminding device, electronic device and computer readable medium | |
CN108881568B (en) | Method and device for sounding display screen, electronic device and storage medium | |
CN109032556B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN109040919B (en) | Sound production method, sound production device, electronic device and computer readable medium | |
CN109032558B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109086024B (en) | Screen sounding method and device, electronic device and storage medium | |
CN109189362B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN108958632B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109086023B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109085985B (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 | |
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 | |
CN109062535B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109240413B (en) | Screen sounding method and device, electronic device and storage medium | |
CN108712571A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN109189360B (en) | Screen sounding control method and device and electronic device | |
CN109144249B (en) | Screen sounding method and device, electronic device and storage medium | |
CN108712706B (en) | Sound production method, sound production device, electronic device and storage medium | |
CN108810764B (en) | Sound production control method and device and electronic device | |
CN108900689B (en) | Sound production control method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |