CN111078178B - Method, device, equipment and storage medium for determining bending angle - Google Patents
Method, device, equipment and storage medium for determining bending angle Download PDFInfo
- Publication number
- CN111078178B CN111078178B CN201811223310.4A CN201811223310A CN111078178B CN 111078178 B CN111078178 B CN 111078178B CN 201811223310 A CN201811223310 A CN 201811223310A CN 111078178 B CN111078178 B CN 111078178B
- Authority
- CN
- China
- Prior art keywords
- display screen
- sound signal
- determining
- bending angle
- distance
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1626—Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1688—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being integrated loudspeakers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
The application provides a method, a device, equipment and a storage medium for determining a bending angle, wherein the method can comprise the steps of controlling a sound generating unit positioned at the top of a display screen to emit a preset sound signal; detecting sound signals received by a receiving unit positioned at the bottom of the display screen; and determining the bending angle of the display screen according to the received sound signal. The application can improve the accuracy of determining the bending angle.
Description
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining a bending angle.
Background
With the development of mobile terminal technology, the display screen of the terminal device is also called as a screen which is larger and larger to display more contents, so that richer operations can be conveniently executed. As the display screen increases, portability of its terminal device is inevitably affected. Foldable display screens are becoming increasingly popular for ensuring the display area of the display screen and portability of the terminal device.
A terminal device having a foldable display screen may be referred to as a foldable terminal device, for which the bending angle of the display screen is particularly important in order to ensure the display of the display screen and the like. At present, a magneto-sensitive sensor is arranged in a display screen, and the magneto-sensitive sensor is used for determining the magnetic field change between two parts of the display screen after bending and a magnet embedded by a rotating device, so as to determine the bending angle of the display screen.
However, the terminal equipment belongs to equipment with complex electromagnetic environment, and magnetic field can be generated by current, so that the terminal equipment can be interfered by magnetic fields of other devices in the mode, and the determined bending angle is not accurate enough.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for determining a bending angle, so as to improve the accuracy of determining the bending angle.
In a first aspect, the present application provides a method for determining a bending angle, the method being applied to a foldable terminal device; in the foldable terminal equipment, a sound generating unit is arranged at the top of a display screen, a receiving unit is arranged at the bottom of the display screen, and a rotating device is arranged at the back of the display screen; the rotating device is used for bending the display screen along the rotating device; the method comprises the following steps:
controlling the sounding unit to emit a preset sound signal;
detecting the sound signal received by the receiving unit;
and determining the bending angle of the display screen according to the received sound signal.
Optionally, the determining, according to the received sound signal, a bending angle of the display screen includes:
determining a first distance between the sound generating unit and the receiving unit according to the received sound signal;
and determining the bending angle of the display screen according to a preset second distance between the sounding unit and the rotating device, a preset third distance between the receiving unit and the rotating device and the first distance.
Optionally, the sound signal sent by the sound generating unit is a sound signal with a preset frequency;
the determining, according to the received sound signal, a first distance between the sound generating unit and the receiving unit includes:
and determining the first distance according to the received frequency domain information of the sound signal and the preset frequency.
Optionally, the determining the first distance according to the received frequency domain information of the sound signal and the preset frequency includes:
and determining the first distance according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal and the preset frequency.
Optionally, the sound generating unit is: an earpiece, speaker or ultrasonic generator; the receiving unit is a microphone.
In a second aspect, the present application may also provide a determining device of a bending angle, the determining device being applied to a foldable terminal device; in the foldable terminal equipment, a sound generating unit is arranged at the top of a display screen, a receiving unit is arranged at the bottom of the display screen, and a rotating device is arranged at the back of the display screen; the rotating device is used for bending the display screen along the rotating device; the determining device includes:
the control module is used for controlling the sounding unit to emit a preset sound signal;
the detection module is used for detecting the sound signal received by the receiving unit;
and the determining module is used for determining the bending angle of the display screen according to the received sound signal.
Optionally, the determining module is specifically configured to determine, according to the received sound signal, a first distance between the sound generating unit and the receiving unit; and determining the bending angle of the display screen according to a preset second distance between the sounding unit and the rotating device, a preset third distance between the receiving unit and the rotating device and the first distance.
Optionally, the sound signal sent by the sound generating unit is a sound signal with a preset frequency;
the determining module is specifically configured to determine the first distance according to the received frequency domain information of the sound signal and the preset frequency.
Optionally, the determining module is specifically configured to determine the first distance according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal, and the preset frequency.
In a third aspect, the present application may also provide a foldable terminal device, comprising: the display screen, the sounding unit positioned at the top of the display screen, the receiving unit positioned at the bottom of the display screen, the rotating device positioned at the back of the display screen, the processor and the memory; the rotating device is used for bending the display screen along the rotating device; the processor is respectively connected with the sounding unit and the receiving unit; the processor is also connected with the memory;
the memory is used for storing program instructions;
the processor is configured to implement the method for determining a bending angle according to any one of the first aspect when the program instructions are executed.
In a fourth aspect, the present application may also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for determining a bending angle according to any one of the first aspects.
The application provides a method, a device, equipment and a storage medium for determining a bending angle, which can control a sounding unit positioned at the top of a display screen to emit a preset sound signal and detect the sound signal received by a receiving unit positioned at the bottom of the display screen, so that the bending angle of the display screen can be determined according to the received sound signal. According to the method, the bending angle of the display screen can be determined based on the sound signal, additional components such as a magneto-dependent sensor and a magnet are not needed to be added, interference of electromagnetic fields such as terminal equipment charging or an antenna is avoided, and accuracy of determining the bending angle is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a foldable terminal device in an unfolded state according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a foldable terminal device in a bending state according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for determining a bending angle according to an embodiment of the present application;
FIG. 4 is a second flowchart of a method for determining a bending angle according to an embodiment of the present application;
FIG. 5 is a graph showing a propagation distance of an acoustic signal and a sound pressure level according to an embodiment of the present application;
FIG. 6 is a device for determining a bending angle according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a foldable terminal device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "first," "second," and "third," etc. in the various portions and figures of the embodiments of the present application are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method flowcharts of the following embodiments of the present application are merely exemplary and do not necessarily include all of the content and steps nor must they be performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The functional blocks in the block diagrams according to the embodiments of the present application are merely functional entities, and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processors and/or microcontrollers.
The method, the device and the storage medium for determining the bending angle according to the embodiment of the application are applicable to foldable terminal equipment, namely terminal equipment comprising a foldable display screen. The foldable display may be a flexible display. The foldable terminal equipment increases the display range of the display screen because the display screen is foldable, and the portability of the terminal equipment can be ensured. As follows, an example of a terminal device according to the present application will be described. Fig. 1 is a schematic structural diagram of a foldable terminal device in an unfolded state according to an embodiment of the present application. As shown in fig. 1, in the foldable terminal device 10, a sound generating unit 12 is provided on the top of a display screen 11, a receiving unit 13 is provided on the bottom of the display screen 11, and a rotating means 14 is provided on the back of the display screen 11. The display screen 11 may be a flexible display screen, the sound generating unit 12 may be a linear acoustic generating unit, for example, an earphone, a speaker or an ultrasonic generator, and the sound generating unit 12 is not limited to the earphone, the speaker or the ultrasonic generator, but may be other linear acoustic generating units, which will not be described herein. The receiving unit 13 may be a Microphone (MIC). The rotating means 14 may comprise: a rotating shaft. The sound generating unit 12 may be located in the foldable terminal device 10 on top of the display screen 11. The receiving unit 13 may be located in the foldable terminal device 10 at the bottom of the display screen 11. The rotating means 14 may be located in the foldable terminal device 10 on the back of the display screen 11, i.e. on the side facing away from the display screen 11. The rotating means 14 may be located in the foldable terminal device 10, in a central back position of the display screen 11, or in other back positions. The rotation means 13 may cause the display 11, back plate, housing, etc. of the foldable terminal device 10 to be bent along the rotation means 14. The rotating means 14 located at the back of the display 11 in the terminal device may cause the display 11 to be divided into an upper screen and a lower screen. The upper screen is a portion of the display screen 11 near the sound generating unit 12, and the lower screen is a portion of the display screen 11 near the receiving unit 13. In the foldable terminal device 10 in the unfolded state, the upper screen and the lower screen are located on the same plane.
Fig. 2 is a schematic structural diagram of a foldable terminal device in a bent state according to an embodiment of the present application. As shown in fig. 2, the foldable terminal device 10 is folded along the rotating device 14, so that the display screen 11 has a folding angle a, which is an included angle between the upper screen and the lower screen of the display screen 11. The method provided by the embodiment of the application aims at determining the bending angle A.
The method, the device, the equipment and the storage medium for determining the bending angle provided by the embodiment of the application are described below with reference to a plurality of examples.
Fig. 3 is a flowchart of a method for determining a bending angle according to an embodiment of the present application. The method for determining the bending angle can be realized by the foldable terminal device in a software and/or hardware mode. As shown in fig. 3, the method for determining the bending angle according to the present embodiment may include the following steps:
s301, controlling the sounding unit to emit a preset sound signal.
In one implementation, the sound generating unit may be controlled to generate the preset sound signal according to a preset period. In another implementation, before the controlling the sound generating unit to generate the preset sound signal in S301 is performed, whether the display screen is in a bent state may be detected. When the display screen is detected to be in a bending state, the sounding unit is controlled to emit a preset sound signal. If the display screen is detected to be in a non-bending state, namely in an unfolding state, the sounding unit is not required to be controlled to emit a preset sound signal.
The display screen can be determined whether to be in a bending state or not by detecting the state of the rotating device or the state of the corresponding position of the rotating device in the display screen.
When the display screen is in a bending state, the sounding unit is controlled to emit a preset sound signal, so that unnecessary operation can be reduced, and the power consumption of equipment can be reduced.
It should be noted that, in the method, the sound generating unit may be controlled to generate the preset sound signal under other status conditions, which are only some possible examples and are not described herein.
S302, detecting the sound signal received by the receiving unit.
When the sounding unit sends out the preset sound signal, the receiving unit receives the sound signal. The sound signal received by the receiving unit is detected to determine an audio parameter or the like of the received sound signal.
S303, determining the bending angle of the display screen according to the received sound signal.
The display screen is bent along the rotating device, so that the distance between the sounding unit and the receiving unit is changed, the received sound signals are changed, the bending angles are different, and the change of the sound signals is also different. In this embodiment, the bending angle of the display screen can be accurately determined according to the received sound signal and the emitted sound signal.
According to the method for determining the bending angle, provided by the embodiment of the application, the sounding unit at the top of the display screen can be controlled to emit the preset sound signal, and the sound signal received by the receiving unit at the bottom of the display screen is detected, so that the bending angle of the display screen can be determined according to the received sound signal. According to the method, the bending angle of the display screen can be determined based on the sound signal, additional components such as a magneto-dependent sensor and a magnet are not needed to be added, interference of electromagnetic fields such as terminal equipment charging or an antenna is avoided, and accuracy of determining the bending angle is improved.
On the basis of the method shown in the embodiment, the embodiment of the application can also provide a method for determining the bending angle. Fig. 4 is a flowchart two of a method for determining a bending angle according to an embodiment of the present application. As shown in fig. 4, in S303, determining a bending angle of the display screen according to the received sound signal includes:
s401, determining a first distance between the sounding unit and the receiving unit according to the received sound signal.
In the method, the propagation distance of the sound signal, that is, the first distance between the sound generating unit and the receiving unit, can be determined according to the received sound signal by the relation between the sound signal and the distance.
Optionally, the sound signal emitted by the sound generating unit is a sound signal with a preset frequency.
In the method, the sound signal with the preset frequency can be sent out by the sound generating unit, so that when the receiving unit receives the sound signal, other sound signals beyond the preset frequency can be filtered. The interference of other sound signals is avoided, so that the accuracy of determining the bending angle can be ensured.
Optionally, determining the first distance between the sound generating unit and the receiving unit according to the received sound signal in S401 as shown above may include:
and determining the first distance according to the received frequency domain information of the sound signal and the preset frequency.
After the receiving unit receives the sound signal, the frequency domain information of the received sound signal can be obtained by detecting the received sound signal and performing frequency spectrum analysis on the received sound signal, so that the first distance is determined according to the frequency domain information of the received sound signal and the preset frequency.
According to the method, the sound signal with the preset frequency can be sent out through the sound generating unit, the first distance is determined according to the received frequency domain information of the sound signal and the preset frequency, and the first distance is more accurate due to the fact that interference of other sound signals is avoided, so that the accuracy of determining the bending angle can be guaranteed.
Optionally, determining the first distance according to the received frequency domain information of the sound signal and the preset frequency as described above may include:
and determining the first distance according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal and the preset frequency.
The sound pressure parameter of the received sound signal may be used to represent the magnitude, power, etc. of the received sound signal, and the sound pressure parameter may be a sound pressure level parameter. When the receiving unit receives the sound signal, the sound pressure parameter, such as the sound pressure level parameter, of the received sound signal can be obtained by detecting the received sound signal and calculating the sound pressure parameter of the received sound signal.
Because the sound signal propagates in the air and is spread outwards in a spherical shape with the sound source as the center, the farther the sound source is from, the smaller the sound pressure level of the received sound signal is. There may be a relationship as shown in the following formula (1) between the sound pressure level Lp1 at the position where r1 is located and the sound pressure level Lp2 at the position where r2 is located.
Lp 1-Lp2=20lg (r 2/r 1) formula (1)
If the distance of the sound source at the position where r1 is located is twice that of the sound source at the position where r2 is located, namelyThe difference between the sound pressure levels Lp1 and Lp2 at the positions where r1 and r2 are located can be shown as the following formula (2).
Thus, it can be seen that the sound propagation distance is doubled and the sound pressure level can be reduced by 6dB.
Fig. 5 is a graph of a propagation distance of an acoustic signal versus a sound pressure level according to an embodiment of the present application. As can be seen from fig. 5, there may be a relationship between the propagation distance r of the sound signal and the sound pressure level a as shown in the following formula (3).
As can be seen from fig. 5, the sound pressure level a and the propagation distance of the sound signalThe two are in direct proportion.
The volume of the foldable terminal device according to the present application is generally relatively small, and therefore, the amplitude of the sound signal is small. Thus, the above formula (1), formula (2) and formula (3) may be formulas in the linear acoustic field.
According to the method, the sound signal with the preset frequency can be sent out through the sound generating unit, the first distance is determined according to the received frequency domain information of the sound signal, the sound pressure parameter of the received sound signal and the preset frequency, and as interference of other sound signals is avoided, and the sound pressure parameter used for representing the sound size is also referred to, the first distance can be more accurate, and therefore the determination accuracy of the bending angle can be ensured.
S402, determining the bending angle of the display screen according to a preset second distance between the sounding unit and the rotating device, a preset third distance between the receiving unit and the rotating device and the first distance.
With continued reference to fig. 2, as can be seen from fig. 2, in the foldable terminal device in the folded state, the sound generating unit 12, the receiving unit 13 and the rotating device 14 may form a triangle or a triangle-like shape.
The first distance may be a distance a of the sound generating unit 12 from the receiving unit 13 shown in fig. 2. The second distance is a distance c of the sound generating unit 12 from the rotating device 14 shown in fig. 2, and the third distance may be a distance b of the receiving unit 13 from the rotating device 14 shown in fig. 2.
The second distance c and the third distance b may be determined by information such as the assembly positions of the sound generating unit, the rotating device, and the receiving unit 13 in the foldable terminal device, and are predetermined fixed distances, and will not change during the bending process. The first distance a can be changed along with the change of the bending angle in the bending process.
Therefore, in the method, the bending angle a of the display screen can be determined according to the preset second distance c, the third distance b and the first distance a by adopting the following formula (4) or the disclosure (5).
Of course, in the process of determining the first distance, other formulas may be used, and other parameters may be combined to determine the first distance, which is not limited to the above-mentioned example, and will not be described herein.
According to the method, the first distance between the sounding unit and the receiving unit can be determined according to the received sound signal, and the bending angle of the display screen can be accurately determined according to the preset second distance between the sounding unit and the rotating device, the preset third distance between the receiving unit and the rotating device and the preset first distance, so that no additional components such as a magneto-sensitive sensor and a magnet are required to be added, the interference of electromagnetic fields such as charging of terminal equipment or an antenna is avoided, and the accuracy of determining the bending angle is improved.
The following are embodiments of the apparatus, device and storage medium of the present application, which may be used to perform the above-described method embodiments of the present application, and achieve similar principles and technical effects.
Fig. 6 is a device for determining a bending angle according to an embodiment of the present application. The bending angle determining device is applied to foldable terminal equipment; in the foldable terminal equipment, a sound generating unit is arranged at the top of a display screen, a receiving unit is arranged at the bottom of the display screen, and a rotating device is arranged at the back of the display screen; the rotating device is used for bending the display screen along the rotating device. As shown in fig. 6, the bending angle determining device 60 may include:
a control module 61 for controlling the sound generating unit to generate a preset sound signal;
a detection module 62 for detecting the sound signal received by the receiving unit;
and the determining module 63 is configured to determine a bending angle of the display screen according to the received sound signal.
Optionally, the determining module 63 is specifically configured to determine, according to the received sound signal, a first distance between the sound generating unit and the receiving unit; and determining the bending angle of the display screen according to the preset second distance between the sounding unit and the rotating device, the preset third distance between the receiving unit and the rotating device and the preset first distance.
Optionally, the sound signal emitted by the sound generating unit is a sound signal with a preset frequency.
The determining module 63 is specifically configured to determine the first distance according to the received frequency domain information of the sound signal and the preset frequency.
Optionally, the determining module 63 is specifically configured to determine the first distance according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal, and the preset frequency.
Optionally, the sound generating unit is: an earpiece or speaker; the receiving unit is a microphone.
The device of this embodiment may execute the method for determining the bending angle shown in fig. 3 or fig. 4, and specific implementation and beneficial effects of the method are referred to above and are not described herein.
The embodiment of the application also provides the foldable terminal equipment. Fig. 7 is a schematic structural diagram of a foldable terminal device according to an embodiment of the present application. As shown in fig. 7, the foldable terminal device 70 of the present embodiment includes: a display screen 71, a sound generating unit 72 located at the top of the display screen 71, a receiving unit 73 located at the bottom of the display screen 71, a rotating device 74 located at the back of the display screen 71, a processor 75 and a memory 76. The rotating device 74 is used to bend the display 71 along the rotating device 71. The processor 75 is connected with the sound generating unit 72 and the receiving unit 73, respectively; the processor 75 is also connected to a memory 76.
Memory 76 for storing program instructions.
The processor 75 is configured to cause the processor 72 to perform the method for determining a bending angle described above with reference to fig. 3 or 4 when the program instructions are executed.
The foldable terminal device of the present embodiment may execute the method for determining the bending angle described in fig. 3 or fig. 4, and specific implementation and effective effects thereof may be referred to the above and will not be described herein.
The embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program may be executed by the processor 75 described in fig. 7 to implement the method for determining a bending angle according to any one of the embodiments, and the specific implementation and the effective effects of the method may be referred to above and will not be repeated herein.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The aforementioned computer program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like, which can store program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
Claims (5)
1. A method for determining a bending angle, characterized in that the method is applied to a foldable terminal device; in the foldable terminal equipment, a sound generating unit is arranged at the top of a display screen, a receiving unit is arranged at the bottom of the display screen, and a rotating device is arranged at the back of the display screen; the rotating device is used for bending the display screen along the rotating device; the method comprises the following steps:
controlling the sounding unit to emit a preset sound signal;
detecting the sound signal received by the receiving unit;
determining the bending angle of the display screen according to the received sound signal;
the determining the bending angle of the display screen according to the received sound signal comprises the following steps:
the sound signal sent by the sound generating unit is a sound signal with preset frequency;
determining a first distance between the sounding unit and the receiving unit according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal and the preset frequency;
and determining the bending angle of the display screen according to a preset second distance between the sounding unit and the rotating device, a preset third distance between the receiving unit and the rotating device and the first distance.
2. The method of claim 1, wherein the sound generating unit is: an earpiece, speaker or ultrasonic generator; the receiving unit is a microphone.
3. A determining device of a bending angle, characterized in that the determining device is applied to a foldable terminal device; in the foldable terminal equipment, a sound generating unit is arranged at the top of a display screen, a receiving unit is arranged at the bottom of the display screen, and a rotating device is arranged at the back of the display screen; the rotating device is used for bending the display screen along the rotating device; the determining device includes:
the control module is used for controlling the sounding unit to emit a preset sound signal;
the detection module is used for detecting the sound signal received by the receiving unit;
the determining module is used for determining the bending angle of the display screen according to the received sound signals;
the sound signal sent by the sound generating unit is a sound signal with preset frequency;
the determining module is specifically configured to determine a first distance between the sounding unit and the receiving unit according to the received frequency domain information of the sound signal, the received sound pressure parameter of the sound signal, and the preset frequency; and determining the bending angle of the display screen according to a preset second distance between the sounding unit and the rotating device, a preset third distance between the receiving unit and the rotating device and the first distance.
4. A terminal device, comprising: the display screen, the sounding unit positioned at the top of the display screen, the receiving unit positioned at the bottom of the display screen, the rotating device positioned at the back of the display screen, the processor and the memory; the rotating device is used for bending the display screen along the rotating device; the processor is respectively connected with the sounding unit and the receiving unit; the processor is also connected with the memory;
the memory is used for storing program instructions;
the processor is configured to implement the method for determining a bending angle according to claim 1 or 2 when the program instructions are executed.
5. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of determining a bending angle as claimed in claim 1 or 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811223310.4A CN111078178B (en) | 2018-10-19 | 2018-10-19 | Method, device, equipment and storage medium for determining bending angle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811223310.4A CN111078178B (en) | 2018-10-19 | 2018-10-19 | Method, device, equipment and storage medium for determining bending angle |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111078178A CN111078178A (en) | 2020-04-28 |
| CN111078178B true CN111078178B (en) | 2023-09-01 |
Family
ID=70309408
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811223310.4A Active CN111078178B (en) | 2018-10-19 | 2018-10-19 | Method, device, equipment and storage medium for determining bending angle |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111078178B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113778772B (en) * | 2021-09-15 | 2024-07-12 | 维沃移动通信有限公司 | Electronic device and state detection method, device and readable storage medium thereof |
| EP4636536A1 (en) * | 2023-01-18 | 2025-10-22 | Samsung Electronics Co., Ltd. | Foldable electronic device and angle recognition method using same |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007082105A (en) * | 2005-09-16 | 2007-03-29 | Nec Corp | Foldable mobile phone |
| CN1941791A (en) * | 2005-09-29 | 2007-04-04 | 索尼株式会社 | Audio communication device and audio communication method |
| CN103853521A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Portable apparatus having a plurality of touch screens and method of outputting sound thereof |
| TW201447467A (en) * | 2013-06-03 | 2014-12-16 | Kye Systems Corp | Foldable projection screen having flat speakers |
| CN105493002A (en) * | 2013-09-03 | 2016-04-13 | Lg电子株式会社 | Display device and control method thereof |
| CN109443261A (en) * | 2018-10-12 | 2019-03-08 | 维沃移动通信有限公司 | Method for obtaining folding angle of folding screen mobile terminal and mobile terminal |
| CN109976625A (en) * | 2017-12-28 | 2019-07-05 | 中兴通讯股份有限公司 | A kind of terminal control method, terminal and computer readable storage medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002281135A (en) * | 2001-03-21 | 2002-09-27 | Nec Viewtechnology Ltd | Portable telephone |
-
2018
- 2018-10-19 CN CN201811223310.4A patent/CN111078178B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007082105A (en) * | 2005-09-16 | 2007-03-29 | Nec Corp | Foldable mobile phone |
| CN1941791A (en) * | 2005-09-29 | 2007-04-04 | 索尼株式会社 | Audio communication device and audio communication method |
| CN103853521A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Portable apparatus having a plurality of touch screens and method of outputting sound thereof |
| TW201447467A (en) * | 2013-06-03 | 2014-12-16 | Kye Systems Corp | Foldable projection screen having flat speakers |
| CN105493002A (en) * | 2013-09-03 | 2016-04-13 | Lg电子株式会社 | Display device and control method thereof |
| CN109976625A (en) * | 2017-12-28 | 2019-07-05 | 中兴通讯股份有限公司 | A kind of terminal control method, terminal and computer readable storage medium |
| CN109443261A (en) * | 2018-10-12 | 2019-03-08 | 维沃移动通信有限公司 | Method for obtaining folding angle of folding screen mobile terminal and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111078178A (en) | 2020-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113170264B (en) | Electronic device including an acoustic module | |
| US10643595B2 (en) | Acoustic processor | |
| JP6100286B2 (en) | Gesture detection based on information from multiple types of sensors | |
| CN110798790B (en) | Microphone abnormality detection method, device and storage medium | |
| US11303979B2 (en) | Electronic device including multi-channel speaker system | |
| EP2770705A2 (en) | Application control method and apparatus for mobile terminal, earphone device and application control system | |
| CN110931053B (en) | Method, device, terminal and storage medium for detecting recording time delay and recording audio | |
| CN105874413A (en) | System and method for host-augmented touch processing | |
| CN111105769B (en) | Method, device, equipment and storage medium for detecting intermediate frequency rhythm point of audio | |
| CN108134868A (en) | A kind of speaker control method and mobile terminal | |
| US8913752B2 (en) | Audio signal measurement method for speaker and electronic apparatus having the speaker | |
| EP3284247B1 (en) | Mobile device environment detection using cross-device microphones | |
| CN109240413B (en) | Screen sounding method and device, electronic device and storage medium | |
| CN111078178B (en) | Method, device, equipment and storage medium for determining bending angle | |
| CN108053832B (en) | Audio signal processing method, audio signal processing device, electronic equipment and storage medium | |
| CN108769327A (en) | Method and device for sounding display screen, electronic device and storage medium | |
| CN102780797A (en) | Mobile telephone and correction method of internal electroacoustic component thereof | |
| CN109243479B (en) | Audio signal processing method and device, electronic equipment and storage medium | |
| US10338218B2 (en) | Method and apparatus for obtaining vibration information and user equipment | |
| CN108614263B (en) | Mobile terminal, position detection method and related product | |
| US10816392B2 (en) | Method and apparatus for obtaining vibration information and user equipment | |
| US10197437B2 (en) | Method and apparatus for obtaining vibration information and user equipment | |
| CN113422848B (en) | Electronic device, control method and control device for electronic device | |
| JP6878187B2 (en) | System and method | |
| CN115460529A (en) | Consistency detection method, device, equipment and storage medium of microphone array |
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 | ||
| CB02 | Change of applicant information |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |