CN110602316B - Electronic device and control method thereof - Google Patents

Electronic device and control method thereof Download PDF

Info

Publication number
CN110602316B
CN110602316B CN201910839090.6A CN201910839090A CN110602316B CN 110602316 B CN110602316 B CN 110602316B CN 201910839090 A CN201910839090 A CN 201910839090A CN 110602316 B CN110602316 B CN 110602316B
Authority
CN
China
Prior art keywords
electronic device
piezoelectric ceramic
display screen
preset object
speakers
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
CN201910839090.6A
Other languages
Chinese (zh)
Other versions
CN110602316A (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 CN201910839090.6A priority Critical patent/CN110602316B/en
Publication of CN110602316A publication Critical patent/CN110602316A/en
Application granted granted Critical
Publication of CN110602316B publication Critical patent/CN110602316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the application provides electronic equipment and a control method thereof, wherein the electronic equipment comprises a display screen for displaying pictures, at least two loudspeakers arranged at the opposite edges of the electronic equipment and a processor, the processor is respectively electrically connected with the display screen and the loudspeakers, and the processor is used for acquiring two frames of preset object images displayed on the display screen; determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image; determining position change information of the preset object image on the display screen according to the first position and the second position; and controlling the change of the sound emitted by at least two loudspeakers according to the position change information. The embodiment of the application can improve the sound playing effect of the electronic equipment.

Description

Electronic device and control method thereof
Technical Field
The present disclosure relates to electronic technologies, and in particular, to an electronic device and a control method thereof.
Background
With the development of communication technology, electronic devices such as smart phones are becoming more and more popular. Electronic equipment is usually provided with a speaker, and the speaker can output an audio signal corresponding to a picture on a display screen, but the audio signal can only be output at a position corresponding to the speaker, and the effect of sound playing is poor.
Disclosure of Invention
An embodiment of the present application provides an electronic device, including:
the display screen is used for displaying pictures;
at least two speakers disposed at opposite edges of the electronic device;
the processor, the processor respectively with the display screen with speaker electric connection, the processor is used for: acquiring two frames of preset object images displayed on the display screen; determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image; determining position change information of the preset object image on the display screen according to the first position and the second position; and controlling the change of the sound emitted by at least two loudspeakers according to the position change information.
The embodiment of the application provides a control method of electronic equipment, wherein the electronic equipment comprises a display screen for displaying pictures and at least two loudspeakers arranged at opposite edges of the electronic equipment, and the method comprises the following steps:
acquiring two frames of preset object images displayed on the display screen;
determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image;
determining position change information of the preset object image on the display screen according to the first position and the second position;
and controlling the change of the sound emitted by at least two loudspeakers according to the position change information.
The embodiment of the application can be through setting up two speakers that set up at the relative edge of electronic equipment at least, predetermine the object image according to two frames with the display screen demonstration and obtain predetermineeing the position change information of object on the display screen, according to the change of position change information control speaker sound for the sound that the speaker sent changes along with predetermineeing the position of object image, and then improves electronic equipment's sound broadcast effect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a piezoelectric ceramic single body of a speaker in the electronic device shown in fig. 1.
Fig. 3 is a schematic structural diagram of the piezoelectric ceramic single body shown in fig. 2 in a first bending state.
Fig. 4 is a schematic structural view of the piezoelectric ceramic unit shown in fig. 2 in a second bending state.
Fig. 5 is a first cross-sectional view of the electronic device shown in fig. 1 along a P-P direction.
Fig. 6 is a schematic cross-sectional view of the electronic device shown in fig. 1 along a P-P direction.
Fig. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a first application scene diagram of a preset object image displayed on a display screen in an embodiment of the present application.
Fig. 9 is a second application scene diagram of a preset object image displayed on a display screen in the embodiment of the present application.
Fig. 10 is a first flowchart of a sound emission control method of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 20 may be a smart phone, a tablet computer, a Personal Digital Assistant (PDA), or the like.
The electronic device 20 may include at least two speakers S1, S2, the speaker S1 and the speaker S2 are respectively disposed at opposite edges of the electronic device, and the edge of the electronic device may be understood as a position of a frame of the electronic device, or a position close to the frame of the electronic device, such as a position of an edge of a display screen, wherein the electronic device may include four sides, including a pair of long sides and a pair of short sides, and exemplarily, the speaker S1 and the speaker S2 may be respectively disposed at a pair of short sides of the electronic device, that is, the speaker S1 and the speaker S2 are oppositely disposed.
In some embodiments, the speaker may be constructed from a single piezoelectric ceramic body made of a ceramic material. The piezoelectric ceramic single body can convert mechanical energy and electric energy into each other, and when the piezoelectric ceramic single body converts electric energy into mechanical energy, the piezoelectric ceramic single body can output a sound signal, and at this time, the piezoelectric ceramic single body can be used as a receiver or a loudspeaker of the electronic device 20; when the piezoelectric ceramic single body converts mechanical energy into electrical energy, the piezoelectric ceramic single body may collect a sound signal, and at this time, the piezoelectric ceramic single body may serve as a microphone of the electronic device 20.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a piezoelectric ceramic single body of a speaker in the electronic device shown in fig. 1. The shape of the piezoelectric ceramic single body may be a regular shape, for example, the piezoelectric ceramic single body may have a rectangular structure, a rounded rectangular structure, a circular structure, or the like. The piezoelectric ceramic monolith may be irregularly shaped.
The single piezoelectric ceramic may include a first piezoelectric ceramic sheet 210, a diaphragm 220, and a second piezoelectric ceramic sheet 230, which are stacked. The first piezoceramic sheet 210 and the second piezoceramic sheet 230 are conductors and may be used to conduct current. Diaphragm 220 is a non-conductor and may not be used to conduct current.
The size of the diaphragm 220 is larger than the size of the first piezoceramic sheet 210 and the second piezoceramic sheet 230. The diaphragm 220 may include a first region 221 and a second region 222, the second region 222 being disposed at a periphery of the first region 221. For example, the second region 222 may be disposed around the periphery of the first region 221. Wherein the first piezoceramic sheet 210 and the second piezoceramic sheet 230 are arranged in the first zone 221 such that the second zone 222 is exposed.
The first piezoelectric ceramic plate 210 and the second piezoelectric ceramic plate 230 are respectively electrically connected to an ac power source, such as the ac power source 400, for converting the electric energy output by the ac power source 400 into mechanical energy. The ac power source 400 is used to output an ac voltage, and the ac power source 400 may include a first electrode 410 and a second electrode 420 having different potential values.
The first piezoceramic wafer 210 has a first end surface and a second end surface opposite to the first end surface, wherein the first end surface is a surface away from the diaphragm 220, and the second end surface is a surface connected to the first region 221. The first end face is electrically connected to the first electrode 410 of the ac power source 400, and the second end face is electrically connected to the second electrode 420 of the ac power source 400.
The second piezoceramic sheet 230 has a third end face and a fourth end face opposite to the third end face, wherein the third end face is connected to the first region 221, and the fourth end face is away from the diaphragm 220. The third end surface is electrically connected to the second electrode 420 of the ac power supply 400, and the fourth end surface is electrically connected to the first electrode 420 of the ac power supply 400.
As shown in fig. 3 and 4, fig. 3 is a schematic structural view of the piezoelectric ceramic single body shown in fig. 2 in a first bending state, and fig. 4 is a schematic structural view of the piezoelectric ceramic single body shown in fig. 2 in a second bending state.
The alternating voltage direction of the alternating current power supply 400 may change with time along with the direction, the piezoelectric ceramic single body may perform a deformation motion along with the alternating change of the alternating voltage direction, and the deformation motion of the piezoelectric ceramic single body may cause ambient air to flow, thereby making a sound.
For example, as shown in fig. 3, when the alternating voltage direction of the ac power supply 400 is output from the first electrode 410 and returns to the second electrode 420, at this time, under the action of the electric field, the first piezoelectric ceramic piece 210 and the second piezoelectric ceramic piece 230 polarize the respective polarization vectors of the original disorientation along the preferred orientation of the electric field direction, because the direction of the external electric field of the first piezoelectric ceramic piece 210 is opposite to the direction of the external electric field of the second piezoelectric ceramic piece 230, the polarization direction of the first piezoelectric ceramic piece 210 is opposite to the polarization direction of the second piezoelectric ceramic piece 230, the polarization direction of the first piezoelectric ceramic piece 210 is the same as the voltage direction of the ac power supply 400, and the first piezoelectric ceramic piece 210 is elongated, so that the first piezoelectric ceramic piece 210 is bent toward the diaphragm 220; the polarization direction of the second piezoceramic wafer 230 is opposite to the voltage direction of the ac power supply 400, and the second piezoceramic wafer 230 is shortened, so that the second piezoceramic wafer 210 bends in the direction away from the diaphragm 220, and the diaphragm 220 also deforms under the action of the first piezoceramic wafer 210 and the second piezoceramic wafer, so that the piezoceramic monomers assume the first bending state.
As shown in fig. 4, when the alternating voltage direction of the ac power source 400 is output from the second electrode 420 and returns to the first electrode 410, the polarization direction of the first piezoceramic sheet 210 is opposite to the voltage direction of the ac power source 400, the first piezoceramic sheet 210 is shortened, the first piezoceramic sheet 210 is bent in the direction away from the diaphragm 220, the second piezoceramic sheet 230 is extended, the second piezoceramic sheet 210 is bent in the direction toward the diaphragm 220, and the diaphragm 220 is also deformed under the action of the first piezoceramic sheet 210 and the second piezoceramic sheet, so that the piezoceramic single body assumes the second bending state.
The electronic device 20 may control the alternating voltage of the alternating current power source 400 to switch the piezoelectric ceramic single body between the first bending state and the second bending state, so as to control the piezoelectric ceramic single body to perform the deformation motion.
Wherein, the deformation amplitude of the piezoelectric ceramic monomer can be related to the voltage amplitude of the alternating voltage. For example, the deformation amplitude of the piezoelectric ceramic body can be proportional to the voltage amplitude of the alternating voltage. When the electronic device 20 controls the voltage amplitude of the alternating voltage of the alternating power supply 400 to increase, the deformation amplitude of the piezoelectric ceramic monomer is increased, so that stronger air fluctuation can be driven to form larger volume, and further the loudness of the audio signal is increased. Of course, the deformation amplitude of the piezoelectric ceramic single body may be inversely proportional to the voltage amplitude of the alternating voltage, and at this time, the electronic device 20 may increase the deformation amplitude of the piezoelectric ceramic single body by decreasing the voltage amplitude of the alternating voltage.
In the embodiment of the application, the first piezoelectric ceramic piece 210 and the second piezoelectric ceramic piece 230 are arranged in the first area 221, so that the second area 222 of the diaphragm 220 is exposed outside, the first area 221 is deformed by the acting force applied by the first piezoelectric ceramic piece 210 and the second piezoelectric ceramic piece 230, and the second area 222 keeps the original state without the action of external force, so that the deformation amplitude of the diaphragm 220 can be increased compared with the second area 222 without being exposed.
It should be noted that the piezoelectric ceramic unit may also include only the first piezoelectric ceramic piece 210 and the diaphragm 220, and the first piezoelectric ceramic piece 210 may drive the diaphragm 210 to deform. Of course, the single piezoelectric ceramic may also include a plurality of first piezoelectric ceramic pieces 210 and/or a plurality of second piezoelectric ceramic pieces 230, and the number of the first piezoelectric ceramic pieces 210 and the number of the second piezoelectric ceramic pieces 220 may be set according to practical situations, which is not limited in this embodiment of the application.
Referring to fig. 1, the piezoelectric ceramic unit constituting the speaker may be disposed on the display screen of the electronic device, may be disposed on the housing of the electronic device, or may be disposed on the display screen and partially disposed on the housing. For example, the at least two speakers may be disposed entirely on a display screen such as the display screen 600, entirely on a housing such as the housing 900, partially on the display screen 600, and partially on the housing 900.
Referring to fig. 5, fig. 5 is a first cross-sectional view of the electronic device shown in fig. 1 along a P-P direction. The electronic device 20 may be in a regular shape, such as a rectangular parallelepiped structure or a rounded rectangular structure, and the electronic device 20 has four sides and four connecting portions, two adjacent sides are connected by one connecting portion, and one connecting portion connects the two sides to form one corner portion.
The display screen 600 may have a display surface and a non-display surface opposite to each other, the two piezoelectric ceramic units are disposed on the non-display surface of the display screen 600, and the fixing manner may be implemented by bonding. For example, glue may be coated on a first end surface of the first piezoceramic sheet 210, and the first end surface of the first piezoceramic sheet 210 is attached to the non-display surface of the display screen 600. A first gap 820 is left between the first end surface of the first piezoelectric ceramic piece 210 and the non-display surface, and the first gap 820 may provide a deformation space for the piezoelectric ceramic unit 200, so that the piezoelectric ceramic unit may be bent toward the non-display surface or may be bent away from the non-display surface. In some embodiments, the glue may be coated on a second region of the diaphragm 220, the second region is adhered to the non-display surface of the display screen 600, and the first piezoelectric ceramic sheet 210 abuts against the non-display surface, so as to fix the piezoelectric ceramic unit 200, and enable the first piezoelectric ceramic sheet 210 to bend freely, and only fix two sides of the diaphragm 220, and also increase the bending amplitude of the diaphragm 220 when the diaphragm 220 is under the action of the piezoelectric ceramic sheet.
Alternatively, the gap may not be provided between the non-display surface of the display screen 600 and the single piezoelectric ceramic body in the embodiment of the above application. For example, the piezoelectric ceramic single body may be directly fixed to the non-display surface of the display screen 600, and the fixing manner may be implemented by using an adhesive manner. For example, glue may be coated on a first end surface of the first piezoceramic sheet 210, and the first end surface of the first piezoceramic sheet 210 is attached to the non-display surface of the display screen 600. When the single piezoelectric ceramic 200 is bent toward the non-display surface of the display screen 600, the display screen 600 may be driven to bend toward the outside, and at this time, the bending state of the display screen 600 is the same as the first bending state of the single piezoelectric ceramic; when the single piezoelectric ceramic body is bent toward the non-display surface away from the display screen 600, the display screen 600 may be driven to be bent toward the outside, and at this time, the bent state of the display screen 600 is the same as the second bent state of the single piezoelectric ceramic body 200. The piezoelectric ceramic single bodies can drive the display screen 600 to be switched in different bending states under the alternating change of the direction of the output voltage of the alternating current power supply 400, so that the air around the display screen 600 flows and makes a sound. The piezoelectric ceramic single bodies 200 at different positions can drive different positions of the display screen 600 to vibrate, so that the sound of the electronic device 20 is emitted from different positions of the display screen 600, and when a plurality of positions emit sound together, a stereo effect can be created.
In some embodiments, the display screen 600 may be made of a flexible material, which may increase the bending amplitude of the display screen 600 under the same driving force, thereby enhancing the sound production effect of the display screen 600.
With continued reference to fig. 1, the electronic device 20 may further include a housing, such as housing 900, with the display screen 400 mounted on the housing 900. The housing 900 may be formed from plastic, glass, ceramic, fiber composite, metal (e.g., stainless steel, aluminum, etc.), other suitable materials, or a combination of any two or more of these materials. The housing 900 has an inner surface and an outer surface, wherein the inner surface may be a surface on which the components of the electronic device 20 are mounted, and the outer surface may be located outside the electronic device 20. For example, the outer surface of the housing 900 is visible to a user and the inner surface of the substrate 900 is not visible to the user.
Alternatively, as shown in fig. 6, fig. 6 is a schematic cross-sectional view of the electronic device shown in fig. 1 along a P-P direction. The piezoelectric ceramic single body 200 of the above-mentioned application embodiment may also be directly fixed to the inner surface of the housing 900, and may be implemented by using an adhesive. For example, the fourth end surface of the second piezoceramic sheet 230 may be directly bonded to the inner surface of the housing 900. Similarly, a second gap 840 is left between the fourth end surface and the inner surface of the second piezoceramic sheet 220, and the second gap 840 may provide a deformation space for the single piezoceramic cell 200, so that the single piezoceramic cell 200 may be bent towards the inner surface or away from the inner surface. In some embodiments, glue may be coated on the second region of the diaphragm 220, the second region is adhered to the inner surface of the casing 900, and the second piezoceramic sheet 230 abuts against the inner surface, so that the single piezoceramic sheet may be fixed, the second piezoceramic sheet 230 may be freely bent, only the two sides of the diaphragm 220 may be fixed, and the bending amplitude of the diaphragm 220 may be increased when the diaphragm 220 is under the action of the piezoceramic sheet.
The housing 900 may include a substrate that may serve as a carrier for the functional components of the electronic device 20. For example, the substrate may carry a circuit board, a camera, a piezoelectric ceramic monolith, etc. of the electronic device 20. In some embodiments, the substrate may include an inner surface and an outer surface, and the inner surface of the substrate and the outer surface of the substrate may be disposed opposite each other. Wherein the inner surface of the substrate may be the side on which the components of the electronic device 20 are mounted, and wherein the outer surface of the substrate may be located outside the electronic device 20. For example, the outer surface of the substrate is the side visible to the user and the inner surface of the substrate is the side not visible to the user.
The housing 200 may include a frame disposed on an inner surface of the substrate and surrounding a periphery of the substrate, and the frame may form a receiving space on the substrate to receive components of the electronic device 20. In some embodiments, the bezel and the substrate may be integrally formed, such as by injection molding. Wherein, at least two piezoelectric ceramic monomers can set up on the frame of casing 900, can set up out the sound hole on the frame, and the sound that piezoelectric ceramic monomer sent is transmitted to the external world through going out the sound hole.
Referring to fig. 7, fig. 7 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
The electronic device 20 comprises four corners, the electronic device comprises four speakers, the four speakers are respectively arranged at the four corners of the electronic device at intervals, the electronic device is provided with four sides and four connecting parts, two adjacent sides are connected through one connecting part, one connecting part is connected with two sides to form one corner, the electronic device further comprises a first power amplifier PA1, a second power amplifier PA2, a third power amplifier PA3 and a fourth power amplifier PA4, the electronic device further comprises a signal source BB, the four power amplifiers are all connected with the signal source BB, and the signal source BB is used for generating sound signals and transmitting the sound signals to different power amplifiers. Different power amplifiers are connected to different speakers, e.g. a first speaker S1 is connected to a first power amplifier PA1, a second speaker S2 is connected to a second power amplifier PA2, a third speaker S3 is connected to a third power amplifier PA3, and a fourth speaker S4 is connected to a fourth power amplifier PA 4.
The power amplifier can be an intelligent power amplifier, the intelligent power amplifier can dynamically track the state of the loudspeaker according to the feedback of the output signal and sense the change of the environment where the loudspeaker is located, the adjustment of volume, gain, sound effect and the like is made after the adjustment, the dynamic range of sound output can be improved, the higher quality of output sound brought to the electronic equipment can be achieved, and the average volume of music can be improved on the premise that the bearing capacity of the loudspeaker is not exceeded.
The electronic device 20 may further incorporate a processor, a memory, etc., wherein the processor may be used to process various operations of the electronic device 20, and the processor is electrically connected to the display screen 600 and the speaker, respectively.
The display screen 600 may be used to display multiple frames of images, and the multiple frames of images may be sequentially displayed on the display area 620 of the display screen 600 in the playing order. The multi-frame image may include a preset object image whose position on the display area changes as the playing sequence advances, such as a running car, a willow branch that moves with the wind, a running lion, a walking robot, a person who swings arms, and the like. It should be noted that the preset object image may be a preset image, such as an image of a movable object, such as a vehicle, a person, a robot, an animal, and the like, and is not limited to the above-mentioned exemplary object.
The processor is a control center of the electronic device 20, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device 20 and processes data by running or loading a computer program stored in a memory and calling data stored in the memory, thereby integrally monitoring the electronic device 20. The processor may be configured to obtain two frames of preset object images displayed on the display screen 600; determining a first position and a second position of the preset object image on the display area 620 according to the two frames of the preset object image; determining position change information of the preset object image on the display screen 600 according to the first position and the second position; and controlling the change of the sound emitted by at least two loudspeakers according to the position change information.
It is understood that, during the display of the image on the display screen 600, the electronic device 20 may continuously acquire the preset object image displayed on the display screen and determine that the variation of the sound emitted by each speaker varies with the variation of the preset object image. The dynamic migration of the sound field of the electronic equipment is formed, so that a stereo effect that the sound moves along with the movement of the picture is created, and a user can be really immersed in the video and audio, thereby bringing the user with an immersive listening experience.
In some embodiments, the electronic device 20 may display the images on the display screen 600 in real time according to a preset sequence, which may be a sequence set by a producer of the multi-frame images, or a sequence set by the user himself.
The change of the sound emitted by the loudspeaker can comprise a change of the volume of the emitted sound, a change of the gain of the emitted sound, or a change of the sound effect of the emitted sound.
The embodiment of the application can be through setting up two speakers that set up at the relative edge of electronic equipment at least, predetermine the object image according to two frames with the display screen demonstration and obtain predetermineeing the position change information of object on the display screen, according to the change of position change information control speaker sound for the sound that the speaker sent changes along with predetermineeing the position of object image, and then improves electronic equipment's sound broadcast effect.
As shown in fig. 8, fig. 8 is a first application scene diagram of a preset object image displayed on a display screen in the embodiment of the present application. Illustratively, the number of the speakers is two, and the speakers are arranged at the edges of the electronic device which are oppositely arranged, and the processor can acquire two frames of preset object images displayed on the display screen; determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image; determining position change information of the preset object image on the display screen according to the first position and the second position; and controlling the change of the sound emitted by at least two loudspeakers according to the position change information.
For example, a frame of image at time t1 is obtained, a preset object image is displayed at a first position on the display screen 600 at time t1, a coordinate point of the first position is obtained, and a frame of image at time t2 is obtained, it is understood that after time t2 is t1, at time t2, the preset object image is displayed at a second position on the display screen 600, a coordinate point of the second position is obtained, and position change information of the preset object image in a time period t1 to t2 is obtained by the coordinate point of the second position and the coordinate point of the first position, wherein the position change information may include a moving direction and a position change amount of the preset object image, a position vector may be obtained from the first position coordinate and the second position coordinate, the direction of the position vector is the moving direction of the preset object image, and a modulus of the position vector is the position change amount of the preset object image, and determining a target loudspeaker according to the moving direction, and controlling the change of the sound emitted by the target loudspeaker according to the position change quantity, namely the sound emitted by the loudspeaker changes along with the change of the image position of the preset object.
For example, as shown in fig. 8, two frames of images corresponding to two times are obtained, coordinates of a first position of a bird in a first frame of image are obtained, coordinates of a second position of the bird in a second frame of image are obtained, a moving direction of the bird in the display screen and a position variation of the bird in the display screen are obtained according to the coordinates of the first position and the coordinates of the second position, wherein the moving direction of the bird points to the speaker S2, the speaker S2 is determined as a target speaker, and a volume, a gain or a sound effect of sound emitted by the speaker S2 is controlled according to the position variation of the bird.
In some embodiments, after determining the speaker S2 as the target speaker, a mapping parameter that is inversely related to the position change is obtained, for example, the bird position change is taken as a negative number, and the change of the volume, gain or sound effect of the sound emitted by other speakers is controlled according to the mapping parameter, i.e., when the bird flies from the first position to the second position, the bird approaches the speaker S2 and moves away from S1, the volume, gain or sound effect of the speaker S2 is increased according to the position change, and the volume, gain or sound effect of the speaker S1 is decreased according to the inversely related mapping parameter of the position change.
In some embodiments, a respective first distance between the first location and the different speaker and a respective second distance between the second location and the different speaker may also be obtained, for example, a first distance L1 between the first location and the speaker S1, a first distance L 'between the first location and the speaker S2, a second distance L2 between the second location and the speaker S1, and a second distance L2' between the second location and the speaker S2, a gain change of the corresponding speaker is determined according to a variation amount of the first distance and the second distance. For the speaker S1, the first distance L1 is subtracted from the second distance L2, if a positive number is obtained, it is proved that the preset object image is far from the speaker S1, the volume, gain or sound effect of the speaker S1 is reduced, taking the reduction of the gain of the speaker S1 as an example, the larger the value of the positive number is, the smaller the gain of the speaker S1 is, and correspondingly, for the speaker S2, the negative number is obtained by subtracting the first distance L1 'from the second distance L2', it is proved that the preset object image is close to the speaker S2, the volume, gain or sound effect of the speaker S2 is increased, and taking the increase of the gain of the speaker S2 as an example, the larger the value of the obtained negative number is, and the larger the gain of the speaker S2 is. It is understood that there are various ways to obtain the first distance and the second distance and control the speaker according to the first distance and the second distance, and this is not limited in this embodiment of the application.
In order to better enable the sound emitted by the speakers to change along with the position of the preset object image and further improve the sound playing effect of the electronic equipment, four speakers can be arranged on the electronic equipment.
As shown in fig. 9, fig. 9 is a second application scene diagram of a preset object image displayed on a display screen in the embodiment of the present application. Illustratively, the electronic device includes four corners, the electronic device includes a first speaker S1, a second speaker S2, a third speaker S3, and a fourth speaker S4, the four speakers are disposed at four corners of the electronic device at intervals, the processor is further configured to obtain two frames of preset object images displayed on the display screen, determine a first position and a second position of the preset object images on the display area according to the two frames of preset object images, determine position change information of the preset object images on the display screen according to the first position and the second position, and control a change of sound emitted by the four speakers according to the position change information.
For example, as shown in fig. 9, two frames of images corresponding to two moments are obtained, coordinates of a first position of a bird in a first frame of image are obtained, coordinates of a second position of the bird in a second frame of image are obtained, a moving direction of the bird in the display screen and a position variation of the bird in the display screen are obtained according to the coordinates of the first position and the coordinates of the second position, wherein the moving direction of the bird points to the speaker S3 and the speaker S4, the speaker S3 and the speaker S4 are determined as target speakers, a volume, a gain or a sound effect of sound emitted by the speaker S3 and the speaker S4 is increased according to the position variation of the bird, and accordingly, a mapping parameter negatively related to the position variation is obtained; the volume, gain or sound effect of the speaker S1 and the speaker S2 is reduced according to the mapping parameters.
In some embodiments, the position change information includes a direction vector obtained from the first position coordinate and the second position coordinate, where a direction of the direction vector is used to determine the target speaker, and a modulus of the direction vector is used to control a change of sound emitted by the target speaker.
In some embodiments, the position change information includes respective first distances between the first position and the four different speakers, and respective second distances between the second position and the four different speakers, the processor being further configured to determine a gain of the corresponding speaker based on an amount of change between the first distances and the second distances. Specifically, the processor may determine a value with a negative value from P, and P by measuring a distance between each speaker and a preset object image, for example, at time t, a first distance from the preset object image to the speaker S is d, at time t, a second distance from the preset object image to the speaker S is d ', d' is obtained by subtracting d, d 'from d, d' from d ', d is subtracted from d', and P, and P are obtained by subtracting d 'from d', and P 'from d', determining the corresponding speakers as the target speakers, for example, if the P3 and P4 values are negative numbers, it is proved that the preset image is approaching the speaker S3 and the speaker S4, and if the gains of the sound emitted from the speakers are increased, the gains of the speaker S3 and the speaker S4 are increased, and if the P1 and P2 values are positive numbers, it is proved that the preset image is moving away from the speaker S1 and the speaker S2, and the gains of the speaker S1 and the speaker S2 are decreased.
It can be understood that the distance between each speaker and the preset object image may be an actual distance between the speaker and the display position of the preset object image, or a distance between the projection of the speaker on the display screen and the display position of the preset object image. When the distance between the speaker and the preset object image is calculated, the distance between the center position of the speaker and the center position of the preset object image may be calculated, and the distance between the edge position of the speaker and the edge position of the preset object image may be calculated, as long as each speaker adopts the same metering method, which is not limited in the embodiment of the present application.
It should be noted that, controlling the volume, gain or sound effect of the speaker according to the position change information can be understood as continuously adjusting the sound signal to present a surround sound which changes with the screen of the display screen.
In addition, not shown in the figure, the electronic device may further include a control circuit, the control circuit may include an audio control sub-circuit, the audio control sub-circuit may be configured to control whether the piezoelectric ceramic unit vibrates, the vibration amplitude and the vibration frequency, the audio control sub-circuit may be electrically connected to the processor and the piezoelectric ceramic unit, the audio control sub-circuit may control whether the piezoelectric ceramic unit generates sound, the volume of the generated sound, the tone size and the like by controlling the vibration state of the piezoelectric ceramic unit, and the audio sub-control circuit may include a filter or a power amplifier.
Referring to fig. 10, fig. 10 is a schematic flow chart of a control method of an electronic device according to an embodiment of the present application, where the control method of the electronic device can be applied to the electronic device 20 according to the embodiment of the present application, and the control method of the electronic device includes:
101, acquiring two frames of preset object images displayed on the display screen;
when the electronic equipment is used for watching videos, the display area of the display screen can sequentially display target scene images according to the video playing sequence, and the electronic equipment can obtain two frames of preset object images containing preset objects from the target scene images. For example, the electronic device may acquire one frame of the preset object image by: the electronic device may acquire images displayed on the display area and recognize preset object images from the images, respectively.
The preset object image may be a preset image of an object, for example, if the preset object is a sports car, the preset object image is a sports car image, if the preset object is a bird, the preset object image is a bird image, and if the preset object is a robot, the preset object image is an image of the robot of the preset object image. The electronic device may acquire a preset object image in advance, and recognize the preset object image to obtain m key points. It should be noted that the preset object image may be one object or a plurality of objects, for example, the image of the sports car and the image of the bird may be set as the preset object image at the same time, which may be set according to the desired scene effect.
The preset object image can be recognized from the display image according to the m key points in the electronic device, for example, the electronic device may preset a feature recognition model, and the feature recognition model may perform feature recognition on the acquired image. For example, the electronic device may preset a convolutional neural network model, identify key points of a preset object image in the image by using the convolutional neural network model to obtain a plurality of feature values of the preset object image, and identify the preset object image from the image by using the plurality of feature values.
In addition, the content of the image displayed on the display screen is not particularly limited in this embodiment of the application, for example, the content of the image displayed on the display screen may be that a bird flies in grassland, that the bird flies on sea, that the bird flies on a mountain, or the like. The method of the embodiment of the application can be used in any scene needing to use the display screen for image display. For example, video playback is performed using video playback software, live broadcast is performed using live broadcast software, and the like.
102, determining a first position and a second position of a preset object image on a display area according to two frames of preset object images;
103, determining position change information of a preset object image on the display screen according to the first position and the second position;
the first position is a position where the preset object image is displayed at the first moment, the second position is a position where the preset object image is displayed at the second moment, and the position change information may include a displacement direction and a position change amount.
For example, one frame image at time t1 is acquired, at time t1, a preset object image is displayed at a first position on the display screen, a coordinate point of the first position is acquired, and one frame image at time t2 is acquired, it is understood that, after time t2 is t1, at time t2, the preset object image is displayed at a second position on the display screen, a coordinate point of the second position is acquired, obtaining the position change information of the preset object image in the time period of t1-t2 through the coordinate point of the second position and the coordinate point of the first position, wherein the position change information may include a moving direction and a position change amount of the preset object image, a position vector may be obtained according to the first position coordinate and the second position coordinate, the direction of the position vector is the moving direction of the preset object image, and the modulus of the position vector is the position variation of the preset object image.
And 104, controlling the change of the sound emitted by the at least two loudspeakers according to the position change information.
And determining a target loudspeaker according to the moving direction, and controlling the change of the sound emitted by the target loudspeaker according to the position change quantity, namely the sound emitted by the loudspeaker changes along with the change of the image position of the preset object.
For example, the change in the sound emitted from the speaker may be a change in the sound volume of the sound emitted from the speaker, a change in the gain of the sound emitted from the speaker, or a change in the sound effect of the sound emitted from the speaker.
In some embodiments, the electronic device includes four corners, the electronic device includes four speakers, the four speakers are respectively disposed at the four corners of the electronic device at intervals, and position change information of the preset object image on the display screen is determined according to the first position and the second position, the position change information includes a moving direction and a position change amount of the preset object image; determining two target loudspeakers from the four loudspeakers according to the moving direction; increasing the gain of the target speaker according to the position variation; acquiring a mapping parameter which is negatively related to the position variation; the gains of the other two loudspeakers are reduced according to the mapping parameters.
For example, two frames of images corresponding to two moments are acquired, the coordinate of the first position of the bird in the first frame of image is acquired, the coordinate of the second position of the bird in the second frame of image is acquired, the moving direction of the bird in the display screen and the position variation of the bird in the display screen are acquired according to the coordinate of the first position and the coordinate of the second position, wherein the moving direction of the bird points to the speaker S3 and the speaker S4, the speaker S3 and the speaker S4 are determined as target speakers, the volume, gain or sound effect of sound emitted by the speaker S3 and the speaker S4 is increased according to the position variation of the bird, and accordingly, mapping parameters negatively related to the position variation are acquired; the volume, gain or sound effect of the speaker S1 and the speaker S2 is reduced according to the mapping parameters.
In some embodiments, the position change information includes a direction vector obtained from the first position coordinate and the second position coordinate, where a direction of the direction vector is used to determine the target speaker, and a modulus of the direction vector is used to control a change of sound emitted by the target speaker.
In some embodiments, the position change information comprises respective first distances between the first position and the four different speakers, and respective second distances between the second position and the four different speakers; and determining the change of the sound emitted by the corresponding loudspeaker according to the change amount between the first distance and the second distance.
For example, the position change information includes respective first distances between the first position and four different speakers and respective second distances between the second position and the four different speakers, and the processor is further configured to determine the gain of the corresponding speaker according to an amount of change between the first distances and the second distances. Specifically, the processor may determine a value with a negative value from P, and P by measuring a distance between each speaker and a preset object image, for example, at time t, a first distance from the preset object image to the speaker S is d, at time t, a second distance from the preset object image to the speaker S is d ', d' is obtained by subtracting d, d 'from d, d' from d ', d is subtracted from d', and P, and P are obtained by subtracting d 'from d', and P 'from d', determining the corresponding speakers as the target speakers, for example, if the P3 and P4 values are negative numbers, it is proved that the preset image is approaching the speaker S3 and the speaker S4, and if the gains of the sound emitted from the speakers are increased, the gains of the speaker S3 and the speaker S4 are increased, and if the P1 and P2 values are positive numbers, it is proved that the preset image is moving away from the speaker S1 and the speaker S2, and the gains of the speaker S1 and the speaker S2 are decreased.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the method for controlling an electronic device in any of the above embodiments. Such as: acquiring two frames of preset object images displayed on the display screen; determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image; determining position change information of the preset object image on the display screen according to the first position and the second position; and controlling the change of the sound emitted by at least two loudspeakers according to the position change information.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the control method of the electronic device in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the control method of the electronic device in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of the electronic device, and executed by at least one processor in the electronic device, and the process of executing the computer program can include the process of the embodiment of the control method of the electronic device. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
The electronic device and the control method thereof provided by the embodiment of the application are described in detail above. The principles and implementations of the present application are described herein using specific examples, which are presented only to aid in understanding the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (13)

1. An electronic device, the electronic device comprising a smart phone, a tablet computer or a palm computer, comprising:
the display screen is used for displaying pictures;
the at least two loudspeakers are arranged on the opposite edges of the electronic equipment and comprise piezoelectric ceramic single bodies, and the piezoelectric ceramic single bodies are arranged on the non-display surface of the display screen;
the processor is respectively electrically connected with the display screen and the loudspeaker and is used for acquiring two frames of preset object images displayed on the display screen; determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image; determining position change information of the preset object image on the display screen according to the first position and the second position, wherein the position change information comprises a moving direction and a position change amount of the preset object image; and determining a target loudspeaker according to the moving direction, and controlling the change of the sound emitted by the target loudspeaker according to the position change amount.
2. The electronic device according to claim 1, wherein a volume of sound emitted from the target speaker is controlled in accordance with the position change amount.
3. The electronic device according to claim 1, wherein a gain of the sound emitted from the target speaker is controlled in accordance with the amount of positional change.
4. The electronic device of claim 3, wherein the processor is further configured to obtain a mapping parameter negatively correlated to the position variation amount according to the position variation amount after controlling the gain variation of the sound emitted by the target speaker according to the position variation amount; and controlling the gains of the sound emitted by other loudspeakers according to the mapping parameters.
5. The electronic device of claim 1, wherein the electronic device comprises four corners, the electronic device comprises four speakers, the four speakers are respectively disposed at intervals at the four corners of the electronic device, and the processor is further configured to control the variation of the sound emitted by the four speakers after determining the target speaker according to the moving direction.
6. The electronic device of claim 5, wherein the processor is further configured to determine two target speakers from the four speakers according to the moving direction when the target speakers are determined according to the moving direction; when the change of the sound emitted by the target speaker is controlled according to the position change amount: increasing the gain of the target speaker according to the position variation; acquiring a mapping parameter which is inversely related to the position variation; the gains of the other two loudspeakers are reduced according to the mapping parameters.
7. The electronic device of claim 5, wherein the position change information includes respective first distances between the first position and four different speakers and respective second distances between the second position and four different speakers, and wherein the processor is further configured to determine gains for the corresponding speakers according to amounts of change between the first distances and the second distances.
8. The electronic device of any of claims 1-7, wherein the speaker comprises a monolithic piezoelectric ceramic, the monolithic piezoelectric ceramic comprising a first piezoelectric ceramic, a diaphragm, and a second piezoelectric ceramic, the first piezoelectric ceramic, the diaphragm, and the second piezoelectric ceramic being stacked, the diaphragm comprising a first region and a second region, the second region being disposed at a periphery of the first region, the first piezoelectric ceramic and the second piezoelectric ceramic being disposed in the first region such that the second region is exposed.
9. The electronic device of claim 8, wherein the piezoelectric ceramic unit is configured to drive the display to vibrate so as to make the display generate sound.
10. The electronic device according to claim 8, further comprising a housing, wherein the piezoelectric ceramic single body is disposed on an inner surface of the housing, and the housing is provided with a sound outlet.
11. A control method of an electronic device, wherein the electronic device comprises a smart phone, a tablet computer or a palm computer, and the electronic device comprises a display screen for displaying pictures and at least two speakers arranged at opposite edges of the electronic device, wherein the speakers comprise a piezoelectric ceramic monomer arranged on a non-display surface of the display screen, and the method comprises the following steps:
acquiring two frames of preset object images displayed on the display screen;
determining a first position and a second position of the preset object image on the display area according to the two frames of the preset object image;
determining position change information of the preset object image on the display screen according to the first position and the second position, wherein the position change information comprises a moving direction and a position change amount of the preset object image;
and determining a target loudspeaker according to the moving direction, and controlling the change of the sound emitted by the target loudspeaker according to the position change amount.
12. The method according to claim 11, wherein the electronic device includes four corners, the electronic device includes four speakers, the four speakers are respectively provided at intervals at the four corners of the electronic device, the determining of the target speaker according to the moving direction, and the controlling of the change of the sound emitted from the target speaker according to the position change amount includes:
determining two target loudspeakers from the four loudspeakers according to the moving direction;
increasing the gain of the target speaker according to the position variation;
acquiring a mapping parameter which is inversely related to the position variation;
the gains of the other two loudspeakers are reduced according to the mapping parameters.
13. The method according to claim 11, wherein the electronic device includes four corners, the electronic device includes four speakers, the four speakers are respectively disposed at intervals at the four corners of the electronic device, and the determining the position change information of the preset object image on the display screen according to the first position and the second position includes:
the position change information comprises respective first distances between the first position and four different speakers and respective second distances between the second position and four different speakers;
the controlling the change of the sound emitted by the target speaker according to the position change amount includes:
and determining the gain of the corresponding loudspeaker according to the variation between the first distance and the second distance.
CN201910839090.6A 2019-09-05 2019-09-05 Electronic device and control method thereof Active CN110602316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910839090.6A CN110602316B (en) 2019-09-05 2019-09-05 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910839090.6A CN110602316B (en) 2019-09-05 2019-09-05 Electronic device and control method thereof

Publications (2)

Publication Number Publication Date
CN110602316A CN110602316A (en) 2019-12-20
CN110602316B true CN110602316B (en) 2021-04-13

Family

ID=68857804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910839090.6A Active CN110602316B (en) 2019-09-05 2019-09-05 Electronic device and control method thereof

Country Status (1)

Country Link
CN (1) CN110602316B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181962A (en) * 1994-12-22 1996-07-12 Hitachi Ltd Sound image localization method and sound image localization controller and video conference system
US6545699B2 (en) * 2000-05-26 2003-04-08 Nec Corporation Teleconferencing system, camera controller for a teleconferencing system, and camera control method for a teleconferencing system
CN1750605A (en) * 2004-09-14 2006-03-22 乐金电子(沈阳)有限公司 Image display device and its control method for control sound volume according to the position of speaker on picture
CN1984310A (en) * 2005-11-08 2007-06-20 Tcl通讯科技控股有限公司 Method and communication apparatus for reproducing a moving picture, and use in a videoconference system
CN101175337A (en) * 2006-10-23 2008-05-07 索尼株式会社 System, apparatus, method and program for controlling output
CN103634720A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Playing control method and electronic equipment
CN109302664A (en) * 2018-11-21 2019-02-01 京东方科技集团股份有限公司 Display screen and its sound output position control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181962A (en) * 1994-12-22 1996-07-12 Hitachi Ltd Sound image localization method and sound image localization controller and video conference system
US6545699B2 (en) * 2000-05-26 2003-04-08 Nec Corporation Teleconferencing system, camera controller for a teleconferencing system, and camera control method for a teleconferencing system
CN1750605A (en) * 2004-09-14 2006-03-22 乐金电子(沈阳)有限公司 Image display device and its control method for control sound volume according to the position of speaker on picture
CN1984310A (en) * 2005-11-08 2007-06-20 Tcl通讯科技控股有限公司 Method and communication apparatus for reproducing a moving picture, and use in a videoconference system
CN101175337A (en) * 2006-10-23 2008-05-07 索尼株式会社 System, apparatus, method and program for controlling output
CN103634720A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Playing control method and electronic equipment
CN109302664A (en) * 2018-11-21 2019-02-01 京东方科技集团股份有限公司 Display screen and its sound output position control method and device

Also Published As

Publication number Publication date
CN110602316A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN106576207B (en) High aspect ratio Microspeaker with biplane suspension
US20050025330A1 (en) Sound reproduction device and portable terminal apparatus
CN111669689B (en) Screen sounding device, screen sounding method, computer equipment and medium
US10425740B2 (en) Vibration output apparatus and portable electronic device comprising vibration output apparatus
US20190058955A1 (en) An acoustic apparatus and associated methods
CN102687532B (en) Electroacoustic transducer, electronic installation, electroacoustic alternative approach and sound wave output intent
CN110572502B (en) Electronic equipment and sound production control method thereof
CN110572760B (en) Electronic device and control method thereof
US9241123B2 (en) Electronic device
CN110572759B (en) Electronic device
US8670580B2 (en) Electronic device
CN112616108B (en) Audio output method, device, system, storage medium and electronic equipment
CN110602316B (en) Electronic device and control method thereof
WO2024037183A1 (en) Audio output method, electronic device and computer-readable storage medium
CN110581911B (en) Electronic device and voice control method
CN207460268U (en) Mobile terminal
JP5865774B2 (en) Electronic device, control method, and control program
KR20160074813A (en) All-In-One Device
JP2019071525A (en) Acoustic device and acoustic system to which the acoustic device is attached
CN110475189B (en) Sound production control method and electronic equipment
CN206908831U (en) Loudspeaker monomer and electronic equipment
CN212278455U (en) Audio output module and electronic equipment
CN107124683A (en) Loudspeaker monomer and electronic equipment
CN113891220B (en) Vibration system, loudspeaker and terminal
CN209748810U (en) Audio device and electronic equipment

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