Electronic equipment and control method
The electronic device addresses limited interaction forms in foldable devices by using a dual-diaphragm output system to direct sound waves to specific spaces, optimizing user interaction and efficiency across different configurations.
Patent Information
- Application Number
- CN202411046488.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
Existing foldable devices have limited interaction forms that do not meet the diverse needs of different device configurations, leading to suboptimal user interaction experiences.
An electronic device with a housing featuring two opposite outer surfaces and a dual-diaphragm output device that emits sound waves to specific spaces based on different conditions, utilizing phase superposition and cancellation of sound waves to enhance interaction efficiency and accuracy.
The device optimizes interaction by directing sound waves to specific spaces, improving detection range and reducing interference, thus enhancing user experience and device efficiency across various forms.
Smart Images

Figure CN119071377A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to an electronic device and a control method. Background Art
[0002] With the continuous development of terminal screen technology, foldable screens and bendable screens have also begun to be gradually promoted. Existing foldable devices can achieve a variety of different device forms, but in different device forms, the interaction form between users and foldable devices is relatively single, which cannot meet the interaction needs in different device forms. Summary of the invention
[0003] An embodiment of the present application provides an electronic device, including:
[0004] a housing, the housing comprising a first outer surface and a second outer surface opposite to the first outer surface;
[0005] An output device, disposed in the housing;
[0006] a control device, disposed in the housing, for controlling the output device to output a first sound wave if a first condition is met, wherein the first sound wave is a sound wave emitted to a first space;
[0007] If the second condition is met, controlling the output device to output a second sound wave, wherein the second sound wave is a sound wave emitted to the second space;
[0008] The first space is located on one side of the first outer surface of the shell, and the second space is located on one side of the second outer surface of the shell; the first condition is different from the second condition.
[0009] In some embodiments, the output device includes at least:
[0010] First diaphragm;
[0011] a second diaphragm, wherein the arrangement direction of the first diaphragm and the second diaphragm of the output device is consistent with the arrangement direction of the first outer surface and the second outer surface of the shell;
[0012] Wherein, the housing comprises:
[0013] a first through hole, the first through hole being located on the first outer surface and corresponding to the output device;
[0014] A second through hole, wherein the second through hole is located on the second outer surface and corresponds to the output device.
[0015] In some embodiments, controlling the output device to output the first sound wave includes:
[0016] controlling the second diaphragm to vibrate and generate a first sub-wave;
[0017] controlling the first diaphragm to vibrate and generate a second sub-wave;
[0018] The second diaphragm vibrates before the first diaphragm vibrates, so that the second sub-wave generated by the first diaphragm and the first sub-wave generated by the second diaphragm are superimposed in phase at the first through hole to form the output first sound wave;
[0019] The controlling the output device to output the second sound wave comprises:
[0020] controlling the second diaphragm to vibrate and generate a third sub-wave;
[0021] controlling the first diaphragm to vibrate to generate a fourth sub-wave;
[0022] The second diaphragm vibrates simultaneously with the first diaphragm, and the fourth sub-wave generated by the first diaphragm is used to offset the third sub-wave generated by the second diaphragm at the first through hole, so as to form the second sound wave output at the second through hole.
[0023] In some embodiments, the transmission distance of the first sound wave is greater than the transmission distance of the second sound wave, the transmission distance of the first sound wave determines the size of the first space, the transmission distance of the second sound wave determines the size of the second space, and the first space and the second space serve as detection spaces;
[0024] The electronic device further comprises:
[0025] a first input device, the first input device being used to obtain a first feedback sound wave of the first sound wave, the first feedback sound wave being used to represent that a first object exists in the first space;
[0026] A second input device is used to obtain a second feedback sound wave of the second sound wave, and the second feedback sound wave is used to represent the presence of a second object in the second space.
[0027] In some embodiments, the electronic device further comprises:
[0028] A first screen is disposed on the housing, and a display area of the first screen is exposed on the first outer surface;
[0029] The second screen is configured on the housing, and a display area of the second screen is exposed on the second outer surface.
[0030] In some embodiments, the control device is further configured to:
[0031] Get the target parameters,
[0032] If the target parameter satisfies the first condition, controlling the output device to output a first sound wave;
[0033] If the target parameter satisfies the second condition, controlling the output device to output a second sound wave;
[0034] If the target parameter satisfies the first condition, it indicates that the possibility of the first screen being operated is greater than the possibility of the second screen being operated;
[0035] If the target parameter satisfies the second condition, it indicates that the possibility that the second screen is operated is greater than the possibility that the first screen is operated.
[0036] In some embodiments, the housing includes a first body and a second body, the first condition is a parameter value characterizing a first device posture, the first device posture characterizing that the first body and the second body are at a first angle, wherein if the first body and the second body are at the first angle, the angular space between the first body and the second body is greater than the first space;
[0037] The second condition is a parameter value characterizing a first device posture, and the first device posture is that the first body and the second body are at a second angle, wherein if the first body and the second body are at the second angle, the first body and the second body are coplanar.
[0038] Another embodiment of the present application also provides a control method, the method comprising:
[0039] Get the trigger instruction;
[0040] In response to the trigger instruction, if a first condition is met, enabling the control device to control the output device to output a first sound wave, where the first sound wave is a sound wave emitted to the first space;
[0041] If the second condition is met, enabling the control device to control the output device to output a second sound wave, where the second sound wave is a sound wave emitted to the second space;
[0042] Wherein, the body of the device includes a first outer surface and a second outer surface opposite to the first outer surface, the first space is located on one side of the first outer surface of the body, and the second space is located on one side of the second outer surface of the body; the first condition is different from the second condition.
[0043] In some embodiments, the method further comprises:
[0044] Based on a first signal period, outputting the first sound wave;
[0045] receiving a first feedback sound wave of the first sound wave, wherein the first feedback sound wave is used to represent that a first object exists in the first space;
[0046] Based on the first feedback sound wave and the second signal period, outputting the first sound wave, wherein the first signal period has a different frequency from the second signal period;
[0047] The method further comprises:
[0048] Based on the third signal cycle, outputting the second sound wave;
[0049] receiving a second feedback sound wave of the second sound wave, wherein the second feedback sound wave is used to represent that a second object exists in the second space;
[0050] The second sound wave is output based on the second feedback sound wave and a fourth signal period, wherein the third signal period has a different frequency from the fourth signal period.
[0051] In some embodiments, the method further comprises:
[0052] receiving a third feedback sound wave of the first sound wave output based on the second signal period, wherein the third feedback sound wave is used to indicate that the first object does not exist in the first space;
[0053] outputting the first sound wave based on the third feedback sound wave and the first signal period;
[0054] The method further comprises:
[0055] receiving a fourth feedback sound wave of the second sound wave output based on a fourth signal period, wherein the fourth feedback sound wave is used to indicate that no second object exists in the second space;
[0056] Based on the fourth feedback sound wave and the third signal period, the second sound wave is output. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A schematic diagram of the structure of an electronic device according to an embodiment of the present application;
[0058] Figure 2 This is a structural schematic diagram of an electronic device in a straight-bar state according to an embodiment of the present application;
[0059] Figure 3 This is a structural schematic diagram of an electronic device in a tent state according to an embodiment of the present application;
[0060] Figure 4 This is a structural schematic diagram of an electronic device in a standing state according to an embodiment of the present application;
[0061] Figure 5This is a schematic diagram of the structure of an electronic device in a closed cover state according to an embodiment of the present application;
[0062] Figure 6 A structural block diagram of an electronic device according to an embodiment of the present application;
[0063] Figure 7 A flow chart of a control method according to an embodiment of the present application;
[0064] Figure 8 This is a flow chart of step S3 of the control method of an embodiment of the present application;
[0065] Fig. 9 This is a flow chart of step S4 of the control method of an embodiment of the present application.
[0066] Reference numerals:
[0067] 1. Shell; 11. First body; 12. Second body; 13. First outer surface; 14. Second outer surface; 2. Output device; 3. Control device; 41. First input device; 42. Second input device; 51. First screen; 52. Second screen. DETAILED DESCRIPTION
[0068] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0069] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0070] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0071] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0072] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0073] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0074] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0075] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", which may all refer to the same or the following, embodiments of the present application are described in detail with reference to the accompanying drawings.
[0076] The present application embodiment provides an electronic device, such as Figure 1 and Figure 2 As shown, the electronic device includes:
[0077] A housing 1, wherein the housing 1 comprises a first outer surface 13 and a second outer surface 14 opposite to the first outer surface 13;
[0078] An output device 2, disposed in the housing 1;
[0079] A control device 3 is disposed in the housing 1 and is used to control the output device 2 to output a first sound wave if a first condition is met, wherein the first sound wave is a sound wave emitted to a first space;
[0080] If the second condition is met, the output device 2 is controlled to output a second sound wave, where the second sound wave is a sound wave emitted to the second space;
[0081] The first space is located on one side of the first outer surface 13 of the shell 1 , and the second space is located on one side of the second outer surface 14 of the shell 1 ; the first condition is different from the second condition.
[0082] Based on the above content, it can be known that the electronic device of this embodiment includes at least a housing 1, an output device 2 and a control device 3. The housing 1 has two opposite outer surfaces, namely a first outer surface 13 and a second outer surface 14. This design is usually used for foldable devices, such as foldable screen mobile phones, and the two outer surfaces can be unfolded when in use or folded when carried.
[0083] An output device 2 is integrated in the housing 1, and the output device 2 can output different types of sound waves according to the instructions of the control device 3, so that the electronic device can adjust the type of sound waves it outputs according to the user's operating conditions or environmental requirements.
[0084] The control device 3 is also located in the housing 1 and is used to monitor and respond to the first condition and the second condition. The first condition and the second condition are determined based on the usage of the device, and the control device 3 determines which sound wave to output according to the conditions met.
[0085] The first sound wave propagates to the first space when the first condition is met, and the first space is located on one side of the first outer surface 13. The second sound wave propagates to the second space when the second condition is met, and the second space is located on one side of the second outer surface 14.
[0086] This application determines that the output device 2 outputs different types of sound waves to different spaces according to different device forms. Different types of sound waves have different effects, thereby optimizing the interaction between users and devices in different forms and providing a richer interactive experience.
[0087] Specifically, the control device 3 of the electronic device monitors in real time to determine whether the first condition or the second condition is met. Once it is detected that a specific condition is met, the control device 3 triggers the output device 2 to select the corresponding sound wave type (the first sound wave or the second sound wave).
[0088] The output device 2 emits sound waves to a predetermined space (the first space or the second space) according to the instruction of the control device 3, and the electronic device performs corresponding operations according to the sound wave feedback. The control device 3 continues to monitor the changes in the device form to adjust the output of the sound wave type in real time to ensure that the operation of the electronic device is synchronized with the user's needs.
[0089] As an optional embodiment, the output device 2 at least includes:
[0090] First diaphragm;
[0091] A second diaphragm, wherein the arrangement direction of the first diaphragm and the second diaphragm of the output device 2 is consistent with the arrangement direction of the first outer surface 13 and the second outer surface 14 of the housing 1;
[0092] Wherein, the housing 1 comprises:
[0093] A first through hole, which is located on the first outer surface 13 and corresponds to the output device 2;
[0094] A second through hole, wherein the second through hole is located on the second outer surface 14 and corresponds to the output device 2 .
[0095] In this embodiment, the first diaphragm and the second diaphragm of the output device 2 are arranged relative to each other, and the arrangement direction of the first diaphragm and the second diaphragm is consistent with the arrangement direction of the first outer surface 13 and the second outer surface 14 of the shell 1, ensuring that the sound waves can be output in a directionally directed manner to the first space or the second space, thereby improving the efficiency of sound wave utilization and the accuracy of interaction.
[0096] Specifically, the control device 3 of the electronic device monitors the operating conditions and determines whether the first condition or the second condition is satisfied. According to the monitored conditions, the control device 3 activates the first diaphragm and the second diaphragm.
[0097] The first diaphragm and the second diaphragm of the present application emit sound waves to the external space through the first through hole and the second through hole respectively, so that the user can interact with the device differently in different forms of the device to meet the user's needs.
[0098] Specifically, the electronic device is a foldable mobile phone, the output device 2 is a dual-diaphragm speaker, the dual-diaphragm speaker is arranged on the top of the shell 1, and the first through hole and the second through hole (both are sound outlet holes) are respectively opened on the two outer surfaces of the shell 1 along the Z-axis direction of the shell 1 (perpendicular to the direction of the first outer surface 13), and the opening positions of the first through hole and the second through hole are symmetrical.
[0099] The first through holes are circular holes with a diameter of 0.65 mm, and 22 of them are arranged on the first outer surface 13, and the 22 first through holes are distributed in a straight line. The diameter and arrangement direction of the second through holes are the same as those of the first through holes to prevent scattering of sound waves.
[0100] The internal sound channel from the first diaphragm to the first through hole or from the second diaphragm to the second through hole is an arc-shaped (quasi-circular) structure to prevent refraction of ultrasonic waves. The first through hole or the second through hole is at least 3 mm away from the top surface of the shell 1 to prevent sound waves from diffracting from the top of the shell 1 to the first outer surface 13.
[0101] In another embodiment, when the shell 1 does not have a through hole, the sound wave can pass through the shell 1 without affecting normal use.
[0102] In this embodiment, the sound wave is an ultrasonic wave with a frequency higher than 20kHz. When the sound wave is an ultrasonic wave, in order to enhance the directivity of the ultrasonic wave and the strength of the ultrasonic wave signal, the frequency of the ultrasonic wave signal is preset to 40-50kHz, which will be more directive than the frequency of the ultrasonic wave signal preset to 25-30kHz.
[0103] For example, according to θ=λ / D, where θ is the diffusion angle, λ is the wavelength, and D is the size of the sound source, when D remains unchanged, the wavelength is shortened by nearly half and the directivity angle can be doubled.
[0104] When a frequency of 25kHz is used, the wavelength of the ultrasonic wave is 1.4mm (if the speed of sound is 340m / s). If the diameter of the sensor is 40mm, according to the above formula, its diffusion angle is approximately: θ = 1.4mm / 40mm = 0.035 radians.
[0105] If the frequency is increased to 50kHz, the wavelength is halved to 0.7mm, while the size of the sensor remains the same, and the new diffusion angle becomes: θ = 0.7mm / 40mm = 0.0175 radians.
[0106] By comparison, the 50kHz ultrasonic signal has a smaller diffusion angle and therefore has better directivity, which can locate the target more accurately.
[0107] As an optional embodiment, controlling the output device 2 to output the first sound wave includes:
[0108] controlling the second diaphragm to vibrate and generate a first sub-wave;
[0109] controlling the first diaphragm to vibrate and generate a second sub-wave;
[0110] The second diaphragm vibrates before the first diaphragm vibrates, so that the second sub-wave generated by the first diaphragm and the first sub-wave generated by the second diaphragm are superimposed in phase at the first through hole to form the output first sound wave;
[0111] The controlling the output device 2 to output the second sound wave comprises:
[0112] controlling the second diaphragm to vibrate and generate a third sub-wave;
[0113] controlling the first diaphragm to vibrate to generate a fourth sub-wave;
[0114] The second diaphragm vibrates simultaneously with the first diaphragm, and the fourth sub-wave generated by the first diaphragm is used to offset the third sub-wave generated by the second diaphragm at the first through hole, so as to form the second sound wave output at the second through hole.
[0115] In this embodiment, the control device 3 controls the first diaphragm and the second diaphragm of the output device 2 to vibrate according to the first condition or the second condition, respectively, to generate the first sub-wave or the third sub-wave, the second sub-wave or the fourth sub-wave, and determines the formation of the first sound wave or the second sound wave based on this.
[0116] The time during which the second diaphragm vibrates before the first diaphragm vibrates may be 100 ms, and the time during which the first diaphragm vibrates and the time during which the second diaphragm vibrates may be set according to actual needs of the user.
[0117] Exemplarily, the electronic device is a foldable mobile phone. When the mobile phone meets the first condition, the control device 3 controls the first diaphragm and the second diaphragm to vibrate in the same direction, so that the first sub-wave and the second sub-wave are phase-superimposed at the first through hole, thereby increasing the amplitude of the sound wave to increase the propagation distance of the ultrasonic wave. That is, the two diaphragms emit ultrasonic waves in the same direction, which can enhance the directivity of the ultrasonic wave in that direction, so that the intensity of the ultrasonic wave in a specific direction is higher, which is helpful to achieve long-distance detection.
[0118] Wherein, the first diaphragm and the second diaphragm vibrate in the same direction, and the sound wave signals emitted increase by at least 3dB in the same direction.
[0119] The present application increases the distance over which sound waves can be used by controlling the vibration and phase superposition of the diaphragm. Users can use this method to interact with electronic devices over a long distance, which not only improves the use effect but also improves the convenience of interaction.
[0120] In another embodiment, the electronic device is a foldable mobile phone. When the mobile phone meets the second condition, the control device 3 controls the first diaphragm and the second diaphragm to vibrate in opposite directions at the same time, so that the third sub-wave and the fourth sub-wave cancel each other out at the second through hole, so as to reduce sound wave leakage, and effectively avoid other interferences from affecting the detection effect while achieving close-range detection. The present application optimizes the interactive design to reduce the possibility of misoperation, and the reliability of the electronic device is higher.
[0121] Specifically, the second diaphragm emits sound waves that propagate outwardly along the second outer surface 14, that is, sound waves that propagate toward the user. The first diaphragm emits sound waves in the opposite direction to the second diaphragm, that is, sound waves that propagate outwardly along the first outer surface 13.
[0122] When the first diaphragm and the second diaphragm vibrate in opposite directions at the same time, the sound waves in the two directions will form destructive interference on both sides of the shell 1 to reduce the propagation of sound waves in the outward direction along the first outer surface 13, ensuring that the sound waves are mainly propagated toward the user, while the sound wave propagation in other directions of the shell 1 is weakened or even eliminated.
[0123] When the directions of the ultrasonic waves emitted by the first diaphragm and the second diaphragm are opposite, the intensity of the ultrasonic waves emitted by the second diaphragm is greater than the intensity of the ultrasonic waves emitted by the first diaphragm (for example, the difference is controlled to be above 10dB), and the ultrasonic signals in opposite directions can be offset.
[0124] As an optional embodiment, the transmission distance of the first sound wave is greater than the transmission distance of the second sound wave, the transmission distance of the first sound wave determines the size of the first space, the transmission distance of the second sound wave determines the size of the second space, and the first space and the second space serve as detection spaces;
[0125] The electronic device further comprises:
[0126] A first input device 41, the first input device 41 is used to obtain a first feedback sound wave of the first sound wave, the first feedback sound wave is used to represent that there is a first object in the first space;
[0127] The second input device 42 is used to obtain a second feedback sound wave of the second sound wave, and the second feedback sound wave is used to represent the presence of a second object in the second space.
[0128] In this embodiment, sound waves are used for space detection and object recognition by outputting two sound waves with different transmission distances (a first sound wave and a second sound wave) and receiving feedback sound waves generated when the sound waves encounter an object in the space, so as to detect and distinguish whether there are objects in the first space and the second space.
[0129] The first feedback sound wave of the first object in the first space and the third feedback sound wave of the first object not in the first space have different feedback contents. The second feedback sound wave of the second object in the second space and the fourth feedback sound wave of the second object not in the second space have different feedback contents.
[0130] Exemplarily, the electronic device is a foldable mobile phone, the first input device 41 and the second input device 42 are microphone A and microphone B respectively, microphone A is arranged on the edge of the first outer surface 13, and microphone B is arranged on the top of the housing 1. When the output device 2 is a dual-diaphragm speaker arranged on the top of the housing 1, an ultrasonic loop is formed between microphone A and microphone B and the dual-diaphragm speaker respectively.
[0131] Specifically, the first diaphragm of the dual-diaphragm speaker emits sound waves outward along the first outer surface 13. If there is an obstacle in the ultrasonic loop (the user's hand or other object), microphone A receives the first feedback sound wave. If there is no obstacle in the ultrasonic loop, microphone A receives the third feedback sound wave. The electronic device determines whether there is a first object in the first space based on the received first feedback sound wave or the third feedback sound wave, and then performs corresponding operations.
[0132] Similarly, the second diaphragm of the dual-diaphragm speaker emits sound waves outward along the second outer surface 14. If there is an obstacle (user) in the ultrasonic loop, microphone B receives the second feedback sound wave. If there is no obstacle in the ultrasonic loop, microphone B receives the fourth feedback sound wave. The electronic device determines whether there is a second object in the second space based on the received second feedback sound wave or fourth feedback sound wave, and then performs corresponding operations.
[0133] The area of the obstacle should be greater than 5cm*5cm, and the distance between the obstacle and the mobile phone should be between 10cm-100cm.
[0134] As an optional embodiment, the electronic device further includes:
[0135] A first screen 51 is disposed on the housing 1 , and a display area of the first screen 51 is exposed on the first outer surface 13 ;
[0136] The second screen 52 is disposed on the housing 1 , and a display area of the second screen 52 is exposed on the second outer surface 14 .
[0137] In this embodiment, the electronic device has a housing 1, and the housing 1 has two opposite outer surfaces, namely a first outer surface 13 and a second outer surface 14. The user can directly see and interact with the content of the first screen 51 on the first outer surface 13. And the user can directly interact with the second screen 52 on the second outer surface 14, providing a richer visual experience.
[0138] Exemplarily, the electronic device is a foldable mobile phone. When the mobile phone meets the first condition, the first diaphragm and the second diaphragm are controlled to vibrate in the same direction to generate sound waves, so that the two sound waves are superimposed at the first through hole to form a first sound wave, and the first sound wave can achieve long-distance detection.
[0139] When the user's hand or other object passes by or approaches one side of the first screen 51, the mobile phone determines that there is a first object in the first space based on the first feedback sound wave, and then controls the first screen 51 to light up and / or display information.
[0140] In some embodiments, the first screen 51 and the second screen 52 can be used independently or in collaboration, which improves the efficiency of the device and the multi-tasking capability. In addition, the two screens can run different applications or expand the display range of the same application to provide a wider field of view. For example, the electronic device is a foldable mobile phone, the first screen 51 is a small screen, and the second screen 52 is a large screen.
[0141] As an optional embodiment, the control device 3 is further used for:
[0142] Get the target parameters,
[0143] If the target parameter satisfies the first condition, controlling the output device 2 to output a first sound wave;
[0144] If the target parameter satisfies the second condition, controlling the output device 2 to output a second sound wave;
[0145] If the target parameter satisfies the first condition, it indicates that the possibility of the first screen 51 being operated is greater than the possibility of the second screen 52 being operated;
[0146] If the target parameter satisfies the second condition, it indicates that the possibility that the second screen 52 is operated is greater than the possibility that the first screen 51 is operated.
[0147] In this embodiment, by predicting which screen the user will operate, the user's intention can be quickly responded to and the interaction efficiency can be improved. Specifically, the control device 3 needs to monitor and obtain target parameters, which may include the device operating status, device posture or other related factors. The control device 3 evaluates the target parameters to determine whether they meet the first condition or the second condition. Based on the result of the condition evaluation, the control device 3 controls the output device 2 to generate the first sound wave or the second sound wave.
[0148] For example, the electronic device is a foldable mobile phone, the first screen 51 is a small screen located on the first outer surface 13 of the mobile phone, and the second screen 52 is a large screen located on the second outer surface 14 of the mobile phone. That is, the first condition is that the user is more likely to operate the small screen, and the second condition is that the user is more likely to operate the large screen.
[0149] As an optional embodiment, the shell 1 includes a first body 11 and a second body 12, the first condition is a parameter value characterizing a first device posture, the first device posture characterizes that the first body 11 and the second body 12 are at a first angle, the first body 11 is the shell 1, wherein if the first body 11 and the second body 12 are at the first angle, the angle space between the first body 11 and the second body 12 is greater than the first space;
[0150] The second condition is a parameter value characterizing a first device posture, wherein the first device posture is that the first body 11 and the second body 12 are at a second angle, wherein if the first body 11 and the second body 12 are at the second angle, the first body 11 and the second body 12 are coplanar.
[0151] In this embodiment, the first body 11 and the second body 12 can rotate or change posture relative to each other. The first condition is related to the first device posture, and the parameter value of the first device posture is the first angle between the first body 11 and the second body 12.
[0152] Specifically, in the first device posture, the first body 11 and the second body 12 are at a first angle (such as 80°), and an angle space is formed between the two, and the angle space is larger than the first space. In the second device posture, the first body 11 and the second body 12 are at a second angle (such as 180°), and the first body 11 and the second body 12 are coplanar.
[0153] In one embodiment, if Figure 1-Figure 2 and Figure 6 As shown, the electronic device includes a housing 1, an output device 2, a control device 3 and two input devices. An ultrasonic driving device is provided between the control device 3 and the output device 2, and an ultrasonic signal amplifying device is provided between the input device and the control device 3.
[0154] The housing 1 includes a foldable first body 11 and a second body 12, wherein the side surfaces of the first body 11 and the second body 12 opposite to each other are the first outer surface 13 and the second outer surface 14 oppositely disposed on the housing 1. The first space is adjacent to the first outer surface 13, and the second space is adjacent to the second outer surface 14.
[0155] An output device 2 is provided on the top of the housing 1, and a control device 3 is provided inside the housing 1. The output device 2 includes a first diaphragm and a second diaphragm, the first diaphragm is close to the first outer surface 13, and the second diaphragm is close to the second outer surface 14. A first through hole corresponding to the position of the first diaphragm is provided on the first outer surface 13 of the housing 1, and a second through hole corresponding to the position of the second diaphragm is provided on the second outer surface 14 of the housing 1.
[0156] The electronic device further includes a display device, which includes a first screen 51 and a second screen 52. The first screen 51 is arranged on the housing 1 at the first outer surface 13, and the second screen 52 is arranged on the second outer surface 14. An input device is arranged at the top of the housing 1 for receiving feedback sound waves in the second space. Another input device is arranged at an edge of the housing 1, such as an edge of the first outer surface 13, for receiving sound wave feedback in the first space.
[0157] When electronic equipment is used, the specific process is as follows:
[0158] The control device 3 initializes and starts monitoring the target parameters of the electronic device, which are used to characterize the device posture of the electronic device. According to the acquired target parameters, it is determined whether the first body 11 and the second body 12 are at the first angle or the second angle, and then the device posture of the electronic device is determined.
[0159] When the electronic device is in the first device posture, the user is more likely to operate the first screen 51, satisfying the first condition; when the electronic device is in the second device posture, the user is more likely to operate the second screen 52, satisfying the second condition.
[0160] If the first condition is met, the control device 3 triggers the output device 2 to generate the first sound wave through the coordinated vibration of the first diaphragm and the second diaphragm. The second diaphragm vibrates before the first diaphragm to achieve phase superposition of two sub-waves in the same direction at the first through hole to form the first sound wave.
[0161] If the second condition is met, the control device 3 triggers the output device 2 to generate a second sound wave. At this time, the first diaphragm and the second diaphragm vibrate simultaneously, and the sub-wave generated by the first diaphragm cancels the sub-wave generated by the second diaphragm at the second through hole, so that the second sound wave is mainly output through the second through hole.
[0162] The first sound wave and the second sound wave propagate in the first space and the second space respectively, and generate feedback sound waves after encountering objects in the space. The first input device 41 and the second input device 42 are used to capture the feedback sound waves of the first sound wave and the second sound wave respectively to determine whether there are corresponding objects in different spaces, so as to enable the electronic device to perform corresponding operations.
[0163] This application improves the efficiency of sound wave utilization and the accuracy of interaction by outputting specific sound waves in a specific direction, meeting the needs of users in different spaces. It is optimized for different usage modes of the device or different ways of interaction between the user and the device.
[0164] When an electronic device realizes a variety of different device forms, the present application determines that the output device 2 outputs different types of sound waves to different spaces according to different device forms. Different types of sound waves have different effects, thereby enriching the interaction method between the user and the foldable device and meeting the interaction needs under different device forms.
[0165] Exemplarily, the electronic device is a foldable mobile phone, the output device 2 is a dual-diaphragm speaker arranged on the top of the mobile phone, the control device 3 is a processor, the two input devices are respectively a microphone A arranged on the edge of the first outer surface 13 and a microphone B arranged on the top of the mobile phone, the first screen 51 is a small screen, and the second screen 52 is a large screen.
[0166] like Figure 2-Figure 5 As shown, the working process of the foldable mobile phone is described in combination with different embodiments:
[0167] Embodiment 1
[0168] The first body 11 and the second body 12 of the mobile phone are bent relative to each other in a tent state, with a first angle of less than 90° between the first body 11 and the second body 12, the connecting edges of the two bodies facing upward, and the first side edges of the two bodies resting on the desktop as support points. At this time, the small screen of the mobile phone can display the picture, and the user can watch it without holding it, just by placing the device on the desktop.
[0169] Alternatively, the second body 12 serves as a support body, and there is a first angle within 90° between the second body 12 and the first body 11, so that the first body 11 can stand on the desktop through the second body 12, that is, in a standing state, at this time, the small screen displays the picture for the user, and the user does not need to hold the device. In this state, the angle side between the two bodies is away from the user, that is, the connecting edge of the two bodies is facing the user.
[0170] The tent state or standing state of the above-mentioned mobile phone meets the first condition, so the processor controls the first diaphragm and the second diaphragm to vibrate in the same direction, so that the first sub-wave and the second sub-wave are superimposed in phase at the first through hole to enhance the amplitude and increase the transmission distance of the ultrasonic wave to achieve long-distance detection.
[0171] When a user's hand or other object appears in the first space on one side of the first outer surface, microphone A can receive the first feedback sound wave and transmit it to the processor, so that the processor controls the small screen to light up and display information.
[0172] Embodiment 2
[0173] The first body 11 and the second body 12 of the mobile phone rotate to be coplanar and in a straight state. The straight state of the mobile phone meets the second condition, so the processor controls the first diaphragm and the second diaphragm to vibrate in opposite directions, so that the third sub-wave and the fourth sub-wave cancel each other at the second through hole, reducing sound wave leakage.
[0174] When the user needs to hold the mobile phone to make a call, the user approaches the second outer surface 14, and the microphone B can receive the second feedback sound wave and transmit it to the processor. The processor controls the large screen to turn off to prevent the user from making mistakes during the call.
[0175] At the same time, since the third sub-wave and the fourth sub-wave cancel each other at the second through hole, the sound wave direction is emitted outward along the second outer surface to detect the second object in the second space. Therefore, the present application can effectively eliminate the interference of the surrounding environment and avoid the situation where the hand causes the large screen to close at the first outer surface 13 when holding the mobile phone.
[0176] In one embodiment, the first device posture also includes the first body 11 and the second body 12 being at a second angle (such as 0°), at which time the first body 11 and the second body 12 overlap. The first body 11 and the second body 12 of the mobile phone rotate close to a corresponding fitting state, in a closed state. In the current state, the small screen is used to display information.
[0177] In some embodiments, when the output device outputs the first sound wave, it can be used as an ultrasonic sensor to measure the distance between the object and the electronic device.
[0178] In some embodiments, the output device 2 may output audible sound waves in addition to ultrasonic waves, and a second sound wave is formed by the output device to achieve the effect of private calls. The frequency of the audible sound wave is between 20 Hz and 20 kHz.
[0179] Specifically, the electronic device is a foldable mobile phone, and when the mobile phone is in a straight state (satisfying the second condition) and a call is being made, the sound waves emitted by the first diaphragm and the second diaphragm are offset at the second through hole to prevent sound leakage, thereby achieving a private call effect. Alternatively, when the mobile phone is in a folded state and a call is being made, the first diaphragm and the second diaphragm are used to achieve a private call effect in the same way.
[0180] In some embodiments, when the output device 2 outputs audible sound waves, a first sound wave is formed by the output device to achieve an effect of increasing the audio loudness.
[0181] Specifically, the electronic device is a foldable mobile phone. When the mobile phone is in a folded state or a standing state (satisfying the first condition) and playing audio, the sound waves emitted by the first diaphragm and the second diaphragm are superimposed in phase at the first through hole, thereby increasing the amplitude of the sound waves to achieve the effect of increasing the audio loudness.
[0182] Another embodiment of the present application also provides a control method, such as Figure 7 As shown, the method includes:
[0183] S1. Obtain trigger instruction;
[0184] S2, in response to the trigger instruction, if the first condition is met, enabling the control device 3 to control the output device 2 to output a first sound wave, where the first sound wave is a sound wave emitted to the first space;
[0185] If the second condition is met, the control device 3 is enabled to control the output device 2 to output a second sound wave, where the second sound wave is a sound wave emitted to the second space;
[0186] The body of the device includes a first outer surface 13 and a second outer surface 14 opposite to the first outer surface 13, the first space is located on one side of the first outer surface 13 of the body, and the second space is located on one side of the second outer surface 14 of the body; the first condition is different from the second condition.
[0187] The above method of this embodiment is applied to the electronic device as described above. In the scheme described in this embodiment, the processor is used to control the operation of the first diaphragm and the second diaphragm in response to the trigger instruction to detect whether there are the first object and the second object in the first space and the second space outside the device and the device posture of the electronic device. The trigger instruction can be generated by the system in the electronic device based on the device posture or operating state of the electronic device detected by the sensor, and the trigger instruction is different for different device postures or operating states.
[0188] For example, the electronic device is a foldable mobile phone. When the user unfolds or folds the mobile phone, the sensor detects the change in the device posture of the mobile phone and generates a trigger instruction. If the first condition is met, the output device 2 outputs the first sound wave to achieve the effect of long-distance detection. Similarly, if the second condition is met, the output device 2 outputs the second sound wave to achieve the effect of short-distance anti-interference detection.
[0189] Therefore, when the foldable device realizes a variety of different device forms, the present application determines that the output device 2 outputs different types of sound waves to different spaces according to different device forms. Different types of sound waves have different effects, thereby enriching the interaction method between the user and the foldable device and meeting the interaction needs under different device forms.
[0190] As an optional embodiment, Figure 8 As shown, the method also includes:
[0191] S31, outputting the first sound wave based on the first signal cycle;
[0192] S32, receiving a first feedback sound wave of the first sound wave, where the first feedback sound wave is used to represent that a first object exists in the first space;
[0193] S33. Based on the first feedback sound wave and a second signal period, output the first sound wave, wherein the first signal period has a different frequency from the second signal period.
[0194] In this embodiment, the control device 3 responds to the trigger instruction and controls the output device 2 to emit the first sound wave to the first space based on the first signal period. The first space is located on one side of the first outer surface 13 .
[0195] The input device of the electronic device receives the feedback sound wave of the first sound wave, and the feedback sound wave is reflected back by the object encountered by the first sound wave in the first space, and is used to determine whether there is an object in the first space.
[0196] Based on the first feedback sound wave, the control device 3 evaluates the presence of the object in the first space. If the first object exists in the first space, then it may be necessary to frequently pay attention to the presence of the first object, so further adjustment is required, that is, the control device 3 outputs the first sound wave again based on the second signal period. The first signal period and the second signal period have different frequencies, indicating different detection strategies.
[0197] For example, the first sound wave is emitted based on the first signal period, and the first signal period is 50ms. When it is determined that the first object exists in the first space, the first sound wave is emitted based on the second signal period, and the second signal period is 20ms. When the emission interval of the signal is reduced from 50ms to 20ms, the emission frequency is increased, and the emission period is also reduced. This adjustment can increase the update rate of the signal, thereby possibly obtaining a faster response time.
[0198] like Fig. 9 As shown, the method also includes:
[0199] S41, outputting the second sound wave based on the third signal cycle;
[0200] S42, receiving a second feedback sound wave of the second sound wave, where the second feedback sound wave is used to represent that there is a second object in the second space;
[0201] S43. Output the second sound wave based on the second feedback sound wave and a fourth signal period, wherein the third signal period has a different frequency from the fourth signal period.
[0202] In this embodiment, the signal cycle refers to the frequency and time interval of the sound wave emission. The control device 3 responds to the trigger instruction and controls the output device 2 to emit the second sound wave to the second space based on the third signal cycle. The second space is located on one side of the second outer surface 14.
[0203] The input device of the electronic device receives the feedback sound wave of the second sound wave, and the feedback sound wave is reflected back by the object encountered by the second sound wave in the second space, and is used to determine whether there is an object in the second space.
[0204] Based on the second feedback sound wave, the control device 3 evaluates the presence of the object in the second space. If there is a second object in the second space, then it may be necessary to frequently pay attention to the presence of the second object, so further adjustment is required, that is, the control device 3 outputs the second sound wave again based on the fourth signal cycle. The third signal cycle and the fourth signal cycle have different frequencies, indicating different detection strategies.
[0205] The present application adds a periodic sound wave output and receiving mechanism to more accurately detect the presence of objects in the first space and the second space.
[0206] As an optional embodiment, Figure 8 As shown, the method also includes:
[0207] S34, receiving a third feedback sound wave of the first sound wave output based on the second signal period, wherein the third feedback sound wave is used to indicate that there is no first object in the first space;
[0208] S35. Output the first sound wave based on the third feedback sound wave and the first signal period.
[0209] In this embodiment, if the third feedback sound wave returned by the sound wave output in the second signal period indicates that there is no object in the first space, the control device 3 updates its detection result of the first space.
[0210] Furthermore, based on the third feedback sound wave and the first signal period, the control device 3 readjusts the signal period of the first sound wave output to confirm the state of the first space and achieve more accurate space monitoring.
[0211] For example, the first sound wave is emitted based on the second signal period, and the second signal period is 20ms. When it is determined that the first object does not exist in the first space, the first sound wave is emitted based on the first signal period, and the first signal period is 50ms. When the emission interval of the signal is increased from 20ms to 50ms, the emission frequency is reduced, and the emission period is also extended. This adjustment can reduce unnecessary sound wave output, thereby saving energy.
[0212] like Fig. 9 As shown, the method also includes:
[0213] S44, receiving a fourth feedback sound wave of the second sound wave output based on a fourth signal period, wherein the fourth feedback sound wave is used to indicate that there is no second object in the second space;
[0214] S45. Output the second sound wave based on the fourth feedback sound wave and the third signal period.
[0215] In this embodiment, if the fourth feedback sound wave returned by the sound wave output in the fourth signal period indicates that there is no object in the second space, the control device 3 updates its detection result of the second space.
[0216] Furthermore, based on the fourth feedback sound wave and the third signal period, the control device 3 readjusts the signal period of the second sound wave output to confirm the state of the second space and achieve more accurate space monitoring.
[0217] This application can adaptively adjust the output of sound waves according to the feedback sound waves, improving the accuracy and reliability of detection. By constantly monitoring and responding to changes in objects in the space, the device can better adapt to dynamic environmental conditions. If no objects are detected in the space, the device can reduce unnecessary sound wave output, thereby saving energy.
[0218] In some embodiments, when it is determined that there is a first object in the first space, the first sound wave is adjusted from being emitted based on the first signal period to being emitted based on the second signal period. After the adjustment, when it is determined that there is no first object in the first space, it is necessary to delay for a period of time before adjusting the first sound wave to be emitted based on the first signal period.
[0219] Another embodiment of the present application further provides a storage medium, which includes a stored program, wherein when the program is executed, a device including the storage medium is controlled to execute the control method as described in any one of the above embodiments.
[0220] The embodiment of the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-readable instructions, and when the computer-executable instructions are executed, at least one processor executes the control method in the embodiment described above. It should be understood that each solution in this embodiment has the corresponding technical effect in the above method embodiment, which will not be repeated here.
[0221] It should be noted that the computer storage medium of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program configured to be used by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, antenna, optical cable, RF, etc., or any suitable combination of the above.
[0222] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. An electronic device, comprising: a housing, the housing comprising a first outer surface and a second outer surface opposite to the first outer surface; An output device, disposed in the housing; a control device, disposed in the housing, for controlling the output device to output a first sound wave if a first condition is met, wherein the first sound wave is a sound wave emitted to a first space; If the second condition is met, controlling the output device to output a second sound wave, wherein the second sound wave is a sound wave emitted to the second space; The first space is located on one side of the first outer surface of the shell, and the second space is located on one side of the second outer surface of the shell; the first condition is different from the second condition.
2. The electronic device according to claim 1, wherein the output device at least comprises: First diaphragm; a second diaphragm, wherein the arrangement direction of the first diaphragm and the second diaphragm of the output device is consistent with the arrangement direction of the first outer surface and the second outer surface of the shell; Wherein, the housing comprises: a first through hole, the first through hole being located on the first outer surface and corresponding to the output device; A second through hole, wherein the second through hole is located on the second outer surface and corresponds to the output device.
3. The electronic device according to claim 2, wherein the controlling the output device to output the first sound wave comprises: controlling the second diaphragm to vibrate and generate a first sub-wave; controlling the first diaphragm to vibrate and generate a second sub-wave; The second diaphragm vibrates before the first diaphragm vibrates, so that the second sub-wave generated by the first diaphragm and the first sub-wave generated by the second diaphragm are superimposed in phase at the first through hole to form the output first sound wave; The controlling the output device to output the second sound wave comprises: controlling the second diaphragm to vibrate and generate a third sub-wave; controlling the first diaphragm to vibrate to generate a fourth sub-wave; The second diaphragm vibrates simultaneously with the first diaphragm, and the fourth sub-wave generated by the first diaphragm is used to offset the third sub-wave generated by the second diaphragm at the first through hole, so as to form the second sound wave output at the second through hole.
4. The electronic device according to claim 3, wherein the transmission distance of the first sound wave is greater than the transmission distance of the second sound wave, the transmission distance of the first sound wave determines the size of the first space, the transmission distance of the second sound wave determines the size of the second space, and the first space and the second space serve as detection spaces; The electronic device further comprises: a first input device, the first input device being used to obtain a first feedback sound wave of the first sound wave, the first feedback sound wave being used to represent that a first object exists in the first space; A second input device is used to obtain a second feedback sound wave of the second sound wave, and the second feedback sound wave is used to represent the presence of a second object in the second space.
5. The electronic device according to claim 1, further comprising: A first screen is disposed on the housing, and a display area of the first screen is exposed on the first outer surface; The second screen is configured on the housing, and a display area of the second screen is exposed on the second outer surface.
6. The electronic device according to claim 5, wherein the control device is further used for: Get the target parameters, If the target parameter satisfies the first condition, controlling the output device to output a first sound wave; If the target parameter satisfies the second condition, controlling the output device to output a second sound wave; in, If the target parameter satisfies the first condition, it indicates that the possibility that the first screen is operated is greater than the possibility that the second screen is operated; If the target parameter satisfies the second condition, it indicates that the possibility that the second screen is operated is greater than the possibility that the first screen is operated.
7. The electronic device according to claim 6, wherein the housing comprises a first body and a second body, the first condition is a parameter value characterizing a posture of the first device, the first device posture characterizing that the first body and the second body are at a first angle, wherein: If the first body and the second body are at a first angle, the angle space between the first body and the second body is larger than the first space; The second condition is a parameter value characterizing a first device posture, and the first device posture is that the first body and the second body are at a second angle, wherein if the first body and the second body are at the second angle, the first body and the second body are coplanar.
8. A control method, the method comprising: Get the trigger instruction; In response to the trigger instruction, if a first condition is met, enabling the control device to control the output device to output a first sound wave, where the first sound wave is a sound wave emitted to the first space; If the second condition is met, enabling the control device to control the output device to output a second sound wave, where the second sound wave is a sound wave emitted to the second space; Wherein, the body of the device includes a first outer surface and a second outer surface opposite to the first outer surface, the first space is located on one side of the first outer surface of the body, and the second space is located on one side of the second outer surface of the body; the first condition is different from the second condition.
9. The control method according to claim 8, further comprising: Based on a first signal period, outputting the first sound wave; receiving a first feedback sound wave of the first sound wave, wherein the first feedback sound wave is used to represent that a first object exists in the first space; Based on the first feedback sound wave and the second signal period, outputting the first sound wave, wherein the first signal period has a different frequency from the second signal period; The method further comprises: Based on the third signal cycle, outputting the second sound wave; receiving a second feedback sound wave of the second sound wave, wherein the second feedback sound wave is used to represent that a second object exists in the second space; The second sound wave is output based on the second feedback sound wave and a fourth signal period, wherein the third signal period has a different frequency from the fourth signal period.
10. The control method according to claim 9, further comprising: receiving a third feedback sound wave of the first sound wave output based on the second signal period, wherein the third feedback sound wave is used to indicate that the first object does not exist in the first space; outputting the first sound wave based on the third feedback sound wave and the first signal period; The method further comprises: receiving a fourth feedback sound wave of the second sound wave output based on a fourth signal period, wherein the fourth feedback sound wave is used to indicate that no second object exists in the second space; Based on the fourth feedback sound wave and the third signal period, the second sound wave is output.
